summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Try to fix gcc warningRafael Espindola2015-09-281-1/+2
| | | | llvm-svn: 248749
* Delete dead code.Rafael Espindola2015-09-281-1/+0
| | | | llvm-svn: 248747
* Add support for local absolute symbols.Rafael Espindola2015-09-281-12/+15
| | | | llvm-svn: 248726
* [ELF2] Don't inline function and define it in OutputSection.cpp. NFC.Davide Italiano2015-09-261-0/+8
| | | | | | Reported/Requested by: Rafael Espindola llvm-svn: 248643
* Add support for creating the symbols __init_array_start and __init_array_end.Rafael Espindola2015-09-251-0/+5
| | | | llvm-svn: 248604
* Move more logic to getSymVA to avoid code duplication.Rafael Espindola2015-09-251-22/+35
| | | | llvm-svn: 248599
* Move variables closer to use. NFC.Rafael Espindola2015-09-251-6/+4
| | | | llvm-svn: 248590
* Move a few methods out of line. NFC.Rafael Espindola2015-09-251-0/+88
| | | | llvm-svn: 248586
* [ELF2] Use static non-member function when it suffices.Davide Italiano2015-09-251-9/+0
| | | | | | Pointed out by Rui Ueyama. llvm-svn: 248559
* Simplify memory management by having ELFData contain a ELFObj.Rafael Espindola2015-09-241-3/+3
| | | | llvm-svn: 248502
* [ELF2] Add support for -discard-none.Davide Italiano2015-09-241-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 Espindola2015-09-231-2/+2
| | | | llvm-svn: 248412
* [elf2] Pass BSSSec to the relocation handling code differently. Don't store ↵Michael J. Spencer2015-09-231-1/+1
| | | | | | it in the symbol. llvm-svn: 248393
* Implement --export-dynamic.Rafael Espindola2015-09-221-1/+9
| | | | llvm-svn: 248347
* Move the last remaining hard coded relocations to Target.Rafael Espindola2015-09-221-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 Espindola2015-09-221-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 Espindola2015-09-221-4/+6
| | | | | | We were always incrementing the output buffer pointer by sizeof(Elf_Rela). llvm-svn: 248303
* Use a signed value for Delta.Rafael Espindola2015-09-221-1/+1
| | | | | | | | This fixes got.s on 32 bit windows. Patch by Igor Kudrin! llvm-svn: 248289
* [ELF2] Fix gcc buildDenis Protivensky2015-09-221-8/+8
| | | | | | Remove explicit qualification in template instantiation. llvm-svn: 248249
* Remove the Chunk terminology from ELF.Rafael Espindola2015-09-221-7/+7
| | | | llvm-svn: 248229
* More MSVC fixes.Rafael Espindola2015-09-211-16/+12
| | | | llvm-svn: 248223
* Trying to fix the MSVC build.Rafael Espindola2015-09-211-4/+4
| | | | llvm-svn: 248219
* Remove unused includes.Rafael Espindola2015-09-211-5/+0
| | | | llvm-svn: 248218
* Make InputSection able to relocate itself.Rafael Espindola2015-09-211-121/+18
| | | | | | This matches the organization used in COFF. llvm-svn: 248215
* Move OutputSectionBase and derived classes out of Writer.cpp.Rafael Espindola2015-09-211-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
OpenPOWER on IntegriCloud