[PATCH] m68k: restore handling of R_68K_NONE in elf_machine_lazy_rel()
Sergei Trofimovich
slyich@gmail.com
Tue Nov 8 23:56:00 GMT 2016
On Sun, 30 Oct 2016 12:04:59 +0100
Andreas Schwab <schwab@linux-m68k.org> wrote:
> On Okt 30 2016, Sergei Trofimovich <slyich@gmail.com> wrote:
>
> > Is there a reason to allow R_68K_NONE for non-lazy relocations
> > in elf_machine_rela()
> >
> > + case R_68K_NONE: /* Alright, Wilbur. */
> > + break;
> >
> > but forbid R_68K_NONE for lazy relocations
> > in elf_machine_lazy_rel()
>
> Because the latter must never happen. Please file a binutils bug with a
> self-contained test case.
Finally extracted one. Filed as:
https://sourceware.org/bugzilla/show_bug.cgi?id=20796
It is triggered by a mix of -Wl,--gc-sections, -u buggy_symbol
and a shared library where 'buggy_symbol' comes from.
And while at it filed minor bug about R_68K_NONE relocations
to be present in final binaries:
https://sourceware.org/bugzilla/show_bug.cgi?id=20797
--
Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: æøÃÂÃÂþòðàÿþôÿøÃÂàOpenPGP
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161108/b4e1dd57/attachment.sig>
More information about the Libc-alpha
mailing list