https://sourceware.org/bugzilla/show_bug.cgi?id=32624
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jan Beulich from comment #8)
> (In reply to H.J. Lu from comment #7)
> > Were you saying that ld was OK, but as generated wrong binary?
>
> No, the other way around: According to comment 5 gas generated a correct
> object file, but ld silently broke the code by applying an optimization it
> shouldn't have applied.
Were you saying that ld didn't handle R_386_GOT32 properly? FYI, elf32-i386.c
has
if (r_type == R_386_GOT32X
&& (h == NULL || h->type != STT_GNU_IFUNC))
{
Elf_Internal_Rela *irel = (Elf_Internal_Rela *) rel;
if (!elf_i386_convert_load_reloc (abfd, symtab_hdr, contents,
&r_type, irel, h,
&converted, info))
goto error_return;
}
--
You are receiving this mail because:
You are on the CC list for the bug.