-
- Downloads
Implement the R_AARCH64_NONE relocation.
According to "ELF for the ARM(r) 64-bit Architecture (AArch64)", this relocation can be used "to prevent removal of sections that might otherwise appear to be unused." gold/ * aarch64-reloc.def (NONE): New relocation. * aarch64.cc (Target_aarch64::Scan::local): Handle R_AARCH64_NONE. (Target_aarch64::Scan::global): Likewise. * testsuite/Makefile.am (aarch64_reloc_none): New test. * testsuite/Makefile.in: Regenerate. * testsuite/aarch64_reloc_none.s: New test source file. * testsuite/aarch64_reloc_none.sh: New test script.
Showing
- gold/ChangeLog 10 additions, 0 deletionsgold/ChangeLog
- gold/aarch64-reloc.def 3 additions, 0 deletionsgold/aarch64-reloc.def
- gold/aarch64.cc 6 additions, 0 deletionsgold/aarch64.cc
- gold/testsuite/Makefile.am 15 additions, 0 deletionsgold/testsuite/Makefile.am
- gold/testsuite/Makefile.in 22 additions, 9 deletionsgold/testsuite/Makefile.in
- gold/testsuite/aarch64_reloc_none.s 16 additions, 0 deletionsgold/testsuite/aarch64_reloc_none.s
- gold/testsuite/aarch64_reloc_none.sh 57 additions, 0 deletionsgold/testsuite/aarch64_reloc_none.sh
Loading
Please register or sign in to comment