This is alternative solution to fix PR28976.
Problem is that in scanRelocs, we computed relocation offset too early for case when linkerscript was used.
Patch fixes the issue delaying the calculation.
Testcase is provided.
Differential D23655
[ELF] - Fix for PR28976 - Corrupted section contents when using linker scripts grimar on Aug 18 2016, 5:26 AM. Authored by
Details
This is alternative solution to fix PR28976. Problem is that in scanRelocs, we computed relocation offset too early for case when linkerscript was used. Testcase is provided.
Diff Detail
Event Timeline
|