From owner-cvs-src-old@FreeBSD.ORG Thu Sep 10 00:47:45 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0960410657AB for ; Thu, 10 Sep 2009 00:47:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EC0128FC0A for ; Thu, 10 Sep 2009 00:47:44 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8A0li1p043346 for ; Thu, 10 Sep 2009 00:47:44 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8A0li9O043345 for cvs-src-old@freebsd.org; Thu, 10 Sep 2009 00:47:44 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <200909100047.n8A0li9O043345@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Thu, 10 Sep 2009 00:47:32 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/btxld btxld.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 00:47:45 -0000 imp 2009-09-10 00:47:32 UTC FreeBSD src repository Modified files: usr.sbin/btxld btxld.c Log: SVN rev 197051 on 2009-09-10 00:47:32Z by imp 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 :) Revision Changes Path 1.12 +1 -1 src/usr.sbin/btxld/btxld.c