Go to file
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
arch New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
base New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
dev Import changeset 2003-10-07 10:41:54 -04:00
docs Move documentation pages from html into doxygen. Update Doxyfile to support BitKeeper 2003-10-07 14:54:10 -04:00
kern/tru64 Import changeset 2003-10-07 10:41:54 -04:00
sim New loader structure. Expand Nate's ObjectFile to automatically detect file formats 2003-10-07 23:13:01 -07:00
test Import changeset 2003-10-07 10:41:54 -04:00
util fixing CVS permissions oops 2003-10-07 11:51:47 -04:00
Doxyfile Move documentation pages from html into doxygen. Update Doxyfile to support BitKeeper 2003-10-07 14:54:10 -04:00
LICENSE Import changeset 2003-10-07 10:41:54 -04:00