summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Configurations/10-main.conf4
-rwxr-xr-xcrypto/perlasm/ppc-xlate.pl4
2 files changed, 8 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 138ad8a6ae..dfff5ea4ae 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1212,6 +1212,10 @@ my %targets = (
AR => add("-X64"),
RANLIB => add("-X64"),
},
+ "aix64-gcc-as" => {
+ inherit_from => [ "aix64-gcc" ],
+ perlasm_scheme => "aix64-as",
+ },
"aix-cc" => {
inherit_from => [ "aix-common" ],
CC => "cc",
diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl
index 14fd06dec4..c81fb6a47a 100755
--- a/crypto/perlasm/ppc-xlate.pl
+++ b/crypto/perlasm/ppc-xlate.pl
@@ -83,6 +83,10 @@ my $text = sub {
$ret = ".abiversion 2\n".$ret if ($flavour =~ /linux.*64(le|v2)/);
$ret;
};
+my $p2align = sub {
+ my $ret = ($flavour =~ /aix64-as/) ? "" : ".p2align $line";
+ $ret;
+};
my $machine = sub {
my $junk = shift;
my $arch = shift;