Fix memmove() alias on aarch64 with --ftrace

This commit is contained in:
Justine Tunney 2023-06-06 00:39:55 -07:00
parent e9e8bbe6da
commit e1b83399bd
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 5 additions and 5 deletions

View file

@ -53,10 +53,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI|FEATURE_1_PAC)
#define ENTRY(name) ENTRY_ALIGN(name, 6)
#define ENTRY_ALIAS(name) \
.global name; \
.type name,%function; \
name:
/* [jart] alias the proper way */
#define ENTRY_ALIAS(sym, alias) \
.global alias; \
.equ alias,sym
#define END(name) \
.cfi_endproc; \