aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/c64xpluscpuid.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/c64xpluscpuid.pl
parent9250a30692e182957d3fe48e3e07b1824ca1453a (diff)
downloadopenssl-bd227733b9f5acaba81e064f508b5821317dc59b.tar.gz
C64x+ assembly pack: make it work with older toolchain.
Diffstat (limited to 'crypto/c64xpluscpuid.pl')
-rw-r--r--crypto/c64xpluscpuid.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/c64xpluscpuid.pl b/crypto/c64xpluscpuid.pl
index 0ee0a4e86f..2feb4e31f4 100644
--- a/crypto/c64xpluscpuid.pl
+++ b/crypto/c64xpluscpuid.pl
@@ -6,6 +6,10 @@ open STDOUT,">$output";
$code.=<<___;
.text
+
+ .if .ASSEMBLER_VERSION<7000000
+ .asg 0,__TI_EABI__
+ .endif
.if __TI_EABI__
.asg OPENSSL_rdtsc,_OPENSSL_rdtsc
.asg OPENSSL_cleanse,_OPENSSL_cleanse