summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/data-segment-relro.s
Commit message (Collapse)AuthorAgeFilesLines
* Convert more tests as linker scripts instead of assembly.Rui Ueyama2018-03-011-70/+0
| | | | llvm-svn: 326415
* [ELF] - Do --hash-style=both by default.George Rimar2017-10-061-2/+2
| | | | | | | | | | | | | | Its PR34712, GNU linkers recently changed default values to "both" of "sysv". Patch do the same for all targets except MIPS, where .gnu.hash section is not yet supported. Code suggested by Rui Ueyama. Differential revision: https://reviews.llvm.org/D38407 llvm-svn: 315051
* Don't depend on lld creating space for the headers.Rafael Espindola2016-09-301-0/+1
| | | | | | | | | | | | | Currently lld will implicitly reserve space for the headers. This is not the case is bfd, where it is the script responsibility to use SIZEOF_HEADERS. This means that a script not using SIZEOF_HEADERS and expecting the address of the first section to be 0 would fail with lld. I am fixing that is the next commit. This one just makes the tests explicitly use SIZEOF_HEADERS to avoid the dependency on the current behaviour. llvm-svn: 282814
* [ELF] Use MaxPageSize for aligning PT_LOADPetr Hosek2016-09-281-2/+2
| | | | | | | | | | | | This matches the behavior of Binutils linkers. We also change the default MaxPageSize on x86-64 to 0x1000 to preserver the current behavior, which is the same as the behavior implemented by gold. https://llvm.org/bugs/show_bug.cgi?id=30541 Differential Revision: https://reviews.llvm.org/D24987 llvm-svn: 282560
* Make test less dependent on the section order.Rafael Espindola2016-09-201-3/+3
| | | | | | | This means either relaxing CHECKs or listing more sections and addresses in linker scripts. llvm-svn: 282014
* Handle arbitrary expressions in DATA_SEGMENT_RELRO_END.Rafael Espindola2016-09-141-1/+1
| | | | llvm-svn: 281521
* Remove useless file prefix.Rui Ueyama2016-09-021-0/+69
Differential Revision: https://reviews.llvm.org/D24207 llvm-svn: 280540
OpenPOWER on IntegriCloud