Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename TAI -> MAI, being careful not to make MAILJMP instructions :) | Chris Lattner | 2009-08-22 | 1 | -3/+3 |
| | | | | llvm-svn: 79777 | ||||
* | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -2/+2 |
| | | | | llvm-svn: 79763 | ||||
* | Remove hack used to strip unwanted chars from section name | Bruno Cardoso Lopes | 2009-08-13 | 1 | -41/+16 |
| | | | | | | | Use MCSectionELF methods as much as possible, removing some ELFWriter methods which are now unused llvm-svn: 78940 | ||||
* | Move ConstantExpr handling to ResolveConstantExpr method and also | Bruno Cardoso Lopes | 2009-08-10 | 1 | -1/+3 |
| | | | | | | add support for PtrToInt, Add, Mul. llvm-svn: 78552 | ||||
* | ELF improvements: | Bruno Cardoso Lopes | 2009-08-08 | 1 | -2/+4 |
| | | | | | | | | | | | Handle large integers, x86_fp80, ConstantAggregateZero, and two more ConstantExpr: GetElementPtr and IntToPtr Set SHF_MERGE bit for mergeable strings Avoid zero initialized strings to be classified as a bss symbol Don't allow common symbols to be classified as STB_WEAK Add a constant to be used as a global value offset in data relocations llvm-svn: 78476 | ||||
* | - Remove custom handling of jumptables by the elf writter (this was | Bruno Cardoso Lopes | 2009-08-05 | 1 | -14/+19 |
| | | | | | | | | | | | | 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 | ||||
* | refactor section construction in TLOF to be through an explicit | Chris Lattner | 2009-07-31 | 1 | -0/+3 |
| | | | | | | initialize method, which can be called when an MCContext is available. llvm-svn: 77687 | ||||
* | add module identifier to the elf object file | Bruno Cardoso Lopes | 2009-07-27 | 1 | -1/+1 |
| | | | | llvm-svn: 77238 | ||||
* | Handle external symbols for ELF and add some static methods to ELFSym | Bruno Cardoso Lopes | 2009-07-27 | 1 | -10/+23 |
| | | | | llvm-svn: 77232 | ||||
* | Eliminate SectionFlags, just embed a SectionKind into Section | Chris Lattner | 2009-07-27 | 1 | -1/+2 |
| | | | | | | instead and drive things based off of that. llvm-svn: 77184 | ||||
* | Support adding relocations for data sections, handling the cases where | Bruno Cardoso Lopes | 2009-07-21 | 1 | -0/+5 |
| | | | | | | | 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 they | Bruno Cardoso Lopes | 2009-07-20 | 1 | -12/+3 |
| | | | | | | | 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 Lopes | 2009-07-18 | 1 | -12/+4 |
| | | | | | | usage inside getSection* functions llvm-svn: 76347 | ||||
* | Add support to properly reference private symbols on relocation entries. | Bruno Cardoso Lopes | 2009-07-18 | 1 | -2/+6 |
| | | | | | | | Use proper relocation type to build relocations for JumpTables (rodata sections). llvm-svn: 76326 | ||||
* | Fix coding style issues pointed by Bill. | Bruno Cardoso Lopes | 2009-07-16 | 1 | -0/+3 |
| | | | | llvm-svn: 75898 | ||||
* | use std::vector instead of std::list for both Section and Symbol lists because | Bruno Cardoso Lopes | 2009-07-15 | 1 | -14/+15 |
| | | | | | | we care more about random access than insertion/deletion of elements. llvm-svn: 75828 | ||||
* | Cleanup the global emission and refactor some code | Bruno Cardoso Lopes | 2009-07-13 | 1 | -3/+3 |
| | | | | llvm-svn: 75537 | ||||
* | Match declaration to definition. | Daniel Dunbar | 2009-07-13 | 1 | -1/+1 |
| | | | | llvm-svn: 75454 | ||||
* | Changed ELFCodeEmitter to inherit from ObjectCodeEmitter | Bruno Cardoso Lopes | 2009-07-06 | 1 | -8/+8 |
| | | | | llvm-svn: 74821 | ||||
* | Factor some code out and support for Jump Table relocations | Bruno Cardoso Lopes | 2009-07-03 | 1 | -9/+30 |
| | | | | llvm-svn: 74760 | ||||
* | shrinking down #includes | Bruno Cardoso Lopes | 2009-07-02 | 1 | -7/+12 |
| | | | | llvm-svn: 74718 | ||||
* | Support Constant Pool Sections | Bruno Cardoso Lopes | 2009-06-25 | 1 | -0/+6 |
| | | | | | | Add section symbols to the symbol table llvm-svn: 74170 | ||||
* | Use a default alignment for data and bss sections. | Bruno Cardoso Lopes | 2009-06-23 | 1 | -2/+6 |
| | | | | | | | | Only pad when the section size > 0 and move the code that deals with globals initializers to a place we know for sure the global is initialized. llvm-svn: 73944 | ||||
* | Use different functions to emit the string and symbol tables. | Bruno Cardoso Lopes | 2009-06-22 | 1 | -0/+1 |
| | | | | llvm-svn: 73895 | ||||
* | Add more methods to gather target specific elf stuff | Bruno Cardoso Lopes | 2009-06-22 | 1 | -14/+47 |
| | | | | | | | | 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 Lopes | 2009-06-14 | 1 | -17/+21 |
| | | | | | | BinaryObject.h by Aaron Gray llvm-svn: 73333 | ||||
* | Support for ELF Visibility | Bruno Cardoso Lopes | 2009-06-11 | 1 | -4/+27 |
| | | | | | | | | 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 without | Bruno Cardoso Lopes | 2009-06-07 | 1 | -17/+11 |
| | | | | | | relocation sections. llvm-svn: 73038 | ||||
* | Remove elf specific info from ELFWriter.h to Elf.h. Code cleanup and more ↵ | Bruno Cardoso Lopes | 2009-06-06 | 1 | -83/+7 |
| | | | | | | comments added llvm-svn: 72982 | ||||
* | ELF Code Emitter now uses CurBufferPtr, BufferBegin and BufferEnd, as do JIT and | Bruno Cardoso Lopes | 2009-06-05 | 1 | -0/+6 |
| | | | | | | | MachO Writer. This will change with the arrival of ObjectCodeEmitter and BinaryObject llvm-svn: 72906 | ||||
* | Use raw_ostream throughout the AsmPrinter. | Owen Anderson | 2008-08-21 | 1 | -2/+3 |
| | | | | llvm-svn: 55092 | ||||
* | Don't include <map> in Pass.h, which doesn't need it. This requires | Dan Gohman | 2008-03-21 | 1 | -0/+1 |
| | | | | | | adding <map> to many files that actually do need it. llvm-svn: 48667 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Here is the bulk of the sanitizing. | Gabor Greif | 2007-07-05 | 1 | -1/+1 |
| | | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913 | ||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -1/+1 |
| | | | | llvm-svn: 36662 | ||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -1/+1 |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+2 |
| | | | | llvm-svn: 36632 | ||||
* | Moved from include/llvm/CodeGen to lib/CodeGen. | Bill Wendling | 2007-02-08 | 1 | -0/+226 |
llvm-svn: 34027 |