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-07-09 09:30:20 -0700 |
commit | 2eb9ef29b698bb7706833236b4b9041f0c23ceef (patch) | |
tree | dcd7f9da582252e2e77abfcae48079047d59a0c5 /include/caller.h | |
parent | 14c5cbabc2d11004ab223ae5eae761ddf83ef99e (diff) | |
download | glibc-2eb9ef29b698bb7706833236b4b9041f0c23ceef.tar glibc-2eb9ef29b698bb7706833236b4b9041f0c23ceef.tar.gz glibc-2eb9ef29b698bb7706833236b4b9041f0c23ceef.tar.bz2 glibc-2eb9ef29b698bb7706833236b4b9041f0c23ceef.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 'include/caller.h')
0 files changed, 0 insertions, 0 deletions