- Remove custom handling of jumptables by the elf writter (this was
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 5 Aug 2009 06:57:03 +0000 (06:57 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 5 Aug 2009 06:57:03 +0000 (06:57 +0000)
commit52d0851446afe2ae923fc7e7ee56aa4c9d61c1e1
tree356c393902662d4ed1137c0bd285643b2694f222
parent61f4b721b2f268ffbd0be614a4f328d541fa1d81
- Remove custom handling of jumptables by the elf writter (this was
a dirty hack and isn't need anymore since the last x86 code emitter patch)
- Add a target-dependent modifier to addend calculation
- Use R_X86_64_32S relocation for X86::reloc_absolute_word_sext
- Use getELFSectionFlags whenever possible
- fix getTextSection to use TLOF and emit the right text section
- Handle global emission for static ctors, dtors and Type::PointerTyID
- Some minor fixes

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