OSDN Git Service

Factor some logic into ShouldRelocOnSymbol. This simplifies the code and
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Sep 2010 20:18:35 +0000 (20:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Sep 2010 20:18:35 +0000 (20:18 +0000)
commit7eae36b38b874f417fa191fc1cfec22c100f164d
tree8c16949ea213be52128add5ff41b4598b34f2132
parenta3fbadfcd882f9f15bda7c1213b5ff52d6582a10
Factor some logic into ShouldRelocOnSymbol. This simplifies the code and
fixes some cases where we were producing relocations with at symbol that
should use a section instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115194 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ELF/basic-elf.ll
test/MC/ELF/relocation.s