[Top] [All Lists]

Re: Returned mail: User unknown

Subject: Re: Returned mail: User unknown
From: Ralf Baechle <>
Date: Thu, 30 Jan 1997 16:36:32 +0100 (MET)
In-reply-to: <> from "Mail Delivery Subsystem" at Jan 30, 97 04:33:25 pm

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:


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


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