summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/size-2.t
blob: 723863995e1a31ed5e4752918e71e00ec714de0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PHDRS
{
  header PT_PHDR PHDRS ;
	 
  image PT_LOAD FLAGS (5) PHDRS;
  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
}