[binutils-gdb] BFD/PA: Correct formatting in `elf_hppa_info_to_howto_rel'

Maciej W.Rozycki macro@sourceware.org
Wed Mar 28 21:43:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d81270c36986a4e470b0017bad5f415a2f916616

commit d81270c36986a4e470b0017bad5f415a2f916616
Author: Maciej W. Rozycki <macro@mips.com>
Date:   Wed Mar 28 22:42:17 2018 +0100

    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.

Diff:
---
 bfd/ChangeLog  | 5 +++++
 bfd/elf-hppa.h | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

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;
     }



More information about the Binutils-cvs mailing list