For PC relative relocations where symbols are defined in the same section they
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 20 Jul 2009 08:52:02 +0000 (08:52 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 20 Jul 2009 08:52:02 +0000 (08:52 +0000)
commit0a38dc5fda9a22aceecccbad2f024b118ce1d5d8
treeaeacae71db2e46b27baffc7bd6a94477d1df2200
parent1488670076908261af145778c23cb9aca30904e5
For PC relative relocations where symbols are defined in the same section they
are referenced, ignore the relocation entry and patch the relocatable field with
the computed symbol offset directly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76414 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetELFWriterInfo.h
lib/CodeGen/ELFWriter.cpp
lib/CodeGen/ELFWriter.h
lib/Target/X86/X86ELFWriterInfo.cpp
lib/Target/X86/X86ELFWriterInfo.h