e475dba424
and generate an appropriate child object, which knows how to load its text & data into memory (and symbols, for ecoff only at this point). Ecoff format supports Tru64 binaries, kernel, and console. A.out format is used by PAL code. Elf support is there and appears to work for Alpha/Linux binaries, but awaits a Linux syscall emulation layer before further testing. arch/alpha/ecoff_machdep.h: base/coff_sym.h: base/coff_symconst.h: base/exec_ecoff.h: Add Id string & provenance comment, clean up types base/object_file.cc: base/object_file.hh: Add auto format detection and text/data loading. sim/prog.cc: Moved binary loading & stack setup here (was in arch/alpha/loader.cc). Some of this is platform-dependent, but I think most of it is not. We'll factor out the platform-dependent parts when the need arises. sim/prog.hh: Get rid of unused environ_base field. sim/system.cc: Use new ObjectFile loader structure for console, kernel, & palcode. --HG-- extra : convert_revision : 8eae509bf71cf204bc3ec78c68699cfd01baed97 |
||
---|---|---|
.. | ||
cache | ||
async.hh | ||
base_cpu.cc | ||
base_cpu.hh | ||
debug.cc | ||
debug.hh | ||
eventq.cc | ||
eventq.hh | ||
exec_context.cc | ||
exec_context.hh | ||
exetrace.cc | ||
exetrace.hh | ||
host.hh | ||
hybrid_pred.cc | ||
hybrid_pred.hh | ||
intr_control.cc | ||
intr_control.hh | ||
main.cc | ||
memtest.cc | ||
memtest.hh | ||
op_class.hh | ||
param.cc | ||
param.hh | ||
pc_event.cc | ||
pc_event.hh | ||
predictor.hh | ||
prog.cc | ||
prog.hh | ||
sat_counter.cc | ||
sat_counter.hh | ||
serialize.cc | ||
serialize.hh | ||
sim_events.cc | ||
sim_events.hh | ||
sim_exit.hh | ||
sim_object.cc | ||
sim_object.hh | ||
sim_time.cc | ||
sim_time.hh | ||
simple_cpu.cc | ||
simple_cpu.hh | ||
smt.hh | ||
static_inst.cc | ||
static_inst.hh | ||
std_types.hh | ||
system.cc | ||
system.hh | ||
universe.cc |