mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 04:05:05 +00:00
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.
This commit is contained in:
parent
92637bb0d8
commit
797899802d
1
configure
vendored
1
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user