About pr gold/21941
Han Shen via binutils
binutils@sourceware.org
Wed Jun 21 17:38:00 GMT 2017
Hi Cary, I'm to work on pr gold/21941, cause this potentially affects
android linking. Thanks for Peter Smith's triaging and providing test
case, the root cause of the bug is the erratum insn is duplicated in
the stub before it is relocated, so the insn in the stub is not
properly relocated.
It occurs to me one possible solution is to defer relocate_stubs till
all objects are relocated. That means we need a new work task type
(but is only used by aarch64 backend, which might raise concern), that
runs after "Relocate_task", does this solution sounds reasonable to
you? If so I'll proceed with the patch.
Bug entry here - https://sourceware.org/bugzilla/show_bug.cgi?id=21491
Han
More information about the Binutils
mailing list