X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fscripttempl%2Felfmicroblaze.sc;h=989b7fd9ae1c60a7550d40de8c7ce05e88ad8f92;hb=ff8577f64987a898e1dc5eb6afb66a404fb7bb16;hp=a54b89193c212a028330fa22b2406ea9297cfe84;hpb=596d6d9145d7b285b1bd1afde953bb49d3cdbeff;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/scripttempl/elfmicroblaze.sc b/ld/scripttempl/elfmicroblaze.sc index a54b89193c..989b7fd9ae 100644 --- a/ld/scripttempl/elfmicroblaze.sc +++ b/ld/scripttempl/elfmicroblaze.sc @@ -1,11 +1,19 @@ # Adapted from mips.sc +# +# Copyright (C) 2014-2019 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. +# # These variables may be overridden by the emulation file. The # defaults are appropriate for a DECstation running Ultrix. + test -z "$ENTRY" && ENTRY=_start #test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x0" -CTOR=".ctors ${CONSTRUCTING-0} : +CTOR=".ctors ${CONSTRUCTING-0} : { ${CONSTRUCTING+${CTOR_START}} /* gcc uses crtbegin.o to find the start of @@ -42,6 +50,12 @@ DTOR=" .dtors ${CONSTRUCTING-0} : }" cat <