From 1f4174d400205c8750ea44780be7fefd4fd861ef Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Mon, 6 Jun 2005 09:46:39 +0000 Subject: [PATCH] Add bfin-uclinux configuration. From-SVN: r100656 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 9 +++++++-- gcc/config/bfin/uclinux.h | 10 ++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 gcc/config/bfin/uclinux.h 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 + + * config.gcc (bfin*-uclinux*): New. + * config/bfin/uclinux.h: New file. + 2005-06-06 Ben Elliston * 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" -- 2.7.4