summaryrefslogtreecommitdiffstats
path: root/crypto/modes/asm/ghash-c64xplus.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-05-04 16:38:32 +0200
committerAndy Polyakov <appro@openssl.org>2014-05-04 16:38:32 +0200
commitbd227733b9f5acaba81e064f508b5821317dc59b (patch)
tree43cae0f01943990e24e07a4b749bec5b6e90c45e /crypto/modes/asm/ghash-c64xplus.pl
parent9250a30692e182957d3fe48e3e07b1824ca1453a (diff)
C64x+ assembly pack: make it work with older toolchain.
Diffstat (limited to 'crypto/modes/asm/ghash-c64xplus.pl')
-rw-r--r--crypto/modes/asm/ghash-c64xplus.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/modes/asm/ghash-c64xplus.pl b/crypto/modes/asm/ghash-c64xplus.pl
index 409b0d61b9..a465b4236c 100644
--- a/crypto/modes/asm/ghash-c64xplus.pl
+++ b/crypto/modes/asm/ghash-c64xplus.pl
@@ -35,6 +35,10 @@ open STDOUT,">$output";
$code.=<<___;
.text
+
+ .if .ASSEMBLER_VERSION<7000000
+ .asg 0,__TI_EABI__
+ .endif
.if __TI_EABI__
.asg gcm_gmult_1bit,_gcm_gmult_1bit
.asg gcm_gmult_4bit,_gcm_gmult_4bit