This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
fix enable-targets=all breakage
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Cc: "H.J. Lu" <hongjiu dot lu at intel dot com>
- Date: Thu, 16 Oct 2003 15:57:32 +0930
- Subject: fix enable-targets=all breakage
In function `gldelf64_ia64_fbsd_after_parse':
/home/alan/build/gas/all/ld/eelf64_ia64_fbsd.c:60: undefined reference to `bfd_elf64_ia64_fbsd_after_parse'
collect2: ld returned 1 exit status
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
use $EMULATION_NAME to call bfd function.
Index: ld/emultempl/ia64elf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/ia64elf.em,v
retrieving revision 1.1
diff -u -p -r1.1 ia64elf.em
--- ld/emultempl/ia64elf.em 13 Oct 2003 15:55:51 -0000 1.1
+++ ld/emultempl/ia64elf.em 16 Oct 2003 06:22:23 -0000
@@ -32,7 +32,7 @@ static int itanium = 0;
static void
gld${EMULATION_NAME}_after_parse (void)
{
- bfd_${EMULATION_NAME}_after_parse (itanium);
+ bfd_elf${ELFSIZE}_ia64_after_parse (itanium);
}
EOF
--
Alan Modra
IBM OzLabs - Linux Technology Centre