Re: PR28055, segfault in bpf special reloc function

PR 28055
	* elf64-bpf.c (bpf_elf_generic_reloc): Add missing ATTRIBUTE_UNUSED.
This commit is contained in:
Alan Modra 2021-07-06 10:23:10 +09:30
parent 606afd7e11
commit 07b2745f85
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2021-07-06 Alan Modra <amodra@gmail.com>
PR 28055
* elf64-bpf.c (bpf_elf_generic_reloc): Add missing ATTRIBUTE_UNUSED.
2021-07-05 Alan Modra <amodra@gmail.com>
PR 28055

View File

@ -599,7 +599,7 @@ elf64_bpf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
static bfd_reloc_status_type
bpf_elf_generic_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
void *data, asection *input_section,
bfd *output_bfd,
bfd *output_bfd ATTRIBUTE_UNUSED,
char **error_message ATTRIBUTE_UNUSED)
{