diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-29 13:58:18 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-29 13:58:18 +0000 |
commit | bc054fa5c69b4f4b688ca9c761ba16ea5e5d1db0 (patch) | |
tree | 2fe50e915caf1adb1985825c539e2dd774a21797 /libgo | |
parent | 5daac1662c06d4c739b0ea46e37b038939e9edae (diff) | |
download | ppe42-gcc-bc054fa5c69b4f4b688ca9c761ba16ea5e5d1db0.tar.gz ppe42-gcc-bc054fa5c69b4f4b688ca9c761ba16ea5e5d1db0.zip |
runtime: SPARCv9 fixes for lfstack.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195534 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/lfstack.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/runtime/lfstack.c b/libgo/runtime/lfstack.c index 783595abe7a..00b60081e88 100644 --- a/libgo/runtime/lfstack.c +++ b/libgo/runtime/lfstack.c @@ -19,7 +19,10 @@ #if __SIZEOF_POINTER__ == 8 && defined(__sparc__) // SPARC64 uses all 64 bits of virtual addresses. Use low-order three -bits as ABA counter. +// bits as ABA counter. +#undef PTR_BITS +#undef CNT_MASK +#undef PTR_MASK #define PTR_BITS 0 #define CNT_MASK 7 #define PTR_MASK ((0ull-1)<<3) |