Add more methods to gather target specific elf stuff
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 22 Jun 2009 19:16:16 +0000 (19:16 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 22 Jun 2009 19:16:16 +0000 (19:16 +0000)
commit0d3193ef3ce7377eeaa1d38ca08f8a62ebcd5f63
treea7128bd8b2f69fc709ff68afc5ad43904421822e
parent8dcbbdd00ebb4beb8eeb822791df326eee5de827
Add more methods to gather target specific elf stuff
Support for .text relocations, implementing TargetELFWriter overloaded methods for x86/x86_64.
Use a map to track global values to their symbol table indexes
Code cleanup and small fixes

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