diff --git a/[refs] b/[refs] index a0b3b5c107fe..a69f0bd291cf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f00012074b1a1a67d9c8603617bbbab267347ca6 +refs/heads/master: 418071eb6adbfd3980b2f57f7df8e03921e3f1d7 diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index 070042b4ccd5..2ded5c8e6b85 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -206,6 +206,13 @@ $alignment = 2; $section_type = '%progbits'; +} elsif ($arch eq "ia64") { + $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$"; + $type = "data8"; + + if ($is_module eq "0") { + $cc .= " -mconstant-gp"; + } } else { die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD"; }