From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7497 invoked by alias); 5 Apr 2005 04:28:55 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 7332 invoked from network); 5 Apr 2005 04:28:45 -0000 Received: from unknown (HELO topsns.toshiba-tops.co.jp) (202.230.225.5) by sourceware.org with SMTP; 5 Apr 2005 04:28:45 -0000 Received: from inside-ms1.toshiba-tops.co.jp by topsns.toshiba-tops.co.jp via smtpd (for sourceware.org [12.107.209.250]) with SMTP; 5 Apr 2005 04:28:45 UT Received: from topsms.toshiba-tops.co.jp (localhost.localdomain [127.0.0.1]) by localhost.toshiba-tops.co.jp (Postfix) with ESMTP id 8E4841F24F; Tue, 5 Apr 2005 13:28:43 +0900 (JST) Received: from srd2sd.toshiba-tops.co.jp (gw-chiba7.toshiba-tops.co.jp [172.17.244.27]) by topsms.toshiba-tops.co.jp (Postfix) with ESMTP id 783441F05D; Tue, 5 Apr 2005 13:28:43 +0900 (JST) Received: from localhost (fragile [172.17.28.65]) by srd2sd.toshiba-tops.co.jp (8.12.10/8.12.10) with ESMTP id j354Sg9c028927; Tue, 5 Apr 2005 13:28:43 +0900 (JST) (envelope-from anemo@mba.ocn.ne.jp) Date: Tue, 05 Apr 2005 04:28:00 -0000 Message-Id: <20050405.132842.65898090.nemoto@toshiba-tops.co.jp> To: macro@linux-mips.org Cc: binutils@sources.redhat.com Subject: Re: "Error: constant too large" on mips gas From: Atsushi Nemoto In-Reply-To: <20050405.113800.90370139.nemoto@toshiba-tops.co.jp> References: <20050404.175833.115610647.nemoto@toshiba-tops.co.jp> <20050405.113800.90370139.nemoto@toshiba-tops.co.jp> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00119.txt.bz2 >>>>> On Tue, 05 Apr 2005 11:38:00 +0900 (JST), Atsushi Nemoto said: anemo> Thank you. It works for the case I reported. And here is an anemo> another case: And yet another corner case: $ cat foo2.s .set mips3 ld $2, 0x80000000 dsrl32 $2, 0 sw $2, 0x80000008 .set mips0 $ mips-linux-as -32 foo2.s foo2.s: Assembler messages: foo2.s:2: Error: Number (0x080000000) larger than 32 bits foo2.s:4: Error: Number (0x080000008) larger than 32 bits I'm using '.set mips3' for "true" LD instruction (not two LW) in 32bit kernel mode. Is this legal or should I rewrite it? Thank you. --- Atsushi Nemoto