Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [lld][NFC] Update tests to use -S instead of -s when using llvm-readelf. | Jordan Rupprecht | 2018-11-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Summary: llvm-readobj/readelf accepts both -s and -S as aliases for --sections. However with GNU readelf only -S means --section, and -s means --symbols. I would like to make llvm-readelf more compatible. Reviewers: MaskRay, espindola Reviewed By: MaskRay Subscribers: emaste, arichardson, steven_wu, dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D54118 llvm-svn: 346164 | ||||
* | [ELF] readobj -elf-output-style=GNU -> readelf | Fangrui Song | 2018-06-25 | 1 | -1/+1 |
| | | | | | | Style change for consistency. NFC llvm-svn: 335494 | ||||
* | [LLD][LinkerScript] Allow non-alloc sections to be assigned to segments. | Andrew Ng | 2017-07-03 | 1 | -0/+44 |
This patch makes changes to allow sections without the SHF_ALLOC bit to be assigned to segments in a linker script. The assignment of output sections to segments is performed in LinkerScript::createPhdrs. Previously, this function would bail as soon as it encountered an output section which did not have the SHF_ALLOC bit set, thus preventing any output section without SHF_ALLOC from being assigned to a segment. This restriction has now been removed from LinkerScript::createPhdrs and instead a check for SHF_ALLOC has been added to LinkerScript::adjustSectionsAfterSorting to not propagate program headers to sections without SHF_ALLOC which matches the behaviour of bfd linker scripts. Differential Revision: https://reviews.llvm.org/D34204 llvm-svn: 307013 |