diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-28 13:34:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-28 13:34:51 +0000 |
commit | 7c6d5e669ac1c27d29c6f21eefa4f922ec97d34c (patch) | |
tree | 9c58664e48c52c545dd1ba56d245ffc1855ffe9e /lib | |
parent | 42d0b01824e3fff3edad7801ca97fb687c3ef1ed (diff) |
.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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/perlasm/x86gas.pl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libcrypto/perlasm/x86gas.pl b/lib/libcrypto/perlasm/x86gas.pl index 84d24edbbdb..c21cda9a6ad 100644 --- a/lib/libcrypto/perlasm/x86gas.pl +++ b/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.=<<___; |