Commit d53475b5aa946752e3306b2ecb5a8c9c51cf8dd0
Committed by
Ingo Molnar
1 parent
3b47bfc1fc
Exists in
master
and in
7 other branches
ftrace: remove warning of old objcopy and local functions
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>
Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff
scripts/recordmcount.pl
... | ... | @@ -262,12 +262,6 @@ |
262 | 262 | |
263 | 263 | # only use locals if objcopy supports globalize-symbols |
264 | 264 | if (!$use_locals) { |
265 | - print STDERR | |
266 | - "$inputfile: WARNING: referencing local function " . | |
267 | - "$ref_func for mcount\n" . | |
268 | - "\tConsider upgrading objcopy to support the globalize-" . | |
269 | - "symbols option.\n" | |
270 | - if (!$local_warn_once++); | |
271 | 265 | return; |
272 | 266 | } |
273 | 267 | $convert{$ref_func} = 1; |