Update copyright year range in all GDB files
[deliverable/binutils-gdb.git] / sim / rl78 / load.c
index c8c8ab89517ca1ef496d7b634c06de7f1c3f98a2..f89b5e69c4be359087ec396a488354d5dc5c2be8 100644 (file)
@@ -1,6 +1,6 @@
 /* load.c --- loading object files into the RL78 simulator.
 
 /* load.c --- loading object files into the RL78 simulator.
 
-   Copyright (C) 2005-2019 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.
    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)
 
   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)";
 }
 
   return "(unknown)";
 }
This page took 0.02351 seconds and 4 git commands to generate.