David E. O'Brien
2d57da023a
Back out the totally unapproved backout of my commits.
2003-03-29 03:03:42 +00:00
Ruslan Ermilov
112dc321de
Back out the removal (here too) of the "custom" version of
...
<sys/endian.h>. It is needed to cross-build sparc64 on
RELENG_4 and to build sparc64 on say 5.0-DP1 (on systems
without <sys/endian.h>). This will be revisited when we
create RELENG_5.
Spotted by: make universe
2003-02-19 15:25:07 +00:00
David E. O'Brien
6502570bbe
Use the offical sys/endian.h rather than reaching way over into another
...
binary's directory to use a private header.
2002-12-30 09:58:20 +00:00
Ruslan Ermilov
1c3fc710e2
Make it work for a different endianness binary.
...
(This version is still limited to ELF64.)
Reviewed by: jake
2002-05-25 13:43:16 +00:00
Ruslan Ermilov
b501b9b5c1
Bootstrap elf2aout(1) for sparc64; used to build sys/boot/sparc64/boot1.
2002-05-20 14:42:48 +00:00
Ruslan Ermilov
fa7e3ca68a
Kill the stray #include line.
2002-05-20 08:05:58 +00:00
Ruslan Ermilov
8aa98dece2
s/u_int/u_int32_t/
2002-05-20 07:56:40 +00:00
Jake Burkholder
fa5fb2ec22
Get byte swapping primitives from sys/endian.h now that they are exported
...
to userland. This makes elf2aout work as a cross tool.
2002-05-17 15:46:08 +00:00
David E. O'Brien
5d5aa91800
Utility to create a.out [kernels] from an ELF one.
...
This is needed on sparc64 (and maybe all OpenFirmware based machines) as
most [all?] OpenBoot PROM's require either an a.out or FCode boot image.
Submitted by: jake
2002-03-28 02:17:27 +00:00