about summary refs log tree commit diff
path: root/nptl/tst-mutexpi5.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-12-16 05:19:57 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-12-16 05:20:15 -0800
commitd29d57eed9a6acb646663a02b7eb2bece2c433dc (patch)
tree09982bea60ce5a9dc10312e28e5e20e2d6362cb9 /nptl/tst-mutexpi5.c
parent3da825ce483903e3a881a016113b3e59fd4041de (diff)
downloadglibc-d29d57eed9a6acb646663a02b7eb2bece2c433dc.tar.gz
glibc-d29d57eed9a6acb646663a02b7eb2bece2c433dc.tar.xz
glibc-d29d57eed9a6acb646663a02b7eb2bece2c433dc.zip
Add REGISTERS_CLOBBERED_BY_SYSCALL for x86-64
X86-64 system calls use a different calling convention, which clobbers
CC, %r11 an %rcx registers.  Define REGISTERS_CLOBBERED_BY_SYSCALL for
x86-64 inline asm statements.

	* sysdeps/unix/sysv/linux/x86_64/sysdep.h
	(REGISTERS_CLOBBERED_BY_SYSCALL): New.
	(INTERNAL_SYSCALL_NCS): Use it.
	(INTERNAL_SYSCALL_NCS_TYPES): Likewise.
Diffstat (limited to 'nptl/tst-mutexpi5.c')
0 files changed, 0 insertions, 0 deletions