From 6149af094e48ff255fab64fb087811ee53156b8d Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Fri, 6 May 1994 19:27:57 +0000 Subject: [PATCH] support for Xgo32X. --- ld/scripttempl/.Sanitize | 1 + ld/scripttempl/go32coff.sc | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 ld/scripttempl/go32coff.sc diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index 03923195a31..0b47863f09b 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -30,6 +30,7 @@ alpha.sc aout.sc ebmon29k.sc elf.sc +go32coff.sc h8300.sc h8300h.sc h8500.sc diff --git a/ld/scripttempl/go32coff.sc b/ld/scripttempl/go32coff.sc new file mode 100644 index 00000000000..2e2a52cd887 --- /dev/null +++ b/ld/scripttempl/go32coff.sc @@ -0,0 +1,44 @@ +# Linker script for 386 COFF. This works on SVR3.2 and SCO Unix 3.2.2. +# .data2 handles SCO, which uses two data sections. +# Ian Taylor . +test -z "$ENTRY" && ENTRY=_start +# These are substituted in as variables in order to get '}' in a shell +# conditional expansion. +INIT='.init : { *(.init) }' +FINI='.fini : { *(.fini) }' +cat <