This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] m68k: restore handling of R_68K_NONE in elf_machine_lazy_rel()
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Sergei Trofimovich <slyich at gmail dot com>
- Cc: libc-alpha at sourceware dot org, Sergei Trofimovich <siarheit at google dot com>, Roland McGrath <roland at hack dot frob dot com>
- Date: Sun, 30 Oct 2016 12:04:59 +0100
- Subject: Re: [PATCH] m68k: restore handling of R_68K_NONE in elf_machine_lazy_rel()
- Authentication-results: sourceware.org; auth=none
- References: <20161029134801.15082-1-slyich@gmail.com> <87pomjnp3v.fsf@linux-m68k.org> <20161029171527.423b573e@sf> <87lgx7nkr2.fsf@linux-m68k.org> <20161030101318.6971a5f5@sf>
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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."