[PATCH] Fix typo in Makefile.am to make it agree with Makefile.in.

Jim Wilson jimw@sifive.com
Fri May 4 00:26:00 GMT 2018


I noticed this today while trying to modify Makefile.am and regenerate
Makefile.in.  I ended up with a change to Makefile.in that I didn't make.  The
problem is a minor bug in a recent patch from Christophe Lyon
    https://sourceware.org/ml/binutils/2018-04/msg00216.html

This has in Makefile.am

earmelfb_linux_fdpiceabi.c: $(srcdir)/emulparams/armelfb_linux_fdpiceabi.sh \
  $(srcdir)/emulparams/armelfb_linux_fdpiceabi.sh \
  ...

which mentions the same file twice, but in Makefile.in it has

earmelfb_linux_fdpiceabi.c: $(srcdir)/emulparams/armelfb_linux_fdpiceabi.sh \
  $(srcdir)/emulparams/armelf_linux_fdpiceabi.sh \
  ...

The version in Makefile.in is correct.  I checked in this patch to fix it.

	ld/
	* Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies.
---
 ld/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/Makefile.am b/ld/Makefile.am
index 6464e10917..2d758b1ee3 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -757,7 +757,7 @@ earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
 
 earmelfb_linux_fdpiceabi.c: $(srcdir)/emulparams/armelfb_linux_fdpiceabi.sh \
-  $(srcdir)/emulparams/armelfb_linux_fdpiceabi.sh \
+  $(srcdir)/emulparams/armelf_linux_fdpiceabi.sh \
   $(srcdir)/emulparams/armelf_linux.sh \
   $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-- 
2.14.1



More information about the Binutils mailing list