summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-06 08:48:41 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-06 08:48:41 +0000
commit13c89565e8b716fac8521f5195b23c7cb9f818c1 (patch)
tree5eb865f1df000c3e6a1e5940dd746e10912f11bd /libgcc
parent194589c5f6dc71acb90ab653830bbc32898ad7a2 (diff)
downloadgcc-13c89565e8b716fac8521f5195b23c7cb9f818c1.tar.gz
2012-02-03 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 183926 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183929 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/config.host4
-rw-r--r--libgcc/config/mips/libgcc-mips16.ver4
-rw-r--r--libgcc/config/mips/mips16.S3
4 files changed, 12 insertions, 6 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index abd2a7fe6b1..bcdf530343f 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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>
diff --git a/libgcc/config.host b/libgcc/config.host
index 14443c10699..da845b91743 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -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*)
diff --git a/libgcc/config/mips/libgcc-mips16.ver b/libgcc/config/mips/libgcc-mips16.ver
index a9257447852..ddb23e7e750 100644
--- a/libgcc/config/mips/libgcc-mips16.ver
+++ b/libgcc/config/mips/libgcc-mips16.ver
@@ -84,7 +84,3 @@ GCC_4.4.0 {
__mips16_call_stub_dc_9
__mips16_call_stub_dc_10
}
-
-GCC_4.7.0 {
- __mips16_rdhwr
-}
diff --git a/libgcc/config/mips/mips16.S b/libgcc/config/mips/mips16.S
index a087508d4a6..c82a55da6aa 100644
--- a/libgcc/config/mips/mips16.S
+++ b/libgcc/config/mips/mips16.S
@@ -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