aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/size-2.t
blob: e67b3fa8f83f137d7e3d3fcc7e78361bd188944d (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 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
}