Update copyright year range in all GDB files
[deliverable/binutils-gdb.git] / sim / rl78 / load.c
index 563484c9dbfc00bc669bc0e59832ad6a2e211e7d..f89b5e69c4be359087ec396a488354d5dc5c2be8 100644 (file)
@@ -1,6 +1,6 @@
 /* load.c --- loading object files into the RL78 simulator.
 
-   Copyright (C) 2005-2018 Free Software Foundation, Inc.
+   Copyright (C) 2005-2021 Free Software Foundation, Inc.
    Contributed by Red Hat, Inc.
 
    This file is part of the GNU simulators.
@@ -56,7 +56,7 @@ find_section_name_by_offset (bfd *abfd, file_ptr filepos)
 
   for (s = abfd->sections; s; s = s->next)
     if (s->filepos == filepos)
-      return bfd_get_section_name (abfd, s);
+      return bfd_section_name (s);
 
   return "(unknown)";
 }
This page took 0.03467 seconds and 4 git commands to generate.