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
This commit is contained in:
Nathan Froyd 2010-07-23 16:53:48 +00:00 committed by Nathan Froyd
parent c5c178d64f
commit c5b79d4eb8
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
* 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 <kazu@codesourcery.com>
* config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm

View File

@ -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*)
;;

View File

@ -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.