X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fscripttempl%2Fi386coff.sc;h=44656ca11e3f632d981aeaf7de2734006d65d7cd;hb=0c66ea4c5e46372c7411f67b0ba21d7de5215958;hp=d18fd24c05570691e25ef11bb99fb0954050cd57;hpb=fa803dc60f0bf01297674c41d001798e18ade4dc;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/scripttempl/i386coff.sc b/ld/scripttempl/i386coff.sc index d18fd24c05..44656ca11e 100644 --- a/ld/scripttempl/i386coff.sc +++ b/ld/scripttempl/i386coff.sc @@ -1,22 +1,40 @@ # 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 . +# +# Copyright (C) 2014-2016 Free Software Foundation, Inc. +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. + +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 <