]> git.ipfire.org Git - thirdparty/openssl.git/commit
perlasm: Replace .previous with the actual previous section
authorsashan <anedvedicky@gmail.com>
Wed, 29 Jan 2025 09:57:14 +0000 (10:57 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 6 Feb 2025 16:25:15 +0000 (17:25 +0100)
commitfd6f27bdd5f6cdc577fbf1b0556ff6c45bdd5116
tree8fd76ef53299f7cf50b4b69ba3780d6d9307f5f3
parentd46667284d193ceb3242ebf17422e62b1c837c60
perlasm: Replace .previous with the actual previous section

Older versions of darwin (10.8 and earlier) don't understand .previous.
this tweak emits the previous section directive which preceeds the
rodata (for example .text) instead of using .previous. We use the
same for mingw.

Fixes #26447

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26585)
crypto/perlasm/x86_64-xlate.pl