aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/mips
diff options
context:
space:
mode:
authorcltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-29 09:31:52 +0000
committercltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-29 09:31:52 +0000
commitd36db93217c978a713a592b314c6ce1ed1483576 (patch)
treefdce850ba75689bf853557334e7e4639a9870985 /libgcc/config/mips
parent396bc2f7057181b9e500f714c21d5cca7a527551 (diff)
2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
libgcc/ * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16' attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config/mips')
-rw-r--r--libgcc/config/mips/crtfastmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/mips/crtfastmath.c b/libgcc/config/mips/crtfastmath.c
index a9586b0a797..177efec9dd4 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;