Hi,

This patch is OK by me but I want to clarify something
with the PowerPC libgcc experts.
This makes tmake_file settings the same for powerpc-rtems
and powerpc-eabi. But our settings for extra_parts is different.
We are missing crtbegin.o and crtend.o but have the variant
names. Shouldn't they also be the same?

And if they should be the same, wouldn't it make
sense to combine the stanzas?

Just wanting advice from someone who knows more. :)

--joel


Hi, please have a look at the attached patch. Test suite results for GCC 4.7 http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg00986.html
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
2012-03-08  Sebastian Huber<sebastian.hu...@embedded-brains.de>

         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
         tmake_file.

diff --git a/libgcc/config.host b/libgcc/config.host
index 257622a..f6432c5 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -884,7 +884,7 @@ powerpc-*-eabi*)
        extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o 
crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
        ;;
  powerpc-*-rtems*)
-       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic 
t-fdpbit"
+       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr 
rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
        extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o 
ncrti.o ncrtn.o"
        ;;
  powerpc-*-linux* | powerpc64-*-linux*)
--
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985


Reply via email to