summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm/x86gas.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-06-04 13:13:18 +0000
committerAndy Polyakov <appro@openssl.org>2010-06-04 13:13:18 +0000
commitd08eae1bda65a88d1eb338a870d25c1727752954 (patch)
treebd97267355cc8b84e7ab0c20b6760d57a351c9da /crypto/perlasm/x86gas.pl
parente8107c35b163113af79f5753192b9257caa3e1b5 (diff)
x86 perlasm: add support for 16-bit values.
Diffstat (limited to 'crypto/perlasm/x86gas.pl')
-rw-r--r--crypto/perlasm/x86gas.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/perlasm/x86gas.pl b/crypto/perlasm/x86gas.pl
index b470507730..7af6e9cf7f 100644
--- a/crypto/perlasm/x86gas.pl
+++ b/crypto/perlasm/x86gas.pl
@@ -91,6 +91,7 @@ sub ::DWP
}
sub ::QWP { &::DWP(@_); }
sub ::BP { &::DWP(@_); }
+sub ::WP { &::DWP(@_); }
sub ::BC { @_; }
sub ::DWC { @_; }
@@ -165,6 +166,7 @@ sub ::file_end
}
sub ::data_byte { push(@out,".byte\t".join(',',@_)."\n"); }
+sub ::data_short{ push(@out,".word\t".join(',',@_)."\n"); }
sub ::data_word { push(@out,".long\t".join(',',@_)."\n"); }
sub ::align