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]
Other format: [Raw text]

Re: "Error: constant too large" on mips gas


>>>>> On Fri, 15 Apr 2005 10:12:13 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> said:
anemo> Thanks, I have no problem with this.

No, I still have a problem ...

$ cat foo.s
	li	$8, 0x80000010
$ mips64-linux-as -64 foo.s
foo.s: Assembler messages:
foo.s:1: Error: Number (0x080000010) larger than 32 bits

Isn't this acceptable?  This code comes from linux-mips kernel.

In arch/mips/kernel/entry.S:
	li	t0, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT
Where:
#define TIF_SYSCALL_TRACE	31	/* syscall trace active */
#define _TIF_POLLING_NRFLAG	(1<<TIF_POLLING_NRFLAG)

Should we modify the kernel code?

Thank you.
---
Atsushi Nemoto


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