From owner-cvs-all Sat May 6 9:51:24 2000 Delivered-To: cvs-all@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 7A40337B54C; Sat, 6 May 2000 09:51:14 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id MAA22205; Sat, 6 May 2000 12:51:06 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200005061651.MAA22205@server.baldwin.cx> 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: Date: Sat, 06 May 2000 12:51:06 -0400 (EDT) From: John Baldwin To: Bruce Evans Subject: Re: cvs commit: src/sys/boot/i386/boot0 boot0.m4 boot0.s Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Dag-Erling Smorgrav Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-May-00 Bruce Evans wrote: > On 5 May 2000, Dag-Erling Smorgrav wrote: > >> John Baldwin writes: >> > [...] Unfortunately, due to as(1) brokenness, we still use m4 >> > macros for all 16-bit addresses, and all short jumps (i.e., 8-bit >> > relative addresses in the jump instruction) must be wrapped in .code32 >> > directives to avoid useless bloat by as(1). >> >> Any hope of seeing gas fixed to handle this properly? Or is that a >> feature? > > This seems to be fixed in current (unreleased) versions of binutils. > binutils_2.9.1.0.19a handles the 16-bit boot code in Linux-3.x properly. Nice. Does it handle near jmp's correctly as well? I.e. does it still insist on overriding the instruction to use 32-bit operands and use a 32-bit relative offset, or does it just use a 16-bit relative offset? > Bruce -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message