Retro68/binutils/ld/testsuite/ld-scripts/size-2.t
2012-03-26 21:18:29 +02:00

22 lines
374 B
Perl

PHDRS
{
header PT_PHDR FILEHDR PHDRS ;
image PT_LOAD FLAGS (5);
tls PT_TLS FLAGS (4);
}
SECTIONS
{
.text 0x100 : { *(.text) } :image
.tdata : { *(.tdata) } :image :tls
.tbss : { *(.tbss) } :image : tls
.map : {
LONG (SIZEOF (.text))
LONG (SIZEOF (.data))
LONG (SIZEOF (.bss))
LONG (SIZEOF (.tdata))
LONG (SIZEOF (.tbss))
} :image
}