Retro68/binutils/ld/emulparams/gld960coff.sh

20 lines
350 B
Bash
Raw Normal View History

2012-03-26 19:18:29 +00:00
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__ = .;
'