[binutils-gdb] fix dependencies for ld/emultemp/nto.em

Alan Modra amodra@sourceware.org
Fri Dec 6 22:39:46 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1217d563926f2fb2fa68964ff855b5281a0ffd9e

commit 1217d563926f2fb2fa68964ff855b5281a0ffd9e
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Dec 5 12:19:56 2024 +1030

    fix dependencies for ld/emultemp/nto.em
    
    Don't use "." to source .em files, use "source_em".

Diff:
---
 ld/emultempl/nto.em | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/emultempl/nto.em b/ld/emultempl/nto.em
index 7cda6650bc6..3256a8abc5f 100644
--- a/ld/emultempl/nto.em
+++ b/ld/emultempl/nto.em
@@ -22,7 +22,7 @@
 # specific routines.
 
 # NTO templates aims to refine the default ${ARCH}elf.em template.
-. "${srcdir}/emultempl/${ARCH}elf.em"
+source_em "${srcdir}/emultempl/${ARCH}elf.em"
 
 cat >>e${EMULATION_NAME}.c <<EOF


More information about the Binutils-cvs mailing list