Commit Graph

5 Commits

Author SHA1 Message Date
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
David E. O'Brien
6deb85d549 Adjust path to crunchide. 2002-12-30 09:55:42 +00:00
Bruce Evans
729cce8403 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
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
Jake Burkholder
e114d8ce12 Add a Makefile for this. 2002-04-22 04:08:01 +00:00