binutils-gdb/ld/testsuite/ld-scripts/phdrs.t
2000-03-14 01:40:30 +00:00

15 lines
211 B
Perl

PHDRS
{
header PT_PHDR PHDRS ;
text PT_LOAD FILEHDR PHDRS ;
data PT_LOAD ;
}
SECTIONS
{
. = 0x80000 + SIZEOF_HEADERS;
.text : { *(.text) } :text
.data : { *(.data) } :data
/DISCARD/ : { *(.*) }
}