Skip to content
  • Igor Kudrin's avatar
    Implement the R_AARCH64_NONE relocation. · 5627d875
    Igor Kudrin authored
    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.
    5627d875