Commit Graph

14 Commits

Author SHA1 Message Date
ru
54d390266a Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
ru
1edab47bcf For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
obrien
151315bd69 Back out the totally unapproved backout of my commits. 2003-03-29 03:03:42 +00:00
ru
0e6f316c1b 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
obrien
89cc21e24e 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
obrien
cdbc4fe999 Adjust path to crunchide. 2002-12-30 09:55:42 +00:00
bde
9038d220aa Set NO_WERROR to ignore the following warning which is emitted on
alphas:
    .../elf2aout.c:130: warning: cast increases required alignment of
    target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
2002-07-11 18:06:09 +00:00
ru
3b0422bd28 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
ru
4735f2e477 Bootstrap elf2aout(1) for sparc64; used to build sys/boot/sparc64/boot1. 2002-05-20 14:42:48 +00:00
ru
b18adc352d Kill the stray #include line. 2002-05-20 08:05:58 +00:00
ru
4e9ee61f4a s/u_int/u_int32_t/ 2002-05-20 07:56:40 +00:00
jake
9be569dfbe 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
jake
b79a67ed73 Add a Makefile for this. 2002-04-22 04:08:01 +00:00
obrien
e7324d8249 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