[committed] BFD/PA: Remove ATTRIBUTE_UNUSED from `elf_hppa_info_to_howto_rel'
Maciej W. Rozycki
macro@mips.com
Wed Mar 28 21:44:00 GMT 2018
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)
{
More information about the Binutils
mailing list