aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfmicroblaze.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/elfmicroblaze.sc')
-rw-r--r--ld/scripttempl/elfmicroblaze.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elfmicroblaze.sc b/ld/scripttempl/elfmicroblaze.sc
index 62de661..a54b891 100644
--- a/ld/scripttempl/elfmicroblaze.sc
+++ b/ld/scripttempl/elfmicroblaze.sc
@@ -5,7 +5,7 @@ test -z "$ENTRY" && ENTRY=_start
#test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x0"
-CTOR=".ctors :
+CTOR=".ctors ${CONSTRUCTING-0} :
{
${CONSTRUCTING+${CTOR_START}}
/* gcc uses crtbegin.o to find the start of
@@ -31,7 +31,7 @@ CTOR=".ctors :
${CONSTRUCTING+${CTOR_END}}
}"
-DTOR=" .dtors :
+DTOR=" .dtors ${CONSTRUCTING-0} :
{
${CONSTRUCTING+${DTOR_START}}
KEEP (*crtbegin.o(.dtors))