From: Rich Felker Date: Thu, 15 Oct 2015 21:21:07 +0000 (-0400) Subject: suppress sh assembler rejection of instructions based on isa level X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=797899802d5623a6ec05663c997a30e03dc27421;p=android-x86%2Fexternal-musl-libc.git 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. --- 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