linux-mips-fnet
[Top] [All Lists]

Re: Returned mail: User unknown

To: linux-mips@fnet.fr
Subject: Re: Returned mail: User unknown
From: Ralf Baechle <ralf@mailhost.uni-koblenz.de>
Date: Thu, 30 Jan 1997 16:36:32 +0100 (MET)
In-reply-to: <199701301533.QAA02726@informatik.uni-koblenz.de> from "Mail Delivery Subsystem" at Jan 30, 97 04:33:25 pm
Hi,

I found a minor profiling bug in the code generator of GCC 2.7.2.
When generating PIC code for a MIPS target the generated code
will not save/restore the GP register for the call to _mcount
for leaf functions (which due to the implicit call to _mcount
aren't really leaf functions) and make the assembler issue
warnings.  Tried on mipsel-linux target but should apply to
all MIPS ELF targets which don't use the 64bit ABI.

The test code which demonstrates this bug is:

foo()
{
}

compilation command used is "gcc -O2 -p -c -o test.o test.c".

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Returned mail: User unknown, Ralf Baechle <=