Fix misplacement of a relaxed section on AArch64.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Fri, 12 May 2017 22:24:32 +0000 (15:24 -0700)
committerCary Coutant <ccoutant@gmail.com>
Fri, 12 May 2017 22:24:32 +0000 (15:24 -0700)
commit6bf56e7482e220ff98655b5285736a37dd602c17
tree2c83989be2758619d2192cd734717e4287673255
parent73caa85d4a97eb991e581ccba3ff4eccce5e2e1d
Fix misplacement of a relaxed section on AArch64.

gold/ChangeLog
PR gold/21430
* aarch64.cc
(AArch64_relobj::convert_input_section_to_relaxed_section):
Set the section offset to -1ULL.
(Target_aarch64::relocate_section): Adjust the view in case
of a relaxed input section.
* testsuite/Makefile.am (pr21430): New test.
* testsuite/Makefile.in: Regenerate
* testsuite/pr21430.s: New test source file.
* testsuite/pr21430.sh: New test script.
gold/ChangeLog
gold/aarch64.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/pr21430.s [new file with mode: 0644]
gold/testsuite/pr21430.sh [new file with mode: 0755]