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