diff options
authorLinus Torvalds <>2015-01-22 06:26:07 +1200
committerLinus Torvalds <>2015-01-22 06:26:07 +1200
commitb942c653ae265abbd31032f3b4f5f857e5c7c723 (patch)
parent5eb11d6b3f55eb4d28c51ea7f641c0e5e255a70f (diff)
parent1caf6aaaa47471831d77c75f094d4e00ad1ec808 (diff)
Merge tag 'trace-sh-3.19' of git://
Pull superh tracing fix from Steven Rostedt: "It's been reported that function tracing does not work on the sh architecture because gcc 4.8 for superH does not support -m32, and the script adds "-m32" when re-compiling the object files with the mcount locations. I was not able to reproduce this problem, as it seems that -m32 works fine for my cross compiler gcc 4.6.3, but I have to assume that -m32 was deprecated somewhere between 4.6 and 4.8. As it still seems to compile fine without -m32, I have no reason not to add this patch, as having -m32 seems to cause trouble for others" * tag 'trace-sh-3.19' of git:// scripts/ There is no -m32 gcc option on Super-H anymore
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/ b/scripts/
index 56ea99a12ab7..537c38ca2e1c 100755
--- a/scripts/
+++ b/scripts/
@@ -255,7 +255,6 @@ if ($arch eq "x86_64") {
# force flags for this arch
$ld .= " -m shlelf_linux";
$objcopy .= " -O elf32-sh-linux";
- $cc .= " -m32";
} elsif ($arch eq "powerpc") {
$local_regex = "^[0-9a-fA-F]+\\s+t\\s+(\\.?\\S+)";