Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 May 2000 12:51:06 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Dag-Erling Smorgrav <des@flood.ping.uio.no>
Subject:   Re: cvs commit: src/sys/boot/i386/boot0 boot0.m4 boot0.s
Message-ID:  <200005061651.MAA22205@server.baldwin.cx>
In-Reply-To: <Pine.BSF.4.21.0005070030240.8446-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 06-May-00 Bruce Evans wrote:
> On 5 May 2000, Dag-Erling Smorgrav wrote:
> 
>> John Baldwin <jhb@FreeBSD.org> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005061651.MAA22205>