summaryrefslogtreecommitdiffstats
path: root/ld/emulparams/gld960coff.sh
blob: 78202208b4fee220543f6a2cee885a8beb7a8008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SCRIPT_NAME=i960
OUTPUT_FORMAT=""
TEXT_START_ADDR=??
TARGET_PAGE_SIZE=??
ARCH=i960
TEMPLATE_NAME=gld960c
GLD_STYLE=1
COFF_CTORS='
	___CTOR_LIST__ = .;
	LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
	*(.ctors)
	LONG(0)
	___CTOR_END__ = .;
	___DTOR_LIST__ = .;
	LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)
	*(.dtors)
	LONG(0)
	___DTOR_END__ = .;
'
OpenPOWER on IntegriCloud