X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Frx%2Fload.c;h=fcf3bf385443e2040c272ca9e8b225f6994cd36d;hb=17fc27167f678285d2f64040837b8cc41b6a664a;hp=8bff10f98fe22ea4c9c6a953cc388cbe0abbf3af;hpb=61baf725eca99af2569262d10aca03dcde2698f6;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/rx/load.c b/sim/rx/load.c index 8bff10f98f..fcf3bf3854 100644 --- a/sim/rx/load.c +++ b/sim/rx/load.c @@ -1,6 +1,6 @@ /* load.c --- loading object files into the RX simulator. -Copyright (C) 2005-2017 Free Software Foundation, Inc. +Copyright (C) 2005-2020 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)"; }