about summary refs log tree commit diff
path: root/sysdeps/aarch64/dl-lookupcfg.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2024-03-13 14:34:14 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2024-04-09 19:58:15 +0100
commit395a89f61e19fa916ae4cc93fc10d81a28ce3039 (patch)
tree2c0286ad9271d9added4aec89e25a1577e60534a /sysdeps/aarch64/dl-lookupcfg.h
parentb0e0a07018098c2c5927796be5681a298c312626 (diff)
downloadglibc-395a89f61e19fa916ae4cc93fc10d81a28ce3039.tar.gz
glibc-395a89f61e19fa916ae4cc93fc10d81a28ce3039.tar.xz
glibc-395a89f61e19fa916ae4cc93fc10d81a28ce3039.zip
aarch64: fix check for SVE support in assembler
Due to GCC bug 110901 -mcpu can override -march setting when compiling
asm code and thus a compiler targetting a specific cpu can fail the
configure check even when binutils gas supports SVE.

The workaround is that explicit .arch directive overrides both -mcpu
and -march, and since that's what the actual SVE memcpy uses the
configure check should use that too even if the GCC issue is fixed
independently.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 73c26018ed0ecd9c807bb363cc2c2ab4aca66a82)
Diffstat (limited to 'sysdeps/aarch64/dl-lookupcfg.h')
0 files changed, 0 insertions, 0 deletions