Add bfin-uclinux configuration.

From-SVN: r100656
This commit is contained in:
Jie Zhang 2005-06-06 09:46:39 +00:00 committed by Bernd Schmidt
parent 5380bc7e61
commit 1f4174d400
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-06-06 Jie Zhang <jie.zhang@analog.com>
* config.gcc (bfin*-uclinux*): New.
* config/bfin/uclinux.h: New file.
2005-06-06 Ben Elliston <bje@au.ibm.com>
* doc/md.texi (Insn Splitting): Fix some wording.

View File

@ -741,6 +741,11 @@ bfin*-elf*)
tmake_file=bfin/t-bfin-elf
use_collect2=no
;;
bfin*-uclinux*)
tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/uclinux.h"
tmake_file=bfin/t-bfin-elf
use_collect2=no
;;
bfin*-*)
tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h"
tmake_file=bfin/t-bfin

10
gcc/config/bfin/uclinux.h Normal file
View File

@ -0,0 +1,10 @@
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"crt1%O%s crti%O%s crtbegin%O%s"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"crtend%O%s crtn%O%s"
#undef LIB_SPEC
#define LIB_SPEC "%{pthread:-lpthread} -lc"