diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-09 09:30:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-02 06:54:17 -0700 |
commit | fdd3aa0b19700ab564da895a2a85bf3fdb0bedf0 (patch) | |
tree | 24cc54f8fc744c871ebb4e88f2caf917b2a24718 /nptl/createthread.c | |
parent | 9e4fc7f67f6695f294ae759a6b540f5d08a56f0c (diff) | |
download | glibc-fdd3aa0b19700ab564da895a2a85bf3fdb0bedf0.tar.gz glibc-fdd3aa0b19700ab564da895a2a85bf3fdb0bedf0.tar.xz glibc-fdd3aa0b19700ab564da895a2a85bf3fdb0bedf0.zip |
Improve bndmov encoding with zero displacement
If x86-64 assembler doesn't support MPX, we encode bndmov instruction by hand. When displacement is zero, assembler generates shorter encoding. This patch improves bndmov encoding with zero displacement so that ld.so is identical when using assemblers with and without MPX support. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve bndmov encoding with zero displacement.
Diffstat (limited to 'nptl/createthread.c')
0 files changed, 0 insertions, 0 deletions