[PATCH][gold] Implement R_AARCH64_NONE
Igor Kudrin
ikudrin@accesssoftek.com
Mon Jun 27 17:20:00 GMT 2016
Hi,
This patch implements 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."
Best regards,
Igor Kudrin
---
gold/ChangeLog
* 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gold-aarch64-reloc-none.patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20160627/2bf7ab9b/attachment.txt>
More information about the Binutils
mailing list