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/tsan Do as FreeBSD does ...
details: https://anonhg.NetBSD.org/src/rev/2adf5624c65b
branches: trunk
changeset: 999433:2adf5624c65b
user: christos <christos%NetBSD.org@localhost>
date: Sat Jun 01 17:22:58 2019 +0000
description:
Do as FreeBSD does now (I have not checked that the offsets are correct)
diffstat:
external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r edd9ea15c792 -r 2adf5624c65b external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S
--- a/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S Sat Jun 01 17:02:59 2019 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S Sat Jun 01 17:22:58 2019 +0000
@@ -186,7 +186,7 @@
CFI_ADJUST_CFA_OFFSET(8)
CFI_REL_OFFSET(%rdi, 0)
// obtain %rsp
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 8(%rsp), %rdi
mov %rdi, %rsi
#elif defined(__APPLE__)
@@ -227,7 +227,7 @@
CFI_ADJUST_CFA_OFFSET(8)
CFI_REL_OFFSET(%rdi, 0)
// obtain %rsp
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 8(%rsp), %rdi
mov %rdi, %rsi
#elif defined(__APPLE__)
@@ -275,7 +275,7 @@
sub $8, %rsp
CFI_ADJUST_CFA_OFFSET(8)
// obtain %rsp
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 24(%rsp), %rdi
mov %rdi, %rsi
#elif defined(__APPLE__)
@@ -331,7 +331,7 @@
sub $8, %rsp
CFI_ADJUST_CFA_OFFSET(8)
// obtain %rsp
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 24(%rsp), %rdi
mov %rdi, %rsi
#else
Home |
Main Index |
Thread Index |
Old Index