[rtems-crossrpms commit] m32r crtinit, crtfini.

Ralf Corsepius ralf at rtems.org
Fri Jun 15 03:40:53 UTC 2012


Module:    rtems-crossrpms
Branch:    master
Commit:    122a2947dde6c0d568a22ef71174d2bf48b995b9
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=122a2947dde6c0d568a22ef71174d2bf48b995b9

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Jun 13 05:00:55 2012 +0200

m32r crtinit, crtfini.

---

 .../gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff  |   53 ++++++++++++-------
 1 files changed, 33 insertions(+), 20 deletions(-)

diff --git a/patches/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff b/patches/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
index 508e8f7..b0bbd50 100644
--- a/patches/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
+++ b/patches/gcc-4.7.1-RC-20120606-rtems4.11-20120611.diff
@@ -1,6 +1,6 @@
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/ChangeLog.rtems gcc-4.7.1-RC-20120606/gcc/ChangeLog.rtems
 --- gcc-4.7.1-RC-20120606.orig/gcc/ChangeLog.rtems	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/ChangeLog.rtems	2012-06-11 08:03:20.191252148 +0200
++++ gcc-4.7.1-RC-20120606/gcc/ChangeLog.rtems	2012-06-12 18:07:00.984336115 +0200
 @@ -0,0 +1,51 @@
 +2012-04-19	Ralf Corsépius <ralf.corsepius at rtems.org>
 +
@@ -55,7 +55,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/ChangeLog.rtems gcc-4.7.1-RC-20120606/
 +	
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/avr/rtems.h gcc-4.7.1-RC-20120606/gcc/config/avr/rtems.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/avr/rtems.h	2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/gcc/config/avr/rtems.h	2012-06-11 08:03:20.201252302 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/avr/rtems.h	2012-06-12 18:07:00.986336189 +0200
 @@ -23,6 +23,5 @@
  #define TARGET_OS_CPP_BUILTINS()	\
  do {					\
@@ -65,7 +65,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/avr/rtems.h gcc-4.7.1-RC-201206
  } while (0)
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/avr/t-rtems gcc-4.7.1-RC-20120606/gcc/config/avr/t-rtems
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/avr/t-rtems	2004-11-23 04:44:03.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/avr/t-rtems	2012-06-11 08:03:20.201252302 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/avr/t-rtems	2012-06-12 18:07:00.986336189 +0200
 @@ -1,3 +1,4 @@
  # Multilibs for avr RTEMS targets.
  
@@ -74,7 +74,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/avr/t-rtems gcc-4.7.1-RC-201206
 +LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/h8300/h8300.h gcc-4.7.1-RC-20120606/gcc/config/h8300/h8300.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/h8300/h8300.h	2011-07-20 00:34:31.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/gcc/config/h8300/h8300.h	2012-06-11 08:03:20.211252455 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/h8300/h8300.h	2012-06-12 18:07:00.987336222 +0200
 @@ -129,6 +129,7 @@
  #define INCOMING_FRAME_SP_OFFSET   (POINTER_SIZE / 8)
  
@@ -85,7 +85,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/h8300/h8300.h gcc-4.7.1-RC-2012
     shouldn't be put through pseudo regs where they can be cse'd.
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/m32c/rtems.h gcc-4.7.1-RC-20120606/gcc/config/m32c/rtems.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/m32c/rtems.h	2008-12-01 17:34:42.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/m32c/rtems.h	2012-06-11 08:03:20.211252455 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/m32c/rtems.h	2012-06-12 18:07:00.987336222 +0200
 @@ -29,5 +29,9 @@
      }						\
    while (0)
@@ -99,7 +99,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/m32c/rtems.h gcc-4.7.1-RC-20120
 +#undef WCHAR_TYPE_SIZE
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/m68k/rtemself.h gcc-4.7.1-RC-20120606/gcc/config/m68k/rtemself.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/m68k/rtemself.h	2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/gcc/config/m68k/rtemself.h	2012-06-11 08:03:20.211252455 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/m68k/rtemself.h	2012-06-12 18:07:00.987336222 +0200
 @@ -31,3 +31,8 @@
  	builtin_assert ("system=rtems");	\
      }						\
@@ -111,7 +111,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/m68k/rtemself.h gcc-4.7.1-RC-20
 +#undef WCHAR_TYPE_SIZE
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/microblaze/rtems.h gcc-4.7.1-RC-20120606/gcc/config/microblaze/rtems.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/microblaze/rtems.h	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/microblaze/rtems.h	2012-06-11 08:03:20.211252456 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/microblaze/rtems.h	2012-06-12 18:07:00.987336222 +0200
 @@ -0,0 +1,25 @@
 +/* Definitions for rtems targeting a microblaze using ELF.
 +   Copyright (C) 2012 Free Software Foundation, Inc.
@@ -140,12 +140,12 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/microblaze/rtems.h gcc-4.7.1-RC
 +} while (0)
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/microblaze/t-rtems gcc-4.7.1-RC-20120606/gcc/config/microblaze/t-rtems
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/microblaze/t-rtems	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/microblaze/t-rtems	2012-06-11 08:03:20.211252456 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/microblaze/t-rtems	2012-06-12 18:07:00.987336222 +0200
 @@ -0,0 +1 @@
 +# Custom multilibs for RTEMS
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/mips/elf.h gcc-4.7.1-RC-20120606/gcc/config/mips/elf.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/mips/elf.h	2010-11-21 01:54:14.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/mips/elf.h	2012-06-11 08:03:20.211252456 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/mips/elf.h	2012-06-12 18:07:00.988336252 +0200
 @@ -47,5 +47,3 @@
  
  #undef  ENDFILE_SPEC
@@ -154,7 +154,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/mips/elf.h gcc-4.7.1-RC-2012060
 -#define NO_IMPLICIT_EXTERN_C 1
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/rs6000/rtems.h gcc-4.7.1-RC-20120606/gcc/config/rs6000/rtems.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/rs6000/rtems.h	2011-12-06 23:49:57.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/rs6000/rtems.h	2012-06-11 08:03:20.211252456 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/rs6000/rtems.h	2012-06-12 18:07:00.988336252 +0200
 @@ -69,3 +69,7 @@
            rs6000_spe_abi = 1;                                             \
        }                                                                   \
@@ -165,7 +165,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/rs6000/rtems.h gcc-4.7.1-RC-201
 +#undef WCHAR_TYPE_SIZE
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sh/rtemself.h gcc-4.7.1-RC-20120606/gcc/config/sh/rtemself.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/sh/rtemself.h	2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/gcc/config/sh/rtemself.h	2012-06-11 08:03:20.212252471 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/sh/rtemself.h	2012-06-12 18:07:00.988336252 +0200
 @@ -24,3 +24,8 @@
    builtin_define( "__rtems__" );		\
    builtin_assert( "system=rtems" );		\
@@ -177,7 +177,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sh/rtemself.h gcc-4.7.1-RC-2012
 +#undef WCHAR_TYPE_SIZE
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/rtemself.h gcc-4.7.1-RC-20120606/gcc/config/sparc/rtemself.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/rtemself.h	2007-08-02 12:49:31.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/gcc/config/sparc/rtemself.h	2012-06-11 08:03:20.213252486 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/sparc/rtemself.h	2012-06-12 18:07:00.988336252 +0200
 @@ -29,5 +29,9 @@
      }						\
    while (0)
@@ -191,7 +191,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/rtemself.h gcc-4.7.1-RC-2
 +#undef WCHAR_TYPE_SIZE
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.7.1-RC-20120606/gcc/config/sparc/sp64-rtemself.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/sp64-rtemself.h	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/sparc/sp64-rtemself.h	2012-06-11 08:03:20.213252486 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/sparc/sp64-rtemself.h	2012-06-12 18:07:00.989336273 +0200
 @@ -0,0 +1,37 @@
 +/* Definitions for rtems targeting a SPARC64 using ELF.
 +   Copyright (C) 2010 Free Software Foundation, Inc.
@@ -232,7 +232,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.7.1
 +#define CPP_SUBTARGET_SPEC ""
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/t-rtems gcc-4.7.1-RC-20120606/gcc/config/sparc/t-rtems
 --- gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/t-rtems	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/config/sparc/t-rtems	2012-06-11 08:03:20.213252486 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config/sparc/t-rtems	2012-06-12 18:07:00.989336273 +0200
 @@ -0,0 +1,18 @@
 +# Copyright (C) 2011 Free Software Foundation, Inc.
 +#
@@ -254,7 +254,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config/sparc/t-rtems gcc-4.7.1-RC-2012
 +#
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config.gcc gcc-4.7.1-RC-20120606/gcc/config.gcc
 --- gcc-4.7.1-RC-20120606.orig/gcc/config.gcc	2012-06-04 11:51:00.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/gcc/config.gcc	2012-06-11 08:03:20.215252516 +0200
++++ gcc-4.7.1-RC-20120606/gcc/config.gcc	2012-06-12 18:07:00.985336153 +0200
 @@ -1711,6 +1711,14 @@
  	c_target_objs="${c_target_objs} microblaze-c.o"
  	cxx_target_objs="${cxx_target_objs} microblaze-c.o"
@@ -294,7 +294,7 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/config.gcc gcc-4.7.1-RC-20120606/gcc/c
  	extra_options="${extra_options} sparc/long-double-switch.opt"
 diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/ginclude/stddef.h gcc-4.7.1-RC-20120606/gcc/ginclude/stddef.h
 --- gcc-4.7.1-RC-20120606.orig/gcc/ginclude/stddef.h	2012-02-12 02:06:04.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/gcc/ginclude/stddef.h	2012-06-11 08:03:20.229252729 +0200
++++ gcc-4.7.1-RC-20120606/gcc/ginclude/stddef.h	2012-06-12 18:07:00.989336273 +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__)
@@ -311,8 +311,13 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/gcc/ginclude/stddef.h gcc-4.7.1-RC-2012060
  #include <sys/_types.h>
 diff -Naur gcc-4.7.1-RC-20120606.orig/libgcc/ChangeLog.rtems gcc-4.7.1-RC-20120606/libgcc/ChangeLog.rtems
 --- gcc-4.7.1-RC-20120606.orig/libgcc/ChangeLog.rtems	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.7.1-RC-20120606/libgcc/ChangeLog.rtems	2012-06-11 08:03:20.229252729 +0200
-@@ -0,0 +1,5 @@
++++ gcc-4.7.1-RC-20120606/libgcc/ChangeLog.rtems	2012-06-12 18:07:00.989336273 +0200
+@@ -0,0 +1,10 @@
++2012-05-16  Joel Sherrill <joel.sherrill at oarcorp.com>
++
++	* config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
++     	as extra_parts.
++
 +2012-03-08  Sebastian Huber  <sebastian.huber at embedded-brains.de>
 +
 +        * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
@@ -320,8 +325,16 @@ diff -Naur gcc-4.7.1-RC-20120606.orig/libgcc/ChangeLog.rtems gcc-4.7.1-RC-201206
 +
 diff -Naur gcc-4.7.1-RC-20120606.orig/libgcc/config.host gcc-4.7.1-RC-20120606/libgcc/config.host
 --- gcc-4.7.1-RC-20120606.orig/libgcc/config.host	2012-04-30 19:39:57.000000000 +0200
-+++ gcc-4.7.1-RC-20120606/libgcc/config.host	2012-06-11 08:03:20.229252729 +0200
-@@ -888,7 +888,7 @@
++++ gcc-4.7.1-RC-20120606/libgcc/config.host	2012-06-12 18:07:00.990336304 +0200
+@@ -690,6 +690,7 @@
+  	;;
+ m32r-*-rtems*)
+ 	tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
++	extra_parts="$extra_parts crtinit.o crtfini.o"
+ 	;;
+ m32rle-*-elf*)
+ 	tmake_file=t-fdpbit
+@@ -888,7 +889,7 @@
  	extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  	;;
  powerpc-*-rtems*)




More information about the vc mailing list