ARM: 6318/1: ftrace: fix and update dynamic ftrace
[deliverable/linux.git] / scripts / recordmcount.pl
index e67f054860877d676fc4359ef2f670b5d7531479..022d4679b1b3bcd9e964b7d66bbf1e8e8e1cfc36 100755 (executable)
@@ -270,6 +270,8 @@ if ($arch eq "x86_64") {
 } elsif ($arch eq "arm") {
     $alignment = 2;
     $section_type = '%progbits';
+    $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_ARM_(CALL|PC24)" .
+                       "\\s+(__gnu_mcount_nc|mcount)\$";
 
 } elsif ($arch eq "ia64") {
     $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$";
This page took 0.035452 seconds and 5 git commands to generate.