Retro68/binutils/ld/testsuite/ld-scripts/phdrs3a.t

16 lines
336 B
Perl

PHDRS
{
data PT_LOAD FILEHDR PHDRS FLAGS(4);
text PT_LOAD FILEHDR PHDRS FLAGS(1);
}
SECTIONS
{
/* This test will fail on architectures where the startaddress below
is less than the constant MAXPAGESIZE. */
. = 0x800000 + SIZEOF_HEADERS;
.text : { *(.text) } :text
.data : { *(.data) } :data
/DISCARD/ : { *(.*) }
}