lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Oct 2009 15:04:21 +0800
From:	Li Hong <>
To:	Steven Rostedt <>,
Subject: [PATCH 8/9] tracing: We won't use weak function as
	reference, remove the check

>From 4433c78ca3c0319fd75d1fd6d64929fa101e38a4 Mon Sep 17 00:00:00 2001
From: Li Hong <>
Date: Tue, 27 Oct 2009 13:25:39 +0800
Subject: [PATCH] tracing: We won't use weak function as reference, remove the check

Signed-off-by: Li Hong <>

diff --git a/scripts/ b/scripts/
index 490b4cd..867c24a 100755
--- a/scripts/
+++ b/scripts/
@@ -352,17 +352,6 @@ sub update_funcs
     return unless ($ref_func and @offsets);
-    # A section only had a weak function, to represent it.
-    # Unfortunately, a weak function may be overwritten by another
-    # function of the same name, making all these offsets incorrect.
-    # To be safe, we simply print a warning and bail.
-    if (defined $weak{$ref_func}) {
-	print STDERR
-	    "$inputfile: WARNING: referencing weak function" .
-	    " $ref_func for mcount\n";
-	return;
-    }
     # is this function static? If so, note this fact.
     if (defined $locals{$ref_func}) {

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists