X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=scripts%2Frecordmcount.pl;h=397b6b84e8c55f801066460ee1a22007cacc95ad;hb=6980c3e2514e5ae36b43ec8302f4920d6e3c9434;hp=91280b82da0874787e6947a18ed8381d1567b483;hpb=139f4b836b075abfd79199e727312f7766e0347c;p=deliverable%2Flinux.git diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 91280b82da08..397b6b84e8c5 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -279,6 +279,11 @@ if ($arch eq "x86_64") { $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_ARM_(CALL|PC24|THM_CALL)" . "\\s+(__gnu_mcount_nc|mcount)\$"; +} elsif ($arch eq "arm64") { + $alignment = 3; + $section_type = '%progbits'; + $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_AARCH64_CALL26\\s+_mcount\$"; + $type = ".quad"; } elsif ($arch eq "ia64") { $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$"; $type = "data8";