summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-05-26 23:27:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-05-26 23:27:40 +0000
commit26ad27c71091449cf2cc31ba65e2d4462c0c794a (patch)
treee3371dd96d6f39c2ec385ffd22407fef4ea16f5e
parentGCC 4.2.4 (diff)
downloadrtems-26ad27c71091449cf2cc31ba65e2d4462c0c794a.tar.bz2
New.
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/patches/gcc-core-4.2.4-rtems4.9-20080526.diff44
1 files changed, 44 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.2.4-rtems4.9-20080526.diff b/contrib/crossrpms/patches/gcc-core-4.2.4-rtems4.9-20080526.diff
new file mode 100644
index 0000000000..23e109d878
--- /dev/null
+++ b/contrib/crossrpms/patches/gcc-core-4.2.4-rtems4.9-20080526.diff
@@ -0,0 +1,44 @@
+diff -Naur gcc-4.2.4.orig/configure gcc-4.2.4/configure
+--- gcc-4.2.4.orig/configure 2007-09-15 02:42:24.000000000 +0200
++++ gcc-4.2.4/configure 2008-05-26 08:48:31.000000000 +0200
+@@ -1260,7 +1260,7 @@
+ noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
+ ;;
+ *-*-rtems*)
+- noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
++ noconfigdirs="$noconfigdirs target-libiberty target-libgloss ${libgcj}"
+ ;;
+ # The tpf target doesn't support gdb yet.
+ *-*-tpf*)
+diff -Naur gcc-4.2.4.orig/configure.in gcc-4.2.4/configure.in
+--- gcc-4.2.4.orig/configure.in 2007-09-15 02:42:24.000000000 +0200
++++ gcc-4.2.4/configure.in 2008-05-26 08:48:31.000000000 +0200
+@@ -420,7 +420,7 @@
+ noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
+ ;;
+ *-*-rtems*)
+- noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
++ noconfigdirs="$noconfigdirs target-libiberty target-libgloss ${libgcj}"
+ ;;
+ # The tpf target doesn't support gdb yet.
+ *-*-tpf*)
+diff -Naur gcc-4.2.4.orig/gcc/config/c4x/rtems.h gcc-4.2.4/gcc/config/c4x/rtems.h
+--- gcc-4.2.4.orig/gcc/config/c4x/rtems.h 2007-09-01 17:28:30.000000000 +0200
++++ gcc-4.2.4/gcc/config/c4x/rtems.h 2008-05-26 08:51:24.000000000 +0200
+@@ -23,6 +23,5 @@
+ #define TARGET_OS_CPP_BUILTINS() \
+ do { \
+ builtin_define ("__rtems__"); \
+- builtin_define ("__USE_INIT_FINI__"); \
+ builtin_assert ("system=rtems"); \
+ } while (0)
+diff -Naur gcc-4.2.4.orig/gcc/config/mips/elf.h gcc-4.2.4/gcc/config/mips/elf.h
+--- gcc-4.2.4.orig/gcc/config/mips/elf.h 2007-09-01 17:28:30.000000000 +0200
++++ gcc-4.2.4/gcc/config/mips/elf.h 2008-05-26 08:58:40.000000000 +0200
+@@ -48,6 +48,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