summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2017-05-10 14:24:56 -0400
committerRich Salz <rsalz@openssl.org>2017-05-11 17:00:23 -0400
commite195c8a2562baef0fdcae330556ed60b1e922b0e (patch)
tree7eb522b546e809ce986cbba3ce714e28ad62e49a /engines
parent07fbdfe94d65b125a21488273d70eecf62fec447 (diff)
Remove filename argument to x86 asm_init.
The assembler already knows the actual path to the generated file and, in other perlasm architectures, is left to manage debug symbols itself. Notably, in OpenSSL 1.1.x's new build system, which allows a separate build directory, converting .pl to .s as the scripts currently do result in the wrong paths. This also avoids inconsistencies from some of the files using $0 and some passing in the filename. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3431)
Diffstat (limited to 'engines')
-rw-r--r--engines/asm/e_padlock-x86.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/asm/e_padlock-x86.pl b/engines/asm/e_padlock-x86.pl
index bf6b312cd1..c4129e837a 100644
--- a/engines/asm/e_padlock-x86.pl
+++ b/engines/asm/e_padlock-x86.pl
@@ -45,7 +45,7 @@ require "x86asm.pl";
$output=pop;
open STDOUT,">$output";
-&asm_init($ARGV[0],$0);
+&asm_init($ARGV[0]);
%PADLOCK_PREFETCH=(ecb=>128, cbc=>64); # prefetch errata
$PADLOCK_CHUNK=512; # Must be a power of 2 larger than 16