summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't bypass the GOT for delta32toGOT references.Pete Cooper2015-12-091-0/+6
| | | | | | | | | | | The gcc_except_tab was generating these references to point to the typeinfo in the data section. gcc_except_tab also had the DW_EH_PE_indirect flag set which means that at runtime we are going to dereference this entry as if it is in the GOT. Reviewed by Nick Kledzik in http://reviews.llvm.org/D15360. llvm-svn: 255085
* Fix Clang-tidy modernize-use-auto warnings, other minor fixes.Eugene Zelenko2015-11-1012-106/+50
| | | | | | Differential revision: http://reviews.llvm.org/D14553 llvm-svn: 252661
* These are the matching changes needed to the lld project for the changes to llvmKevin Enderby2015-11-051-12/+22
| | | | | | | in r252192 that changed the Archive and Child interfaces in libObject. These include Rafael Espindola’s many suggested updates. llvm-svn: 252193
* Fix Clang-tidy modernize-use-override warnings, other minor fixes.Eugene Zelenko2015-11-041-5/+4
| | | | | | Differential revision: http://reviews.llvm.org/D14310 llvm-svn: 252034
* [lld][MachO] Make sure LC_RPATH command size is a multiple of the pointer size.Lang Hames2015-10-291-2/+2
| | | | llvm-svn: 251637
* [lld][MachO] Use a std::string rather than a StringRef for the section name inLang Hames2015-10-291-1/+1
| | | | | | | | | MachODefinedCustomSectionAtom. The section names for these atoms are initialized from temporaries (e.g. segName + "/" + sectName), so we can't use StringRef here. llvm-svn: 251610
* [lld][Darwin] Add support for the -sectcreate option.Lang Hames2015-10-243-0/+110
| | | | llvm-svn: 251183
* [lld][MachO] Prune unused EH frames.Lang Hames2015-10-231-0/+51
| | | | llvm-svn: 251095
* [lld][MachO] Fix indentation.Lang Hames2015-10-201-2/+2
| | | | llvm-svn: 250863
* [lld][MachO] Fix typo in comment.Lang Hames2015-10-201-1/+1
| | | | llvm-svn: 250861
* Simplify. NFC.Rafael Espindola2015-10-021-2/+2
| | | | llvm-svn: 249128
* [LLD] Fix Clang-tidy modernize-use-nullptr warnings; other minor cleanups.Rui Ueyama2015-10-023-18/+3
| | | | | | Patch from Eugene Zelenko! llvm-svn: 249111
* [lld][MachO] Fix a think-o to get the twolevel/dynamic_lookup test passing.Lang Hames2015-09-282-7/+5
| | | | llvm-svn: 248736
* [lld][MachO] Initial implementation of -flat_namespace and -undefined.Lang Hames2015-09-284-12/+111
| | | | | | | | | This is a basic initial implementation of the -flat_namespace and -undefined options for LLD-darwin. It ignores several subtlties, but the result is close enough that we can now link LLVM (but not clang) on Darwin and pass all regression tests. llvm-svn: 248732
* ELF/AMDGPU: Text section should be called .hsatextTom Stellard2015-09-252-3/+3
| | | | | | | | | | Reviewers: atanasyan, ruiu Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12447 llvm-svn: 248621
* Fix memory leak in FileArchive::find().Rui Ueyama2015-09-242-4/+17
| | | | | | Patch from George Rimar! llvm-svn: 248525
* [LLD][MachO] Fix a FIXME: Subtract base address from atom address when buildingLang Hames2015-09-212-1/+4
| | | | | | export trie. llvm-svn: 248217
* [Mips] Do not show an error if R_MIPS_GPREL32 relocation has a non-local targetSimon Atanasyan2015-09-161-13/+0
| | | | | | This matches GNU linker behaviour. llvm-svn: 247795
* Fix Clang-tidy misc-use-override warnings, other minor fixes.Rui Ueyama2015-09-1011-63/+40
| | | | | | Patch from Eugene Zelenko! llvm-svn: 247323
* Fix -Wcovered-switch-default warnings.Rui Ueyama2015-08-311-4/+2
| | | | llvm-svn: 246419
* ELF: Fix "not all control paths return a value" warning.Rui Ueyama2015-08-311-12/+16
| | | | llvm-svn: 246417
* [Mips] Support grouping of multiple consecutive relocations in case of N32 ↵Simon Atanasyan2015-08-281-1/+15
| | | | | | and 64-bit MIPS ABIs llvm-svn: 246337
* [Mips] Initial support of the MIPS N32 ABISimon Atanasyan2015-08-287-10/+117
| | | | llvm-svn: 246334
* ELF/AMDGPU: Add more misssing: using namespace lld;Tom Stellard2015-08-272-0/+2
| | | | | | Hopefully, this will resolve the remaining windows bot errors. llvm-svn: 246181
* ELF/AMDGPU: Add missing: using namespace lld; to try to fix windows botTom Stellard2015-08-271-0/+1
| | | | llvm-svn: 246179
* ELF/AMDGPU: Remove another unused private member variableTom Stellard2015-08-271-4/+1
| | | | llvm-svn: 246164
* ELF/AMDGPU: Remove unused private member variableTom Stellard2015-08-272-2/+1
| | | | | | This should fix the one of the failing bots. llvm-svn: 246160
* ELF/AMDGPU: Attempt to fix windows botsTom Stellard2015-08-271-0/+1
| | | | | | Broken by r246155. llvm-svn: 246159
* ELF: Add AMDGPU ReaderWriterTom Stellard2015-08-2714-3/+432
| | | | | | | | | This is a basic implementation that allows lld to emit binaries consumable by the HSA runtime. Differential Revision: http://reviews.llvm.org/D11267 llvm-svn: 246155
* [LinkerScript] Fix a crash when matching wildcards.Davide Italiano2015-08-221-2/+5
| | | | | | Submitted by: zan jyu via llvm-dev llvm-svn: 245792
* [Mips] Use 'or' for move instead of [d]addu in PLT entriesSimon Atanasyan2015-08-191-2/+2
| | | | | | | | Patch by Simon Dardis. Differential Revision: http://reviews.llvm.org/D12103 llvm-svn: 245491
* Update for llvm api change.Rafael Espindola2015-08-132-9/+11
| | | | llvm-svn: 244849
* Wdeprecated: Remove unnecessary user-defined dtor that was getting in the ↵David Blaikie2015-08-121-1/+0
| | | | | | way of the default ops (copy construction, assignment, etc) llvm-svn: 244836
* [ELF] Remove TargetLayout::getCustomSegments methodsDenis Protivensky2015-08-122-23/+1
| | | | llvm-svn: 244747
* [LinkerScript] Process program header in PHDRS commandDenis Protivensky2015-08-123-59/+125
| | | | | | | | | | Add PT_PHDR segment depending on its availability in linker script's PHDRS command, fallback if no linker script is given. Handle FILEHDR, PHDRS and FLAGS attributes of program header. Differential Revision: http://reviews.llvm.org/D11589 llvm-svn: 244743
* Update for llvm api change.Rafael Espindola2015-08-102-3/+14
| | | | llvm-svn: 244511
* Don't depend on getDotSymtabSec. It is going away.Rafael Espindola2015-08-102-11/+15
| | | | llvm-svn: 244451
* Avoid using getDotDynSymSec in lld. It is going away.Rafael Espindola2015-08-071-2/+8
| | | | llvm-svn: 244350
* Use already available symbol tables. NFC.Rafael Espindola2015-08-072-2/+3
| | | | llvm-svn: 244336
* ELF: Correctly identify SHT_NOTE sections with !SHF_ALLOC as type*NoteTom Stellard2015-08-071-1/+6
| | | | | | | | Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11266 llvm-svn: 244317
* COFF: Remove the old COFF linker and make link an alias to link2.Rui Ueyama2015-08-0622-5471/+0
| | | | | | It's time to remove old COFF linker because the new one is now complete. llvm-svn: 244226
* [Mips] Implement definition of the DT_MIPS_RLD_MAP_REL dynamic tagSimon Atanasyan2015-08-011-2/+10
| | | | llvm-svn: 243835
* [Mips] Implement definition of DT_MIPS_RLD_MAP dynamic tag, .rld_map ↵Simon Atanasyan2015-07-302-0/+32
| | | | | | section, and __RLD_MAP symbol llvm-svn: 243626
* [Mips] Define _DYNAMIC_LINKING symbol if output is a is dynamically linked ↵Simon Atanasyan2015-07-251-1/+7
| | | | | | executable file llvm-svn: 243211
* [Mips] Remove redundant separate functions to calculate relocations. DoSimon Atanasyan2015-07-251-52/+23
| | | | | | | | that inline. No functional changes. llvm-svn: 243210
* [Mips] Remove duplicated code by joining the same functionsSimon Atanasyan2015-07-251-21/+4
| | | | llvm-svn: 243209
* [Mips] Do not sign-extend addends read from RELA relocation recordsSimon Atanasyan2015-07-251-18/+21
| | | | llvm-svn: 243208
* Fix -Wextra-semi.Rui Ueyama2015-07-232-4/+4
| | | | | | Patch from Eugene.Zelenko! llvm-svn: 243060
* Use the getSymbol with an explicit symbol table. NFC.Rafael Espindola2015-07-234-19/+26
| | | | llvm-svn: 243014
* [LinkerScript] Fix case when setting custom NONE segmentDenis Protivensky2015-07-231-1/+1
| | | | llvm-svn: 243006
OpenPOWER on IntegriCloud