diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-10-15 17:21:07 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-10-15 17:21:07 -0400 |
commit | 797899802d5623a6ec05663c997a30e03dc27421 (patch) | |
tree | 63f2c0828ae4599a940bc12e90ce17554eef9b02 | |
parent | 92637bb0d8f13940aebd2a8116cc935c3e7d8266 (diff) | |
download | musl-797899802d5623a6ec05663c997a30e03dc27421.tar.gz musl-797899802d5623a6ec05663c997a30e03dc27421.tar.xz musl-797899802d5623a6ec05663c997a30e03dc27421.zip |
suppress sh assembler rejection of instructions based on isa level
we need access to all instructions in order for runtime selection of atomic model to work correctly. without this patch, some versions of gcc instruct gas to reject instructions outside the target isa level.
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure index d944a47f..03c0ebe0 100755 --- a/configure +++ b/configure @@ -556,6 +556,7 @@ test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \ && SUBARCH=${SUBARCH}el if test "$ARCH" = "sh" ; then +tryflag CFLAGS_AUTO -Wa,--isa=any trycppif __BIG_ENDIAN__ "$t" && SUBARCH=${SUBARCH}eb if trycppif "__SH_FPU_ANY__ || __SH4__" "$t" ; then # Some sh configurations are broken and replace double with float |