From 1b469e77494217d3041e4b08cc9d881cb6ae736a Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 5 Aug 2009 22:00:14 -0400 Subject: [PATCH] --- yaml --- r: 156565 b: refs/heads/master c: 3f6e968ef4e1d8d93d8a8505461b0e50a9e97ad8 h: refs/heads/master i: 156563: eabd877dad2964545f29a9fc92f321544d5885ce v: v3 --- [refs] | 2 +- trunk/scripts/recordmcount.pl | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9f04beb9dcf1..cefa23c75488 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 464e85eb0e63096bd52e4c3e2a6fb8357fb95828 +refs/heads/master: 3f6e968ef4e1d8d93d8a8505461b0e50a9e97ad8 diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index d29baa2e063a..4889c44d71b5 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -414,7 +414,10 @@ sub update_funcs $offset = hex $1; } else { # if we already have a function, and this is weak, skip it - if (!defined($ref_func) && !defined($weak{$text})) { + if (!defined($ref_func) && !defined($weak{$text}) && + # PPC64 can have symbols that start with .L and + # gcc considers these special. Don't use them! + $text !~ /^\.L/) { $ref_func = $text; $offset = hex $1; }