commit b01452b1d44a586f4ecf5cf02ffc0643e4962324
Author: Renlin Li <email address hidden>
Date: Sat Feb 3 13:18:17 2018 +0000
[PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.
backport from mainline
bfd/
2018-02-05 Renlin Li <email address hidden>
PR ld/22764
* elfnn-aarch64.c (elfNN_aarch64_check_relocs): Relax the
R_AARCH64_ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the
check for writeable section as well.
ld/
2018-02-05 Renlin Li <email address hidden>
PR ld/22764
* testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
* testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
* testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
* testsuite/ld-aarch64/pr22764.s: New.
* testsuite/ld-aarch64/pr22764.d: New.
The binutils- 2_30-branch branch has been updated by Renlin Li <email address hidden>:
https:/ /sourceware. org/git/ gitweb. cgi?p=binutils- gdb.git; h=b01452b1d44a5 86f4ecf5cf02ffc 0643e4962324
commit b01452b1d44a586 f4ecf5cf02ffc06 43e4962324
Author: Renlin Li <email address hidden>
Date: Sat Feb 3 13:18:17 2018 +0000
[PR22764] [LD][AARCH64] Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.
backport from mainline
bfd/
2018-02-05 Renlin Li <email address hidden>
PR ld/22764 aarch64_ check_relocs) : Relax the AARCH64_ ABS32 and R_AARCH64_ABS16 for absolute symbol. Apply the
* elfnn-aarch64.c (elfNN_
R_
check for writeable section as well.
ld/
2018-02-05 Renlin Li <email address hidden>
PR ld/22764 ld-aarch64/ emit-relocs- 258.s: Define symbol as an address. ld-aarch64/ emit-relocs- 259.s: Likewise. ld-aarch64/ aarch64- elf.exp: Run new test. ld-aarch64/ pr22764. s: New. ld-aarch64/ pr22764. d: New.
* testsuite/
* testsuite/
* testsuite/
* testsuite/
* testsuite/