]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-scripts/phdrs3a.t
2.41 Release sources
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-scripts / phdrs3a.t
1 PHDRS
2 {
3 data PT_LOAD FILEHDR PHDRS FLAGS(4);
4 text PT_LOAD FILEHDR PHDRS FLAGS(1);
5 }
6
7 SECTIONS
8 {
9 /* This test will fail on architectures where the startaddress below
10 is less than the constant MAXPAGESIZE. */
11 . = 0x800000 + SIZEOF_HEADERS;
12 .text : { *(.text) } :text
13 .data : { *(.data) } :data
14 /DISCARD/ : { *(.*) }
15 }