summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/gc-sections-local-sym.s
Commit message (Collapse)AuthorAgeFilesLines
* [ELF][test] Improve and reorganize another set of testsFangrui Song2019-09-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | Add file-level comments Replace trivial Input/*.s with echo ... | llvm-mc Delete insignificant addresses to make them more tolerant to layout changes Simplify test output Merge merge-section-types.s into compatible-section-types.s and add a missed case Merge gnu-ifunc-gotpcrel.s (added in D19517) into gnu-ifunc-dso.s (added in D35119) and add missed cases Delete typed-undef.s - covered by executable-undefined-ignoreall.s Delete emit-relocs-shared.s - covered by emit-relocs-merge.s Replace copy-rel-pie.s and copy-rel-pie2.s with canonical-plt-pcrel.s, canonical-plt-symbolic.s and copy-rel.s: add -no-pie cases. add a case that a canonical PLT can be created for STT_GNU_IFUNC. The logic in Symbols.h was untested: // ctor of SharedSymbol if (this->type == llvm::ELF::STT_GNU_IFUNC) this->type = llvm::ELF::STT_FUNC; llvm-svn: 371361
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-1/+1
| | | | | | | | | | | | options. NFC Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
* [ELF] Move `// REQUIRES:` line to the topFangrui Song2018-06-261-1/+1
| | | | llvm-svn: 335676
* [ELF] Follow-up to r264300. Update test case expectations to reflect recent ↵Simon Atanasyan2016-03-241-1/+3
| | | | | | changes in llvm-readobj. NFC. llvm-svn: 264304
* [ELF] - Create _DYNAMIC symbol for dynamic outputGeorge Rimar2016-03-011-1/+10
| | | | | | | | | | | lld needs to provide _DYNAMIC symbol when creating a shared library both bfd and gold do that. This should fix the https://llvm.org/bugs/show_bug.cgi?id=26732 Differential revision: http://reviews.llvm.org/D17607 llvm-svn: 262348
* [ELF] - Referencing __start or __stop should keep the section from GC.George Rimar2016-02-251-1/+1
| | | | | | | | | | | | This fixes the https://llvm.org/bugs/show_bug.cgi?id=22906 bug. In GNU Binutils, a reference to start or stop is sufficient to prevent the section from being garbage collected. Patch implements the same behavior for lld. Differential revision: http://reviews.llvm.org/D17502 llvm-svn: 261840
* Handle local symbols in discarded sections.Rafael Espindola2016-01-271-0/+46
We were reserving space for them but never writing them out. llvm-svn: 258948
OpenPOWER on IntegriCloud