Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Try to fix gcc warning | Rafael Espindola | 2015-09-28 | 1 | -1/+2 | |
| | | | | llvm-svn: 248749 | |||||
* | Delete dead code. | Rafael Espindola | 2015-09-28 | 1 | -1/+0 | |
| | | | | llvm-svn: 248747 | |||||
* | Add support for local absolute symbols. | Rafael Espindola | 2015-09-28 | 1 | -12/+15 | |
| | | | | llvm-svn: 248726 | |||||
* | [ELF2] Don't inline function and define it in OutputSection.cpp. NFC. | Davide Italiano | 2015-09-26 | 1 | -0/+8 | |
| | | | | | | Reported/Requested by: Rafael Espindola llvm-svn: 248643 | |||||
* | Add support for creating the symbols __init_array_start and __init_array_end. | Rafael Espindola | 2015-09-25 | 1 | -0/+5 | |
| | | | | llvm-svn: 248604 | |||||
* | Move more logic to getSymVA to avoid code duplication. | Rafael Espindola | 2015-09-25 | 1 | -22/+35 | |
| | | | | llvm-svn: 248599 | |||||
* | Move variables closer to use. NFC. | Rafael Espindola | 2015-09-25 | 1 | -6/+4 | |
| | | | | llvm-svn: 248590 | |||||
* | Move a few methods out of line. NFC. | Rafael Espindola | 2015-09-25 | 1 | -0/+88 | |
| | | | | llvm-svn: 248586 | |||||
* | [ELF2] Use static non-member function when it suffices. | Davide Italiano | 2015-09-25 | 1 | -9/+0 | |
| | | | | | | Pointed out by Rui Ueyama. llvm-svn: 248559 | |||||
* | Simplify memory management by having ELFData contain a ELFObj. | Rafael Espindola | 2015-09-24 | 1 | -3/+3 | |
| | | | | llvm-svn: 248502 | |||||
* | [ELF2] Add support for -discard-none. | Davide Italiano | 2015-09-24 | 1 | -1/+10 | |
| | | | | | | Differential Revision: http://reviews.llvm.org/D13083 llvm-svn: 248499 | |||||
* | Create the .bss section early so that we don't have to set it after the fact. | Rafael Espindola | 2015-09-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 248412 | |||||
* | [elf2] Pass BSSSec to the relocation handling code differently. Don't store ↵ | Michael J. Spencer | 2015-09-23 | 1 | -1/+1 | |
| | | | | | | it in the symbol. llvm-svn: 248393 | |||||
* | Implement --export-dynamic. | Rafael Espindola | 2015-09-22 | 1 | -1/+9 | |
| | | | | llvm-svn: 248347 | |||||
* | Move the last remaining hard coded relocations to Target. | Rafael Espindola | 2015-09-22 | 1 | -2/+2 | |
| | | | | | | | | Unfortunately the i386 and x86_64 relocation have the same numerical value and it is a probably a bit much to add got support for another architecture just to test this. llvm-svn: 248326 | |||||
* | Start adding target abstractions. | Rafael Espindola | 2015-09-22 | 1 | -35/+6 | |
| | | | | | | | | | | This is just enough to get PLT working on 32 bit x86. The idea behind using a virtual interface is that it should be easy to convert any of the functions to template parameters if any turns out to be performance critical. llvm-svn: 248308 | |||||
* | Fix the creation of Elf_Rel sections. | Rafael Espindola | 2015-09-22 | 1 | -4/+6 | |
| | | | | | | We were always incrementing the output buffer pointer by sizeof(Elf_Rela). llvm-svn: 248303 | |||||
* | Use a signed value for Delta. | Rafael Espindola | 2015-09-22 | 1 | -1/+1 | |
| | | | | | | | | This fixes got.s on 32 bit windows. Patch by Igor Kudrin! llvm-svn: 248289 | |||||
* | [ELF2] Fix gcc build | Denis Protivensky | 2015-09-22 | 1 | -8/+8 | |
| | | | | | | Remove explicit qualification in template instantiation. llvm-svn: 248249 | |||||
* | Remove the Chunk terminology from ELF. | Rafael Espindola | 2015-09-22 | 1 | -7/+7 | |
| | | | | llvm-svn: 248229 | |||||
* | More MSVC fixes. | Rafael Espindola | 2015-09-21 | 1 | -16/+12 | |
| | | | | llvm-svn: 248223 | |||||
* | Trying to fix the MSVC build. | Rafael Espindola | 2015-09-21 | 1 | -4/+4 | |
| | | | | llvm-svn: 248219 | |||||
* | Remove unused includes. | Rafael Espindola | 2015-09-21 | 1 | -5/+0 | |
| | | | | llvm-svn: 248218 | |||||
* | Make InputSection able to relocate itself. | Rafael Espindola | 2015-09-21 | 1 | -121/+18 | |
| | | | | | | This matches the organization used in COFF. llvm-svn: 248215 | |||||
* | Move OutputSectionBase and derived classes out of Writer.cpp. | Rafael Espindola | 2015-09-21 | 1 | -0/+586 | |
The file was getting a bit too big and OutputSection is a central enough concept in ELF linking to justify its own file. llvm-svn: 248214 |