This is the mail archive of the binutils@sourceware.cygnus.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]

a bug in as


Hi,

I got this report. The code is wrong. But as message doesn't help
either. Is there a way for as to report correct line number? Also
it shouldn't be an internal error.


H.J.
---
From okuji@kuicr.kyoto-u.ac.jp  Tue Jul 13 09:08:44 1999
Return-Path: <okuji@kuicr.kyoto-u.ac.jp>
Delivered-To: hjl@lucon.org
Received: from duff.kuicr.kyoto-u.ac.jp (duff.kuicr.kyoto-u.ac.jp [133.103.101.254])
	by ocean.lucon.org (Postfix) with ESMTP id B24C157BA
	for <hjl@lucon.org>; Tue, 13 Jul 1999 09:08:42 -0700 (PDT)
Received: from localhost (okuji@pppD225.kyoto-inet.or.jp [210.134.124.95])
	by duff.kuicr.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id BAA16754
	for <hjl@lucon.org>; Wed, 14 Jul 1999 01:08:04 +0900
To: hjl@lucon.org
Subject: a bug in as
From: OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
X-Mailer: Mew version 1.93 on Emacs 20.3 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <19990713232801E.okuji@kuicr.kyoto-u.ac.jp>
Date: Tue, 13 Jul 1999 23:28:01 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 35

  Hello,

  I found a bug in GNU Assembler (binutils-2.9.1.0.25,
i586-linux-gnu). My code is actually more complex, but I can reproduce
the bug by assembling this:

	.file "check.s"
	.text
foo:
	jmp	bar
	. = foo + 4
	.byte	0
	.byte	0
	. = foo
poo:
	.byte 0
bar:
	cli


% as check.s -o check
check.s: Assembler messages:
check.s:12: Error: attempt to .org backwards ignored
check.s:12: Error: attempt to .org backwards ignored
check.s:12: Error: attempt to .org/.space backwards? (-2)
check.s:12: Internal error!
Assertion failure in write_contents at write.c line 1106.
Please report this bug.


Regards,
OKUJI
----------------------------------------------------------------------
OKUJI Yoshinori  <okuji@kuicr.kyoto-u.ac.jp>           ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English)     m /


-- 
H.J. Lu (hjl@gnu.org)

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