binutils-gdb/ld/testsuite/ld-elf/rwx-segments-2.t

21 lines
347 B
Perl

PHDRS
{
header PT_PHDR PHDRS ;
image PT_LOAD FLAGS (5) PHDRS;
tls PT_TLS FLAGS (7);
}
SECTIONS
{
.text 0x100 : { *(.text) } :image
.tdata : { *(.tdata) } :image :tls
.tbss : { *(.tbss) } :image : tls
.map : {
LONG (SIZEOF (.text))
LONG (SIZEOF (.tdata))
LONG (SIZEOF (.tbss))
} :image
/DISCARD/ : { *(*) }
}