summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF
Commit message (Collapse)AuthorAgeFilesLines
...
* [ELF] Remove class declarations that do nothing.Rui Ueyama2014-03-281-76/+0
| | | | | | | These classes are declared in a .cpp file but not used in the same compliation unit. They seems to have been copy-and-pasted from ELFReader.h. llvm-svn: 204988
* Make anonymous namespace as small as possible.Rui Ueyama2014-03-272-27/+22
| | | | llvm-svn: 204982
* [Mips] Fix formatting.Simon Atanasyan2014-03-241-1/+1
| | | | llvm-svn: 204607
* [Mips] Sort R_MIPS_LO16 / R_MIPS_HI16 / R_MIPS_GOT16 before findingSimon Atanasyan2014-03-241-9/+29
| | | | | | pairs and calculate AHL addend. llvm-svn: 204606
* [Mips] Emit LA25 MIPS stubs to call pic code from non-pic routines.Simon Atanasyan2014-03-212-22/+137
| | | | llvm-svn: 204503
* [Mips] Fix source code formatting. No functional changes.Simon Atanasyan2014-03-211-11/+11
| | | | llvm-svn: 204472
* [Mips] Reduce the number of 'const' casts.Simon Atanasyan2014-03-201-14/+14
| | | | llvm-svn: 204355
* [Mips] Join two for loops over defined atoms into the single one.Simon Atanasyan2014-03-201-4/+3
| | | | llvm-svn: 204354
* [Mips] Remove the dead code.Simon Atanasyan2014-03-201-4/+0
| | | | llvm-svn: 204353
* [Mips] Remove unused member function argument.Simon Atanasyan2014-03-201-4/+3
| | | | llvm-svn: 204352
* Revert "[ELF] Order DT_NEEDED entries by command line order."Rui Ueyama2014-03-201-22/+5
| | | | | | This reverts commit r204291 because it broke buildbots. llvm-svn: 204317
* [ELF] Order DT_NEEDED entries by command line order.Michael J. Spencer2014-03-201-5/+22
| | | | | | With this all test-suite tests pass with lld on x86-64 Linux. llvm-svn: 204291
* [Mips] Remove unused function.Simon Atanasyan2014-03-191-7/+0
| | | | llvm-svn: 204248
* [Mips] Fix handling of R_MIPS_GOT16 relocation and building local partSimon Atanasyan2014-03-195-9/+29
| | | | | | | | | of GOT. * Read addend for R_MIPS_GOT16 relocation. * Put only high 16 bits of symbol + addend into GOT entries for locally visible symbols. llvm-svn: 204247
* [Mips] Handle R_MIPS_GOT16 relocation for external and local symbols inSimon Atanasyan2014-03-194-9/+0
| | | | | | a uniform way. llvm-svn: 204246
* [Mips] Factor out the code creates GOT entry atoms into the twoSimon Atanasyan2014-03-191-16/+36
| | | | | | | functions. The first one is for local GOT entries. The second one is for global GOT entries. llvm-svn: 204245
* [Mips] Add 'const' qualifier to the function.Simon Atanasyan2014-03-191-2/+2
| | | | llvm-svn: 204244
* [Mips] Move AHL addends calculation to the RelocationPass class.Simon Atanasyan2014-03-193-67/+46
| | | | llvm-svn: 204243
* [Mips] Move RelocationPass class member function definitions out of theSimon Atanasyan2014-03-191-197/+215
| | | | | | class. llvm-svn: 204242
* [ELF] Remove unused fields (linking context references).Simon Atanasyan2014-03-195-15/+9
| | | | llvm-svn: 204222
* Replace OwningPtr with std::unique_ptr.Ahmed Charles2014-03-135-5/+7
| | | | | | | | This results in some simplifications to the code where an OwningPtr had to be used with the previous api and then ownership moved to a unique_ptr for the rest of lld. llvm-svn: 203809
* [docs] Add some more information on missing relocations.Michael J. Spencer2014-03-131-7/+30
| | | | llvm-svn: 203744
* [ELF] Fix MSVC warning on conversion from enum to bool.Rui Ueyama2014-03-121-2/+1
| | | | | | | This function returns a boolean value, so returning STT_COMMON does not make sense. llvm-svn: 203731
* [Cleanup] Sort includes.Ahmed Charles2014-03-122-5/+5
| | | | llvm-svn: 203666
* [Mips] Fix addendum reading for R_MIPS_26 relocation.Simon Atanasyan2014-03-091-1/+1
| | | | llvm-svn: 203412
* [Mips] Fix addendum reading for R_MIPS_32 relocation.Simon Atanasyan2014-03-091-3/+13
| | | | llvm-svn: 203411
* [Mips] Fix addendum reading for R_MIPS_HI16 / R_MIPS_LO16 relocations.Simon Atanasyan2014-03-091-0/+17
| | | | llvm-svn: 203410
* [Mips] Create ELF object reader for MIPS target.Simon Atanasyan2014-03-093-0/+119
| | | | llvm-svn: 203409
* [ELF] Factor out the code creates a Reference for the specified symbolSimon Atanasyan2014-03-091-23/+38
| | | | | | and relocation entry into the two virtual functions. llvm-svn: 203408
* [Mips] Remove redundant 'mips' prefix from names of MipsELFWriter classSimon Atanasyan2014-03-091-15/+14
| | | | | | fields. llvm-svn: 203406
* [Mips] Reduce the code indentation.Simon Atanasyan2014-03-091-15/+16
| | | | llvm-svn: 203405
* [Mips] Change unused return type from 'bool' to 'void'.Simon Atanasyan2014-03-091-2/+1
| | | | llvm-svn: 203404
* [Mips] Remove unnecessary LLVM_ATTRIBUTE_UNUSED attribute.Simon Atanasyan2014-03-091-1/+1
| | | | llvm-svn: 203403
* [Mips] Do not inherit MipsDynamicLibraryWriter and MipsExecutableWriterSimon Atanasyan2014-03-093-12/+11
| | | | | | from MipsELFWriter class. MipsELFWriter is just a helper. llvm-svn: 203402
* [Mips] Mark class by 'final' keyword.Simon Atanasyan2014-03-091-3/+3
| | | | llvm-svn: 203401
* [Mips] Remove redundant 'mips' prefix from names of MipsTargetHandlerSimon Atanasyan2014-03-092-19/+18
| | | | | | and MipsDynamicSymbolTable classes fields. llvm-svn: 203400
* [Mips] Remove redundant call to the unique_ptr::get() method followedSimon Atanasyan2014-03-092-5/+5
| | | | | | by the returned pointer dereferencing. llvm-svn: 203399
* [Mips] Remove unused class field.Simon Atanasyan2014-03-092-5/+3
| | | | llvm-svn: 203398
* Remove extra space.Rui Ueyama2014-03-081-1/+1
| | | | llvm-svn: 203331
* [docs] Add missing features for the x86-64 ELF backend.Michael J. Spencer2014-03-071-0/+29
| | | | llvm-svn: 203313
* [Mips] Removed extra space. Thanks to dexonsmith's eagle eye.Simon Atanasyan2014-03-071-1/+1
| | | | llvm-svn: 203201
* Add "override" and remove "virtual" where appropriate.Rui Ueyama2014-03-069-30/+30
| | | | | | | For the record, I used clang-modernize to add "override" and perl to remove "virtual". llvm-svn: 203164
* [Mips] Replace "virtual" by "override" in member function declarationsSimon Atanasyan2014-03-068-38/+38
| | | | | | where it is appropriate. llvm-svn: 203102
* [C++11] Replace LLVM_OVERRIDE with just "override" now that we're allChandler Carruth2014-03-023-5/+5
| | | | | | using MSVC 2012 or newer. llvm-svn: 202627
* [C++11] Switch from LLVM_FINAL to just "final" now that all of LLVM isChandler Carruth2014-03-0215-20/+20
| | | | | | requiring MSVC 2012 or newer. llvm-svn: 202626
* [Hexagon] Rename the header file.Shankar Easwaran2014-02-272-5/+5
| | | | | | | | This is to accomodate future changes for newer revisions of the DSP. No change in functionality. llvm-svn: 202350
* [Mips] Remove non-ASCII symbol from the comment.Simon Atanasyan2014-02-261-1/+1
| | | | llvm-svn: 202290
* [Mips] Split reloc26 function into two parts - for processing local andSimon Atanasyan2014-02-261-7/+11
| | | | | | external relocations. llvm-svn: 202289
* [Mips] Use a correct number of bits when apply result of calculated relocation.Simon Atanasyan2014-02-261-11/+12
| | | | llvm-svn: 202288
* [Mips] Exit from the class method as soon as possible.Simon Atanasyan2014-02-261-3/+4
| | | | llvm-svn: 202287
OpenPOWER on IntegriCloud