aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-03-28 22:42:17 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-03-28 22:42:17 +0100
commitd81270c36986a4e470b0017bad5f415a2f916616 (patch)
tree84f68a5385e43744d9b2ea7ff0b60874c7d84a7d /bfd
parent60dceb8d3b04ad8d19b6b6a5ca99b4077d2bb818 (diff)
downloadgdb-d81270c36986a4e470b0017bad5f415a2f916616.zip
gdb-d81270c36986a4e470b0017bad5f415a2f916616.tar.gz
gdb-d81270c36986a4e470b0017bad5f415a2f916616.tar.bz2
BFD/PA: Correct formatting in `elf_hppa_info_to_howto_rel'
Wrap the `_bfd_error_handler' call to fit in 80 columns, fixing commit e8f5af786c76 ("Use standardized error message for unrecognized relocs."). bfd/ * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct `_bfd_error_handler' call formatting.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf-hppa.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index daad818..ca8ea9f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2018-03-28 Maciej W. Rozycki <macro@mips.com>
+ * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct
+ `_bfd_error_handler' call formatting.
+
+2018-03-28 Maciej W. Rozycki <macro@mips.com>
+
* elf32-mips.c (mips_info_to_howto_rel): Call
`mips_elf32_rtype_to_howto' directly rather than via
`->elf_backend_mips_rtype_to_howto'.
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 95ac96c..a498c59 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -1051,7 +1051,8 @@ elf_hppa_info_to_howto_rel (bfd *abfd,
if (r_type >= (unsigned int) R_PARISC_UNIMPLEMENTED)
{
/* xgettext:c-format */
- _bfd_error_handler (_("%pB: unsupported relocation type %#x"), abfd, r_type);
+ _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+ abfd, r_type);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}