This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] m68k: restore handling of R_68K_NONE in elf_machine_lazy_rel()


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

Attachment: pgpCfxSpLHEUK.pgp
Description: Цифровая подпись OpenPGP


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