From owner-freebsd-net Fri Aug 10 3:29:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id C888937B412; Fri, 10 Aug 2001 03:29:08 -0700 (PDT) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id MAA20718; Fri, 10 Aug 2001 12:29:05 +0200 (MET DST) Date: Fri, 10 Aug 2001 12:29:05 +0200 (CEST) From: Harti Brandt To: Mark Peek Cc: , Subject: Re: Problem with pxeboot and binutils-2.11 In-Reply-To: Message-ID: <20010810122451.W48634-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 9 Aug 2001, Mark Peek wrote: MP>At 4:46 PM +0200 8/9/01, Harti Brandt wrote: MP>>Unfortunately we're not able to find out what new bug^h^h^hfeature of MP>>gas or libbfd causes this behaviour. A simple workaround is to strip the MP>>excess bytes from pxeldr just before building pxeboot, but that is REALLY MP>>ugly: MP> MP> MP>It appears that gas is now properly padding the end of the text MP>section (and inserting the jmp and nops). This, in turn, misaligns MP>the loader that is tacked onto the end of the pxeldr. I'm currently MP>not setup to test pxeboot'ing but here's a patch that might fix it. Don't know, whether it's the right thing to be 'intelligent' for an assembler. I think programing languages which try to guess what the programmer might think are evil. But anyway, your patch works. Thanks. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, harti@begemot.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message