From: David Edelsohn Date: Wed, 2 Apr 1997 23:28:12 +0000 (+0000) Subject: * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcd1475aec3dd6cee1c471a323215f58351ea5c0;p=binutils-gdb.git * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 1c8cfd9448e..3d79b5696bb 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,7 @@ Wed Apr 2 15:06:28 1997 Doug Evans + * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. + * aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h. (sim-debug): Allow arguments. Define WITH_DEBUG in addition to -DDEBUG. diff --git a/sim/common/run.c b/sim/common/run.c index cb9fdab8ef1..1240445c7a7 100644 --- a/sim/common/run.c +++ b/sim/common/run.c @@ -46,6 +46,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "callback.h" #include "remote-sim.h" +#include "../libiberty/alloca-conf.h" + static void usage PARAMS ((void)); extern int optind; extern char *optarg; @@ -185,7 +187,7 @@ main (ac, av) /* Ensure that any run-time initialisation that needs to be performed by the simulator can occur. */ - sd = sim_open (sim_argv); + sd = sim_open (SIM_OPEN_STANDALONE, sim_argv); for (s = abfd->sections; s; s = s->next) {