X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf64-bpf.c;h=bf488af81f6409c996052dfaabd20d506b06cbfc;hb=5496abe1c5c31aa6648e8fdb15e4122025bcabfe;hp=3e11f089ecb7f0adda32a5eb1ab4a6f3d355e164;hpb=fc8de8e227e5146336d654f2fb4f98010d7cf12d;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf64-bpf.c b/bfd/elf64-bpf.c index 3e11f089ec..bf488af81f 100644 --- a/bfd/elf64-bpf.c +++ b/bfd/elf64-bpf.c @@ -1,5 +1,5 @@ /* Linux bpf specific support for 64-bit ELF - Copyright (C) 2019 Free Software Foundation, Inc. + Copyright (C) 2019-2020 Free Software Foundation, Inc. Contributed by Oracle Inc. This file is part of BFD, the Binary File Descriptor library. @@ -407,7 +407,7 @@ bpf_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED, name = bfd_elf_string_from_elf_section (input_bfd, symtab_hdr->sh_link, sym->st_name); - name = (name == NULL) ? bfd_section_name (input_bfd, sec) : name; + name = name == NULL ? bfd_section_name (sec) : name; } else {