diff options
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/config/mips/crtfastmath.c | 2 |
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; |