Only give FDE encoding warnings if --eh-frame-hdr was specified.
[deliverable/binutils-gdb.git] / sim / m32c / trace.c
index e5bb4ff44d62ddb4de9ec6d80449d2ee02c9876e..bc75d15e3c9b59799b88314165c093bcc69e5e7c 100644 (file)
@@ -1,6 +1,6 @@
 /* trace.c --- tracing output for the M32C simulator.
 
-Copyright (C) 2005-2017 Free Software Foundation, Inc.
+Copyright (C) 2005-2019 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.024082 seconds and 4 git commands to generate.