diff --git a/[refs] b/[refs] index f02c4b5c888b..9f6a0093501d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c204f7264c7de85aecd3638dc8fe07aba6d1fff5 +refs/heads/master: 3a3d04aed05add2247ea2ba5da5f90dba4062f3f diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index c5c58ac90c04..03b6af1388ea 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -135,7 +135,7 @@ my $function_regex; # Find the name of a function # (return offset and func name) my $mcount_regex; # Find the call site to mcount (return offset) -my $alignment; # The .align value to use for $mcount_section +my $alignment; # The .align value to use for $mcount_section if ($arch eq "x86") { if ($bits == 64) { @@ -176,6 +176,7 @@ $cc .= " -m32"; } elsif ($arch eq "sh") { + $alignment = 2; # force flags for this arch $ld .= " -m shlelf_linux";