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; \

View file

@ -78,7 +78,7 @@ Copyright 2022 ARM Limited\n"
The loop tail is handled by always copying 64 bytes from the end.
*/
ENTRY_ALIAS (__memmove_aarch64_simd)
ENTRY_ALIAS (__memcpy_aarch64_simd, __memmove_aarch64_simd)
ENTRY (__memcpy_aarch64_simd)
PTR_ARG (0)
PTR_ARG (1)