mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
Add the Branch Target Identification (BTI) note to libc assembly
sources. As all obect files need the note for the library to have it
we need to insert it in all asm files.
Reviewed by: emaste, markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42228
(cherry picked from commit fd5aaf2ea0)
9 lines
348 B
ArmAsm
9 lines
348 B
ArmAsm
/*
|
|
* memmove is implemented in memcpy.S. Having this file simplifies the build
|
|
* as it stops MISRCS from picking up the C implementation and rtld expects
|
|
* to copy the memmove object file into its object directory.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
#include <sys/elf_common.h>
|
|
GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL)
|