linux-mips
[Top] [All Lists]

Re: gnu tool-chain support for mips16?

To: jackson <jackson@realtek.com.tw>
Subject: Re: gnu tool-chain support for mips16?
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 6 Mar 2003 13:22:31 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <001a01c2e3ba$dd490e90$7405a8c0@realtek.com.tw>; from jackson@realtek.com.tw on Thu, Mar 06, 2003 at 04:32:02PM +0800
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <001a01c2e3ba$dd490e90$7405a8c0@realtek.com.tw>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Thu, Mar 06, 2003 at 04:32:02PM +0800, jackson wrote:

> I follow rules on http://www.ltc.com/~brad/mips/mips-cross-toolchain/
> to build gnu tool-cahin. 
> It works pefect for me to build linux/glibc/ulibc, and perform excellent
> on my Demo Board.
> 
> However, it report some bug messags as following when I compile a test.c 
> like:
> int test()
> {
>     return 0;
> }
> 
> ===================
> mips-linux-gcc -c -mips16 -o test test.c
> /tmp/ccjnCwV7.s: Assembler messages:
> /tmp/ccjnCwV7.s:14: Internal error!
> Assertion failure in macro_build_lui at ../../gas/config/tc-mips.c line 3107.
> Please report this bug.

All userspace with glibc, the standard userspace library environment for
Linux, must be PIC code and therefore the Linux compiler defaults to PIC
It's not possible to combine PIC code and MIPS16 ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>