Commit Graph

12 Commits

Author SHA1 Message Date
Julian Elischer
2e89675af0 Revert..
not needed now
2004-09-01 20:42:38 +00:00
Julian Elischer
7d901dbf29 When non kernel programs try to define _KERNEL
it always ends in tears.

this is a temporary hack..
we'll remove it in a short while. I'll set teh MFC to remind me

MFC after:	1 week
2004-09-01 19:23:02 +00:00
David E. O'Brien
49a3940873 Adjust the system endian and a.out headers to be more MI and cross-building
friendly.  Use the systems headers rather than local versions.

Reviewed by:	ru
2004-06-22 17:05:39 +00:00
Ruslan Ermilov
8eb1c4caf9 Convert kgzip(8) to be an i386 cross-tool. This is needed for
cross-releasing i386 on different architectures.  This version
provides an i386 version of <a.out.h>, and handles endianness.

Tested on:	alpha, sparc64
2003-03-11 11:45:43 +00:00
Ruslan Ermilov
d6d4c35471 Get rid of the randomizing factor. 2003-03-09 21:39:52 +00:00
Ruslan Ermilov
05b451c6ed Make this work on non-i386 as well. (Needed for cross-releases.) 2003-02-04 16:01:00 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
David E. O'Brien
5e6220d9d0 * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-02 23:56:21 +00:00
Robert Nordier
35633713e5 Add support for creating a.out output files in addition to ELF.
This allows booting from compressed binaries using older bootstraps.

Thanks to: dwmalone
2000-11-04 13:02:00 +00:00
Kris Kennaway
b6c96d5da5 Don't call err() without a format string. 2000-07-12 00:35:53 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Robert Nordier
4566a1d1d3 kgzip is a kzip(8) replacement able to compress and link bootable
32-bit binaries in both ELF and a.out format.

Development sponsored by Global Technology Associates, Inc.

Reviewed/tested by: abial
1999-07-19 18:00:18 +00:00