[rtems-crossrpms commit] Update.
Ralf Corsepius
ralf at rtems.org
Fri Oct 26 09:14:26 UTC 2012
Module: rtems-crossrpms
Branch: master
Commit: 3b1fdf4600350d1d1296e58c038ad9f50ea85959
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=3b1fdf4600350d1d1296e58c038ad9f50ea85959
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Fri Oct 26 08:56:09 2012 +0200
Update.
---
patches/gcc-4.7.2-rtems4.11-20121026.diff | 53 +++++++++++++----------------
1 files changed, 24 insertions(+), 29 deletions(-)
diff --git a/patches/gcc-4.7.2-rtems4.11-20121026.diff b/patches/gcc-4.7.2-rtems4.11-20121026.diff
index a8a4095..2cd8675 100644
--- a/patches/gcc-4.7.2-rtems4.11-20121026.diff
+++ b/patches/gcc-4.7.2-rtems4.11-20121026.diff
@@ -1,7 +1,11 @@
diff -Naur gcc-4.7.2.orig/gcc/ChangeLog.rtems gcc-4.7.2/gcc/ChangeLog.rtems
--- gcc-4.7.2.orig/gcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/gcc/ChangeLog.rtems 2012-10-26 05:33:51.768328394 +0200
-@@ -0,0 +1,69 @@
++++ gcc-4.7.2/gcc/ChangeLog.rtems 2012-10-26 08:51:45.747520538 +0200
+@@ -0,0 +1,73 @@
++2012-10-26 Ralf Corsépius <ralf.corsepius at rtems.org>
++
++ * config/avr/t-rtems: Remove LIB1ASMFUNCS filter.
++
+2012-10-26 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * config/v850/rtems.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.
@@ -73,7 +77,7 @@ diff -Naur gcc-4.7.2.orig/gcc/ChangeLog.rtems gcc-4.7.2/gcc/ChangeLog.rtems
+
diff -Naur gcc-4.7.2.orig/gcc/config/avr/rtems.h gcc-4.7.2/gcc/config/avr/rtems.h
--- gcc-4.7.2.orig/gcc/config/avr/rtems.h 2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.2/gcc/config/avr/rtems.h 2012-10-26 05:33:51.778328542 +0200
++++ gcc-4.7.2/gcc/config/avr/rtems.h 2012-10-26 08:51:45.749520570 +0200
@@ -23,6 +23,5 @@
#define TARGET_OS_CPP_BUILTINS() \
do { \
@@ -81,18 +85,9 @@ diff -Naur gcc-4.7.2.orig/gcc/config/avr/rtems.h gcc-4.7.2/gcc/config/avr/rtems.
- builtin_define ("__USE_INIT_FINI__"); \
builtin_assert ("system=rtems"); \
} while (0)
-diff -Naur gcc-4.7.2.orig/gcc/config/avr/t-rtems gcc-4.7.2/gcc/config/avr/t-rtems
---- gcc-4.7.2.orig/gcc/config/avr/t-rtems 2004-11-23 04:44:03.000000000 +0100
-+++ gcc-4.7.2/gcc/config/avr/t-rtems 2012-10-26 05:33:51.778328542 +0200
-@@ -1,3 +1,4 @@
- # Multilibs for avr RTEMS targets.
-
--# ATM, this is just a stub
-+# RTEMS uses _exit from newlib
-+LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))
diff -Naur gcc-4.7.2.orig/gcc/config/h8300/h8300.h gcc-4.7.2/gcc/config/h8300/h8300.h
--- gcc-4.7.2.orig/gcc/config/h8300/h8300.h 2012-08-06 16:34:27.000000000 +0200
-+++ gcc-4.7.2/gcc/config/h8300/h8300.h 2012-10-26 05:33:51.779328557 +0200
++++ gcc-4.7.2/gcc/config/h8300/h8300.h 2012-10-26 08:51:45.750520586 +0200
@@ -129,6 +129,7 @@
#define INCOMING_FRAME_SP_OFFSET (POINTER_SIZE / 8)
@@ -103,7 +98,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/h8300/h8300.h gcc-4.7.2/gcc/config/h8300/h8
shouldn't be put through pseudo regs where they can be cse'd.
diff -Naur gcc-4.7.2.orig/gcc/config/m32c/rtems.h gcc-4.7.2/gcc/config/m32c/rtems.h
--- gcc-4.7.2.orig/gcc/config/m32c/rtems.h 2008-12-01 17:34:42.000000000 +0100
-+++ gcc-4.7.2/gcc/config/m32c/rtems.h 2012-10-26 05:33:51.779328557 +0200
++++ gcc-4.7.2/gcc/config/m32c/rtems.h 2012-10-26 08:51:45.750520586 +0200
@@ -29,5 +29,9 @@
} \
while (0)
@@ -117,7 +112,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/m32c/rtems.h gcc-4.7.2/gcc/config/m32c/rtem
+#undef WCHAR_TYPE_SIZE
diff -Naur gcc-4.7.2.orig/gcc/config/m68k/rtemself.h gcc-4.7.2/gcc/config/m68k/rtemself.h
--- gcc-4.7.2.orig/gcc/config/m68k/rtemself.h 2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.2/gcc/config/m68k/rtemself.h 2012-10-26 05:33:51.779328557 +0200
++++ gcc-4.7.2/gcc/config/m68k/rtemself.h 2012-10-26 08:51:45.750520586 +0200
@@ -31,3 +31,8 @@
builtin_assert ("system=rtems"); \
} \
@@ -129,7 +124,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/m68k/rtemself.h gcc-4.7.2/gcc/config/m68k/r
+#undef WCHAR_TYPE_SIZE
diff -Naur gcc-4.7.2.orig/gcc/config/microblaze/rtems.h gcc-4.7.2/gcc/config/microblaze/rtems.h
--- gcc-4.7.2.orig/gcc/config/microblaze/rtems.h 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/gcc/config/microblaze/rtems.h 2012-10-26 05:33:51.780328572 +0200
++++ gcc-4.7.2/gcc/config/microblaze/rtems.h 2012-10-26 08:51:45.751520602 +0200
@@ -0,0 +1,25 @@
+/* Definitions for rtems targeting a microblaze using ELF.
+ Copyright (C) 2012 Free Software Foundation, Inc.
@@ -158,12 +153,12 @@ diff -Naur gcc-4.7.2.orig/gcc/config/microblaze/rtems.h gcc-4.7.2/gcc/config/mic
+} while (0)
diff -Naur gcc-4.7.2.orig/gcc/config/microblaze/t-rtems gcc-4.7.2/gcc/config/microblaze/t-rtems
--- gcc-4.7.2.orig/gcc/config/microblaze/t-rtems 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/gcc/config/microblaze/t-rtems 2012-10-26 05:33:51.780328572 +0200
++++ gcc-4.7.2/gcc/config/microblaze/t-rtems 2012-10-26 08:51:45.751520602 +0200
@@ -0,0 +1 @@
+# Custom multilibs for RTEMS
diff -Naur gcc-4.7.2.orig/gcc/config/mips/elf.h gcc-4.7.2/gcc/config/mips/elf.h
--- gcc-4.7.2.orig/gcc/config/mips/elf.h 2010-11-21 01:54:14.000000000 +0100
-+++ gcc-4.7.2/gcc/config/mips/elf.h 2012-10-26 05:33:51.780328572 +0200
++++ gcc-4.7.2/gcc/config/mips/elf.h 2012-10-26 08:51:45.751520602 +0200
@@ -47,5 +47,3 @@
#undef ENDFILE_SPEC
@@ -172,7 +167,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/mips/elf.h gcc-4.7.2/gcc/config/mips/elf.h
-#define NO_IMPLICIT_EXTERN_C 1
diff -Naur gcc-4.7.2.orig/gcc/config/rs6000/rtems.h gcc-4.7.2/gcc/config/rs6000/rtems.h
--- gcc-4.7.2.orig/gcc/config/rs6000/rtems.h 2011-12-06 23:49:57.000000000 +0100
-+++ gcc-4.7.2/gcc/config/rs6000/rtems.h 2012-10-26 05:33:51.781328587 +0200
++++ gcc-4.7.2/gcc/config/rs6000/rtems.h 2012-10-26 08:51:45.751520602 +0200
@@ -69,3 +69,7 @@
rs6000_spe_abi = 1; \
} \
@@ -183,7 +178,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/rs6000/rtems.h gcc-4.7.2/gcc/config/rs6000/
+#undef WCHAR_TYPE_SIZE
diff -Naur gcc-4.7.2.orig/gcc/config/sh/rtemself.h gcc-4.7.2/gcc/config/sh/rtemself.h
--- gcc-4.7.2.orig/gcc/config/sh/rtemself.h 2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.2/gcc/config/sh/rtemself.h 2012-10-26 05:33:51.781328587 +0200
++++ gcc-4.7.2/gcc/config/sh/rtemself.h 2012-10-26 08:51:45.752520618 +0200
@@ -24,3 +24,8 @@
builtin_define( "__rtems__" ); \
builtin_assert( "system=rtems" ); \
@@ -195,7 +190,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/sh/rtemself.h gcc-4.7.2/gcc/config/sh/rtems
+#undef WCHAR_TYPE_SIZE
diff -Naur gcc-4.7.2.orig/gcc/config/sparc/rtemself.h gcc-4.7.2/gcc/config/sparc/rtemself.h
--- gcc-4.7.2.orig/gcc/config/sparc/rtemself.h 2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.2/gcc/config/sparc/rtemself.h 2012-10-26 05:33:51.782328602 +0200
++++ gcc-4.7.2/gcc/config/sparc/rtemself.h 2012-10-26 08:51:45.752520618 +0200
@@ -29,5 +29,9 @@
} \
while (0)
@@ -209,7 +204,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/sparc/rtemself.h gcc-4.7.2/gcc/config/sparc
+#undef WCHAR_TYPE_SIZE
diff -Naur gcc-4.7.2.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.7.2/gcc/config/sparc/sp64-rtemself.h
--- gcc-4.7.2.orig/gcc/config/sparc/sp64-rtemself.h 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/gcc/config/sparc/sp64-rtemself.h 2012-10-26 05:33:51.782328602 +0200
++++ gcc-4.7.2/gcc/config/sparc/sp64-rtemself.h 2012-10-26 08:51:45.752520618 +0200
@@ -0,0 +1,37 @@
+/* Definitions for rtems targeting a SPARC64 using ELF.
+ Copyright (C) 2010 Free Software Foundation, Inc.
@@ -250,7 +245,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.7.2/gcc/config/
+#define CPP_SUBTARGET_SPEC ""
diff -Naur gcc-4.7.2.orig/gcc/config/sparc/t-rtems gcc-4.7.2/gcc/config/sparc/t-rtems
--- gcc-4.7.2.orig/gcc/config/sparc/t-rtems 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/gcc/config/sparc/t-rtems 2012-10-26 05:33:51.782328602 +0200
++++ gcc-4.7.2/gcc/config/sparc/t-rtems 2012-10-26 08:51:45.752520618 +0200
@@ -0,0 +1,22 @@
+# Copyright (C) 2011 Free Software Foundation, Inc.
+#
@@ -276,7 +271,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/sparc/t-rtems gcc-4.7.2/gcc/config/sparc/t-
+MULTILIB_MATCHES = msoft-float=mno-fpu
diff -Naur gcc-4.7.2.orig/gcc/config/sparc/t-rtems-64 gcc-4.7.2/gcc/config/sparc/t-rtems-64
--- gcc-4.7.2.orig/gcc/config/sparc/t-rtems-64 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/gcc/config/sparc/t-rtems-64 2012-10-26 05:33:51.783328617 +0200
++++ gcc-4.7.2/gcc/config/sparc/t-rtems-64 2012-10-26 08:51:45.753520635 +0200
@@ -0,0 +1,22 @@
+# Copyright (C) 2012 Free Software Foundation, Inc.
+#
@@ -302,7 +297,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/sparc/t-rtems-64 gcc-4.7.2/gcc/config/sparc
+MULTILIB_MATCHES = msoft-float=mno-fpu
diff -Naur gcc-4.7.2.orig/gcc/config/v850/rtems.h gcc-4.7.2/gcc/config/v850/rtems.h
--- gcc-4.7.2.orig/gcc/config/v850/rtems.h 2012-07-18 17:34:46.000000000 +0200
-+++ gcc-4.7.2/gcc/config/v850/rtems.h 2012-10-26 05:33:51.783328617 +0200
++++ gcc-4.7.2/gcc/config/v850/rtems.h 2012-10-26 08:51:45.753520635 +0200
@@ -27,3 +27,8 @@
/* Map mv850e1 and mv850es to mv850e to match MULTILIB_MATCHES */
#undef ASM_SPEC
@@ -314,7 +309,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config/v850/rtems.h gcc-4.7.2/gcc/config/v850/rtem
+#undef WCHAR_TYPE_SIZE
diff -Naur gcc-4.7.2.orig/gcc/config.gcc gcc-4.7.2/gcc/config.gcc
--- gcc-4.7.2.orig/gcc/config.gcc 2012-09-12 11:03:54.000000000 +0200
-+++ gcc-4.7.2/gcc/config.gcc 2012-10-26 05:33:51.777328527 +0200
++++ gcc-4.7.2/gcc/config.gcc 2012-10-26 08:51:45.749520570 +0200
@@ -1723,6 +1723,14 @@
c_target_objs="${c_target_objs} microblaze-c.o"
cxx_target_objs="${cxx_target_objs} microblaze-c.o"
@@ -352,7 +347,7 @@ diff -Naur gcc-4.7.2.orig/gcc/config.gcc gcc-4.7.2/gcc/config.gcc
extra_options="${extra_options} sparc/long-double-switch.opt"
diff -Naur gcc-4.7.2.orig/gcc/ginclude/stddef.h gcc-4.7.2/gcc/ginclude/stddef.h
--- gcc-4.7.2.orig/gcc/ginclude/stddef.h 2012-02-12 02:06:04.000000000 +0100
-+++ gcc-4.7.2/gcc/ginclude/stddef.h 2012-10-26 05:33:51.783328617 +0200
++++ gcc-4.7.2/gcc/ginclude/stddef.h 2012-10-26 08:51:45.753520635 +0200
@@ -53,7 +53,13 @@
one less case to deal with in the following. */
#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
@@ -369,7 +364,7 @@ diff -Naur gcc-4.7.2.orig/gcc/ginclude/stddef.h gcc-4.7.2/gcc/ginclude/stddef.h
#include <sys/_types.h>
diff -Naur gcc-4.7.2.orig/libgcc/ChangeLog.rtems gcc-4.7.2/libgcc/ChangeLog.rtems
--- gcc-4.7.2.orig/libgcc/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.2/libgcc/ChangeLog.rtems 2012-10-26 05:33:51.784328632 +0200
++++ gcc-4.7.2/libgcc/ChangeLog.rtems 2012-10-26 08:51:45.753520635 +0200
@@ -0,0 +1,18 @@
+2012-07-10 Ralf Corsépius <ralf.corsepius at rtems.org>
+
@@ -391,7 +386,7 @@ diff -Naur gcc-4.7.2.orig/libgcc/ChangeLog.rtems gcc-4.7.2/libgcc/ChangeLog.rtem
+
diff -Naur gcc-4.7.2.orig/libgcc/config.host gcc-4.7.2/libgcc/config.host
--- gcc-4.7.2.orig/libgcc/config.host 2012-09-05 14:19:47.000000000 +0200
-+++ gcc-4.7.2/libgcc/config.host 2012-10-26 05:33:51.805328945 +0200
++++ gcc-4.7.2/libgcc/config.host 2012-10-26 08:51:45.754520652 +0200
@@ -693,6 +693,7 @@
;;
m32r-*-rtems*)
More information about the vc
mailing list