|
@@ -223,6 +223,7 @@ if ($arch eq "x86_64") {
|
|
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\smcount([+-]0x[0-9a-zA-Z]+)?\$";
|
|
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\smcount([+-]0x[0-9a-zA-Z]+)?\$";
|
|
$type = ".quad";
|
|
$type = ".quad";
|
|
$alignment = 8;
|
|
$alignment = 8;
|
|
|
|
+ $mcount_adjust = -1;
|
|
|
|
|
|
# force flags for this arch
|
|
# force flags for this arch
|
|
$ld .= " -m elf_x86_64";
|
|
$ld .= " -m elf_x86_64";
|
|
@@ -232,6 +233,7 @@ if ($arch eq "x86_64") {
|
|
|
|
|
|
} elsif ($arch eq "i386") {
|
|
} elsif ($arch eq "i386") {
|
|
$alignment = 4;
|
|
$alignment = 4;
|
|
|
|
+ $mcount_adjust = -1;
|
|
|
|
|
|
# force flags for this arch
|
|
# force flags for this arch
|
|
$ld .= " -m elf_i386";
|
|
$ld .= " -m elf_i386";
|