diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-11-15 04:38:18 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-11-15 04:38:18 +0000 |
commit | 08988b7d3dcaaef4056f003646e10c3954bad319 (patch) | |
tree | 4b23037cb85544c513bc770f2a97b6cbd66ab763 /contrib | |
parent | Update. (diff) | |
download | rtems-08988b7d3dcaaef4056f003646e10c3954bad319.tar.bz2 |
Remove.
Diffstat (limited to 'contrib')
8 files changed, 0 insertions, 644 deletions
diff --git a/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070216.diff b/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070216.diff deleted file mode 100644 index 2e982d12e8..0000000000 --- a/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070216.diff +++ /dev/null @@ -1,69 +0,0 @@ -diff -uNr gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h gcc-4.1.2/gcc/config/arm/rtems-elf.h ---- gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h 2005-11-22 00:28:29.000000000 +0100 -+++ gcc-4.1.2/gcc/config/arm/rtems-elf.h 2007-02-16 09:28:48.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.1.2.orig/gcc/config/c4x/rtems.h gcc-4.1.2/gcc/config/c4x/rtems.h ---- gcc-4.1.2.orig/gcc/config/c4x/rtems.h 2005-06-25 03:22:41.000000000 +0200 -+++ gcc-4.1.2/gcc/config/c4x/rtems.h 2007-02-16 09:28:48.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.1.2.orig/gcc/config/mips/elf.h gcc-4.1.2/gcc/config/mips/elf.h ---- gcc-4.1.2.orig/gcc/config/mips/elf.h 2005-07-09 10:46:34.000000000 +0200 -+++ gcc-4.1.2/gcc/config/mips/elf.h 2007-02-16 09:28:48.000000000 +0100 -@@ -48,5 +48,3 @@ - - #undef ENDFILE_SPEC - #define ENDFILE_SPEC "crtend%O%s crtn%O%s" -- --#define NO_IMPLICIT_EXTERN_C 1 -diff -uNr gcc-4.1.2.orig/gcc/config.gcc gcc-4.1.2/gcc/config.gcc ---- gcc-4.1.2.orig/gcc/config.gcc 2006-10-16 01:12:23.000000000 +0200 -+++ gcc-4.1.2/gcc/config.gcc 2007-02-16 09:28:48.000000000 +0100 -@@ -761,6 +761,11 @@ - tmake_file=bfin/t-bfin-elf - use_collect2=no - ;; -+bfin*-rtems*) -+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h" -+ tmake_file=bfin/t-bfin-elf -+ use_collect2=no -+ ;; - bfin*-*) - tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h" - tmake_file=bfin/t-bfin -@@ -1560,7 +1565,7 @@ - tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" - use_fixproto=yes - ;; --mips*-*-rtems*) -+mips-*-rtems*) - tm_file="elfos.h ${tm_file} mips/elf.h mips/rtems.h rtems.h" - tmake_file="mips/t-elf t-rtems mips/t-rtems" - ;; -diff -uNr gcc-4.1.2.orig/Makefile.in gcc-4.1.2/Makefile.in ---- gcc-4.1.2.orig/Makefile.in 2006-04-04 23:03:05.000000000 +0200 -+++ gcc-4.1.2/Makefile.in 2007-02-16 09:28:48.000000000 +0100 -@@ -329,9 +329,9 @@ - # CFLAGS will be just -g. We want to ensure that TARGET libraries - # (which we know are built with gcc) are built with optimizations so - # prepend -O2 when setting CFLAGS_FOR_TARGET. --CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -+CFLAGS_FOR_TARGET = $(strip -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) - SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -+CXXFLAGS_FOR_TARGET = $(strip $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) - LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) - LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates - LDFLAGS_FOR_TARGET = diff --git a/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070405.diff b/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070405.diff deleted file mode 100644 index f9de16dc9e..0000000000 --- a/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070405.diff +++ /dev/null @@ -1,102 +0,0 @@ -diff -uNr gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h gcc-4.1.2/gcc/config/arm/rtems-elf.h ---- gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h 2005-11-22 00:28:29.000000000 +0100 -+++ gcc-4.1.2/gcc/config/arm/rtems-elf.h 2007-04-05 04:50:02.000000000 +0200 -@@ -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.1.2.orig/gcc/config/c4x/rtems.h gcc-4.1.2/gcc/config/c4x/rtems.h ---- gcc-4.1.2.orig/gcc/config/c4x/rtems.h 2005-06-25 03:22:41.000000000 +0200 -+++ gcc-4.1.2/gcc/config/c4x/rtems.h 2007-04-05 04:50:02.000000000 +0200 -@@ -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.1.2.orig/gcc/config/mips/elf.h gcc-4.1.2/gcc/config/mips/elf.h ---- gcc-4.1.2.orig/gcc/config/mips/elf.h 2005-07-09 10:46:34.000000000 +0200 -+++ gcc-4.1.2/gcc/config/mips/elf.h 2007-04-05 04:50:03.000000000 +0200 -@@ -48,5 +48,3 @@ - - #undef ENDFILE_SPEC - #define ENDFILE_SPEC "crtend%O%s crtn%O%s" -- --#define NO_IMPLICIT_EXTERN_C 1 -diff -uNr gcc-4.1.2.orig/gcc/config/mips/mips.h gcc-4.1.2/gcc/config/mips/mips.h ---- gcc-4.1.2.orig/gcc/config/mips/mips.h 2006-02-17 22:38:59.000000000 +0100 -+++ gcc-4.1.2/gcc/config/mips/mips.h 2007-04-05 04:49:10.000000000 +0200 -@@ -450,6 +450,8 @@ - #endif - #endif /* IN_LIBGCC2 */ - -+#define TARGET_LIBGCC_SDATA_SECTION ".sdata" -+ - #ifndef MULTILIB_ENDIAN_DEFAULT - #if TARGET_ENDIAN_DEFAULT == 0 - #define MULTILIB_ENDIAN_DEFAULT "EL" -@@ -2712,7 +2714,6 @@ - /* Define the strings to put out for each section in the object file. */ - #define TEXT_SECTION_ASM_OP "\t.text" /* instructions */ - #define DATA_SECTION_ASM_OP "\t.data" /* large data */ --#define SDATA_SECTION_ASM_OP "\t.sdata" /* small data */ - - #undef READONLY_DATA_SECTION_ASM_OP - #define READONLY_DATA_SECTION_ASM_OP "\t.rdata" /* read-only data */ -diff -uNr gcc-4.1.2.orig/gcc/config.gcc gcc-4.1.2/gcc/config.gcc ---- gcc-4.1.2.orig/gcc/config.gcc 2006-10-16 01:12:23.000000000 +0200 -+++ gcc-4.1.2/gcc/config.gcc 2007-04-05 04:50:03.000000000 +0200 -@@ -761,6 +761,11 @@ - tmake_file=bfin/t-bfin-elf - use_collect2=no - ;; -+bfin*-rtems*) -+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h" -+ tmake_file=bfin/t-bfin-elf -+ use_collect2=no -+ ;; - bfin*-*) - tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h" - tmake_file=bfin/t-bfin -@@ -1560,7 +1565,7 @@ - tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" - use_fixproto=yes - ;; --mips*-*-rtems*) -+mips-*-rtems*) - tm_file="elfos.h ${tm_file} mips/elf.h mips/rtems.h rtems.h" - tmake_file="mips/t-elf t-rtems mips/t-rtems" - ;; -diff -uNr gcc-4.1.2.orig/gcc/crtstuff.c gcc-4.1.2/gcc/crtstuff.c ---- gcc-4.1.2.orig/gcc/crtstuff.c 2005-11-15 02:21:29.000000000 +0100 -+++ gcc-4.1.2/gcc/crtstuff.c 2007-04-05 04:49:10.000000000 +0200 -@@ -225,6 +225,9 @@ - in one DSO or the main program is not used in another object. The - dynamic linker takes care of this. */ - -+#ifdef TARGET_LIBGCC_SDATA_SECTION -+extern void *__dso_handle __attribute__ ((__section__ (TARGET_LIBGCC_SDATA_SECTION))); -+#endif - #ifdef HAVE_GAS_HIDDEN - extern void *__dso_handle __attribute__ ((__visibility__ ("hidden"))); - #endif -diff -uNr gcc-4.1.2.orig/Makefile.in gcc-4.1.2/Makefile.in ---- gcc-4.1.2.orig/Makefile.in 2006-04-04 23:03:05.000000000 +0200 -+++ gcc-4.1.2/Makefile.in 2007-04-05 04:50:03.000000000 +0200 -@@ -329,9 +329,9 @@ - # CFLAGS will be just -g. We want to ensure that TARGET libraries - # (which we know are built with gcc) are built with optimizations so - # prepend -O2 when setting CFLAGS_FOR_TARGET. --CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -+CFLAGS_FOR_TARGET = $(strip -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) - SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -+CXXFLAGS_FOR_TARGET = $(strip $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) - LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) - LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates - LDFLAGS_FOR_TARGET = diff --git a/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070613.diff b/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070613.diff deleted file mode 100644 index 3a2dccffe5..0000000000 --- a/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070613.diff +++ /dev/null @@ -1,114 +0,0 @@ -diff -uNr gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h gcc-4.1.2/gcc/config/arm/rtems-elf.h ---- gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h 2005-11-22 00:28:29.000000000 +0100 -+++ gcc-4.1.2/gcc/config/arm/rtems-elf.h 2007-06-13 17:19:33.000000000 +0200 -@@ -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.1.2.orig/gcc/config/c4x/rtems.h gcc-4.1.2/gcc/config/c4x/rtems.h ---- gcc-4.1.2.orig/gcc/config/c4x/rtems.h 2005-06-25 03:22:41.000000000 +0200 -+++ gcc-4.1.2/gcc/config/c4x/rtems.h 2007-06-13 17:19:33.000000000 +0200 -@@ -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.1.2.orig/gcc/config/mips/elf.h gcc-4.1.2/gcc/config/mips/elf.h ---- gcc-4.1.2.orig/gcc/config/mips/elf.h 2005-07-09 10:46:34.000000000 +0200 -+++ gcc-4.1.2/gcc/config/mips/elf.h 2007-06-13 17:19:33.000000000 +0200 -@@ -48,5 +48,3 @@ - - #undef ENDFILE_SPEC - #define ENDFILE_SPEC "crtend%O%s crtn%O%s" -- --#define NO_IMPLICIT_EXTERN_C 1 -diff -uNr gcc-4.1.2.orig/gcc/config/mips/mips.h gcc-4.1.2/gcc/config/mips/mips.h ---- gcc-4.1.2.orig/gcc/config/mips/mips.h 2006-02-17 22:38:59.000000000 +0100 -+++ gcc-4.1.2/gcc/config/mips/mips.h 2007-06-13 17:19:34.000000000 +0200 -@@ -450,6 +450,8 @@ - #endif - #endif /* IN_LIBGCC2 */ - -+#define TARGET_LIBGCC_SDATA_SECTION ".sdata" -+ - #ifndef MULTILIB_ENDIAN_DEFAULT - #if TARGET_ENDIAN_DEFAULT == 0 - #define MULTILIB_ENDIAN_DEFAULT "EL" -@@ -2712,7 +2714,6 @@ - /* Define the strings to put out for each section in the object file. */ - #define TEXT_SECTION_ASM_OP "\t.text" /* instructions */ - #define DATA_SECTION_ASM_OP "\t.data" /* large data */ --#define SDATA_SECTION_ASM_OP "\t.sdata" /* small data */ - - #undef READONLY_DATA_SECTION_ASM_OP - #define READONLY_DATA_SECTION_ASM_OP "\t.rdata" /* read-only data */ -diff -uNr gcc-4.1.2.orig/gcc/config/sparc/sparc.c gcc-4.1.2/gcc/config/sparc/sparc.c ---- gcc-4.1.2.orig/gcc/config/sparc/sparc.c 2006-04-14 09:02:43.000000000 +0200 -+++ gcc-4.1.2/gcc/config/sparc/sparc.c 2007-06-13 17:29:33.000000000 +0200 -@@ -675,7 +675,7 @@ - error ("-mcmodel= is not supported on 32 bit systems"); - } - -- fpu = TARGET_FPU; /* save current -mfpu status */ -+ fpu = target_flags & MASK_FPU; /* save current -mfpu status */ - - /* Set the default CPU. */ - for (def = &cpu_default[0]; def->name; ++def) -diff -uNr gcc-4.1.2.orig/gcc/config.gcc gcc-4.1.2/gcc/config.gcc ---- gcc-4.1.2.orig/gcc/config.gcc 2006-10-16 01:12:23.000000000 +0200 -+++ gcc-4.1.2/gcc/config.gcc 2007-06-13 17:19:34.000000000 +0200 -@@ -761,6 +761,11 @@ - tmake_file=bfin/t-bfin-elf - use_collect2=no - ;; -+bfin*-rtems*) -+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h" -+ tmake_file=bfin/t-bfin-elf -+ use_collect2=no -+ ;; - bfin*-*) - tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h" - tmake_file=bfin/t-bfin -@@ -1560,7 +1565,7 @@ - tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" - use_fixproto=yes - ;; --mips*-*-rtems*) -+mips-*-rtems*) - tm_file="elfos.h ${tm_file} mips/elf.h mips/rtems.h rtems.h" - tmake_file="mips/t-elf t-rtems mips/t-rtems" - ;; -diff -uNr gcc-4.1.2.orig/gcc/crtstuff.c gcc-4.1.2/gcc/crtstuff.c ---- gcc-4.1.2.orig/gcc/crtstuff.c 2005-11-15 02:21:29.000000000 +0100 -+++ gcc-4.1.2/gcc/crtstuff.c 2007-06-13 17:19:34.000000000 +0200 -@@ -225,6 +225,9 @@ - in one DSO or the main program is not used in another object. The - dynamic linker takes care of this. */ - -+#ifdef TARGET_LIBGCC_SDATA_SECTION -+extern void *__dso_handle __attribute__ ((__section__ (TARGET_LIBGCC_SDATA_SECTION))); -+#endif - #ifdef HAVE_GAS_HIDDEN - extern void *__dso_handle __attribute__ ((__visibility__ ("hidden"))); - #endif -diff -uNr gcc-4.1.2.orig/Makefile.in gcc-4.1.2/Makefile.in ---- gcc-4.1.2.orig/Makefile.in 2006-04-04 23:03:05.000000000 +0200 -+++ gcc-4.1.2/Makefile.in 2007-06-13 17:19:34.000000000 +0200 -@@ -329,9 +329,9 @@ - # CFLAGS will be just -g. We want to ensure that TARGET libraries - # (which we know are built with gcc) are built with optimizations so - # prepend -O2 when setting CFLAGS_FOR_TARGET. --CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -+CFLAGS_FOR_TARGET = $(strip -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) - SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) -+CXXFLAGS_FOR_TARGET = $(strip $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) - LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) - LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates - LDFLAGS_FOR_TARGET = 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 deleted file mode 100644 index b24ddc7dc5..0000000000 --- a/contrib/crossrpms/patches/gcc-core-4.2-20070221-rtems4.8-20070228.diff +++ /dev/null @@ -1,31 +0,0 @@ -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 diff --git a/contrib/crossrpms/patches/gcc-core-4.2.0-rtems4.8-20070515.diff b/contrib/crossrpms/patches/gcc-core-4.2.0-rtems4.8-20070515.diff deleted file mode 100644 index 70fbadfcb7..0000000000 --- a/contrib/crossrpms/patches/gcc-core-4.2.0-rtems4.8-20070515.diff +++ /dev/null @@ -1,31 +0,0 @@ -diff -uNr gcc-4.2.0.orig/gcc/config/arm/rtems-elf.h gcc-4.2.0/gcc/config/arm/rtems-elf.h ---- gcc-4.2.0.orig/gcc/config/arm/rtems-elf.h 2005-11-21 23:56:34.000000000 +0100 -+++ gcc-4.2.0/gcc/config/arm/rtems-elf.h 2007-05-15 08:20:54.000000000 +0200 -@@ -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.0.orig/gcc/config/c4x/rtems.h gcc-4.2.0/gcc/config/c4x/rtems.h ---- gcc-4.2.0.orig/gcc/config/c4x/rtems.h 2005-06-25 03:22:41.000000000 +0200 -+++ gcc-4.2.0/gcc/config/c4x/rtems.h 2007-05-15 08:20:54.000000000 +0200 -@@ -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.0.orig/gcc/config/mips/elf.h gcc-4.2.0/gcc/config/mips/elf.h ---- gcc-4.2.0.orig/gcc/config/mips/elf.h 2006-10-08 09:35:47.000000000 +0200 -+++ gcc-4.2.0/gcc/config/mips/elf.h 2007-05-15 08:20:54.000000000 +0200 -@@ -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 diff --git a/contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff b/contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff deleted file mode 100644 index 5718677ef2..0000000000 --- a/contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff +++ /dev/null @@ -1,109 +0,0 @@ -diff -uNr /home/joel/tools-original/gdb-6.5/bfd/sysdep.h gdb-6.5/bfd/sysdep.h ---- /home/joel/tools-original/gdb-6.5/bfd/sysdep.h 2005-05-05 13:51:14.000000000 -0500 -+++ gdb-6.5/bfd/sysdep.h 2006-07-13 10:00:00.000000000 -0500 -@@ -135,7 +135,7 @@ - #endif - - #if !HAVE_DECL_STRSTR --extern char *strstr (); -+/* extern char *strstr (); */ - #endif - - #ifdef HAVE_FTELLO -diff -uNr /home/joel/tools-original/gdb-6.5/gdb/config/sparc/embedded.mt gdb-6.5/gdb/config/sparc/embedded.mt ---- /home/joel/tools-original/gdb-6.5/gdb/config/sparc/embedded.mt 1969-12-31 18:00:00.000000000 -0600 -+++ gdb-6.5/gdb/config/sparc/embedded.mt 2006-07-13 10:00:00.000000000 -0500 -@@ -0,0 +1,5 @@ -+# Target: SPARC embedded with simulator -+TDEPFILES= sparc-tdep.o -+ -+SIM_OBS = remote-sim.o -+SIM = ../sim/erc32/libsim.a -diff -uNr /home/joel/tools-original/gdb-6.5/gdb/configure.tgt gdb-6.5/gdb/configure.tgt ---- /home/joel/tools-original/gdb-6.5/gdb/configure.tgt 2006-04-20 18:18:48.000000000 -0500 -+++ gdb-6.5/gdb/configure.tgt 2006-07-13 10:00:00.000000000 -0500 -@@ -197,6 +197,7 @@ - sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) - gdb_target=sol2-64 - ;; -+sparc-*-rtems*) gdb_target=embedded ;; - sparc-*-*) gdb_target=sparc ;; - sparc64-*-*) gdb_target=sparc64 ;; - -diff -uNr /home/joel/tools-original/gdb-6.5/sim/configure gdb-6.5/sim/configure ---- /home/joel/tools-original/gdb-6.5/sim/configure 2006-05-05 12:11:19.000000000 -0500 -+++ gdb-6.5/sim/configure 2006-07-13 10:00:00.000000000 -0500 -@@ -3525,6 +3525,14 @@ - testsuite=yes - common=yes - ;; -+ sparc-*-rtems*|sparc-*-elf*) -+ -+ -+subdirs="$subdirs erc32" -+ -+ testsuite=yes -+ common=yes -+ ;; - powerpc*-*-* ) - - -diff -uNr /home/joel/tools-original/gdb-6.5/sim/configure.ac gdb-6.5/sim/configure.ac ---- /home/joel/tools-original/gdb-6.5/sim/configure.ac 2006-05-05 12:11:19.000000000 -0500 -+++ gdb-6.5/sim/configure.ac 2006-07-13 10:00:00.000000000 -0500 -@@ -115,6 +115,11 @@ - testsuite=yes - common=yes - ;; -+ sparc-*-rtems*|sparc-*-elf*) -+ AC_CONFIG_SUBDIRS(erc32) -+ testsuite=yes -+ common=yes -+ ;; - powerpc*-*-* ) - AC_CONFIG_SUBDIRS(ppc) - common=yes -diff -uNr /home/joel/tools-original/gdb-6.5/sim/erc32/exec.c gdb-6.5/sim/erc32/exec.c ---- /home/joel/tools-original/gdb-6.5/sim/erc32/exec.c 2005-03-07 05:09:05.000000000 -0600 -+++ gdb-6.5/sim/erc32/exec.c 2006-07-13 10:00:00.000000000 -0500 -@@ -1713,7 +1713,7 @@ - sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1]; - sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1]; - default: -- ; -+ break; - } - #endif - -@@ -1886,7 +1886,7 @@ - sregs->fs[rd & ~1] = sregs->fdp[rd | 1]; - sregs->fs[rd | 1] = sregs->fdp[rd & ~1]; - default: -- ; -+ break; - } - #endif - if (sregs->fpstate == FP_EXC_PE) { -diff -uNr /home/joel/tools-original/gdb-6.5/sim/erc32/Makefile.in gdb-6.5/sim/erc32/Makefile.in ---- /home/joel/tools-original/gdb-6.5/sim/erc32/Makefile.in 2000-03-07 09:32:49.000000000 -0600 -+++ gdb-6.5/sim/erc32/Makefile.in 2006-07-13 10:00:00.000000000 -0500 -@@ -53,7 +53,7 @@ - # Copy the files into directories where they will be run. - install-sis: installdirs - n=`echo sis | sed '$(program_transform_name)'`; \ -- $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT) -+ $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) - - clean-sis: - rm -f sis end end.h -diff -uNr /home/joel/tools-original/gdb-6.5/sim/Makefile.in gdb-6.5/sim/Makefile.in ---- /home/joel/tools-original/gdb-6.5/sim/Makefile.in 2006-05-05 12:11:19.000000000 -0500 -+++ gdb-6.5/sim/Makefile.in 2006-07-13 10:00:00.000000000 -0500 -@@ -84,6 +84,7 @@ - "exec_prefix=$(exec_prefix)" \ - "bindir=$(bindir)" \ - "mandir=$(mandir)" \ -+ "libdir=$(libdir)" \ - "against=$(against)" \ - "AR=$(AR)" \ - "AR_FLAGS=$(AR_FLAGS)" \ diff --git a/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070306.diff b/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070306.diff deleted file mode 100644 index 80572bde18..0000000000 --- a/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070306.diff +++ /dev/null @@ -1,119 +0,0 @@ -diff -uNr gdb-6.6.orig/bfd/sysdep.h gdb-6.6-rtems4.8-20070306/bfd/sysdep.h ---- gdb-6.6.orig/bfd/sysdep.h 2005-05-05 20:51:14.000000000 +0200 -+++ gdb-6.6-rtems4.8-20070306/bfd/sysdep.h 2007-03-06 13:29:21.000000000 +0100 -@@ -135,7 +135,7 @@ - #endif - - #if !HAVE_DECL_STRSTR --extern char *strstr (); -+/* extern char *strstr (); */ - #endif - - #ifdef HAVE_FTELLO -diff -uNr gdb-6.6.orig/gdb/arch-utils.c gdb-6.6-rtems4.8-20070306/gdb/arch-utils.c ---- gdb-6.6.orig/gdb/arch-utils.c 2006-11-10 20:20:35.000000000 +0100 -+++ gdb-6.6-rtems4.8-20070306/gdb/arch-utils.c 2007-03-06 13:29:21.000000000 +0100 -@@ -349,6 +349,15 @@ - }; - static const char *set_endian_string; - -+enum bfd_endian -+selected_byte_order (void) -+{ -+ if (target_byte_order_user != BFD_ENDIAN_UNKNOWN) -+ return TARGET_BYTE_ORDER; -+ else -+ return BFD_ENDIAN_UNKNOWN; -+} -+ - /* Called by ``show endian''. */ - - static void -diff -uNr gdb-6.6.orig/gdb/arch-utils.h gdb-6.6-rtems4.8-20070306/gdb/arch-utils.h ---- gdb-6.6.orig/gdb/arch-utils.h 2006-11-10 20:20:35.000000000 +0100 -+++ gdb-6.6-rtems4.8-20070306/gdb/arch-utils.h 2007-03-06 13:29:21.000000000 +0100 -@@ -126,6 +126,10 @@ - - extern int legacy_register_sim_regno (int regnum); - -+/* Return the selected byte order, or BFD_ENDIAN_UNKNOWN if no byte -+ order was explicitly selected. */ -+extern enum bfd_endian selected_byte_order (void); -+ - /* Return the selected architecture's name, or NULL if no architecture - was explicitly selected. */ - extern const char *selected_architecture_name (void); -diff -uNr gdb-6.6.orig/gdb/ChangeLog.rtems gdb-6.6-rtems4.8-20070306/gdb/ChangeLog.rtems ---- gdb-6.6.orig/gdb/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100 -+++ gdb-6.6-rtems4.8-20070306/gdb/ChangeLog.rtems 2007-03-06 13:29:21.000000000 +0100 -@@ -0,0 +1,6 @@ -+2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> -+ -+ * arch-utils.c (selected_byte_order): New. -+ * arch-utils.h (selected_byte_order): New prototype. -+ * remote-sim.c (gdbsim_open): Use selected_byte_order. -+ -diff -uNr gdb-6.6.orig/gdb/memory-map.c gdb-6.6-rtems4.8-20070306/gdb/memory-map.c ---- gdb-6.6.orig/gdb/memory-map.c 2006-10-05 21:42:31.000000000 +0200 -+++ gdb-6.6-rtems4.8-20070306/gdb/memory-map.c 2007-03-06 13:29:21.000000000 +0100 -@@ -141,10 +141,10 @@ - { - if (strcmp (data->property_name, "blocksize") == 0) - { -+ char *end = NULL; - if (!data->character_data) - throw_error (XML_PARSE_ERROR, - _("Empty content of 'property' element")); -- char *end = NULL; - data->currently_parsing->attrib.blocksize - = strtoul (data->character_data, &end, 0); - if (*end != '\0') -diff -uNr gdb-6.6.orig/gdb/remote-sim.c gdb-6.6-rtems4.8-20070306/gdb/remote-sim.c ---- gdb-6.6.orig/gdb/remote-sim.c 2006-11-10 20:20:36.000000000 +0100 -+++ gdb-6.6-rtems4.8-20070306/gdb/remote-sim.c 2007-03-06 13:29:21.000000000 +0100 -@@ -504,9 +504,9 @@ - + 50) /* slack */ ; - arg_buf = (char *) alloca (len); - strcpy (arg_buf, "gdbsim"); /* 7 */ -- /* Specify the byte order for the target when it is both selectable -- and explicitly specified by the user (not auto detected). */ -- switch (TARGET_BYTE_ORDER) -+ /* Specify the byte order for the target when it is explicitly -+ specified by the user (not auto detected). */ -+ switch (selected_byte_order ()) - { - case BFD_ENDIAN_BIG: - strcat (arg_buf, " -E big"); -diff -uNr gdb-6.6.orig/sim/erc32/erc32.c gdb-6.6-rtems4.8-20070306/sim/erc32/erc32.c ---- gdb-6.6.orig/sim/erc32/erc32.c 1999-04-16 03:35:00.000000000 +0200 -+++ gdb-6.6-rtems4.8-20070306/sim/erc32/erc32.c 2007-03-06 13:30:26.000000000 +0100 -@@ -413,7 +413,7 @@ - if (rom8) mec_memcfg &= ~0x20000; - else mec_memcfg |= 0x20000; - -- mem_ramsz = (256 * 1024) << ((mec_memcfg >> 10) & 7); -+ mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7); - mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7); - - if (sparclite_board) { -diff -uNr gdb-6.6.orig/sim/erc32/exec.c gdb-6.6-rtems4.8-20070306/sim/erc32/exec.c ---- gdb-6.6.orig/sim/erc32/exec.c 2005-03-07 12:09:05.000000000 +0100 -+++ gdb-6.6-rtems4.8-20070306/sim/erc32/exec.c 2007-03-06 13:29:21.000000000 +0100 -@@ -1713,7 +1713,7 @@ - sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1]; - sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1]; - default: -- ; -+ break; - } - #endif - -@@ -1886,7 +1886,7 @@ - sregs->fs[rd & ~1] = sregs->fdp[rd | 1]; - sregs->fs[rd | 1] = sregs->fdp[rd & ~1]; - default: -- ; -+ break; - } - #endif - if (sregs->fpstate == FP_EXC_PE) { diff --git a/contrib/crossrpms/patches/gdb-6.7-rtems4.8-20071011.diff b/contrib/crossrpms/patches/gdb-6.7-rtems4.8-20071011.diff deleted file mode 100644 index e907c6dc91..0000000000 --- a/contrib/crossrpms/patches/gdb-6.7-rtems4.8-20071011.diff +++ /dev/null @@ -1,69 +0,0 @@ -diff -ur gdb-6.7.orig/bfd/sysdep.h gdb-6.7/bfd/sysdep.h ---- gdb-6.7.orig/bfd/sysdep.h 2007-07-03 16:26:42.000000000 +0200 -+++ gdb-6.7/bfd/sysdep.h 2007-10-11 16:46:10.000000000 +0200 -@@ -136,7 +136,7 @@ - #endif - - #if !HAVE_DECL_STRSTR --extern char *strstr (); -+/* extern char *strstr (); */ - #endif - - #ifdef HAVE_FTELLO -diff -ur gdb-6.7.orig/configure gdb-6.7/configure ---- gdb-6.7.orig/configure 2007-08-21 06:15:07.000000000 +0200 -+++ gdb-6.7/configure 2007-10-11 16:46:38.000000000 +0200 -@@ -6154,7 +6154,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 -ur gdb-6.7.orig/configure.ac gdb-6.7/configure.ac ---- gdb-6.7.orig/configure.ac 2007-10-10 19:12:21.000000000 +0200 -+++ gdb-6.7/configure.ac 2007-10-11 16:46:32.000000000 +0200 -@@ -2424,7 +2424,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 -ur gdb-6.7.orig/sim/erc32/erc32.c gdb-6.7/sim/erc32/erc32.c ---- gdb-6.7.orig/sim/erc32/erc32.c 1999-04-16 03:35:00.000000000 +0200 -+++ gdb-6.7/sim/erc32/erc32.c 2007-10-11 16:46:10.000000000 +0200 -@@ -413,7 +413,7 @@ - if (rom8) mec_memcfg &= ~0x20000; - else mec_memcfg |= 0x20000; - -- mem_ramsz = (256 * 1024) << ((mec_memcfg >> 10) & 7); -+ mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7); - mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7); - - if (sparclite_board) { -diff -ur gdb-6.7.orig/sim/erc32/exec.c gdb-6.7/sim/erc32/exec.c ---- gdb-6.7.orig/sim/erc32/exec.c 2005-03-07 12:09:05.000000000 +0100 -+++ gdb-6.7/sim/erc32/exec.c 2007-10-11 16:46:10.000000000 +0200 -@@ -1713,7 +1713,7 @@ - sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1]; - sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1]; - default: -- ; -+ break; - } - #endif - -@@ -1886,7 +1886,7 @@ - sregs->fs[rd & ~1] = sregs->fdp[rd | 1]; - sregs->fs[rd | 1] = sregs->fdp[rd & ~1]; - default: -- ; -+ break; - } - #endif - if (sregs->fpstate == FP_EXC_PE) { |