From 77a9e108b735bfd730d56983245c296606a34e8e Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Wed, 28 Jun 2017 13:34:50 +0000 Subject: .init stub creation doesn't need a jmp + .align to reach a branch target, just fall into the code. The .align created a FILL zone in the .init section, which on i386 was filled with a NOP-sled, something we want to get away from. discussed with kettenis and tom --- src/lib/libcrypto/perlasm/x86gas.pl | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/perlasm/x86gas.pl b/src/lib/libcrypto/perlasm/x86gas.pl index 84d24edbbd..c21cda9a6a 100644 --- a/src/lib/libcrypto/perlasm/x86gas.pl +++ b/src/lib/libcrypto/perlasm/x86gas.pl @@ -221,9 +221,6 @@ sub ::initseg PIC_PROLOGUE call PIC_PLT($f) PIC_EPILOGUE - jmp .Linitalign -.align $align -.Linitalign: ___ } elsif ($::android) { $initseg.=<<___; -- cgit v1.2.3-55-g6feb