From: Nathan Froyd Date: Fri, 23 Jul 2010 16:53:48 +0000 (+0000) Subject: config.host (powerpc*-eabispe*): Set tmake_file. X-Git-Tag: releases/gcc-4.6.0~5466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b79d4eb8eb17fcce9db165928c345c722c7a86;p=thirdparty%2Fgcc.git config.host (powerpc*-eabispe*): Set tmake_file. * config.host (powerpc*-eabispe*): Set tmake_file. (powerpc*-eabi*): Likewise. * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend, crtbeginS, crtendS, crtbeginT. From-SVN: r162474 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a261a056f696..c907fe14137f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2010-07-23 Nathan Froyd + + * config.host (powerpc*-eabispe*): Set tmake_file. + (powerpc*-eabi*): Likewise. + * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend, + crtbeginS, crtendS, crtbeginT. + 2010-06-12 Kazu Hirata * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm diff --git a/libgcc/config.host b/libgcc/config.host index 6784147d6d70..35dd25099382 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -458,6 +458,7 @@ powerpc*-*-freebsd*) powerpc-*-netbsd*) ;; powerpc-*-eabispe*) + tmake_file="${tmake_file} rs6000/t-ppccomm" ;; powerpc-*-eabisimaltivec*) ;; @@ -468,6 +469,7 @@ powerpc-*-elf*) powerpc-*-eabialtivec*) ;; powerpc-*-eabi*) + tmake_file="${tmake_file} rs6000/t-ppccomm" ;; powerpc-*-rtems*) ;; diff --git a/libgcc/config/rs6000/t-ppccomm b/libgcc/config/rs6000/t-ppccomm index 1a711ebdb537..4548cd76c17e 100644 --- a/libgcc/config/rs6000/t-ppccomm +++ b/libgcc/config/rs6000/t-ppccomm @@ -15,7 +15,9 @@ LIB2ADD_ST += crtsavfpr.S crtresfpr.S \ e500crtsavg64gpr.S \ e500crtsavg64gprctr.S -EXTRA_PARTS += ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) +EXTRA_PARTS += crtbegin$(objext) crtend$(objext) \ + crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \ + ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) # We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and # end labels to all of the special sections used when we link using gcc.