diff options
Diffstat (limited to 'scripts/recordmcount.pl')
| -rwxr-xr-x | scripts/recordmcount.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index e67f05486087..022d4679b1b3 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl | |||
| @@ -270,6 +270,8 @@ if ($arch eq "x86_64") { | |||
| 270 | } elsif ($arch eq "arm") { | 270 | } elsif ($arch eq "arm") { |
| 271 | $alignment = 2; | 271 | $alignment = 2; |
| 272 | $section_type = '%progbits'; | 272 | $section_type = '%progbits'; |
| 273 | $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_ARM_(CALL|PC24)" . | ||
| 274 | "\\s+(__gnu_mcount_nc|mcount)\$"; | ||
| 273 | 275 | ||
| 274 | } elsif ($arch eq "ia64") { | 276 | } elsif ($arch eq "ia64") { |
| 275 | $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$"; | 277 | $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$"; |
