binutils problem

Richard Zidlicky rz@linux-m68k.org
Mon Aug 26 15:02:00 GMT 2002


On Mon, Aug 26, 2002 at 01:59:15PM +0200, Andreas Schwab wrote:

> |> --- glibc-2.2.90/sysdeps/m68k/dl-machine.h.rz	Mon Aug 26 11:44:44 2002
> |> +++ glibc-2.2.90/sysdeps/m68k/dl-machine.h	Mon Aug 26 11:45:31 2002
> |> @@ -311,6 +311,8 @@
> |>    Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset);
> |>    if (ELF32_R_TYPE (reloc->r_info) == R_68K_JMP_SLOT)
> |>      *reloc_addr += l_addr;
> |> +  else if (ELF32_R_TYPE (reloc->r_info) == R_68K_NONE)
> |> +    return;
> |>    else
> |>      _dl_reloc_bad_type (map, ELF32_R_TYPE (reloc->r_info), 1);
> |>  }
> 
> This is just a workaround, it should be fixed in binutils eventually.

yes, I think it is still better to have the workaround in glibc 
for a while. 

Richard



More information about the Binutils mailing list