]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
BFD/PA: Remove ATTRIBUTE_UNUSED from `elf_hppa_info_to_howto_rel'
authorMaciej W. Rozycki <macro@mips.com>
Wed, 28 Mar 2018 21:42:17 +0000 (22:42 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Wed, 28 Mar 2018 21:42:17 +0000 (22:42 +0100)
Remove ATTRIBUTE_UNUSED annotation from the `abfd' parameter in
`elf_hppa_info_to_howto' now that commit f3185997ac09 ("PR 22875: Stop
strip corrupting unknown relocs"),
<https://sourceware.org/ml/binutils/2018-02/msg00445.html>, made it
used.

bfd/
* elf-hppa.h (elf_hppa_info_to_howto_rel): Remove
ATTRIBUTE_UNUSED from `abfd'.

bfd/ChangeLog
bfd/elf-hppa.h

index ca8ea9f549502e1ceac8c122e4a0eebd1d4f6ed2..21545593c747ed800c8307ce0a3d9227b19bfd5b 100644 (file)
@@ -1,3 +1,8 @@
+2018-03-28  Maciej W. Rozycki  <macro@mips.com>
+
+       * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove
+       ATTRIBUTE_UNUSED from `abfd'.
+
 2018-03-28  Maciej W. Rozycki  <macro@mips.com>
 
        * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct
index a498c596849589eff65e6d601e2d9cb200ef077d..59c0c4fa63edb93ed8135cee67c820b2d6c9f59d 100644 (file)
@@ -1021,7 +1021,7 @@ _bfd_elf_hppa_gen_reloc_type (bfd *abfd,
 /* Translate from an elf into field into a howto relocation pointer.  */
 
 static bfd_boolean
-elf_hppa_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
+elf_hppa_info_to_howto (bfd *abfd,
                        arelent *bfd_reloc,
                        Elf_Internal_Rela *elf_reloc)
 {