diff options
author | cltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-29 09:31:52 +0000 |
---|---|---|
committer | cltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-29 09:31:52 +0000 |
commit | d36db93217c978a713a592b314c6ce1ed1483576 (patch) | |
tree | fdce850ba75689bf853557334e7e4639a9870985 | |
parent | 396bc2f7057181b9e500f714c21d5cca7a527551 (diff) | |
download | gcc-d36db93217c978a713a592b314c6ce1ed1483576.tar.gz |
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
-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 0ea0ed3ad2a..14c70874975 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 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; |