[Bug string/26818] aarch64: string tests may run ifunc variants that are not safe

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Jan 25 16:16:05 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=26818

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Szabolcs Nagy <nsz@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=04c6a8073d1c9d73c4a88b536aeb803b12fbffdc

commit 04c6a8073d1c9d73c4a88b536aeb803b12fbffdc
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Fri Jan 22 16:57:32 2021 +0000

    aarch64: Fix the list of tested IFUNC variants [BZ #26818]

    Some IFUNC variants are not compatible with BTI and MTE so don't
    set them as usable for testing and benchmarking on a BTI or MTE
    enabled system.

    As far as IFUNC selectors are concerned a system is BTI enabled if
    the cpu supports it and glibc was built with BTI branch protection.

    Most IFUNC variants are BTI compatible, but thunderx2 memcpy and
    memmove use a jump table with indirect jump, without a BTI j.

    Fixes bug 26818.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list