linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Add option to pass return address location to _mcount

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH] MIPS: Add option to pass return address location to _mcount
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 29 Oct 2009 09:24:58 -0700
Cc: Richard Sandiford <rdsandiford@googlemail.com>, GCC Patches <gcc-patches@gcc.gnu.org>, linux-mips@linux-mips.org, Adam Nemet <anemet@caviumnetworks.com>, rostedt@goodmis.org, Ralf Baechle <ralf@linux-mips.org>, Nicholas Mc Guire <der.herr@hofr.at>
In-reply-to: <1256804045-31158-1-git-send-email-wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1256804045-31158-1-git-send-email-wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Wu Zhangjin wrote:
From: Wu Zhangjin <wuzhangjin@gmail.com>

[...]

2009-10-23  David Daney  <ddaney@caviumnetworks.com>

        * doc/invoke.texi (mmcount-ra-address): Document new command line 
option.
        * config/mips/mips.opt (config/mips/mips.opt): New option.
        * config/mips/mips-protos.h (mips_function_profiler): Declare new
        function.
        * config/mips/mips.c (struct mips_frame_info): Add ra_fp_offset member.
        (mips_for_each_saved_gpr_and_fpr): Set ra_fp_offset.
        (mips_function_profiler): Moved from FUNCTION_PROFILER, and rewritten.
        * config/mips/mips.h (FUNCTION_PROFILER): Body of macro moved to
        mips_function_profiler.

Tested-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>

Two things:

1) This is a GCC patch.  GCC doesn't use 'Signed-off-by'.

2) You cannot add my 'Signed-off-by', only I can do that. I would request that you remove it.

Thanks,
David Daney

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