about summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-07-09 09:30:09 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-07-09 09:30:20 -0700
commit2eb9ef29b698bb7706833236b4b9041f0c23ceef (patch)
treedcd7f9da582252e2e77abfcae48079047d59a0c5 /include/unistd.h
parent14c5cbabc2d11004ab223ae5eae761ddf83ef99e (diff)
downloadglibc-2eb9ef29b698bb7706833236b4b9041f0c23ceef.tar.gz
glibc-2eb9ef29b698bb7706833236b4b9041f0c23ceef.tar.xz
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/unistd.h')
0 files changed, 0 insertions, 0 deletions