Don't do extra work if -r is given.
authorRui Ueyama <ruiu@google.com>
Fri, 1 Apr 2016 17:11:42 +0000 (17:11 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 1 Apr 2016 17:11:42 +0000 (17:11 +0000)
commita63baf176f119d5db2c7e5195042ff7fae721f72
treec140de8b9d565f0b6364b5c8070b919e3df20da3
parent1992ac75dbb41bae2c13fe94a7774dd89d7f8860
Don't do extra work if -r is given.

fixAbsoluteSymbols fixes linker-created symbol addresses. Since we don't
create such symbols for relocatable output, we don't need to call this
function.

llvm-svn: 265154
lld/ELF/Writer.cpp