diff options
Diffstat (limited to 'ld/emulparams/gld960coff.sh')
-rw-r--r-- | ld/emulparams/gld960coff.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/emulparams/gld960coff.sh b/ld/emulparams/gld960coff.sh new file mode 100644 index 0000000..65b0dca --- /dev/null +++ b/ld/emulparams/gld960coff.sh @@ -0,0 +1,19 @@ +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__ = .; +' |