From 797899802d5623a6ec05663c997a30e03dc27421 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 15 Oct 2015 17:21:07 -0400 Subject: 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. --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') 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 -- cgit v1.2.1