summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ELFWriterInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix the asserts in lib/Target/X86/X86ELFWriterInfo.cpp andRichard Trieu2011-09-101-1/+1
| | | | | | | | | | | | lib/ExecutionEngine/MCJIT/MCJIT.cpp from: assert("error"); to: assert(0 && "error"); llvm-svn: 139456
* Remove duplicated constants. Thanks to Jason for noticing it.Rafael Espindola2010-11-221-25/+26
| | | | llvm-svn: 119985
* Jim Asked us to move DataLayout on ARM back to the most specialized classes. DoRafael Espindola2010-10-031-2/+2
| | | | | | | | so and also change X86 for consistency. Investigating if this can be improved a bit. llvm-svn: 115469
* remove a dead variable, PR6856Chris Lattner2010-04-171-1/+0
| | | | llvm-svn: 101648
* - Remove custom handling of jumptables by the elf writter (this wasBruno Cardoso Lopes2009-08-051-5/+10
| | | | | | | | | | | | 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 llvm-svn: 78176
* Support adding relocations for data sections, handling the cases whereBruno Cardoso Lopes2009-07-211-1/+3
| | | | | | | global declared symbols are initialized with references from other global symbols. llvm-svn: 76540
* For PC relative relocations where symbols are defined in the same section theyBruno Cardoso Lopes2009-07-201-0/+36
| | | | | | | are referenced, ignore the relocation entry and patch the relocatable field with the computed symbol offset directly llvm-svn: 76414
* Use R_X86_64_32S to handle Jump Table Index relocation entries. Hide TAI ↵Bruno Cardoso Lopes2009-07-181-0/+1
| | | | | | 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-2/+3
| | | | llvm-svn: 76334
* Add support to properly reference private symbols on relocation entries.Bruno Cardoso Lopes2009-07-181-5/+38
| | | | | | | 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-0/+2
| | | | | | 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-3/+3
| | | | | | | | | 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
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-3/+4
| | | | | | | | | 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
* Remove getFunctionAlignment from TargetELFInfo and use new MachineFunction ↵Bruno Cardoso Lopes2009-07-021-12/+0
| | | | | | alignment method llvm-svn: 74686
* Add more methods to gather target specific elf stuffBruno Cardoso Lopes2009-06-221-0/+46
| | | | | | | | 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
* Use forward declarations and move TargetELFWriterInfo impl to a new file.Bruno Cardoso Lopes2009-06-111-1/+2
| | | | llvm-svn: 73209
* Support for ELF VisibilityBruno Cardoso Lopes2009-06-111-2/+20
| | | | | | | | Emission for globals, using the correct data sections Function alignment can be computed for each target using TargetELFWriterInfo Some small fixes llvm-svn: 73201
* x86_64 now uses the correct ELF e_machine typeBruno Cardoso Lopes2009-06-061-1/+2
| | | | llvm-svn: 72986
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Make d'tor out-of-line.Bill Wendling2007-01-271-0/+1
| | | | llvm-svn: 33585
* X86 implementation of the TargetELFWriterInfo class.Bill Wendling2007-01-271-0/+17
llvm-svn: 33571
OpenPOWER on IntegriCloud