Skip to content
Commit bef81f3a authored by Rui Ueyama's avatar Rui Ueyama
Browse files

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
parent 225d3ea3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment