This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

About pr gold/21941


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]