[PATCH] fix ld on m68k
Hi,
the patch below fixes the bug which completely broke ld on m68k after
2.10.0.26 (stupid little bug, wonder why no one spotted it before...).
However there still seems to be another issue: With the new binutils I
occasionally get binaries which fail with SIGBUS. Not sure where this is
coming from, but I suspect the assembler (the relaxation code was heavily
reworked after 2.10.0.26). I'll look into it and I hope to have it fixed
sometime this week.
-Michael
diff -urN binutils-2.10.1.0.2.orig/ld/emultempl/m68kelf.em binutils-2.10.1.0.2/ld/emultempl/m68kelf.em
--- binutils-2.10.1.0.2.orig/ld/emultempl/m68kelf.em Sat Sep 30 17:54:44 2000
+++ binutils-2.10.1.0.2/ld/emultempl/m68kelf.em Sat Feb 17 17:28:13 2001
@@ -127,7 +127,7 @@
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
Reply to: