Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/asan make alpha compile



details:   https://anonhg.NetBSD.org/src/rev/5b0e02a9cb8e
branches:  trunk
changeset: 333217:5b0e02a9cb8e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 23 19:03:38 2014 +0000

description:
make alpha compile

diffstat:

 external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 62563315f5ae -r 5b0e02a9cb8e external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc
--- a/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc    Thu Oct 23 18:46:49 2014 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc    Thu Oct 23 19:03:38 2014 +0000
@@ -56,7 +56,7 @@
  * Unfortunately we don't have a portable frame pointer (yet)
  */
 # if defined(__alpha__)
-#  define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_X15)
+#  define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S6)
 # elif defined(__arm__)
 #  define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_FP)
 # elif defined(__x86_64__)



Home | Main Index | Thread Index | Old Index