diff options
| author | Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> | 2015-01-18 00:36:15 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-26 14:44:46 +0100 |
| commit | c7c6c53962ac0e7934d4dd49713154ac617e235f (patch) | |
| tree | 4135392bc36537fb1e91fc6bc2c247196e717759 /scripts | |
| parent | 4c1158e85cb3f39f010187907ecde621b8c3e5b1 (diff) | |
scripts/recordmcount.pl: There is no -m32 gcc option on Super-H anymore
commit 1caf6aaaa47471831d77c75f094d4e00ad1ec808 upstream.
Compiling SH with gcc-4.8 fails due to the -m32 option not being
supported.
From http://buildd.debian-ports.org/status/fetch.php?pkg=linux&arch=sh4&ver=3.16.7-ckt4-1&stamp=1421425783
CC init/main.o
gcc-4.8: error: unrecognized command line option '-m32'
ld: cannot find init/.tmp_mc_main.o: No such file or directory
objcopy: 'init/.tmp_mx_main.o': No such file
rm: cannot remove 'init/.tmp_mx_main.o': No such file or directory
rm: cannot remove 'init/.tmp_mc_main.o': No such file or directory
Link: http://lkml.kernel.org/r/1421537778-29001-1-git-send-email-kernel@mkarcher.dialup.fu-berlin.de
Link: http://lkml.kernel.org/r/54BCBDD4.10102@physik.fu-berlin.de
Cc: Matt Fleming <matt@console-pimps.org>
Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/recordmcount.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 5e2e7ccdc..a990a1419 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -239,7 +239,6 @@ if ($arch eq "x86_64") { $ld .= " -m elf_i386"; $objdump .= " -M i386"; $objcopy .= " -O elf32-i386"; - $cc .= " -m32"; } elsif ($arch eq "s390" && $bits == 32) { $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_390_32\\s+_mcount\$"; |
