gem5/base
Steve Reinhardt e475dba424 New loader structure. Expand Nate's ObjectFile to automatically detect file formats
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
2003-10-07 23:13:01 -07:00
..
aout_object.cc New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
aout_object.hh New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
bitfield.hh Import changeset 2003-10-07 10:41:54 -04:00
callback.hh Import changeset 2003-10-07 10:41:54 -04:00
circlebuf.cc Import changeset 2003-10-07 10:41:54 -04:00
circlebuf.hh Import changeset 2003-10-07 10:41:54 -04:00
coff_sym.h New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
coff_symconst.h New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
cprintf.cc Import changeset 2003-10-07 10:41:54 -04:00
cprintf.hh Import changeset 2003-10-07 10:41:54 -04:00
cprintf_formats.hh Import changeset 2003-10-07 10:41:54 -04:00
date.cc Import changeset 2003-10-07 10:41:54 -04:00
dbl_list.hh Import changeset 2003-10-07 10:41:54 -04:00
ecoff_object.cc New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
ecoff_object.hh New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
elf_object.cc New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
elf_object.hh New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
endian.hh Import changeset 2003-10-07 10:41:54 -04:00
exec_aout.h New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
exec_ecoff.h New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
fast_alloc.cc Import changeset 2003-10-07 10:41:54 -04:00
fast_alloc.hh Import changeset 2003-10-07 10:41:54 -04:00
fifo_buffer.cc Import changeset 2003-10-07 10:41:54 -04:00
fifo_buffer.hh Import changeset 2003-10-07 10:41:54 -04:00
hashmap.hh Import changeset 2003-10-07 10:41:54 -04:00
inet.cc Import changeset 2003-10-07 10:41:54 -04:00
inet.hh Import changeset 2003-10-07 10:41:54 -04:00
inifile.cc Import changeset 2003-10-07 10:41:54 -04:00
inifile.hh Import changeset 2003-10-07 10:41:54 -04:00
intmath.cc Import changeset 2003-10-07 10:41:54 -04:00
intmath.h Import changeset 2003-10-07 10:41:54 -04:00
kgdb.h Import changeset 2003-10-07 10:41:54 -04:00
misc.cc Import changeset 2003-10-07 10:41:54 -04:00
misc.hh Import changeset 2003-10-07 10:41:54 -04:00
mod_num.hh Import changeset 2003-10-07 10:41:54 -04:00
object_file.cc New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
object_file.hh New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
pollevent.cc Import changeset 2003-10-07 10:41:54 -04:00
pollevent.hh Import changeset 2003-10-07 10:41:54 -04:00
random.cc Import changeset 2003-10-07 10:41:54 -04:00
random.hh Import changeset 2003-10-07 10:41:54 -04:00
range.hh Import changeset 2003-10-07 10:41:54 -04:00
refcnt.hh Import changeset 2003-10-07 10:41:54 -04:00
remote_gdb.cc Import changeset 2003-10-07 10:41:54 -04:00
remote_gdb.hh Import changeset 2003-10-07 10:41:54 -04:00
res_list.hh Import changeset 2003-10-07 10:41:54 -04:00
sched_list.hh Import changeset 2003-10-07 10:41:54 -04:00
socket.cc Import changeset 2003-10-07 10:41:54 -04:00
socket.hh Import changeset 2003-10-07 10:41:54 -04:00
statistics.cc Import changeset 2003-10-07 10:41:54 -04:00
statistics.hh Import changeset 2003-10-07 10:41:54 -04:00
str.cc Import changeset 2003-10-07 10:41:54 -04:00
str.hh Import changeset 2003-10-07 10:41:54 -04:00
symtab.cc Import changeset 2003-10-07 10:41:54 -04:00
symtab.hh Import changeset 2003-10-07 10:41:54 -04:00
trace.cc Import changeset 2003-10-07 10:41:54 -04:00
trace.hh Import changeset 2003-10-07 10:41:54 -04:00