This relocation type has an implicit addend. Account for it when
processing the relocation. Add an offset to an existing test to ensure
it gets processed correctly.
Fixes PR32634.
Differential D32336
[ELF] Account for R_386_TLS_LDO_32 addend smeenai on Apr 20 2017, 9:57 PM. Authored by
Details This relocation type has an implicit addend. Account for it when Fixes PR32634.
Diff Detail
Event TimelineComment Actions LGTM If you have a bandwidth, can you check if there's no other missing relocations in the function? Comment Actions Thanks for the review!
I'm testing LLD on x86 against a pretty large codebase (which is how I came across this issue), so I suspect I'll come across any other missing cases in the process. I'll try to spot check this though. |