alpha: Warn DT_TEXTREL with -M
[deliverable/binutils-gdb.git] / bfd / elf32-mcore.c
index 7bca45850898d31570cc468df419b66559ce8744..faed590a0d36856c99fb6ea2524a95f41e8b1bd9 100644 (file)
@@ -1,5 +1,5 @@
 /* Motorola MCore specific support for 32-bit ELF
-   Copyright (C) 1994-2019 Free Software Foundation, Inc.
+   Copyright (C) 1994-2020 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -536,7 +536,7 @@ mcore_elf_relocate_section (bfd * output_bfd,
                      break;
 
                    if (* name == '\0')
-                     name = bfd_section_name (input_bfd, sec);
+                     name = bfd_section_name (sec);
                  }
 
                (*info->callbacks->reloc_overflow)
This page took 0.02731 seconds and 4 git commands to generate.