Commit: Add eelf32am33lin.c to ld/Makefile.am

Nick Clifton nickc@redhat.com
Fri Jun 3 10:36:00 GMT 2011


Hi Guys,

  I am applying the patch below to add a rule to build the
  eelf32am33lin.c emulation file to the linker's Makefile.  Without this
  the am33-linux-gnu target cannot build a linker.

Cheers
  Nick

ld/ChangeLog
2011-06-03  Nick Clifton  <nickc@redhat.com>

	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
	Add rule to build eelf32am33lin.c
	* Makefile.in: Regenerate.

Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.301
diff -u -3 -p -r1.301 Makefile.am
--- ld/Makefile.am	13 May 2011 18:15:33 -0000	1.301
+++ ld/Makefile.am	3 Jun 2011 10:11:25 -0000
@@ -193,6 +193,7 @@ ALL_EMULATION_SOURCES = \
 	eelf32_tic6x_linux_le.c \
 	eelf32_tic6x_elf_be.c \
 	eelf32_tic6x_elf_le.c \
+	eelf32am33lin.c \
 	eelf32b4300.c \
 	eelf32bfin.c \
 	eelf32bfinfd.c \
@@ -908,6 +909,10 @@ eelf32_tic6x_elf_le.c: $(srcdir)/emulpar
   $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc  $(srcdir)/emultempl/tic6xdsbt.em \
   ${GEN_DEPENDS}
 	${GENSCRIPTS} elf32_tic6x_elf_le "$(tdir_elf32_tic6x_elf_le)"
+eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
+  $(srcdir)/emulparams/elf32am33lin.sh \
+  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+	${GENSCRIPTS} elf32am33lin "$(tdir_elf32am33lin)"
 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
   $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
   $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  



More information about the Binutils mailing list