Retro68/binutils/ld/emulparams/gld960coff.sh
2012-03-26 21:18:29 +02:00

20 lines
350 B
Bash

SCRIPT_NAME=i960
OUTPUT_FORMAT=""
TEXT_START_ADDR=0
TARGET_PAGE_SIZE=128
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__ = .;
'