This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] SH/LD: shlelf_fd emulation tooldir name error
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Fri, 20 Aug 2010 20:04:57 +0100 (BST)
- Subject: [PATCH] SH/LD: shlelf_fd emulation tooldir name error
Hi,
A typo (probably a copy & paste error from the big-endian variation) has
crept in to the name of the tooldir used in Makefile.am for the shlelf_fd
emulation in the original submission:
2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Andrew Stubbs <ams@codesourcery.com>
* Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
(eshelf_fd.c, eshlelf_fd.c): New rules.
(the name of the emulation itself was also wrong, but it was fixed up
meanwhile).
Here's a fix, regression-tested successfully with the sh-uclinux target.
2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
ld/
* Makefile.am (eshlelf_fd.c): Correct the name of the tool
directory.
* Makefile.in: Regenerate.
OK?
Maciej
binutils-shlelf_fd.diff
Index: binutils-fsf-trunk-quilt/ld/Makefile.am
===================================================================
--- binutils-fsf-trunk-quilt.orig/ld/Makefile.am 2010-06-30 00:31:55.000000000 +0100
+++ binutils-fsf-trunk-quilt/ld/Makefile.am 2010-08-09 13:48:14.000000000 +0100
@@ -1732,7 +1732,7 @@ eshelf_fd.c: $(srcdir)/emulparams/shelf_
${GENSCRIPTS} shelf_fd "$(tdir_shelf_fd)"
eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} shlelf_fd "$(tdir_shelf_fd)"
+ ${GENSCRIPTS} shlelf_fd "$(tdir_shlelf_fd)"
eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
$(srcdir)/emulparams/shlelf_linux.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
Index: binutils-fsf-trunk-quilt/ld/Makefile.in
===================================================================
--- binutils-fsf-trunk-quilt.orig/ld/Makefile.in 2010-06-30 00:31:55.000000000 +0100
+++ binutils-fsf-trunk-quilt/ld/Makefile.in 2010-08-09 13:48:56.000000000 +0100
@@ -2758,7 +2758,7 @@ eshelf_fd.c: $(srcdir)/emulparams/shelf_
${GENSCRIPTS} shelf_fd "$(tdir_shelf_fd)"
eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} shlelf_fd "$(tdir_shelf_fd)"
+ ${GENSCRIPTS} shlelf_fd "$(tdir_shlelf_fd)"
eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
$(srcdir)/emulparams/shlelf_linux.sh \
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}