change log for rtems (2011-02-20)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun Feb 20 22:10:55 UTC 2011


 *ralf*:
Add -mcpu=8540/-mfloat-gprs=double multilib.
Remove -mcpu=601 multilib.

M    1.3  contrib/crossrpms/patches/gcc-core-4.5.2-rtems4.11-20110220.diff

diff -u rtems/contrib/crossrpms/patches/gcc-core-4.5.2-rtems4.11-20110220.diff:1.2 rtems/contrib/crossrpms/patches/gcc-core-4.5.2-rtems4.11-20110220.diff:1.3
--- rtems/contrib/crossrpms/patches/gcc-core-4.5.2-rtems4.11-20110220.diff:1.2	Sat Feb 19 23:24:41 2011
+++ rtems/contrib/crossrpms/patches/gcc-core-4.5.2-rtems4.11-20110220.diff	Sun Feb 20 15:43:07 2011
@@ -48,12 +48,17 @@
         # Canadian crosses, in case the installed compiler is not fully
 diff -Naur gcc-4.5.2.orig/gcc/ChangeLog.rtems gcc-4.5.2/gcc/ChangeLog.rtems
 --- gcc-4.5.2.orig/gcc/ChangeLog.rtems	1970-01-01 01:00:00.000000000 +0100
-+++ gcc-4.5.2/gcc/ChangeLog.rtems	2011-02-20 05:52:09.431783560 +0100
-@@ -0,0 +1,53 @@
++++ gcc-4.5.2/gcc/ChangeLog.rtems	2011-02-20 16:15:45.516774454 +0100
+@@ -0,0 +1,58 @@
 +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= targets to override grps on
++	* config/rs6000/rtems.h: Allow --float-gprs=... to override grps on
 +	E500 targets.
 +
 +2010-05-19  Joel Sherrill <joel.sherrill at oarcorp.com>
@@ -238,34 +243,64 @@
 +#undef WCHAR_TYPE_SIZE
 diff -Naur gcc-4.5.2.orig/gcc/config/rs6000/t-rtems gcc-4.5.2/gcc/config/rs6000/t-rtems
 --- gcc-4.5.2.orig/gcc/config/rs6000/t-rtems	2009-04-21 21:03:23.000000000 +0200
-+++ gcc-4.5.2/gcc/config/rs6000/t-rtems	2011-02-20 05:28:32.121739439 +0100
-@@ -19,13 +19,11 @@
++++ gcc-4.5.2/gcc/config/rs6000/t-rtems	2011-02-20 16:12:42.687931906 +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 \
-+mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \
- msoft-float
+-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 \
-+m403 m505 m601 m603e m604 m860 m7400 m8540 \
- nof
+-nof
++m403 m505 m603e m604 m860 m7400 m8540 \
++nof gprsdouble
  
  # MULTILIB_MATCHES	= ${MULTILIB_MATCHES_FLOAT}
-@@ -47,6 +45,9 @@
+ 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 = \
-@@ -73,10 +74,11 @@
+@@ -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
@@ -276,14 +311,6 @@
 -MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
 -MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
 -MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
-+# 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*
-+# MULTILIB_EXCEPTIONS += *mcpu=8540/Dmpc*
 diff -Naur gcc-4.5.2.orig/gcc/config/sh/rtemself.h gcc-4.5.2/gcc/config/sh/rtemself.h
 --- gcc-4.5.2.orig/gcc/config/sh/rtemself.h	2007-08-02 12:49:31.000000000 +0200
 +++ gcc-4.5.2/gcc/config/sh/rtemself.h	2011-02-20 05:21:33.551939285 +0100



--

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/20110220/e447d1ba/attachment-0001.html>


More information about the vc mailing list