[PATCH] D128492: ELF: Do not relax ADRP/LDR -> ADRP/ADD for absolute symbols in PIC.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 23 22:35:23 PDT 2022
MaskRay added a comment.
Thanks for catching this case. For absolute symbols we can choose not relaxing in -no-pie mode. Do you prefer relaxing?
================
Comment at: lld/test/ELF/aarch64-adrp-ldr-got-symbols.s:42
+## Symbol 'abs_sym' is absolute, relaxations should be applied.
+EXE: adrp x4
----------------
can be applied in -no-pie mode?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128492/new/
https://reviews.llvm.org/D128492
More information about the llvm-commits
mailing list