This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)
- To: Dave Gilbert <gilbertd at treblig dot org>
- Subject: Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Mon, 5 Mar 2001 16:03:23 +1100 (EST)
- cc: "H . J . Lu" <hjl at gnu dot org>, binutils at sources dot redhat dot com
On Sun, 4 Mar 2001, Dave Gilbert wrote:
> m68k-linux-ld: final link failed: Bad value
Fixed.
ld/ChangeLog
* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
after_allocation_default, not gld..._before_allocation.
Alan Modra
--
Linuxcare.
Index: ld/emultempl/m68kelf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/m68kelf.em,v
retrieving revision 1.2
diff -u -p -r1.2 m68kelf.em
--- m68kelf.em 2000/09/22 00:41:50 1.2
+++ m68kelf.em 2001/03/05 04:56:52
@@ -127,7 +127,7 @@ static void
m68k_elf_after_allocation ()
{
/* Call the standard elf routine. */
- gld${EMULATION_NAME}_before_allocation ();
+ after_allocation_default ();
#ifdef SUPPORT_EMBEDDED_RELOCS
if (command_line.embedded_relocs