diff options
author | Jie Zhang <jie.zhang@analog.com> | 2005-06-06 09:46:39 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2005-06-06 09:46:39 +0000 |
commit | 1f4174d400205c8750ea44780be7fefd4fd861ef (patch) | |
tree | 43200a20855887cd7a968438d77caf06649ce0d0 | |
parent | 5380bc7e61010bf0aebf1124eeff6a61be4c7137 (diff) | |
download | gcc-1f4174d400205c8750ea44780be7fefd4fd861ef.zip gcc-1f4174d400205c8750ea44780be7fefd4fd861ef.tar.gz gcc-1f4174d400205c8750ea44780be7fefd4fd861ef.tar.bz2 |
Add bfin-uclinux configuration.
From-SVN: r100656
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 9 | ||||
-rw-r--r-- | gcc/config/bfin/uclinux.h | 10 |
3 files changed, 22 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b2426c..5014a66 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config.gcc b/gcc/config.gcc index a379fca..7eab072 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -740,12 +740,17 @@ bfin*-elf*) tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h" 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 use_collect2=no - ;; + ;; c4x-*-rtems* | tic4x-*-rtems*) tmake_file="c4x/t-c4x t-rtems c4x/t-rtems" tm_file="c4x/c4x.h c4x/rtems.h rtems.h" diff --git a/gcc/config/bfin/uclinux.h b/gcc/config/bfin/uclinux.h new file mode 100644 index 0000000..d68008a9 --- /dev/null +++ b/gcc/config/bfin/uclinux.h @@ -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" |