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/lsan __mips64 does not m...
details: https://anonhg.NetBSD.org/src/rev/b439978b0b64
branches: trunk
changeset: 943815:b439978b0b64
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Sep 11 09:01:41 2020 +0000
description:
__mips64 does not mean 64 bit address space. also check _LP64.
diffstat:
external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 487156ef8296 -r b439978b0b64 external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.cc
--- a/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.cc Fri Sep 11 07:09:40 2020 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.cc Fri Sep 11 09:01:41 2020 +0000
@@ -135,7 +135,7 @@
#if defined(__x86_64__)
// Accept only canonical form user-space addresses.
return ((p >> 47) == 0);
-#elif defined(__mips64)
+#elif defined(__mips64) && defined(_LP64)
return ((p >> 40) == 0);
#elif defined(__aarch64__)
unsigned runtimeVMA =
Home |
Main Index |
Thread Index |
Old Index