From: Maciej W. Rozycki Date: Wed, 28 Mar 2018 21:42:17 +0000 (+0100) Subject: BFD/PA: Remove ATTRIBUTE_UNUSED from `elf_hppa_info_to_howto_rel' X-Git-Tag: users/gbenson/thread_db-test/2018-05-23~504 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b6a949ae55d3adbade84af4e11415d764647fc9;p=thirdparty%2Fbinutils-gdb.git BFD/PA: Remove ATTRIBUTE_UNUSED from `elf_hppa_info_to_howto_rel' 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"), , made it used. bfd/ * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove ATTRIBUTE_UNUSED from `abfd'. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca8ea9f5495..21545593c74 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-03-28 Maciej W. Rozycki + + * elf-hppa.h (elf_hppa_info_to_howto_rel): Remove + ATTRIBUTE_UNUSED from `abfd'. + 2018-03-28 Maciej W. Rozycki * elf-hppa.h (elf_hppa_info_to_howto_rel): Correct diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h index a498c596849..59c0c4fa63e 100644 --- a/bfd/elf-hppa.h +++ b/bfd/elf-hppa.h @@ -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) {