about summary refs log tree commit diff
path: root/sysdeps/x86_64/strncase_l-nonascii.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-10-22 17:55:01 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-11-04 12:30:42 +0000
commit268df5a91054fcb4284e8504afd086a769ec4c40 (patch)
tree1a5619dcee24cf9827b517a9a879aa53e2488590 /sysdeps/x86_64/strncase_l-nonascii.c
parent2b802d55b70154d1864a4f0bac973af354408e83 (diff)
downloadglibc-268df5a91054fcb4284e8504afd086a769ec4c40.tar.gz
glibc-268df5a91054fcb4284e8504afd086a769ec4c40.tar.xz
glibc-268df5a91054fcb4284e8504afd086a769ec4c40.zip
aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798]
The variant PCS support was ineffective because in the common case
linkmap->l_mach.plt == 0 but then the symbol table flags were ignored
and normal lazy binding was used instead of resolving the relocs early.
(This was a misunderstanding about how GOT[1] is setup by the linker.)

In practice this mainly affects SVE calls when the vector length is
more than 128 bits, then the top bits of the argument registers get
clobbered during lazy binding.

Fixes bug 26798.

(cherry picked from commit 558251bd8785760ad40fcbfeaaee5d27fa5b0fe4)
Diffstat (limited to 'sysdeps/x86_64/strncase_l-nonascii.c')
0 files changed, 0 insertions, 0 deletions