summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-11-11 13:19:55 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-11-11 13:19:55 +0000
commit484d126a282d334a8639fd5bcd1f43517f770af4 (patch)
tree4a05a394a83e38fda4cd9cfc32aa895a66ff670e /contrib
parentRemove gcc-3.4.6. (diff)
downloadrtems-484d126a282d334a8639fd5bcd1f43517f770af4.tar.bz2
New.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/patches/gcc-core-4.2.1-rtems4.8-20071111.diff73
1 files changed, 73 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.2.1-rtems4.8-20071111.diff b/contrib/crossrpms/patches/gcc-core-4.2.1-rtems4.8-20071111.diff
new file mode 100644
index 0000000000..71601d3496
--- /dev/null
+++ b/contrib/crossrpms/patches/gcc-core-4.2.1-rtems4.8-20071111.diff
@@ -0,0 +1,73 @@
+diff -uNr gcc-4.2.1.orig/configure gcc-4.2.1/configure
+--- gcc-4.2.1.orig/configure 2007-06-21 01:07:21.000000000 +0200
++++ gcc-4.2.1/configure 2007-11-11 14:01:06.000000000 +0100
+@@ -3743,7 +3743,7 @@
+ # For an installed makeinfo, we require it to be from texinfo 4.4 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
+diff -uNr gcc-4.2.1.orig/configure.in gcc-4.2.1/configure.in
+--- gcc-4.2.1.orig/configure.in 2007-05-30 15:48:07.000000000 +0200
++++ gcc-4.2.1/configure.in 2007-11-11 14:01:14.000000000 +0100
+@@ -2246,7 +2246,7 @@
+ # For an installed makeinfo, we require it to be from texinfo 4.4 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
+diff -uNr gcc-4.2.1.orig/gcc/config/arm/rtems-elf.h gcc-4.2.1/gcc/config/arm/rtems-elf.h
+--- gcc-4.2.1.orig/gcc/config/arm/rtems-elf.h 2005-11-21 23:56:34.000000000 +0100
++++ gcc-4.2.1/gcc/config/arm/rtems-elf.h 2007-11-11 14:01:52.000000000 +0100
+@@ -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.1.orig/gcc/config/c4x/rtems.h gcc-4.2.1/gcc/config/c4x/rtems.h
+--- gcc-4.2.1.orig/gcc/config/c4x/rtems.h 2005-06-25 03:22:41.000000000 +0200
++++ gcc-4.2.1/gcc/config/c4x/rtems.h 2007-11-11 14:01:52.000000000 +0100
+@@ -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.1.orig/gcc/config/m68k/t-rtems gcc-4.2.1/gcc/config/m68k/t-rtems
+--- gcc-4.2.1.orig/gcc/config/m68k/t-rtems 2005-02-07 06:13:25.000000000 +0100
++++ gcc-4.2.1/gcc/config/m68k/t-rtems 2007-11-11 14:01:52.000000000 +0100
+@@ -1,7 +1,11 @@
+ # Custom multilibs for RTEMS
+
+-MULTILIB_OPTIONS = m68000/m68020/m5200/mcpu32/m68030/m68040/m68060 m68881/msoft-float
++MULTILIB_OPTIONS = m68000/m68020/m5200/m528x/mcpu32/m68030/m68040/m68060
++MULTILIB_OPTIONS += m68881/msoft-float
+ MULTILIB_DIRNAMES =
+ MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020 m68030=mc68030
+-MULTILIB_MATCHES += m5200=m528x
+-MULTILIB_EXCEPTIONS = m68000/msoft-float m5200/m68881 m5200/msoft-float mcpu32/m68881 mcpu32/msoft-float m68040/m68881 m68060/m68881
++MULTILIB_MATCHES += m5200=m5206e
++MULTILIB_EXCEPTIONS = m68000/msoft-float m68040/m68881 m68060/m68881
++MULTILIB_EXCEPTIONS += mcpu32/m68881 mcpu32/msoft-float
++MULTILIB_EXCEPTIONS += m5200/m68881 m5200/msoft-float
++MULTILIB_EXCEPTIONS += m528x/m68881 m528x/msoft-float
+diff -uNr gcc-4.2.1.orig/gcc/config/mips/elf.h gcc-4.2.1/gcc/config/mips/elf.h
+--- gcc-4.2.1.orig/gcc/config/mips/elf.h 2006-10-08 09:35:47.000000000 +0200
++++ gcc-4.2.1/gcc/config/mips/elf.h 2007-11-11 14:01:52.000000000 +0100
+@@ -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