From 0d329c0a83a23cebb86fbe0ebddd780dc0df2424 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 28 Feb 2018 17:14:24 +1030 Subject: Nonsense error messages on invalid aout string offset translate_symbol_table returns false on detecting an out of range name string offset, hooray for error checking, but doesn't set bfd_error or print a useful error. bfd_error therefore contains whatever it had previously, in my testing, bfd_error_system_call. So the error printed depended on errno. PR 22887 * aoutx.h (translate_symbol_table): Print an error message and set bfd_error on finding an invalid name string offset. --- bfd/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 59f7c9c..446b978 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2018-02-28 Alan Modra + + PR 22887 + * aoutx.h (translate_symbol_table): Print an error message and set + bfd_error on finding an invalid name string offset. + 2018-02-27 H.J. Lu * config.in: Regenerated. -- cgit v1.1