X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Frecordmcount.pl;h=1d7963f4ee79b853055337f3eed7ca80731dc667;hb=e38302f78284e3e80ffc2eef54001fce7d183bd4;hp=e67f054860877d676fc4359ef2f670b5d7531479;hpb=6b5b817f103450444f3f658a498f435d92a197e5;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index e67f05486087..1d7963f4ee79 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -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|THM_CALL)" . + "\\s+(__gnu_mcount_nc|mcount)\$"; } elsif ($arch eq "ia64") { $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$";