summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-08 20:33:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-08 20:33:52 +0000
commit9cb14887496743e117c00bd39fde600c9ef37e97 (patch)
tree79cf1223c309c2e89cf27ae1e3dd623bcdc29ca5
parent2006-09-08 Ken Peters <ken.peters@jpl.nasa.gov> (diff)
downloadrtems-9cb14887496743e117c00bd39fde600c9ef37e97.tar.bz2
New file.
-rw-r--r--contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff35
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff b/contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff
new file mode 100644
index 0000000000..914636b134
--- /dev/null
+++ b/contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff
@@ -0,0 +1,35 @@
+diff -uNr gcc-4.1.1-orig/configure gcc-4.1.1/configure
+--- gcc-4.1.1-orig/configure 2005-12-16 06:57:40.000000000 -0600
++++ gcc-4.1.1/configure 2006-08-11 11:10:29.000000000 -0500
+@@ -1293,7 +1293,7 @@
+ noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+ ;;
+ bfin-*-*)
+- noconfigdirs="$noconfigdirs target-libgloss gdb"
++ noconfigdirs="$noconfigdirs target-libgloss gdb target-libssp"
+ if test x${is_cross_compiler} != xno ; then
+ target_configdirs="${target_configdirs} target-bsp target-cygmon"
+ fi
+diff -uNr gcc-4.1.1-orig/configure.in gcc-4.1.1/configure.in
+--- gcc-4.1.1-orig/configure.in 2005-12-16 06:57:40.000000000 -0600
++++ gcc-4.1.1/configure.in 2006-08-11 11:09:48.000000000 -0500
+@@ -501,7 +501,7 @@
+ noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+ ;;
+ bfin-*-*)
+- noconfigdirs="$noconfigdirs target-libgloss gdb"
++ noconfigdirs="$noconfigdirs target-libgloss gdb target-libssp"
+ if test x${is_cross_compiler} != xno ; then
+ target_configdirs="${target_configdirs} target-bsp target-cygmon"
+ fi
+diff -uNr gcc-4.1.1-orig/gcc/config/arm/rtems-elf.h gcc-4.1.1/gcc/config/arm/rtems-elf.h
+--- gcc-4.1.1-orig/gcc/config/arm/rtems-elf.h 2005-11-21 17:28:29.000000000 -0600
++++ gcc-4.1.1/gcc/config/arm/rtems-elf.h 2006-08-26 17:01:42.000000000 -0500
+@@ -27,6 +27,7 @@
+ #define TARGET_OS_CPP_BUILTINS() \
+ do { \
+ builtin_define ("__rtems__"); \
++ builtin_define ("__USE_INIT_FINI__"); \
+ builtin_assert ("system=rtems"); \
+ } while (0)
+