lkml.org 
[lkml]   [1999]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.21
On Tue, 12 Oct 1999, Linus Torvalds wrote:

> On Tue, 12 Oct 1999, Dieter Kraft wrote:
> > bbootsect.s:619: Error: base/index register must be 32 bit register
>
> That's actually a gas bug, introduced when the gas people tightened up
> their requirements, and they seem to have tightened them a bit too much.
> The 16-bit register is actually the correct one in 16-bit mode, and a
> 32-bit register is very much not correct.

$ as -o bootsect.o bootsect.s
$ as --version
GNU assembler 2.9.5
[...]

So the above error pertains to old as releases.

> Who maintains gas these days? We'll make the kernel use the 32-bit
> register to work around the gas bug for now, but it definitely IS a gas
> bug, and it would be good to get it fixed.

It was fixed long time ago. Anyway using binutils from 2.9.1 series for
16-bit code is at least risky -- misassembles are quite normal with them,
not even regarding the linker. On the other hand, 2.9.4 and 2.9.5 are
probably safe but they are not release versions. Actually, 2.9.1.0.25
might work well, too, but be cautious.

Bug reports are normally sent to <bug-gnu-utils@gnu.org>; there is also a
mailing list at <binutils@sourceware.cygnus.com> for these who are
interested in binutils development.

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.030 / U:22.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site