Emit a warning when -z relro is unsupported
[deliverable/binutils-gdb.git] / sim / m32c / trace.c
index e507c978b831cbda66642e26a56e2d0e93561cf1..df28159422685c79e69f37291b3a6598ac1108b2 100644 (file)
@@ -1,6 +1,6 @@
 /* trace.c --- tracing output for the M32C simulator.
 
-Copyright (C) 2005-2019 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.
@@ -231,7 +231,7 @@ sim_disasm_one (void)
          if (s->flags & SEC_CODE || code_section == 0)
            {
              code_section = s;
-             code_base = bfd_section_lma (current_bfd, s);
+             code_base = bfd_section_lma (s);
              break;
            }
        }
This page took 0.022769 seconds and 4 git commands to generate.