binutils (cvs) target=m68k-linux giving bad value in ld (-shared)
Alan Modra
alan@linuxcare.com.au
Sun Mar 4 21:04:00 GMT 2001
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
More information about the Binutils
mailing list