diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-09-22 06:07:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-09-22 06:07:26 +0000 |
commit | 4a132246b1a34c6fe5d777a810e332236977e66a (patch) | |
tree | 050ae55eddfe9707b9acf30602175dfba782b47c /sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
parent | c69136aeed1f6e7ba0649b0e0a6ec425ded37df8 (diff) | |
download | glibc-4a132246b1a34c6fe5d777a810e332236977e66a.tar glibc-4a132246b1a34c6fe5d777a810e332236977e66a.tar.gz glibc-4a132246b1a34c6fe5d777a810e332236977e66a.tar.bz2 glibc-4a132246b1a34c6fe5d777a810e332236977e66a.zip |
[BZ #3225]cvs/fedora-glibc-20060923T0946
2006-09-21 Jakub Jelinek <jakub@redhat.com>
[BZ #3225]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3,
PTR_DEMANGLE3): Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3,
PTR_DEMANGLE3): Likewise.
* sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
Likewise.
* sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h index fd67f56983..aab4b721c0 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h @@ -299,8 +299,12 @@ xor reg,tmpreg,reg # define PTR_MANGLE2(reg, tmpreg) \ xor reg,tmpreg,reg +# define PTR_MANGLE3(destreg, reg, tmpreg) \ + ld tmpreg,POINTER_GUARD(r13); \ + xor destreg,tmpreg,reg # define PTR_DEMANGLE(reg, tmpreg) PTR_MANGLE (reg, tmpreg) # define PTR_DEMANGLE2(reg, tmpreg) PTR_MANGLE2 (reg, tmpreg) +# define PTR_DEMANGLE3(destreg, reg, tmpreg) PTR_MANGLE3 (destreg, reg, tmpreg) # else # define PTR_MANGLE(var) \ (var) = (__typeof (var)) ((uintptr_t) (var) ^ THREAD_GET_POINTER_GUARD ()) |