summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/no-inhibit-exec.s
Commit message (Collapse)AuthorAgeFilesLines
* [ELF][X86] Allow PT_LOAD to have overlapping p_offset ranges on EM_X86_64Fangrui Song2019-09-161-1/+1
| | | | | | | | Port the D64906 technique to EM_X86_64. Differential Revision: https://reviews.llvm.org/D67482 llvm-svn: 371958
* [llvm-objdump] Print newlines before and after "Disassembly of section ...:"Fangrui Song2019-05-011-0/+1
| | | | | | | | | | | This improves readability and the behavior is consistent with GNU objdump. The new test test/tools/llvm-objdump/X86/disassemble-section-name.s checks we print newlines before and after "Disassembly of section ...:" Differential Revision: https://reviews.llvm.org/D61127 llvm-svn: 359668
* [ELF] Move `# REQUIRES:` line to the topFangrui Song2018-06-261-1/+1
| | | | llvm-svn: 335625
* Keep some relocations with undefined weak symbols.Rafael Espindola2017-09-151-1/+1
| | | | | | | | | | | | | | | | | | | This fixes pr34301. As the bug points out, we want to keep some relocations with undefined weak symbols. This means that we cannot always claim that these symbols are not preemptible as we do now. Unfortunately, we cannot also just always claim that they are preemptible. Doing so would, for example, cause us to try to create a plt entry when we don't even have a dynamic symbol table. What almost works is to say that weak undefined symbols are preemptible if and only if we have a dynamic symbol table. Almost because we don't want to fail the build trying to create a copy relocation to a weak undefined. llvm-svn: 313372
* [ELF] - Recommit r309252 "[ELF] - Fix missing relocation when linking ↵George Rimar2017-08-021-1/+5
| | | | | | | | | | | | | | | | | | | | | executable with --unresolved-symbols=ignore-all" With fix for undefined weak symbols in executable. Original commit message: This is PR32112. Previously when we linked executable with --unresolved-symbols=ignore-all and undefined symbols, like: _start: callq und@PLT we did not create relocations, though it looks in that case we should delegate handling of such symbols to runtime linker, hence should emit them. Patch fixes that. Differential revision: https://reviews.llvm.org/D35724 llvm-svn: 309796
* Revert r309252 "[ELF] - Fix missing relocation when linking executable with ↵George Rimar2017-07-271-5/+1
| | | | | | | | | --unresolved-symbols=ignore-all" It broke bot: http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/4231 llvm-svn: 309258
* [ELF] - Fix missing relocation when linking executable with ↵George Rimar2017-07-271-1/+5
| | | | | | | | | | | | | | | | | | --unresolved-symbols=ignore-all This is PR32112. Previously when we linked executable with --unresolved-symbols=ignore-all and undefined symbols, like: _start: callq und@PLT we did not create relocations, though it looks in that case we should delegate handling of such symbols to runtime linker, hence should emit them. Patch fixes that. Differential revision: https://reviews.llvm.org/D35724 llvm-svn: 309252
* lld: Default image base address to 0x200000 on x86-64Ed Maste2016-11-231-1/+1
| | | | | | | | | Align to the large page size (known as a superpage or huge page). FreeBSD automatically promotes large, superpage-aligned allocations. Differential Revision: https://reviews.llvm.org/D27042 llvm-svn: 287782
* Replace test instruction byte strings with {{.*}}Ed Maste2016-11-231-1/+1
| | | | | | | | | | An upcoming change to the image base address for x86-64 (D27042) will will change some addresses and hence the instruction encodings. We care about the disassembled instructions, not their encodings. Differential Revision: https://reviews.llvm.org/D27056 llvm-svn: 287778
* Remove unnecessary trailing semicolons.Rui Ueyama2016-04-271-1/+1
| | | | | | | Since this semicolon existed in an early test file, it has spread to many files. llvm-svn: 267659
* ELF: Implement basic support for --version-script.Peter Collingbourne2016-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | This patch only implements support for version scripts of the form: { [ global: symbol1; symbol2; [...]; symbolN; ] local: *; }; No wildcards are supported, other than for the local entry. Symbol versioning is also not supported. It works by introducing a new Symbol flag which tracks whether a symbol appears in the global section of a version script. This patch also simplifies the logic in SymbolBody::isPreemptible(), and teaches it to handle the case where symbols with default visibility in DSOs do not appear in the dynamic symbol table because of a version script. Fixes PR27482. Differential Revision: http://reviews.llvm.org/D19430 llvm-svn: 267208
* Delete isTlsDynRel.Rafael Espindola2016-03-081-1/+1
| | | | | | | | | | | | It was a badly specified hack for when a tls relocation should be propagated to the dynamic relocation table. This replaces it with a not as bad hack of saying that a local dynamic tls relocation is never preempted. I will try to remove even that second hack in the next patch. llvm-svn: 262955
* Rename ld.lld2 to ld.lld since it is the default.Rafael Espindola2015-11-181-2/+2
| | | | llvm-svn: 253437
* Rename test/elf2 to test/ELF.Rafael Espindola2015-11-171-0/+15
llvm-svn: 253313
OpenPOWER on IntegriCloud