summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/noload.s
Commit message (Collapse)AuthorAgeFilesLines
* [lld][ELF] Mark empty NOLOAD output sections SHT_NOBITS instead of SHT_PROGBITSMatt Schulte2020-06-161-3/+5
| | | | | | | | | | | This fixes PR# 45336. Output sections described in a linker script as NOLOAD with no input sections would be marked as SHT_PROGBITS. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D76981 (cherry picked from commit fdc41aa22c60958e6b6df461174b814a4aae3384)
* [ELF][test] Make tests less address sensitive and delete redundant testsFangrui Song2020-06-161-46/+7
| | | | (cherry picked from commit 09ac859c136b406231ef7547f3800111dd00bc7e)
* [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] Don't add NOLOAD sections to segmentEugene Leviant2018-04-051-6/+23
| | | | | | Differential revision: https://reviews.llvm.org/D45264 llvm-svn: 329281
* Fix a test that didn't actually test anything.Rui Ueyama2017-12-081-2/+2
| | | | llvm-svn: 320117
* Fix a bug in output section directive.Rui Ueyama2017-06-081-1/+1
| | | | | | | | | | Previously, it couldn't parse SECTIONS .text (0x1000) : { *(.text) } because "(" was interpreted as the begining of the "(NOLOAD)" directive. llvm-svn: 305006
* [ELF] - Linkerscript: implement NOLOAD section type.George Rimar2017-06-071-0/+46
This is PR32351 Each output section may have a type. The type is a keyword in parentheses. (https://sourceware.org/binutils/docs/ld/Output-Section-Type.html#Output-Section-Type) This patch support only one type, it is NOLOAD. If output section has such type, we force it to be SHT_NOBITS. More details are available on a review page. Differential revision: https://reviews.llvm.org/D33647 llvm-svn: 304925
OpenPOWER on IntegriCloud