Re: Compiler/Assembler warnings <patch>

Alan Modra (alan@SPRI.Levels.UniSA.Edu.Au)
Thu, 16 Dec 1999 16:32:41 +1030 (CST)


On Wed, 15 Dec 1999, Chris Noe wrote:

> On Wed, 15 Dec 1999, Richard B. Johnson wrote:
> [...]
> > GAS is not lying. The code I fixed for the second time was broken.
> > There is no way that a "movl something, %ax" should ever even assemble.
> > | |____ short register
> > |__________________ long operand.
> >
> > And if you were told that warnings of this kind are preferable, preferable
> > to whom?
> [...]
>
> Segregs are an exception to the "movl xx, %ax" rule, for the reasons
> explained below by Alan Modra:

> [snip about compatibility with old binutils]

Hi Chris,
Your new bootsect code requires fairly recent binutils anyway. These
assembly warnings might as well be fixed in 2.3. Otherwise people will
keep posting fixes and queries, or even worse, bugging binutils
maintainers about these warnings :-)

-
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/