aboutsummaryrefslogtreecommitdiff
path: root/string/aarch64/check-arch.S
AgeCommit message (Collapse)Author
2020-05-13string: cleaner handling of GNU property notesSzabolcs Nagy
Add GNU property notes to asm files in asmdefs.h instead of adding the END_FILE macro to each file. The WANT_GNU_PROPERTY macro can be still used to opt-out from the notes.
2020-04-30string: ARMv8.5 BTI: Add BTI support to assembly files.Tamas Zsoldos
This change addds the landing pads to the start of functions implemented in assembly, by adding it to the ENTRY macro. To avoid skipping it when using an alias, every ENTRY_ALIAS use must precede the corresponding ENTRY. Furthermore, the GNU property note is added to the assembly files. Since none of the functions save LR to stack, both BTI and PAC support are indicated. Paddings before __strncmp_aarch64 and __strnlen_aarch64 were adjusted.
2020-02-18string: change build system to avoid fragile includesSzabolcs Nagy
Including multiple asm source files into a single top level file can cause problems, this can be fixed by having one top level file per target specific source file, but for maintenance and clarity it's better to use the sub directory structure for selecting which files to build. This requires a new ARCH make variable setting in config.mk which must be consistent with the target of CC. Note: the __ARM_FEATURE_SVE checks are moved into the SVE asm code. This is not entirely right: the feature test macro is for ACLE, not asm support, but this patch is not supposed to change the produced binaries and some toolchains (e.g. older clang) does not support SVE instructions. The intention is to remove these checks eventually and always build all asm code and only support new toolchains (the test code will only test the SVE variants if there is target support for it though).