diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-07-13 14:48:59 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:31:25 +0000 |
commit | 78c03c7974eba88f5e1530c62787f6f7364aca9d (patch) | |
tree | 1f7493c5eb823b67543ee347039f30dfb798cc43 /sysdeps | |
parent | 8d04c0e9e94144c762b74beacad95b51fd7522cd (diff) | |
download | glibc-78c03c7974eba88f5e1530c62787f6f7364aca9d.tar.gz glibc-78c03c7974eba88f5e1530c62787f6f7364aca9d.tar.xz glibc-78c03c7974eba88f5e1530c62787f6f7364aca9d.zip |
aarch64: cleanup MOVL definition in sysdep.h
PTR_REG is for ILP32, there is no point using it under __LP64__.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/aarch64/sysdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h index 7d71bf7c28..5c8e6d50c2 100644 --- a/sysdeps/aarch64/sysdep.h +++ b/sysdeps/aarch64/sysdep.h @@ -204,10 +204,10 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI) Note R is a register number and not a register name. */ #ifdef __LP64__ # define MOVL(R, NAME) \ - movz PTR_REG (R), #:abs_g3:NAME; \ - movk PTR_REG (R), #:abs_g2_nc:NAME; \ - movk PTR_REG (R), #:abs_g1_nc:NAME; \ - movk PTR_REG (R), #:abs_g0_nc:NAME; + movz x##R, #:abs_g3:NAME; \ + movk x##R, #:abs_g2_nc:NAME; \ + movk x##R, #:abs_g1_nc:NAME; \ + movk x##R, #:abs_g0_nc:NAME; #else # define MOVL(R, NAME) \ movz PTR_REG (R), #:abs_g1:NAME; \ |