Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d53475b5 authored by Steven Rostedt's avatar Steven Rostedt Committed by Ingo Molnar
Browse files

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: default avatarSteven Rostedt <srostedt@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3b47bfc1
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -262,12 +262,6 @@ sub update_funcs


	# only use locals if objcopy supports globalize-symbols
	# only use locals if objcopy supports globalize-symbols
	if (!$use_locals) {
	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;
	    return;
	}
	}
	$convert{$ref_func} = 1;
	$convert{$ref_func} = 1;