From 6eb764062957416027837bc59ebe8579c73bc6c7 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 23 Oct 2014 19:03:38 +0000 Subject: [PATCH] make alpha compile --- external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc b/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc index 1442bf2cc1c2..bf5b2dfb3751 100644 --- a/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc +++ b/external/gpl3/gcc/dist/libsanitizer/asan/asan_linux.cc @@ -56,7 +56,7 @@ void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) { * 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__)