Skip to content

Commit

Permalink
ftrace: remove warning of old objcopy and local functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Oct 14, 2008
1 parent 3b47bfc commit d53475b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/recordmcount.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d53475b

Please sign in to comment.