1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.sbin/btxld
Warner Losh 9f85041125 The boot loader is a FreeBSD a.out binary for x86, not a VAX binary.
Rather than writing out a MID of '0', write a MID of 0x86 (aka
MID_I386) so that file gets it right.

This is a nop for boot2.  It just checks the MAGIC part of the field,
ignoring the MID.  boot2 is the only thing that loads this file, and
only on x86 so the MID_i386 is always the right value (the rest of the
code is already x86 specific).

Reviewed by:	bde@, jhb@
MFC after:	8.0 is out the door :)
2009-09-10 00:47:32 +00:00
..
btx.h
btxld.8 Sort sections. 2005-01-18 20:02:45 +00:00
btxld.c The boot loader is a FreeBSD a.out binary for x86, not a VAX binary. 2009-09-10 00:47:32 +00:00
elfh.c
elfh.h
Makefile An old patch from Dan Lukes <dan at obluda.cz>: 2006-01-23 13:55:32 +00:00