Retro68/binutils/ld/testsuite/ld-scripts/size-2.t

22 lines
372 B
Perl
Raw Normal View History

2012-03-26 19:18:29 +00:00
PHDRS
{
2017-04-10 11:32:00 +00:00
header PT_PHDR PHDRS ;
2012-03-26 19:18:29 +00:00
2017-04-10 11:32:00 +00:00
image PT_LOAD FLAGS (5) PHDRS;
2012-03-26 19:18:29 +00:00
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
}