From owner-freebsd-net Thu Aug 9 13:16:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 99A0037B405; Thu, 9 Aug 2001 13:16:21 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@[147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id NAA01273; Thu, 9 Aug 2001 13:15:34 -0700 (PDT) Message-ID: <XFMail.010809131528.jhb@FreeBSD.org> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010809120317.A2234@elvis.mu.org> Date: Thu, 09 Aug 2001 13:15:28 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Paul Saab <ps@mu.org> Subject: Re: Problem with pxeboot and binutils-2.11 Cc: Harti Brandt <brandt@fokus.gmd.de>, net@FreeBSD.org, current@FreeBSD.org, Mark Peek <mark@whistle.com>, David Malone <dwmalone@maths.tcd.ie> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-net.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-net> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-net> X-Loop: FreeBSD.org On 09-Aug-01 Paul Saab wrote: > David Malone (dwmalone@maths.tcd.ie) wrote: >> On Thu, Aug 09, 2001 at 11:12:32AM -0700, John Baldwin wrote: >> > > It appears that gas is now properly padding the end of the text >> > > section (and inserting the jmp and nops). This, in turn, misaligns >> > > the loader that is tacked onto the end of the pxeldr. I'm currently >> > > not setup to test pxeboot'ing but here's a patch that might fix it. >> > >> > The disassembly looks right, I just don't have a means for testing it. >> >> Oliver Hartmann tested Mark's patch and it seems to fix the problem. >> Mark's going to look into committing and (hopefully) merging the >> fix to -stable. > > Yes.. This fixes the problem. John's patch also works. Mark's patch is less hokey than mine. I've given him the goahead to commit his. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message