change log for rtems (2011-03-23)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Mar 23 13:13:10 UTC 2011


 *ralf*:
New.

A    1.1  contrib/crossrpms/patches/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff

diff -u /dev/null rtems/contrib/crossrpms/patches/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff:1.1
--- /dev/null	Wed Mar 23 08:13:09 2011
+++ rtems/contrib/crossrpms/patches/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff	Wed Mar 23 07:17:13 2011
@@ -0,0 +1,433 @@
+diff -Naur gcc-4.6.0.orig/gcc/ChangeLog.rtems gcc-4.6.0/gcc/ChangeLog.rtems
+--- gcc-4.6.0.orig/gcc/ChangeLog.rtems	1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/ChangeLog.rtems	2011-03-23 12:09:58.071656584 +0100
+@@ -0,0 +1,64 @@
++2011-03-23	Joel Sherrill <joel.sherrill at oarcorp.com>
++
++	* config.gcc (sparc-*-rtems*, sparc64-*-rtems*):
++	Add sparc/t-rtems, crti.o crtn.o.
++	* config/sparc/t-rtems: New.
++
++2011-03-22	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config.gcc (sparc64-rtems*): Remove sysv.h from tm_file.
++
++2011-02-20	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config/rs6000/t-rtems: Add -mcpu=8540/-mfloat-gprs=double multilib.
++
++2011-02-20	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config/rs6000/t-rtems: Remove -mcpu=601 multilib.
++	* config/rs6000/t-rtems: Remove -Dmpc8260 multilib.
++	* config/rs6000/rtems.h: Allow --float-gprs=... to override grps on
++	E500 targets.
++
++2010-05-19  Joel Sherrill <joel.sherrill at oarcorp.com>
++
++    	* config.gcc (sparc64-*-rtems*): New target.
++	* config/sparc/sp64-rtemself.h: New file.
++
++2010-04-19	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _X86_64_ANSI_H_ is 
++	defined (Used by amd64-*-netbsdelf5.*).
++
++2010-04-18	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _I386_ANSI_H_ is 
++	defined (Used by i386-*-netbsdelf5.*).
++
++2010-03-15	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	Patch from Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>:
++	* config/arm/rtems-elf.h, config/arm/t-rtems: Add optional support
++	for vfp FPU model
++
++2009-11-04	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config/m32c/rtems.h, config/m68k/rtemself.h,
++	config/m68k/rtemself.h, config/sh/rtemself.h,
++	config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE. 
++	(Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files 
++	to interfere and cause wchar_t/wint_t incompatibilities).
++
++2009-10-15	Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config/avr/t-rtems: Don't build _exit.
++
++		Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config/rs6000/rtems.h: Support for custom RTEMS multilibs.
++	Support TARGET_E500.
++	* config/rs6000/t-rtems: Custom RTEMS multilibs. 
++
++		Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	* config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C.
++	
+diff -Naur gcc-4.6.0.orig/gcc/config/arm/rtems-elf.h gcc-4.6.0/gcc/config/arm/rtems-elf.h
+--- gcc-4.6.0.orig/gcc/config/arm/rtems-elf.h	2009-03-25 13:54:16.000000000 +0100
++++ gcc-4.6.0/gcc/config/arm/rtems-elf.h	2011-03-22 05:59:22.470573413 +0100
+@@ -36,7 +36,7 @@
+  */
+ #undef SUBTARGET_EXTRA_ASM_SPEC
+ #define SUBTARGET_EXTRA_ASM_SPEC "\
+-  %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"
++  %{!mhard-float: %{!mfpu=vfp: %{!msoft-float:-mfpu=softfpa}}}"
+ 
+ /*
+  *  The default includes --start-group and --end-group which conflicts
+diff -Naur gcc-4.6.0.orig/gcc/config/arm/t-rtems gcc-4.6.0/gcc/config/arm/t-rtems
+--- gcc-4.6.0.orig/gcc/config/arm/t-rtems	2004-11-23 06:30:32.000000000 +0100
++++ gcc-4.6.0/gcc/config/arm/t-rtems	2011-03-22 05:59:22.470573413 +0100
+@@ -5,6 +5,41 @@
+ MULTILIB_EXCEPTIONS  = 
+ MULTILIB_MATCHES     = marm=mno-thumb
+ 
+-MULTILIB_OPTIONS    += msoft-float/mhard-float
+-MULTILIB_DIRNAMES   += soft fpu
+-MULTILIB_EXCEPTIONS += *mthumb/*mhard-float*
++MULTILIB_OPTIONS    += mhard-float/mfloat-abi=softfp
++MULTILIB_DIRNAMES   += fpu softfp
++MULTILIB_EXCEPTIONS += *mthumb*/*mhard-float* *mthumb*/*mfloat-abi=softfp*
++MULTILIB_MATCHES     =
++
++MULTILIB_OPTIONS    += mfpu=vfp
++MULTILIB_DIRNAMES   += vfp
++MULTILIB_EXCEPTIONS += *mhard-float*/*mfpu=vfp* *marm*/*mfloat-abi=softfp*/*mfpu=fpa*
++MULTILIB_EXCLUSIONS += !mthumb/mfloat-abi=softfp/!mfpu=vfp
++
++# default float model is fpa, so don't create a explicit copy of it
++MULTILIB_EXCEPTIONS += *marm*/*mfpa*
++
++# permutations of the options which are useful (+) or make no sense (-),
++# defaults are in brackets:
++# + (arm/soft/fpa)
++# + (arm/soft)/vfp
++# - (arm)/softfp(/fpa)
++# + (arm)/softfp/vfp
++# + (arm)/hard-float(/fpa)
++# - (arm)/hard-float/vfp
++# + thumb/(soft/fpa)
++# + thumb/(soft/)vfp
++# - thumb/softfp/fpa
++# - thumb/softfp/vfp
++# - thumb/hard-float/fpa
++# - thumb/hard-float/vfp
++
++# subdirs to be used for multilibs and their respective options:
++#/thumb/vfp  -> thumb/soft/vfp
++#/thumb/fpa  -> thumb/soft/fpa
++#/thumb      -> thumb/soft/fpa
++#/vfp        -> arm/soft/vfp
++#/softfp/vfp -> arm/softfp/cfp
++#/fpu/fpa    -> arm/hard/fpa
++#/fpu        -> arm/hard/fpa
++#/fpa        -> arm/soft/fpa
++#.           -> arm/soft/fpa
+diff -Naur gcc-4.6.0.orig/gcc/config/avr/t-rtems gcc-4.6.0/gcc/config/avr/t-rtems
+--- gcc-4.6.0.orig/gcc/config/avr/t-rtems	2004-11-23 04:44:03.000000000 +0100
++++ gcc-4.6.0/gcc/config/avr/t-rtems	2011-03-22 05:59:35.903761845 +0100
+@@ -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.6.0.orig/gcc/config/m32c/rtems.h gcc-4.6.0/gcc/config/m32c/rtems.h
+--- gcc-4.6.0.orig/gcc/config/m32c/rtems.h	2008-12-01 17:34:42.000000000 +0100
++++ gcc-4.6.0/gcc/config/m32c/rtems.h	2011-03-22 05:59:46.823915602 +0100
+@@ -29,5 +29,9 @@
+     }						\
+   while (0)
+ 
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/m68k/rtemself.h gcc-4.6.0/gcc/config/m68k/rtemself.h
+--- gcc-4.6.0.orig/gcc/config/m68k/rtemself.h	2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/m68k/rtemself.h	2011-03-22 06:00:02.774139456 +0100
+@@ -31,3 +31,8 @@
+ 	builtin_assert ("system=rtems");	\
+     }						\
+   while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/mips/elf.h gcc-4.6.0/gcc/config/mips/elf.h
+--- gcc-4.6.0.orig/gcc/config/mips/elf.h	2010-11-21 01:54:14.000000000 +0100
++++ gcc-4.6.0/gcc/config/mips/elf.h	2011-03-22 06:00:30.404527655 +0100
+@@ -47,5 +47,3 @@
+ 
+ #undef  ENDFILE_SPEC
+ #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
+-
+-#define NO_IMPLICIT_EXTERN_C 1
+diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/rtems.h gcc-4.6.0/gcc/config/rs6000/rtems.h
+--- gcc-4.6.0.orig/gcc/config/rs6000/rtems.h	2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/rs6000/rtems.h	2011-03-22 06:00:43.599713003 +0100
+@@ -49,8 +49,23 @@
+ %{mcpu=604:  %{!Dppc*: %{!Dmpc*: -Dmpc604}  } } \
+ %{mcpu=750:  %{!Dppc*: %{!Dmpc*: -Dmpc750}  } } \
+ %{mcpu=821:  %{!Dppc*: %{!Dmpc*: -Dmpc821}  } } \
+-%{mcpu=860:  %{!Dppc*: %{!Dmpc*: -Dmpc860}  } }" 
++%{mcpu=860:  %{!Dppc*: %{!Dmpc*: -Dmpc860}  } } \
++%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540}  } }" 
+ 
+ #undef  SUBSUBTARGET_EXTRA_SPECS
+ #define SUBSUBTARGET_EXTRA_SPECS \
+   { "cpp_os_rtems",		CPP_OS_RTEMS_SPEC }
++
++#undef SUBSUBTARGET_OVERRIDE_OPTIONS
++#define SUBSUBTARGET_OVERRIDE_OPTIONS			\
++  do {							\
++    if (TARGET_E500)					\
++      {							\
++        if (!rs6000_explicit_options.float_gprs)	\
++          rs6000_float_gprs = 1; 			\
++      }							\
++  } while(0)
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/rs6000/t-rtems gcc-4.6.0/gcc/config/rs6000/t-rtems
+--- gcc-4.6.0.orig/gcc/config/rs6000/t-rtems	2009-04-21 21:03:23.000000000 +0200
++++ gcc-4.6.0/gcc/config/rs6000/t-rtems	2011-03-22 06:01:19.169212175 +0100
+@@ -19,14 +19,12 @@
+ # <http://www.gnu.org/licenses/>.
+ 
+ MULTILIB_OPTIONS	= \
+-mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
+-Dmpc8260 \
+-msoft-float
++mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \
++msoft-float/mfloat-gprs=double
+ 
+ MULTILIB_DIRNAMES	= \
+-m403 m505 m601 m603e m604 m860 m7400 \
+-mpc8260 \
+-nof
++m403 m505 m603e m604 m860 m7400 m8540 \
++nof gprsdouble
+ 
+ # MULTILIB_MATCHES	= ${MULTILIB_MATCHES_FLOAT}
+ MULTILIB_MATCHES	=
+@@ -47,6 +45,13 @@
+ # Map 750 to .
+ MULTILIB_MATCHES	+= mcpu?750=
+ 
++# Map 8548 to 8540
++MULTILIB_MATCHES	+= mcpu?8540=mcpu?8548
++
++# Map -mcpu=8540 -mfloat-gprs=single to -mcpu=8540
++# (mfloat-gprs=single is implicit default)
++MULTILIB_MATCHES	+= mcpu?8540=mcpu?8540/mfloat-gprs?single
++
+ # Soft-float only, default implies msoft-float
+ # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
+ MULTILIB_SOFTFLOAT_ONLY = \
+@@ -62,6 +67,16 @@
+ MULTILIB_HARDFLOAT_ONLY = \
+ *mcpu=505/*msoft-float*
+ 
++# Targets which do not support gprs
++MULTILIB_NOGPRS = \
++mfloat-gprs=* \
++*mcpu=403/*mfloat-gprs=* \
++*mcpu=505/*mfloat-gprs=* \
++*mcpu=603e/*mfloat-gprs=* \
++*mcpu=604/*mfloat-gprs=* \
++*mcpu=860/*mfloat-gprs=* \
++*mcpu=7400/*mfloat-gprs=*
++
+ MULTILIB_EXCEPTIONS =
+ 
+ # Disallow -Dppc and -Dmpc without other options
+@@ -69,14 +84,8 @@
+ 
+ MULTILIB_EXCEPTIONS	+= \
+ ${MULTILIB_SOFTFLOAT_ONLY} \
+-${MULTILIB_HARDFLOAT_ONLY}
++${MULTILIB_HARDFLOAT_ONLY} \
++${MULTILIB_NOGPRS}
+ 
+ # Special rules
+ # Take out all variants we don't want
+-MULTILIB_EXCEPTIONS += *mcpu=403/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=505/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=601/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=604/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
+-MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
+diff -Naur gcc-4.6.0.orig/gcc/config/sh/rtemself.h gcc-4.6.0/gcc/config/sh/rtemself.h
+--- gcc-4.6.0.orig/gcc/config/sh/rtemself.h	2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/sh/rtemself.h	2011-03-22 06:01:34.316425179 +0100
+@@ -24,3 +24,8 @@
+   builtin_define( "__rtems__" );		\
+   builtin_assert( "system=rtems" );		\
+ } while (0)
++
++/* Use the defaults */
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/sparc/rtemself.h gcc-4.6.0/gcc/config/sparc/rtemself.h
+--- gcc-4.6.0.orig/gcc/config/sparc/rtemself.h	2007-08-02 12:49:31.000000000 +0200
++++ gcc-4.6.0/gcc/config/sparc/rtemself.h	2011-03-22 06:01:34.317425190 +0100
+@@ -29,5 +29,9 @@
+     }						\
+   while (0)
+ 
+-/* Use the default */
++/* Use the defaults */
+ #undef LINK_GCC_C_SEQUENCE_SPEC
++
++#undef WCHAR_TYPE
++
++#undef WCHAR_TYPE_SIZE
+diff -Naur gcc-4.6.0.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.6.0/gcc/config/sparc/sp64-rtemself.h
+--- gcc-4.6.0.orig/gcc/config/sparc/sp64-rtemself.h	1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/config/sparc/sp64-rtemself.h	2011-03-22 06:02:12.381959916 +0100
+@@ -0,0 +1,37 @@
++/* Definitions for rtems targeting a SPARC64 using ELF.
++   Copyright (C) 2010 Free Software Foundation, Inc.
++   Contributed by Joel Sherrill (joel at OARcorp.com).
++
++This file is part of GCC.
++
++GCC is free software; you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation; either version 3, or (at your option)
++any later version.
++
++GCC is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with GCC; see the file COPYING3.  If not see
++<http://www.gnu.org/licenses/>.  */
++
++/* Target OS builtins.  */
++#undef TARGET_OS_CPP_BUILTINS
++#define TARGET_OS_CPP_BUILTINS()		\
++  do						\
++    {						\
++	builtin_define ("__rtems__");		\
++	builtin_define ("__USE_INIT_FINI__");	\
++	builtin_assert ("system=rtems");	\
++    }						\
++  while (0)
++
++/* Use the default */
++#undef LINK_GCC_C_SEQUENCE_SPEC
++
++/* we are not svr4 */
++#undef CPP_SUBTARGET_SPEC
++#define CPP_SUBTARGET_SPEC ""
+diff -Naur gcc-4.6.0.orig/gcc/config/sparc/t-rtems gcc-4.6.0/gcc/config/sparc/t-rtems
+--- gcc-4.6.0.orig/gcc/config/sparc/t-rtems	1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/gcc/config/sparc/t-rtems	2011-03-23 11:30:34.379474122 +0100
+@@ -0,0 +1,29 @@
++# Copyright (C) 2011 Free Software Foundation, Inc.
++#
++# This file is part of GCC.
++#
++# GCC is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 3, or (at your option)
++# any later version.
++#
++# GCC is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with GCC; see the file COPYING3.  If not see
++# <http://www.gnu.org/licenses/>.
++#
++# This file was based on t-sol2 - SPARC Solaris implementation. Actually,
++# the source code to create crti.o and crtn.o are exactly the same 
++# as the ones for Solaris. Later, we might want to have a RTEMS's 
++# version of these files.
++#
++
++# Assemble startup files.
++$(T)crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES)
++	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-ci.asm
++$(T)crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES)
++	$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-cn.asm
+diff -Naur gcc-4.6.0.orig/gcc/config.gcc gcc-4.6.0/gcc/config.gcc
+--- gcc-4.6.0.orig/gcc/config.gcc	2011-03-14 07:05:29.000000000 +0100
++++ gcc-4.6.0/gcc/config.gcc	2011-03-23 11:40:01.054232821 +0100
+@@ -2526,8 +2526,8 @@
+ 	;;
+ sparc-*-rtems*)
+ 	tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
+-	tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
+-	extra_parts="crtbegin.o crtend.o"
++	tmake_file="sparc/t-elf sparc/t-crtfm sparc/t-rtems t-rtems"
++	extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+ 	;;
+ sparc-*-linux*)
+ 	tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h"
+@@ -2620,8 +2620,8 @@
+ sparc64-*-rtems*)
+ 	tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
+ 	extra_options="${extra_options} sparc/little-endian.opt"
+-	tmake_file="${tmake_file} sparc/t-crtfm t-rtems"
+-	extra_parts="crtbegin.o crtend.o"
++	tmake_file="${tmake_file} sparc/t-crtfm sparc/t-rtems t-rtems"
++	extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+ 	;;
+ sparc64-*-linux*)
+ 	tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/linux64.h"
+diff -Naur gcc-4.6.0.orig/gcc/ginclude/stddef.h gcc-4.6.0/gcc/ginclude/stddef.h
+--- gcc-4.6.0.orig/gcc/ginclude/stddef.h	2011-01-29 23:15:52.000000000 +0100
++++ gcc-4.6.0/gcc/ginclude/stddef.h	2011-03-22 06:02:40.556355369 +0100
+@@ -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__)
+ #include <machine/ansi.h>
++#if !defined(_MACHINE_ANSI_H_)
++#if defined(_I386_ANSI_H_) || defined(_X86_64_ANSI_H_)
++#define _MACHINE_ANSI_H_
+ #endif
++#endif
++#endif
++
+ /* On FreeBSD 5, machine/ansi.h does not exist anymore... */
+ #if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
+ #include <sys/_types.h>
+diff -Naur gcc-4.6.0.orig/libgcc/ChangeLog.rtems gcc-4.6.0/libgcc/ChangeLog.rtems
+--- gcc-4.6.0.orig/libgcc/ChangeLog.rtems	1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.6.0/libgcc/ChangeLog.rtems	2011-03-22 06:05:22.260626346 +0100
+@@ -0,0 +1,5 @@
++2010-08-17  Ralf Corsépius <ralf.corsepius at rtems.org>
++
++	1669/Tools, GCC-BZ 44793
++	* config.host (powerpc-*-rtems*): Add tmake_file.
++	Add extra_parts.
+diff -Naur gcc-4.6.0.orig/libgcc/config.host gcc-4.6.0/libgcc/config.host
+--- gcc-4.6.0.orig/libgcc/config.host	2011-03-14 07:06:23.000000000 +0100
++++ gcc-4.6.0/libgcc/config.host	2011-03-22 06:02:58.022600777 +0100
+@@ -483,6 +483,8 @@
+ 	tmake_file="${tmake_file} rs6000/t-ppccomm"
+ 	;;
+ powerpc-*-rtems*)
++	tmake_file="${tmake_file} rs6000/t-ppccomm t-softfp"
++	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
+ 	;;
+ powerpc-*-linux* | powerpc64-*-linux*)
+ 	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"


 *ralf*:
Regenerate.

M   1.50  contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec
M   1.32  contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec

diff -u rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec:1.49 rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec:1.50
--- rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec:1.49	Tue Mar 22 06:00:30 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gcc.spec	Wed Mar 23 07:19:03 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@
 Requires:	rtems-4.11-gcc-common
 Requires:	rtems-4.11-sparc-rtems4.11-binutils
 Requires:	rtems-4.11-sparc-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
+Requires:	rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-7%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -259,7 +259,7 @@
 
 %if "%{gcc_version}" == "4.6.0"
 Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110322.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff
 %endif
 %if "%{gcc_version}" == "4.5.2"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -364,7 +364,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-0%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-7%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -634,7 +634,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-sparc-rtems4.11-binutils
-# Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
+# Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-7%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -652,7 +652,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-6%{?dist}
+Requires:       rtems-4.11-sparc-rtems4.11-newlib = %{newlib_version}-7%{?dist}
 License:	GPL
 
 %description -n rtems-4.11-sparc-rtems4.11-gcc-libgcc
@@ -831,7 +831,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        6%{?dist}
+Release:        7%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.11-newlib-common
@@ -852,7 +852,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        6%{?dist}
+Release:        7%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 

diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec:1.31 rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec:1.32
--- rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec:1.31	Tue Mar 22 06:00:30 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gcc.spec	Wed Mar 23 07:19:03 2011
@@ -58,7 +58,7 @@
 
 Group:	      	Development/Tools
 Version:        %{gcc_rpmvers}
-Release:      	0%{?dist}
+Release:      	1%{?dist}
 License:      	GPL
 URL:		http://gcc.gnu.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -245,7 +245,7 @@
 Requires:	rtems-4.11-gcc-common
 Requires:	rtems-4.11-sparc64-rtems4.11-binutils
 Requires:	rtems-4.11-sparc64-rtems4.11-gcc-libgcc = %{gcc_rpmvers}-%{release}
-Requires:	rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-6%{?dist}
+Requires:	rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-7%{?dist}
 
 %if "%{gcc_version}" >= "4.5.0"
 BuildRequires:  zlib-devel
@@ -259,7 +259,7 @@
 
 %if "%{gcc_version}" == "4.6.0"
 Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110322.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff
 %endif
 %if "%{gcc_version}" == "4.5.2"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
@@ -364,7 +364,7 @@
   ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
 %endif
 
-echo "RTEMS gcc-%{gcc_version}-0%{?dist}/newlib-%{newlib_version}-6%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
+echo "RTEMS gcc-%{gcc_version}-1%{?dist}/newlib-%{newlib_version}-7%{?dist}" > gcc-%{gcc_pkgvers}/gcc/DEV-PHASE
 
 
   # Fix timestamps
@@ -634,7 +634,7 @@
 # Group:          Development/Tools
 # Version:        %{gcc_rpmvers}
 # Requires:       rtems-4.11-sparc64-rtems4.11-binutils
-# Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-6%{?dist}
+# Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-7%{?dist}
 # License:	GPL
 
 # %if %build_infos
@@ -652,7 +652,7 @@
 Group:          Development/Tools
 Version:        %{gcc_rpmvers}
 %{?_with_noarch_subpackages:BuildArch: noarch}
-Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-6%{?dist}
+Requires:       rtems-4.11-sparc64-rtems4.11-newlib = %{newlib_version}-7%{?dist}
 License:	GPL
 
 %description -n rtems-4.11-sparc64-rtems4.11-gcc-libgcc
@@ -831,7 +831,7 @@
 Group: 		Development/Tools
 License:	Distributable
 Version:	%{newlib_version}
-Release:        6%{?dist}
+Release:        7%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 
 Requires:	rtems-4.11-newlib-common
@@ -852,7 +852,7 @@
 Summary:	Base package for RTEMS newlib C Library
 Group:          Development/Tools
 Version:        %{newlib_version}
-Release:        6%{?dist}
+Release:        7%{?dist}
 %{?_with_noarch_subpackages:BuildArch: noarch}
 License:	Distributable
 


 *ralf*:
gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff

M   1.36  contrib/crossrpms/rtems4.11/sparc/gcc-sources.add
M   1.27  contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add

diff -u rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add:1.35 rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add:1.36
--- rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add:1.35	Tue Mar 22 05:52:08 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc/gcc-sources.add	Wed Mar 23 07:19:51 2011
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.6.0"
 Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110322.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff
 %endif
 %if "%{gcc_version}" == "4.5.2"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2

diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add:1.26 rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add:1.27
--- rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add:1.26	Tue Mar 22 05:52:08 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/gcc-sources.add	Wed Mar 23 07:19:51 2011
@@ -1,6 +1,6 @@
 %if "%{gcc_version}" == "4.6.0"
 Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
-Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110322.diff
+Patch0:         ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.0-RC-20110321-rtems4.11-20110323.diff
 %endif
 %if "%{gcc_version}" == "4.5.2"
 Source0:	ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2


 *ralf*:
Abandon netbsd5.0.2.

M   1.43  contrib/crossrpms/Makefile.am
M   1.84  contrib/crossrpms/configure.ac

diff -u rtems/contrib/crossrpms/Makefile.am:1.42 rtems/contrib/crossrpms/Makefile.am:1.43
--- rtems/contrib/crossrpms/Makefile.am:1.42	Mon Mar 21 06:17:26 2011
+++ rtems/contrib/crossrpms/Makefile.am	Wed Mar 23 07:22:32 2011
@@ -11,7 +11,6 @@
 DIST_SUBDIRS += freebsd7.3
 DIST_SUBDIRS += freebsd8.2
 DIST_SUBDIRS += mingw32
-DIST_SUBDIRS += netbsd5.0.2
 DIST_SUBDIRS += netbsd5.1
 DIST_SUBDIRS += solaris2.7
 DIST_SUBDIRS += rtems4.11

diff -u rtems/contrib/crossrpms/configure.ac:1.83 rtems/contrib/crossrpms/configure.ac:1.84
--- rtems/contrib/crossrpms/configure.ac:1.83	Mon Mar 21 06:17:26 2011
+++ rtems/contrib/crossrpms/configure.ac	Wed Mar 23 07:22:32 2011
@@ -151,10 +151,6 @@
 AC_CONFIG_FILES([freebsd8.2/i586/Makefile])
 AC_CONFIG_FILES([freebsd8.2/x86_64/Makefile])
 
-AC_CONFIG_FILES([netbsd5.0.2/Makefile])
-AC_CONFIG_FILES([netbsd5.0.2/i386/Makefile])
-AC_CONFIG_FILES([netbsd5.0.2/x86_64/Makefile])
-
 AC_CONFIG_FILES([netbsd5.1/Makefile])
 AC_CONFIG_FILES([netbsd5.1/i386/Makefile])
 AC_CONFIG_FILES([netbsd5.1/x86_64/Makefile])


 *ralf*:
Abandon

R    1.1  contrib/crossrpms/netbsd5.0.2/.cvsignore
R    1.3  contrib/crossrpms/netbsd5.0.2/Makefile.am
R    1.1  contrib/crossrpms/netbsd5.0.2/binutils.am
R    1.1  contrib/crossrpms/netbsd5.0.2/gcc-prep.add
R    1.1  contrib/crossrpms/netbsd5.0.2/gcc.am
R    1.1  contrib/crossrpms/netbsd5.0.2/i386/.cvsignore
R   1.13  contrib/crossrpms/netbsd5.0.2/i386/Makefile.am
R    1.1  contrib/crossrpms/netbsd5.0.2/i386/binutils-sources.add
R    1.4  contrib/crossrpms/netbsd5.0.2/i386/gcc-sources.add
R    1.3  contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-binutils.spec
R   1.13  contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-gcc.spec
R    1.3  contrib/crossrpms/netbsd5.0.2/i386/i386-pc-netbsdelf5.0.2-libs.spec
R    1.2  contrib/crossrpms/netbsd5.0.2/i386/libs.add
R    1.1  contrib/crossrpms/netbsd5.0.2/i386/target-libs.add
R    1.1  contrib/crossrpms/netbsd5.0.2/libs.am
R    1.1  contrib/crossrpms/netbsd5.0.2/x86_64/.cvsignore
R    1.8  contrib/crossrpms/netbsd5.0.2/x86_64/Makefile.am
R    1.2  contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-binutils.spec
R    1.7  contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-gcc.spec
R    1.1  contrib/crossrpms/netbsd5.0.2/x86_64/amd64-pc-netbsdelf5.0.2-libs.spec
R    1.1  contrib/crossrpms/netbsd5.0.2/x86_64/binutils-sources.add
R    1.3  contrib/crossrpms/netbsd5.0.2/x86_64/gcc-sources.add
R    1.1  contrib/crossrpms/netbsd5.0.2/x86_64/libs.add
R    1.1  contrib/crossrpms/netbsd5.0.2/x86_64/target-libs.add


--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110323/4e8efd75/attachment.html>


More information about the vc mailing list