* Makefile.in (SIM_OBJS): Add sim-load.o.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Apr 1997 10:23:48 +0000 (10:23 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Apr 1997 10:23:48 +0000 (10:23 +0000)
commit9d52bcb7f0d1533fffd0c950438386e840dcaf01
treec8067f2d8a1e1a49c7485b24ba2175dd1f35514e
parent463372706f4bf9fe4693d455217496a1f1b8aeb6
* Makefile.in (SIM_OBJS): Add sim-load.o.
* interp.c: #include bfd.h.
(target_byte_order): Delete.
(sim_kind, myname, big_endian_p): New static locals.
(sim_open): Set sim_kind, myname.  Move call to set_endianness to
after argument parsing.  Recognize -E arg, set endianness accordingly.
(sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
load file into simulator.  Set PC from bfd.
(sim_create_inferior): Return SIM_RC.  Delete arg start_address.
(set_endianness): Use big_endian_p instead of target_byte_order.
sim/mips/ChangeLog
sim/mips/interp.c