This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] BFD/PA: Remove ATTRIBUTE_UNUSED from `elf_hppa_info_to_howto_rel'
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: <binutils at sourceware dot org>
- Cc: Nick Clifton <nickc at redhat dot com>
- Date: Wed, 28 Mar 2018 22:44:07 +0100
- Subject: [committed] 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"),
<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'.
---
Hi,
Regression-tested and committed as obvious.
Maciej
---
bfd/elf-hppa.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
binutils-hppa-bfd-info-to-howto-abfd.diff
Index: binutils/bfd/elf-hppa.h
===================================================================
--- binutils.orig/bfd/elf-hppa.h 2018-03-27 18:13:32.000000000 +0100
+++ binutils/bfd/elf-hppa.h 2018-03-27 18:14:06.509604711 +0100
@@ -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)
{