This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Fix ld/Makefile.am


On Wed, Sep 12, 2001 at 08:50:13PM -0300, Alexandre Oliva wrote:
> 
> This was tested against the CVS version of a few weeks ago, with
> --enable-targets=all, but I only got to post it now.  I couldn't
> retest it again today because ld/eelf64lppc.o appears to be broken:
> 
> eelf64ppc.o: In function `gldelf64ppc_find_exp_assignment':
> eelf64ppc.o(.text+0xa98): undefined reference to `bfd_elf64_record_link_assignment'
> eelf64ppc.o: In function `gldelf64ppc_before_allocation':
> eelf64ppc.o(.text+0xbc7): undefined reference to `bfd_elf64_size_dynamic_sections'
> eelf64lppc.o: In function `gldelf64lppc_find_exp_assignment':
> eelf64lppc.o(.text+0xa98): undefined reference to `bfd_elf64_record_link_assignment'
> eelf64lppc.o: In function `gldelf64lppc_before_allocation':
> eelf64lppc.o(.text+0xbc7): undefined reference to `bfd_elf64_size_dynamic_sections'
> collect2: ld returned 1 exit status
> make[3]: *** [ld-new] Error 1
> 

I checked in the following patch as an obvious fix.


H.J.
---
2001-09-12  H.J. Lu  <hjl@gnu.org>

	* Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
	eelf64lppc.o to ...
	(ALL_64_EMULATIONS): Here.
	* Makefile.in: Regenerated.

Index: Makefile.am
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/Makefile.am,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile.am
--- Makefile.am	2001/08/30 15:42:52	1.56
+++ Makefile.am	2001/09/12 23:53:48
@@ -159,8 +159,6 @@ ALL_EMULATIONS = \
 	eelf32ppc.o \
 	eelf32ppclinux.o \
 	eelf32ppcsim.o \
-	eelf64ppc.o \
-	eelf64lppc.o \
 	eelf_i386.o \
 	eelf_i386_be.o \
 	eelf_i386_chaos.o \
@@ -267,6 +265,8 @@ ALL_64_EMULATIONS = \
 	eelf64btsmip.o \
 	eelf64ltsmip.o \
 	eelf64hppa.o \
+	eelf64ppc.o \
+	eelf64lppc.o \
 	eaixppc64.o \
 	ehppa64linux.o
 
Index: Makefile.in
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/Makefile.in,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile.in
--- Makefile.in	2001/08/30 15:42:52	1.59
+++ Makefile.in	2001/09/12 23:54:05
@@ -267,8 +267,6 @@ ALL_EMULATIONS = \
 	eelf32ppc.o \
 	eelf32ppclinux.o \
 	eelf32ppcsim.o \
-	eelf64ppc.o \
-	eelf64lppc.o \
 	eelf_i386.o \
 	eelf_i386_be.o \
 	eelf_i386_chaos.o \
@@ -376,6 +374,8 @@ ALL_64_EMULATIONS = \
 	eelf64btsmip.o \
 	eelf64ltsmip.o \
 	eelf64hppa.o \
+	eelf64ppc.o \
+	eelf64lppc.o \
 	eaixppc64.o \
 	ehppa64linux.o
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]