diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-02-05 20:16:41 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-05 20:27:25 -0500 |
commit | 1554f758410c4307103120424d35050e88433d85 (patch) | |
tree | 2fc28dcd23f29b5743526e726409337fb8ebb330 /sim/mips/configure | |
parent | bd8d853f779692d3d4f8dfb65cf173f7e080f498 (diff) | |
download | gdb-1554f758410c4307103120424d35050e88433d85.zip gdb-1554f758410c4307103120424d35050e88433d85.tar.gz gdb-1554f758410c4307103120424d35050e88433d85.tar.bz2 |
sim: mips: fix prog_bfd usage
We do not want to reference the "base" member directly. We have the
STATE_PROG_BFD macro instead to look up the prog_bfd member.
Diffstat (limited to 'sim/mips/configure')
-rwxr-xr-x | sim/mips/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mips/configure b/sim/mips/configure index 1e61e9d..94e75a5 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -14063,7 +14063,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 |