Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-elf/rwx-segments-2.t

21 lines
347 B
Perl
Raw Normal View History

2023-03-06 14:48:14 +01:00
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/ : { *(*) }
}