about summary refs log tree commit diff
path: root/sysdeps/unix/clock_gettime.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2015-08-07 13:37:35 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-08 01:11:44 -0400
commit74bc0c3a16e3c8f138e29a284e84d16474b65a8e (patch)
tree6f8d981aadf1ddc8d851df12e67dc4bc8cda4afc /sysdeps/unix/clock_gettime.c
parent5d5de49c3ccd69f65b801f1ca490a0112d1cbd7d (diff)
downloadglibc-74bc0c3a16e3c8f138e29a284e84d16474b65a8e.tar.gz
glibc-74bc0c3a16e3c8f138e29a284e84d16474b65a8e.tar.xz
glibc-74bc0c3a16e3c8f138e29a284e84d16474b65a8e.zip
hppa: Fix reload error with atomic code [BZ #18787]
As noted in the bug, the asm operands need to be copied to register
variables to avoid operand reloads in the principal asm of the macro.
See the arm implementation for reference.  Otherwise we get:
../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error:
	can't find a register in class 'R1_REGS' while reloading 'asm'

Build tested on trunk with gcc-4.8.  Similar patch has been tested
with 2.19 on Debian hppa-unknown-linux-gnu.
Diffstat (limited to 'sysdeps/unix/clock_gettime.c')
0 files changed, 0 insertions, 0 deletions