From owner-freebsd-current Thu Aug 9 13:16:27 2001 Delivered-To: freebsd-current@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: 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 To: Paul Saab Subject: Re: Problem with pxeboot and binutils-2.11 Cc: Harti Brandt , net@FreeBSD.org, current@FreeBSD.org, Mark Peek , David Malone Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: 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 -- 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-current" in the body of the message