]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/mips/configure
sim: mips: always resolve active bfd mach dynamically
authorMike Frysinger <vapier@gentoo.org>
Fri, 11 Nov 2022 15:57:05 +0000 (22:57 +0700)
committerMike Frysinger <vapier@gentoo.org>
Thu, 22 Dec 2022 03:27:11 +0000 (22:27 -0500)
commit0fb6c560ffa591fbb7f8aa7de4f6719e20ced208
tree2ce518bb0ad16f919ae3e86444dba188ee0e689e
parentf4ac2306058aecab760b05e425d089a1c86e0618
sim: mips: always resolve active bfd mach dynamically

Don't assume that the default bfd that we configured for is the one
that is always active when running a program.  We already have access
to the real runtime value, so use it directly.  This simplifies the
code quite a bit, and will make it easier to support multiple mach's
in a single binary.
sim/mips/configure
sim/mips/configure.ac
sim/mips/sim-main.h