reinoud
e858ed8fa4
Not all ports use the `offset' in their calulations and on those platforms
...
compile errors are generated due to it. By explicitly using `offset=offset'
the variable is used in the compilers view and is optimised away anyway.
2002-02-11 20:25:56 +00:00
christos
c89e803d30
Remove USB copyrights. The coff and elf loading code did not come with BSD4.4.
2001-11-09 19:27:25 +00:00
scw
f1defc3543
To avoid backwards seeks on sequential devices (eq. QIC tapes), read all
...
the program headers in one operation into an internal buffer.
2001-11-09 18:31:08 +00:00
thorpej
0971f93345
Make the ELF loadfile routines byte-order independent when used in
...
a non-_STANDALONE environment (e.g. installboot(8)): internalize and
externalize the exec, program, and section headers as necessary.
Reviewed and OK'd by Christos.
2001-10-31 21:24:09 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
thorpej
4810d73020
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
...
objects.
2001-10-31 01:51:42 +00:00
thorpej
91626c3515
Split the exec formats included by loadfile() into separate files.
...
Primary goal: explcitly select which ELF format (elf32 or elf64) to
support for a cross tool which uses loadfile().
2001-10-30 23:51:03 +00:00