[gold][aarch64] PR gold/19163: zero-out ABS64/32/16/ in .rela.dyn.
Han Shen
shenhan@google.com
Mon Oct 26 23:53:00 GMT 2015
Hi Cary, this is the patch to fix PR gold/19163 (and gold/19169).
Android bionic dynamic linker has bugs dealing with ABS64/32/16 in the
.rela.dyn section. It was fixed last week here -
https://android-review.googlesource.com/#/c/176902/2/linker/linker.cpp
The problem here is that that L and M release will still have this
bug. So here is the patch to zero out the relocation values in these
affected relocs (AARCH64_ABS64/32/16).
Tested - build O2/O0 on x86_64 machine. build O2 on aarch64 machine.
passed gold dev unit test cases.
manually checked the value in .rela.dyn, so that ABSxx
are all zero.
manually verified case in PR gold/19169
Ok for trunk?
Thanks,
Han
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr-gold-19613.patch
Type: text/x-patch
Size: 5623 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151026/e4a9df60/attachment.bin>
More information about the Binutils
mailing list