mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
PowerPC: Fix POINTER_CHK_GUARD thread register for PPC64
This commit is contained in:
parent
c5f840fd4f
commit
5ebbff8fd1
@ -1,3 +1,8 @@
|
||||
2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
|
||||
Fix thread ID register.
|
||||
|
||||
2013-09-25 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define POINTER_CHK_GUARD \
|
||||
({ \
|
||||
uintptr_t x; \
|
||||
asm ("ld %0,%1(2)" \
|
||||
asm ("ld %0,%1(13)" \
|
||||
: "=r" (x) \
|
||||
: "i" (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t)) \
|
||||
); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user