This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: Add bfin-uclinux configuration.
- From: Bernd Schmidt <bernds_cb1 at t-online dot de>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 06 Jun 2005 11:46:43 +0200
- Subject: Patch: Add bfin-uclinux configuration.
I've committed the following.
Bernd
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.9048
diff -c -p -r2.9048 ChangeLog
*** ChangeLog 6 Jun 2005 03:57:19 -0000 2.9048
--- ChangeLog 6 Jun 2005 09:34:17 -0000
***************
*** 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.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.547
diff -c -p -r1.547 config.gcc
*** config.gcc 1 Jun 2005 00:29:42 -0000 1.547
--- config.gcc 6 Jun 2005 09:34:17 -0000
*************** bfin*-elf*)
*** 740,751 ****
tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.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"
--- 740,756 ----
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"
Index: config/bfin/uclinux.h
===================================================================
RCS file: config/bfin/uclinux.h
diff -N config/bfin/uclinux.h
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- config/bfin/uclinux.h 6 Jun 2005 09:34:17 -0000
***************
*** 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"