summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/scripttempl/i960.sc
blob: dc335555d7d7154ef812129e7bd845c15b95452c (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
25
cat <<EOF
SECTIONS
{ 
    .text : 
    { 
	${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
	*(.text) 
	${RELOCATING+ _etext = .};
	${CONSTRUCTING+${COFF_CTORS}}
    }  
    .data :
    { 
 	*(.data) 
	${CONSTRUCTING+CONSTRUCTORS}
	${RELOCATING+ _edata = .};
    }  
    .bss :
    { 
	${RELOCATING+ _bss_start = .};
	*(.bss)	 
	*(COMMON) 
	${RELOCATING+ _end = .};
    } 
} 
EOF