]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/rx/load.c
Update copyright year range in all GDB files
[thirdparty/binutils-gdb.git] / sim / rx / load.c
index 65451ca8216a57055430d519e6535301581ef43e..d74f4ff3872ee1387806bd0b135fe9af4af0b4d2 100644 (file)
@@ -1,6 +1,6 @@
 /* load.c --- loading object files into the RX 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.
@@ -52,7 +52,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)";
 }