]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ftrace: remove warning of old objcopy and local functions
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 27 Aug 2008 17:02:01 +0000 (13:02 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:25 +0000 (10:36 +0200)
The warning messages about old objcopy and local functions spam the
user quite drastically.  Remove the warning until we can find a nicer
way of tell the user to upgrade their objcopy.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/recordmcount.pl

index ee9e12676776839c377a995713c3a0c71eed5985..f56d760bd589d47ff8e59762eac2ae36424e35aa 100755 (executable)
@@ -262,12 +262,6 @@ sub update_funcs
 
        # only use locals if objcopy supports globalize-symbols
        if (!$use_locals) {
-           print STDERR
-               "$inputfile: WARNING: referencing local function " .
-               "$ref_func for mcount\n" .
-               "\tConsider upgrading objcopy to support the globalize-" .
-               "symbols option.\n"
-               if (!$local_warn_once++);
            return;
        }
        $convert{$ref_func} = 1;