diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2009-06-15 09:50:49 -0400 |
---|---|---|
committer | Vegard Nossum <vegard.nossum@gmail.com> | 2009-06-15 09:50:49 -0400 |
commit | 722f2a6c87f34ee0fd0130a8cf45f81e0705594a (patch) | |
tree | 50b054df34d2731eb0ba0cf1a6c27e43e7eed428 /scripts/recordmcount.pl | |
parent | 7a0aeb14e18ad59394bd9bbc6e57fb345819e748 (diff) | |
parent | 45e3e1935e2857c54783291107d33323b3ef33c8 (diff) |
Merge commit 'linus/master' into HEAD
Conflicts:
MAINTAINERS
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'scripts/recordmcount.pl')
-rwxr-xr-x | scripts/recordmcount.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 0fae7da0529c..91033e67321e 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl | |||
@@ -185,6 +185,19 @@ if ($arch eq "x86_64") { | |||
185 | $objcopy .= " -O elf32-i386"; | 185 | $objcopy .= " -O elf32-i386"; |
186 | $cc .= " -m32"; | 186 | $cc .= " -m32"; |
187 | 187 | ||
188 | } elsif ($arch eq "s390" && $bits == 32) { | ||
189 | $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_390_32\\s+_mcount\$"; | ||
190 | $alignment = 4; | ||
191 | $ld .= " -m elf_s390"; | ||
192 | $cc .= " -m31"; | ||
193 | |||
194 | } elsif ($arch eq "s390" && $bits == 64) { | ||
195 | $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_390_(PC|PLT)32DBL\\s+_mcount\\+0x2\$"; | ||
196 | $alignment = 8; | ||
197 | $type = ".quad"; | ||
198 | $ld .= " -m elf64_s390"; | ||
199 | $cc .= " -m64"; | ||
200 | |||
188 | } elsif ($arch eq "sh") { | 201 | } elsif ($arch eq "sh") { |
189 | $alignment = 2; | 202 | $alignment = 2; |
190 | 203 | ||