aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2012-08-29 09:31:52 +0000
committerChung-Lin Tang <cltang@gcc.gnu.org>2012-08-29 09:31:52 +0000
commit867a8345348ba8723f93182c858c77a31e404dcf (patch)
treefdce850ba75689bf853557334e7e4639a9870985 /libgcc
parentc24dbebb4414e38d43f6a4f3ed1963b7395fac11 (diff)
downloadgcc-867a8345348ba8723f93182c858c77a31e404dcf.zip
gcc-867a8345348ba8723f93182c858c77a31e404dcf.tar.gz
gcc-867a8345348ba8723f93182c858c77a31e404dcf.tar.bz2
crtfastmath.c (set_fast_math): Add 'nomips16' attribute.
2012-08-29 Chung-Lin Tang <cltang@codesourcery.com> libgcc/ * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16' attribute. From-SVN: r190773
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config/mips/crtfastmath.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 0ea0ed3..14c7087 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
+ attribute.
+
2012-08-24 Georg-Johann Lay <avr@gjlay.de>
PR target/54222
diff --git a/libgcc/config/mips/crtfastmath.c b/libgcc/config/mips/crtfastmath.c
index a9586b0..177efec 100644
--- a/libgcc/config/mips/crtfastmath.c
+++ b/libgcc/config/mips/crtfastmath.c
@@ -39,7 +39,7 @@
#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw))
#define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw))
-static void __attribute__((constructor))
+static void __attribute__((constructor,nomips16))
set_fast_math (void)
{
unsigned int fcr;