summaryrefslogtreecommitdiff
path: root/ld/scripttempl/nds32elf.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/nds32elf.sc')
-rw-r--r--ld/scripttempl/nds32elf.sc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/scripttempl/nds32elf.sc b/ld/scripttempl/nds32elf.sc
index b3acb016780..9645e80c567 100644
--- a/ld/scripttempl/nds32elf.sc
+++ b/ld/scripttempl/nds32elf.sc
@@ -601,9 +601,8 @@ EOF
test -z "${NON_ALLOC_DYN}" || emit_dyn
-. $srcdir/scripttempl/misc-sections.sc
-
-. $srcdir/scripttempl/DWARF.sc
+source_sh $srcdir/scripttempl/misc-sections.sc
+source_sh $srcdir/scripttempl/DWARF.sc
cat <<EOF
${ATTRS_SECTIONS}