projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'platform-drivers-x86-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git]
/
scripts
/
recordmcount.pl
diff --git
a/scripts/recordmcount.pl
b/scripts/recordmcount.pl
index
56c8015
..
867860e
100755
(executable)
--- a/
scripts/recordmcount.pl
+++ b/
scripts/recordmcount.pl
@@
-265,7
+265,11
@@
if ($arch eq "x86_64") {
# force flags for this arch
$ld .= " -m shlelf_linux";
# force flags for this arch
$ld .= " -m shlelf_linux";
- $objcopy .= " -O elf32-sh-linux";
+ if ($endian eq "big") {
+ $objcopy .= " -O elf32-shbig-linux";
+ } else {
+ $objcopy .= " -O elf32-sh-linux";
+ }
} elsif ($arch eq "powerpc") {
my $ldemulation;
} elsif ($arch eq "powerpc") {
my $ldemulation;