From: Michael Meissner Date: Fri, 2 May 1997 19:57:12 +0000 (+0000) Subject: Fix name of constructors/destructors X-Git-Tag: gdb-4_18-branchpoint~5605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df184f82b24ab6b5b866a2e53cf608eff7d10682;p=thirdparty%2Fbinutils-gdb.git Fix name of constructors/destructors --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 6d54a95fe5b..82b4f3e3205 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,16 @@ +start-sanitize-tic80 +Fri May 2 15:54:28 1997 Mike Meissner + + * scripttempl/tic80coff.sc (.text): Add a leading underscore to + __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items + in the .text section. + +end-sanitize-tic80 +Wed Apr 30 12:23:21 1997 Manfred Hollstein + + * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace + around assignment of current location pointer. + Thu Apr 17 13:07:18 1997 Ian Lance Taylor * ldctor.c (ldctor_build_sets): Make sure the set is aligned diff --git a/ld/scripttempl/tic80coff.sc b/ld/scripttempl/tic80coff.sc new file mode 100644 index 00000000000..0d52aaa7487 --- /dev/null +++ b/ld/scripttempl/tic80coff.sc @@ -0,0 +1,67 @@ +# Linker script for TI TMS320C80 (tic80) COFF. +# +# Besides the shell variables set by the emulparams script, and the LD_FLAG +# variable, the genscripts.sh script will set the following variables for each +# time this script is run to generate one of the linker scripts for ldscripts: +# +# RELOCATING: Set to a non-empty string when the linker is going to be doing +# a final relocation. +# +# CONSTRUCTING: Set to a non-empty string when the linker is going to be +# building global constructor and destructor tables. +# +# DATA_ALIGNMENT: Set to an ALIGN expression when the output should be page +# aligned, or to "." when generating the -N script. +# +# CREATE_SHLIB: Set to a non-empty string when generating a script for +# the -shared linker arg. + +test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x80000 + SIZEOF_HEADERS" +test -z "$ENTRY" && ENTRY=__start + +cat <