linux-mips
[Top] [All Lists]

Re: .reginfo and .mdebug section

To: Long Li <long21st@yahoo.com>
Subject: Re: .reginfo and .mdebug section
From: "H. J. Lu" <hjl@lucon.org>
Date: Tue, 17 Dec 2002 10:02:03 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20021217084303.20121.qmail@web40407.mail.yahoo.com>; from long21st@yahoo.com on Tue, Dec 17, 2002 at 12:43:03AM -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20021217084303.20121.qmail@web40407.mail.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Tue, Dec 17, 2002 at 12:43:03AM -0800, Long Li wrote:
> Hi, 
> 
> I have some problems after building a linux-mips cross
> compiler on Red Hat7.1. 
> 
> 1. I tried to compile some c code targetting mips4k,
> which is 32-bit ISA. However, the map file tells me
> that the compiled code are 64-bit, since the address
> are 64-bit.

Mine is 32bit.

> 
> 2. When I compiled the c code, I found in the mapfile
> that there are some sections called .reginfo and
> .mdebug. What are those sections? I would like to get
> rid of them. However, they still exists even if I
> deleted the '-g' option for gcc. Is there a way I can
> avoid the .reginfo and .mdebug sections?

Your toolchain is very old. The newer ones no longer use .mdebug.


H.J.

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