diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-01 04:46:31 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-05-01 04:46:31 +0000 |
commit | 22a8f0584004b23a58ae7787ebbb2d7bce87a5b7 (patch) | |
tree | 01fddf1f5d25f4cedc1285a0c0b236ed5a10bad3 /contrib | |
parent | 2007-04-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-22a8f0584004b23a58ae7787ebbb2d7bce87a5b7.tar.bz2 |
Rebase against gcc-core-4.2.0-20070430 (gcc-4.2.0 rc2)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/patches/gcc-core-4.2.0-20070430-rtems4.8-20070501.diff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.2.0-20070430-rtems4.8-20070501.diff b/contrib/crossrpms/patches/gcc-core-4.2.0-20070430-rtems4.8-20070501.diff new file mode 100644 index 0000000000..bc87c6896f --- /dev/null +++ b/contrib/crossrpms/patches/gcc-core-4.2.0-20070430-rtems4.8-20070501.diff @@ -0,0 +1,31 @@ +diff -uNr gcc-4.2.0-20070430.orig/gcc/config/arm/rtems-elf.h gcc-4.2.0-20070430/gcc/config/arm/rtems-elf.h +--- gcc-4.2.0-20070430.orig/gcc/config/arm/rtems-elf.h 2005-11-21 23:56:34.000000000 +0100 ++++ gcc-4.2.0-20070430/gcc/config/arm/rtems-elf.h 2007-05-01 06:16:57.000000000 +0200 +@@ -27,6 +27,7 @@ + #define TARGET_OS_CPP_BUILTINS() \ + do { \ + builtin_define ("__rtems__"); \ ++ builtin_define ("__USE_INIT_FINI__"); \ + builtin_assert ("system=rtems"); \ + } while (0) + +diff -uNr gcc-4.2.0-20070430.orig/gcc/config/c4x/rtems.h gcc-4.2.0-20070430/gcc/config/c4x/rtems.h +--- gcc-4.2.0-20070430.orig/gcc/config/c4x/rtems.h 2005-06-25 03:22:41.000000000 +0200 ++++ gcc-4.2.0-20070430/gcc/config/c4x/rtems.h 2007-05-01 06:16:57.000000000 +0200 +@@ -24,6 +24,5 @@ + #define TARGET_OS_CPP_BUILTINS() \ + do { \ + builtin_define ("__rtems__"); \ +- builtin_define ("__USE_INIT_FINI__"); \ + builtin_assert ("system=rtems"); \ + } while (0) +diff -uNr gcc-4.2.0-20070430.orig/gcc/config/mips/elf.h gcc-4.2.0-20070430/gcc/config/mips/elf.h +--- gcc-4.2.0-20070430.orig/gcc/config/mips/elf.h 2006-10-08 09:35:47.000000000 +0200 ++++ gcc-4.2.0-20070430/gcc/config/mips/elf.h 2007-05-01 06:16:57.000000000 +0200 +@@ -49,6 +49,4 @@ + #undef ENDFILE_SPEC + #define ENDFILE_SPEC "crtend%O%s crtn%O%s" + +-#define NO_IMPLICIT_EXTERN_C 1 +- + #define HANDLE_PRAGMA_PACK_PUSH_POP 1 |