From bcd1475aec3dd6cee1c471a323215f58351ea5c0 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 2 Apr 1997 23:28:12 +0000 Subject: [PATCH] * run.c (main): Pass SIM_OPEN_STANDALONE to sim_open. --- sim/common/ChangeLog | 2 ++ sim/common/run.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 1c8cfd9..3d79b56 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 cb9fdab..1240445 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) { -- 2.7.4