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]

Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)


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


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