From 532b4084cb8cac5e6d91d42aa6a497dd4ba4a4f5 Mon Sep 17 00:00:00 2001 From: jkim Date: Wed, 11 Jul 2012 23:31:36 +0000 Subject: Import OpenSSL 1.0.1c. Approved by: benl (maintainer) --- crypto/perlasm/x86masm.pl | 197 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100755 crypto/perlasm/x86masm.pl (limited to 'crypto/perlasm/x86masm.pl') diff --git a/crypto/perlasm/x86masm.pl b/crypto/perlasm/x86masm.pl new file mode 100755 index 0000000..96b1b73 --- /dev/null +++ b/crypto/perlasm/x86masm.pl @@ -0,0 +1,197 @@ +#!/usr/bin/env perl + +package x86masm; + +*out=\@::out; + +$::lbdecor="\$L"; # local label decoration +$nmdecor="_"; # external name decoration + +$initseg=""; +$segment=""; + +sub ::generic +{ my ($opcode,@arg)=@_; + + # fix hexadecimal constants + for (@arg) { s/(?