summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-02-06 04:28:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-02-06 04:28:40 +0000
commitf26747e61b958974f9ee3858f24ac480def2d162 (patch)
tree3df2567ebea909ea7c3c901105e041c48dc28843 /contrib
parent2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-f26747e61b958974f9ee3858f24ac480def2d162.tar.bz2
Add target-libiberty to noconfigdirs.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/patches/gcc-core-4.2.3-rtems4.9-20080205.diff99
1 files changed, 99 insertions, 0 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.2.3-rtems4.9-20080205.diff b/contrib/crossrpms/patches/gcc-core-4.2.3-rtems4.9-20080205.diff
new file mode 100644
index 0000000000..cd82739c08
--- /dev/null
+++ b/contrib/crossrpms/patches/gcc-core-4.2.3-rtems4.9-20080205.diff
@@ -0,0 +1,99 @@
+diff -uNr gcc-4.2.3.orig/configure gcc-4.2.3/configure
+--- gcc-4.2.3.orig/configure 2007-09-15 02:42:24.000000000 +0200
++++ gcc-4.2.3/configure 2008-02-05 10:32:47.000000000 +0100
+@@ -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 -uNr gcc-4.2.3.orig/configure.in gcc-4.2.3/configure.in
+--- gcc-4.2.3.orig/configure.in 2007-09-15 02:42:24.000000000 +0200
++++ gcc-4.2.3/configure.in 2008-02-05 10:32:47.000000000 +0100
+@@ -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 -uNr gcc-4.2.3.orig/gcc/config/arm/rtems-elf.h gcc-4.2.3/gcc/config/arm/rtems-elf.h
+--- gcc-4.2.3.orig/gcc/config/arm/rtems-elf.h 2007-09-01 17:28:30.000000000 +0200
++++ gcc-4.2.3/gcc/config/arm/rtems-elf.h 2008-02-05 10:21:49.000000000 +0100
+@@ -26,6 +26,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.3.orig/gcc/config/c4x/rtems.h gcc-4.2.3/gcc/config/c4x/rtems.h
+--- gcc-4.2.3.orig/gcc/config/c4x/rtems.h 2007-09-01 17:28:30.000000000 +0200
++++ gcc-4.2.3/gcc/config/c4x/rtems.h 2008-02-05 10:21:49.000000000 +0100
+@@ -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 -uNr gcc-4.2.3.orig/gcc/config/h8300/t-rtems gcc-4.2.3/gcc/config/h8300/t-rtems
+--- gcc-4.2.3.orig/gcc/config/h8300/t-rtems 2004-03-17 03:46:28.000000000 +0100
++++ gcc-4.2.3/gcc/config/h8300/t-rtems 2008-02-05 10:21:49.000000000 +0100
+@@ -2,6 +2,6 @@
+
+ # -mn is not applicable to RTEMS (-mn implies 16bit void*)
+
+-MULTILIB_OPTIONS = mh/ms mint32
+-MULTILIB_DIRNAMES = h8300h h8300s int32
++MULTILIB_OPTIONS = mh/ms/msx mint32
++MULTILIB_DIRNAMES = h8300h h8300s h8sx int32
+ MULTILIB_EXCEPTIONS = mint32
+diff -uNr gcc-4.2.3.orig/gcc/config/m68k/t-rtems gcc-4.2.3/gcc/config/m68k/t-rtems
+--- gcc-4.2.3.orig/gcc/config/m68k/t-rtems 2005-02-07 06:13:25.000000000 +0100
++++ gcc-4.2.3/gcc/config/m68k/t-rtems 2008-02-05 10:21:49.000000000 +0100
+@@ -1,7 +1,14 @@
+ # 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/m5307/m5407/mcfv4e
++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
++MULTILIB_EXCEPTIONS += m5307/m68881 m5307/msoft-float
++MULTILIB_EXCEPTIONS += m5407/m68881 m5407/msoft-float
++MULTILIB_EXCEPTIONS += mcfv4e/m68881 mcfv4e/msoft-float
+diff -uNr gcc-4.2.3.orig/gcc/config/mips/elf.h gcc-4.2.3/gcc/config/mips/elf.h
+--- gcc-4.2.3.orig/gcc/config/mips/elf.h 2007-09-01 17:28:30.000000000 +0200
++++ gcc-4.2.3/gcc/config/mips/elf.h 2008-02-05 10:21:49.000000000 +0100
+@@ -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
+diff -uNr gcc-4.2.3.orig/gcc/gthr-rtems.h gcc-4.2.3/gcc/gthr-rtems.h
+--- gcc-4.2.3.orig/gcc/gthr-rtems.h 2005-06-25 04:02:01.000000000 +0200
++++ gcc-4.2.3/gcc/gthr-rtems.h 2008-02-05 10:21:49.000000000 +0100
+@@ -38,7 +38,6 @@
+ #define __GTHREADS 1
+
+ #define __GTHREAD_ONCE_INIT 0
+-#define __GTHREAD_MUTEX_INIT 0
+ #define __GTHREAD_MUTEX_INIT_FUNCTION rtems_gxx_mutex_init
+ #define __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION rtems_gxx_recursive_mutex_init
+