summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFCodeEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use R_X86_64_32S to handle Jump Table Index relocation entries. Hide TAI ↵Bruno Cardoso Lopes2009-07-181-15/+6
| | | | | | usage inside getSection* functions llvm-svn: 76347
* Use a better name for the label relocations while emitting them for Jump TablesBruno Cardoso Lopes2009-07-181-1/+1
| | | | llvm-svn: 76334
* Add support to properly reference private symbols on relocation entries.Bruno Cardoso Lopes2009-07-181-1/+4
| | | | | | | Use proper relocation type to build relocations for JumpTables (rodata sections). llvm-svn: 76326
* use std::vector instead of std::list for both Section and Symbol lists becauseBruno Cardoso Lopes2009-07-151-15/+10
| | | | | | we care more about random access than insertion/deletion of elements. llvm-svn: 75828
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-1/+1
| | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
* Cleanup the global emission and refactor some codeBruno Cardoso Lopes2009-07-131-1/+1
| | | | llvm-svn: 75537
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-1/+2
| | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
* Changed ELFCodeEmitter to inherit from ObjectCodeEmitterBruno Cardoso Lopes2009-07-061-30/+13
| | | | llvm-svn: 74821
* Factor some code out and support for Jump Table relocationsBruno Cardoso Lopes2009-07-031-1/+65
| | | | llvm-svn: 74760
* shrinking down #includesBruno Cardoso Lopes2009-07-021-26/+15
| | | | llvm-svn: 74718
* Remove getFunctionAlignment from TargetELFInfo and use new MachineFunction ↵Bruno Cardoso Lopes2009-07-021-4/+5
| | | | | | alignment method llvm-svn: 74686
* Support Constant Pool SectionsBruno Cardoso Lopes2009-06-251-4/+44
| | | | | | Add section symbols to the symbol table llvm-svn: 74170
* Add more methods to gather target specific elf stuffBruno Cardoso Lopes2009-06-221-16/+14
| | | | | | | | 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 llvm-svn: 73894
* Introduce new BinaryObject (blob) class, ELF Writer modified to use it. ↵Bruno Cardoso Lopes2009-06-141-5/+7
| | | | | | BinaryObject.h by Aaron Gray llvm-svn: 73333
* Support for ELF VisibilityBruno Cardoso Lopes2009-06-111-13/+6
| | | | | | | | Emission for globals, using the correct data sections Function alignment can be computed for each target using TargetELFWriterInfo Some small fixes llvm-svn: 73201
* Simple ELF32/64 binary files can now be emitted for x86 and x86_64 withoutBruno Cardoso Lopes2009-06-071-2/+26
| | | | | | relocation sections. llvm-svn: 73038
* Remove elf specific info from ELFWriter.h to Elf.h. Code cleanup and more ↵Bruno Cardoso Lopes2009-06-061-5/+5
| | | | | | comments added llvm-svn: 72982
* ELF Code Emitter now uses CurBufferPtr, BufferBegin and BufferEnd, as do JIT andBruno Cardoso Lopes2009-06-051-29/+49
| | | | | | | MachO Writer. This will change with the arrival of ObjectCodeEmitter and BinaryObject llvm-svn: 72906
* Move ELFCodeEmiter stuff to new filesBruno Cardoso Lopes2009-06-031-0/+94
llvm-svn: 72785
OpenPOWER on IntegriCloud