Skip to content
Commit 202a9f68 authored by Igor Kudrin's avatar Igor Kudrin
Browse files

[ELF] Fix writing the content of the .got section in a wrong place.

In filling the .got sections, InputSection::OutSecOff was added twice
when finding the position to apply a relocation: first time in
InputSection::writeTo() and then in SectionBase::getOffset().

Differential revision: https://reviews.llvm.org/D34232

llvm-svn: 308003
parent 3544b3e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment