aboutsummaryrefslogtreecommitdiff
path: root/ld/sa29200.sc-sh
blob: ede39d61cb76e28e8ec7def98506be7c8d08c540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
ENTRY(start)

SECTIONS {
  .text ${RELOCATING+${TEXT_START_ADDR}} : 
    {
	*(.text);
	${RELOCATING+_etext = .};
    }
  data . :
    {
	*(.data);
	${RELOCATING+_edata = .};
	${CONSTRUCTING+CONSTRUCTORS}
    }
  .bss  . :
    { 
	*(COMMON) 	
	*(.bss)
	${RELOCATING+_end = .};
    } 
}
EOF