Skip abs symbols when handling copy reloc aliases.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 30 Oct 2017 17:26:12 +0000 (17:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 30 Oct 2017 17:26:12 +0000 (17:26 +0000)
commit566dbdc2fda38f69f325c7cfcee3c52caf793a85
treed6530ff5da63d35672482e8355d88da8316db7b5
parent194693e996f98a52a37e957e3ef59e7b4078fa89
Skip abs symbols when handling copy reloc aliases.

Since we now only check st_value, we have to consider the case where
the section index is special.

llvm-svn: 316928
lld/ELF/Relocations.cpp
lld/test/ELF/Inputs/copy-rel-abs.s [new file with mode: 0644]
lld/test/ELF/copy-rel-abs.s [new file with mode: 0644]