This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

The x86 gas seems broken.


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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]