ELF: Move code to emit copyrel to one place. NFC.
In this code, we avoid calling needsCopyRel in writeTo because we called that function already in scanRelocs. Making the same decision twice is a waste and has a risk of a bug that we get inconsistent resuts. llvm-svn: 258430
Loading
Please sign in to comment