summaryrefslogtreecommitdiff
path: root/sim/mips/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mips/configure.ac')
-rw-r--r--sim/mips/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 476fc3562f6..823a00ce4f1 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -259,7 +259,7 @@ sim_engine_run (SIM_DESC sd,
if (STATE_ARCHITECTURE (sd) == NULL)
mach = bfd_mach_${sim_multi_default};
- else if (elf_elfheader (sd->base.prog_bfd)->e_flags
+ else if (elf_elfheader (STATE_PROG_BFD (sd))->e_flags
& EF_MIPS_ARCH_ASE_MICROMIPS)
mach = bfd_mach_mips_micromips;
else