From 8b1f9f95545da8f5e34724e90e51d6501dd6fec6 Mon Sep 17 00:00:00 2001 From: Shaohua Li Date: Fri, 9 Jan 2009 11:29:44 +0800 Subject: [PATCH] --- yaml --- r: 140623 b: refs/heads/master c: 418071eb6adbfd3980b2f57f7df8e03921e3f1d7 h: refs/heads/master i: 140621: 134fe2d4ce840c7d486c2fc9342b93ec981d62f2 140619: 0e8615e359eaa1be4371127e0a96dada1f23248d 140615: f8f1a0d862dd87e4d0dea983b5877d60c9a6451a 140607: 7209d3905f30cc6149ff3ab14607a2bc24f3a55b v: v3 --- [refs] | 2 +- trunk/scripts/recordmcount.pl | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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"; }