This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 6/6] PR binutils/22875: HPPA/ELF: Also fail with relocation placeholders
- From: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at mips dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, Dave Anglin <dave dot anglin at nrc dot ca>, Jeff Law <law at redhat dot com>, binutils at sourceware dot org
- Date: Fri, 30 Mar 2018 23:31:31 +1030
- Subject: Re: [PATCH 6/6] PR binutils/22875: HPPA/ELF: Also fail with relocation placeholders
- References: <alpine.DEB.2.00.1803282251560.2163@tp.orcam.me.uk> <alpine.DEB.2.00.1803291817010.2163@tp.orcam.me.uk>
On Thu, Mar 29, 2018 at 06:35:06PM +0100, Maciej W. Rozycki wrote:
> Do not consider R_PARISC_UNIMPLEMENTED placeholder relocation entries of
> the `elf_hppa_howto_table' table valid in `info_to_howto' HPPA handlers.
> Instead issue an unsupported relocation type error and return a NULL
> howto as with relocations whose number is R_PARISC_UNIMPLEMENTED or
> beyond.
>
> bfd/
> * elf-hppa.h (elf_hppa_info_to_howto): Also return
> unsuccessfully for unimplemented relocations.
> (elf_hppa_info_to_howto_rel): Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM