aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-04-04 02:00:49 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-04-04 02:00:49 +0100
commit8ee55178c22326c3624ad5872dc5382341ddcd2c (patch)
treeed5170a757ce1f4764ff17d5c321fadbef7b4b4d /bfd/ChangeLog
parent5d7c8b80485d75242e7c78e79b3ecb4c71abaee3 (diff)
downloadgdb-8ee55178c22326c3624ad5872dc5382341ddcd2c.zip
gdb-8ee55178c22326c3624ad5872dc5382341ddcd2c.tar.gz
gdb-8ee55178c22326c3624ad5872dc5382341ddcd2c.tar.bz2
PR binutils/22875: HPPA/ELF: Also fail with relocation placeholders
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ea2a5ab..8921ab0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2018-04-04 Maciej W. Rozycki <macro@mips.com>
+ * elf-hppa.h (elf_hppa_info_to_howto): Also return
+ unsuccessfully for unimplemented relocations.
+ (elf_hppa_info_to_howto_rel): Likewise.
+
+2018-04-04 Maciej W. Rozycki <macro@mips.com>
+
* elf32-i860.c (lookup_howto): Add `abfd' parameter. Set the
`bfd_error_bad_value' error and call `_bfd_error_handler' on a
howto lookup failure.