Remove filename argument to x86 asm_init.
authorDavid Benjamin <davidben@google.com>
Wed, 10 May 2017 18:24:56 +0000 (14:24 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 11 May 2017 21:00:23 +0000 (17:00 -0400)
commite195c8a2562baef0fdcae330556ed60b1e922b0e
tree7eb522b546e809ce986cbba3ce714e28ad62e49a
parent07fbdfe94d65b125a21488273d70eecf62fec447
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)
33 files changed:
crypto/aes/asm/aes-586.pl
crypto/aes/asm/aesni-x86.pl
crypto/aes/asm/vpaes-x86.pl
crypto/bf/asm/bf-586.pl
crypto/bn/asm/bn-586.pl
crypto/bn/asm/co-586.pl
crypto/bn/asm/via-mont.pl
crypto/bn/asm/x86-gf2m.pl
crypto/bn/asm/x86-mont.pl
crypto/bn/asm/x86.pl
crypto/camellia/asm/cmll-x86.pl
crypto/cast/asm/cast-586.pl
crypto/chacha/asm/chacha-x86.pl
crypto/des/asm/crypt586.pl
crypto/des/asm/des-586.pl
crypto/ec/asm/ecp_nistz256-x86.pl
crypto/md5/asm/md5-586.pl
crypto/modes/asm/ghash-x86.pl
crypto/perlasm/README
crypto/perlasm/x86asm.pl
crypto/perlasm/x86gas.pl
crypto/perlasm/x86masm.pl
crypto/poly1305/asm/poly1305-x86.pl
crypto/rc4/asm/rc4-586.pl
crypto/rc5/asm/rc5-586.pl
crypto/ripemd/asm/rmd-586.pl
crypto/sha/asm/sha1-586.pl
crypto/sha/asm/sha256-586.pl
crypto/sha/asm/sha512-586.pl
crypto/whrlpool/asm/wp-mmx.pl
crypto/x86cpuid.pl
engines/asm/e_padlock-x86.pl
ms/uplink-x86.pl