summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/openbsd-randomize.s
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [lld] Add REQUIRES: x86 where needed to testsJoel Jones2018-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | If building lld without x86 support, tests that require that support should be treated as unsupported, not errors. Tested using: 1. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64;X86' make check-lld => Expected Passes : 1406 Unsupported Tests : 287 2. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64' make check-lld => Expected Passes : 410 Unsupported Tests : 1283 Patch by Joel Jones Differential Revision: https://reviews.llvm.org/D47748 llvm-svn: 334095
* [ELF] Choose default segment when it is not specifiedEugene Leviant2016-10-191-3/+4
| | | | | | | | | | | | | | | | | | | | 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
* [ELF] - Update testcases after llvm change.George Rimar2016-10-181-1/+1
| | | | llvm-svn: 284474
* [ELF] - Added support of PT_OPENBSD_RANDOMIZEGeorge Rimar2016-10-141-0/+22
This is 30646. PT_OPENBSD_RANDOMIZE The array element specifies the location and size of a part of the memory image of the program that must be filled with random data before any code in the object is executed. The memory region specified by a segment of this type may overlap the region specified by a PT_GNU_RELRO segment, in which case the intersection will be filled with random data before being marked read-only. Reference links: http://man.openbsd.org/OpenBSD-current/man5/elf.5 https://github.com/openbsd/src/commit/c494713c450d98da3f2e1451ee8c7fb675a7c461 Differential revision: https://reviews.llvm.org/D25469 llvm-svn: 284234
OpenPOWER on IntegriCloud