This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
About pr gold/21941
- From: "Han Shen via binutils" <binutils at sourceware dot org>
- To: Cary Coutant <ccoutant at gmail dot com>, binutils <binutils at sourceware dot org>
- Cc: Luis Lozano <llozano at google dot com>, Rahul Chaudhry <rahulchaudhry at google dot com>, peter dot smith at linaro dot org, Peter dot Smith at arm dot com
- Date: Wed, 21 Jun 2017 10:38:14 -0700
- Subject: About pr gold/21941
- Authentication-results: sourceware.org; auth=none
- Reply-to: Han Shen <shenhan at google dot com>
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