aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-pru.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-pru.c')
-rw-r--r--bfd/elf32-pru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-pru.c b/bfd/elf32-pru.c
index d9be74f..054f165 100644
--- a/bfd/elf32-pru.c
+++ b/bfd/elf32-pru.c
@@ -905,7 +905,7 @@ pru_elf32_relocate_section (bfd *output_bfd,
symtab_hdr->sh_link,
sym->st_name);
if (name == NULL || *name == '\0')
- name = bfd_section_name (input_bfd, sec);
+ name = bfd_section_name (sec);
}
switch (r)