This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
The x86 gas seems broken.
- To: Artur Frysiak <wiget at pld dot org dot pl>
- Subject: The x86 gas seems broken.
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Wed, 25 Jul 2001 11:03:21 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <20010725121800.C12346@free.buy.pl> <20010725095508.B12404@lucon.org> <20010725193357.E29439@free.buy.pl>
On Wed, Jul 25, 2001 at 07:33:57PM +0200, Artur Frysiak wrote:
> On Wed, Jul 25, 2001 at 09:55:08AM -0700, H . J . Lu wrote:
> > On Wed, Jul 25, 2001 at 12:18:01PM +0200, Artur Frysiak wrote:
> > > Hello.
> > > I catch this bug:
> > > as -o bin/prloader.tmp bin/prloader.s
> > > bin/prloader.s: Assembler messages:
> > > bin/prloader.s:107: Error: attempt to .org/.space backwards? (-5)
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Please fix it first.
> >
> > > bin/prloader.s:316: Internal error!
> > > Assertion failure in write_contents at write.c line 1189.
> > > Please report this bug.
>
> but gas from binutils 2.10.1.0.4 compiles this file.
> Any hints?
>
You are right. It seems a new bug.
# gcc -c o.s
o.s: Assembler messages:
o.s:10: Error: attempt to .org/.space backwards? (-2)
o.s:12: Internal error!
Assertion failure in write_contents at write.c line 1189.
Please report this bug.
Any ideas?
H.J.
----o.s---
.text
.org 0
_start:
.word 0xAA55
size:
jmp over
jmp legacyentry
mfgstr:
.asciz "Etherboot"
.fill 0x18-(.-_start)
over:
legacyentry: