crtfastmath.c (set_fast_math): Add 'nomips16' attribute.
authorChung-Lin Tang <cltang@codesourcery.com>
Wed, 29 Aug 2012 09:31:52 +0000 (09:31 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Wed, 29 Aug 2012 09:31:52 +0000 (09:31 +0000)
2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>

libgcc/
* config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
attribute.

From-SVN: r190773

libgcc/ChangeLog
libgcc/config/mips/crtfastmath.c

index 0ea0ed3ad2a8f2e1792769a010f619f2b3905f94..14c708749754defdb43b66a14ccb65caf087de8d 100644 (file)
@@ -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
index a9586b0a797b135410c31d3a126109ad5edf0e27..177efec9dd45e751e18b9e3c853ac91293bec09b 100644 (file)
@@ -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;