config.host (mips64*-*-linux*, [...]): Add t-slibgcc-libgcc to tmake_file.

libgcc/
2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>

	* config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
	Add t-slibgcc-libgcc to tmake_file.
	* config/mips/libgcc-mips16.ver: Revert previous patch.
	* config/mips/mips16.S (__mips16_rdhwr): Hide.

From-SVN: r183912
This commit is contained in:
Chung-Lin Tang 2012-02-05 15:03:15 +00:00 committed by Richard Sandiford
parent d257df9b5e
commit 6caf807fba
4 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
* config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
Add t-slibgcc-libgcc to tmake_file.
* config/mips/libgcc-mips16.ver: Revert previous patch.
* config/mips/mips16.S (__mips16_rdhwr): Hide.
2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
Jayant R Sonar <jayant.sonar@kpitcummins.com>

View File

@ -746,12 +746,12 @@ mips*-*-netbsd*) # NetBSD/mips, either endian.
;;
mips64*-*-linux* | mipsisa64*-*-linux*)
extra_parts="$extra_parts crtfastmath.o"
tmake_file="${tmake_file} t-crtfm mips/t-mips16 mips/t-tpbit"
tmake_file="${tmake_file} t-crtfm mips/t-mips16 mips/t-tpbit t-slibgcc-libgcc"
md_unwind_header=mips/linux-unwind.h
;;
mips*-*-linux*) # Linux MIPS, either endian.
extra_parts="$extra_parts crtfastmath.o"
tmake_file="${tmake_file} t-crtfm mips/t-mips16"
tmake_file="${tmake_file} t-crtfm mips/t-mips16 t-slibgcc-libgcc"
md_unwind_header=mips/linux-unwind.h
;;
mips*-*-openbsd*)

View File

@ -84,7 +84,3 @@ GCC_4.4.0 {
__mips16_call_stub_dc_9
__mips16_call_stub_dc_10
}
GCC_4.7.0 {
__mips16_rdhwr
}

View File

@ -712,6 +712,9 @@ CALL_STUB_RET (__mips16_call_stub_dc_10, 10, DC)
#ifdef L_m16rdhwr
STARTFN (__mips16_rdhwr)
/* Forced always hidden, because the PLT resolver function would
not preserve all necessary registers. */
.hidden __mips16_rdhwr
.set push
.set mips32r2
.set noreorder