summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF
Commit message (Collapse)AuthorAgeFilesLines
...
* [ELF][Reader] Refactor how relocations are read. Improves performance.Michael J. Spencer2013-03-201-20/+23
| | | | | | | | This changes from reading each relocation individually for each section to just storing the range of relocations. It also counts the relocations to preallocate the _references array. llvm-svn: 177562
* [ELF][Reader] Remove static ordinal.Michael J. Spencer2013-03-201-4/+1
| | | | llvm-svn: 177561
* memcpy instead of copy_n. Faster than copy_n on MSVC :(.Michael J. Spencer2013-03-201-1/+1
| | | | llvm-svn: 177557
* Devirtualize Reference::kind.Michael J. Spencer2013-03-201-12/+6
| | | | | | Improves performance. llvm-svn: 177556
* Devirtualize File::kind.Michael J. Spencer2013-03-201-3/+2
| | | | | | This is the standard way of implementing LLVM RTTI. llvm-svn: 177555
* Set ordinals correctly.Michael J. Spencer2013-03-202-7/+0
| | | | | | | This actually doesn't change behavior with the current LinkerInvocation, but it's needed when you make reading parallel. llvm-svn: 177554
* [ELF][Hexagon] Add Hexagon dynamic relocationsShankar Easwaran2013-03-203-8/+152
| | | | llvm-svn: 177484
* [ELF] Interp section is only needed in dynamic executablesShankar Easwaran2013-03-202-9/+14
| | | | llvm-svn: 177483
* [ELF] Order .got.plt properlyShankar Easwaran2013-03-201-1/+4
| | | | llvm-svn: 177482
* Add virtual destructors to fix -Wnon-virtual-dtor warningsAlexey Samsonov2013-03-191-0/+4
| | | | llvm-svn: 177392
* [lld] remove trailing whitespaceShankar Easwaran2013-03-1421-101/+101
| | | | llvm-svn: 177079
* [ELF][X86_64][Hexagon] order plt/got entries properly and fix testShankar Easwaran2013-03-132-13/+35
| | | | llvm-svn: 176970
* [ELF][Writer] Let std::vector handle allocating space instead of reserving ↵Michael J. Spencer2013-03-131-6/+0
| | | | | | tiny portions. llvm-svn: 176916
* [ELF] Set values for bss_start and end symbols properly, If there are two ↵Shankar Easwaran2013-03-112-5/+11
| | | | | | load segments with RW permissions, bss_start and end may get set inappropriate llvm-svn: 176795
* [Writer][ELF] Use correct data types for sizes. Fixes integer overflow bug.Michael J. Spencer2013-03-091-3/+3
| | | | | | This only happens when the section header count is > 1024. llvm-svn: 176747
* [ELF] Create baseclass for all ELF writersShankar Easwaran2013-03-083-587/+389
| | | | llvm-svn: 176724
* [ELF] Order weak symbols properlyShankar Easwaran2013-03-061-19/+59
| | | | llvm-svn: 176583
* Fix -Wdocumentation warning: use a correct Doxygen comment markerDmitri Gribenko2013-03-051-6/+6
| | | | llvm-svn: 176494
* [ELF] Set symbol type to STT_SECTION, so that objdump.bfd doesnot get ↵Shankar Easwaran2013-03-051-1/+7
| | | | | | confused when disassembling output llvm-svn: 176489
* [ELF] add dynamic library supportShankar Easwaran2013-03-051-7/+29
| | | | llvm-svn: 176483
* [ELF] Remove commentShankar Easwaran2013-03-054-17/+395
| | | | llvm-svn: 176482
* [ELF] no functionality change, update dynamicTable functionalityShankar Easwaran2013-03-042-71/+82
| | | | llvm-svn: 176430
* [lld][ELF] Add modified writerShankar Easwaran2013-03-031-0/+38
| | | | llvm-svn: 176425
* [lld][ELF] rename to add new support in the ELF WriterShankar Easwaran2013-03-032-26/+9
| | | | llvm-svn: 176424
* [ELF] rename Writer to ExecutableWriterShankar Easwaran2013-03-032-1/+1
| | | | llvm-svn: 176416
* [ELF][Hexagon] add initial changes to add GOT/PLTShankar Easwaran2013-03-035-0/+277
| | | | llvm-svn: 176415
* move dynamic linking atoms to Atoms.hShankar Easwaran2013-03-013-129/+160
| | | | llvm-svn: 176370
* [Writer][ELF][x86-64] Handle GOTPCREL relocations to SharedLibraryAtoms.Michael J. Spencer2013-03-011-0/+25
| | | | llvm-svn: 176324
* [ELF][x86-64] Only emit a PLT entry for a PLT relocation if the target atom ↵Michael J. Spencer2013-03-011-1/+2
| | | | | | | | | | is a SharedLibraryAtom. This seems to be what ld does, but I'm not sure how it works with symbol interposition. With this hello-world with glibc dynamically linked works. llvm-svn: 176310
* Add basic linker script parsing.Michael J. Spencer2013-03-011-4/+20
| | | | llvm-svn: 176309
* [ELF][Hexagon] add quickdata relocationsShankar Easwaran2013-02-286-15/+54
| | | | llvm-svn: 176298
* [ELF][x86-64] Separate static and dynamic GOT/PLT generation.Michael J. Spencer2013-02-284-28/+152
| | | | llvm-svn: 176294
* [ELF] Set header flags to 0 by defaultShankar Easwaran2013-02-282-3/+6
| | | | llvm-svn: 176279
* [ELF][Hexagon] change Header flagsShankar Easwaran2013-02-281-0/+9
| | | | llvm-svn: 176278
* [lld][ELF][Hexagon] add more relocationsShankar Easwaran2013-02-282-26/+100
| | | | llvm-svn: 176277
* [lld][ELF] Order segmentsShankar Easwaran2013-02-274-79/+220
| | | | llvm-svn: 176207
* fixing build error properly according to comment from DavidShankar Easwaran2013-02-271-2/+1
| | | | llvm-svn: 176169
* adding a return to fix compilation error from buildbot, build #75Shankar Easwaran2013-02-271-0/+1
| | | | llvm-svn: 176167
* fixing typo in header fileShankar Easwaran2013-02-273-3/+6
| | | | llvm-svn: 176162
* [ELF][Writer] Add dynamic relocation tables.Michael J. Spencer2013-02-273-20/+128
| | | | | | | This adds separate PLT and dynamic relocation tables. It also fills in the dynamic table entries for them. llvm-svn: 176150
* [ELF][Writer] Fill in dynamic table entries.Michael J. Spencer2013-02-251-1/+54
| | | | llvm-svn: 176045
* [ELF][Hexagon] add _SDA_BASE_(absolute symbol pointing to start of quickdata)Shankar Easwaran2013-02-245-2/+57
| | | | llvm-svn: 175997
* [ELF] Change functions to virtual, in ExecutableAtomsShankar Easwaran2013-02-241-7/+7
| | | | llvm-svn: 175993
* [ELF]Change name of runtime files, so that targets can change runtime files ↵Shankar Easwaran2013-02-241-3/+4
| | | | | | that they own llvm-svn: 175992
* [ELF][Hexagon]add typeZeroFillFastShankar Easwaran2013-02-245-16/+38
| | | | llvm-svn: 175983
* [ELF][Writer] Add hash table.Michael J. Spencer2013-02-232-0/+41
| | | | llvm-svn: 175972
* [ELF][Writer] Add a PHDR program table entry for dynamic files.Michael J. Spencer2013-02-232-0/+23
| | | | llvm-svn: 175951
* [ELF][Writer] Add dynamic string and symbol table.Michael J. Spencer2013-02-232-58/+115
| | | | llvm-svn: 175941
* sort quickdata for the hexagon targetShankar Easwaran2013-02-228-24/+173
| | | | llvm-svn: 175904
* add changes for typeDataFastShankar Easwaran2013-02-227-35/+152
| | | | llvm-svn: 175901
OpenPOWER on IntegriCloud