mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
Fix memmove() alias on aarch64 with --ftrace
This commit is contained in:
parent
e9e8bbe6da
commit
e1b83399bd
2 changed files with 5 additions and 5 deletions
|
@ -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; \
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue