summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-02-28 07:29:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-02-28 07:29:32 +0000
commit661d5c80aa93cb09a5e5e3d027c724310d9cfb53 (patch)
tree91a5f3bc511fc5f3f078844caaaeef58ad2720f0 /contrib
parentUpgrade to gcc-4.2-20070221 (diff)
downloadrtems-661d5c80aa93cb09a5e5e3d027c724310d9cfb53.tar.bz2
New.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/patches/gcc-core-4.2-20070221-rtems4.8-20070228.diff31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.2-20070221-rtems4.8-20070228.diff b/contrib/crossrpms/patches/gcc-core-4.2-20070221-rtems4.8-20070228.diff
new file mode 100644
index 0000000000..b24ddc7dc5
--- /dev/null
+++ b/contrib/crossrpms/patches/gcc-core-4.2-20070221-rtems4.8-20070228.diff
@@ -0,0 +1,31 @@
+diff -uNr gcc-4.2-20070221.orig/gcc/config/arm/rtems-elf.h gcc-4.2-20070221/gcc/config/arm/rtems-elf.h
+--- gcc-4.2-20070221.orig/gcc/config/arm/rtems-elf.h 2005-11-21 16:56:34.000000000 -0600
++++ gcc-4.2-20070221/gcc/config/arm/rtems-elf.h 2007-01-11 22:17:39.000000000 -0600
+@@ -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-20070221.orig/gcc/config/c4x/rtems.h gcc-4.2-20070221/gcc/config/c4x/rtems.h
+--- gcc-4.2-20070221.orig/gcc/config/c4x/rtems.h 2005-06-24 20:22:41.000000000 -0500
++++ gcc-4.2-20070221/gcc/config/c4x/rtems.h 2007-01-11 22:17:58.000000000 -0600
+@@ -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-20070221.orig/gcc/config/mips/elf.h gcc-4.2-20070221/gcc/config/mips/elf.h
+--- gcc-4.2-20070221.orig/gcc/config/mips/elf.h 2006-10-08 02:35:47.000000000 -0500
++++ gcc-4.2-20070221/gcc/config/mips/elf.h 2007-01-11 22:17:58.000000000 -0600
+@@ -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