summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/phdrs-flags.s
Commit message (Collapse)AuthorAgeFilesLines
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-2/+2
| | | | | | | | | | | | 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] Choose default segment when it is not specifiedEugene Leviant2016-10-191-1/+24
| | | | | | | | | | | | | | | | | | | | Linker scripts may specify PHDRS, but not specify section to segment assignments, i.e: PHDRS { seg PT_LOAD; } SECTIONS { .sec1 {} : seg .sec2 {} } In such case linker should still choose some segment for .sec2 section. This patch will add .sec2 to previously opened segments (seg) or to the very first PT_LOAD segment, if no section-to-segment assignments has been made Differential revision: https://reviews.llvm.org/D24795 llvm-svn: 284600
* Remove useless file prefix.Rui Ueyama2016-09-021-0/+35
Differential Revision: https://reviews.llvm.org/D24207 llvm-svn: 280540
OpenPOWER on IntegriCloud