Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/external/gpl3/gcc/dist/libsanitizer/tsan Pull up followin...
details: https://anonhg.NetBSD.org/src/rev/812560572474
branches: netbsd-7
changeset: 798903:812560572474
user: martin <martin%NetBSD.org@localhost>
date: Mon Jan 26 16:23:03 2015 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #458):
external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S: revision 1.2
fix for PIC code.
diffstat:
external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (27 lines):
diff -r fbb2c744465d -r 812560572474 external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S
--- a/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S Mon Jan 26 16:20:48 2015 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_rtl_amd64.S Mon Jan 26 16:23:03 2015 +0000
@@ -40,7 +40,11 @@
shr $4, %rsp # clear 4 lsb, align to 16
shl $4, %rsp
+#ifdef __PIC__
+ call __tsan_trace_switch@PLT
+#else
call __tsan_trace_switch
+#endif
# Unalign stack frame back.
mov %rbx, %rsp # restore the original rsp
@@ -119,7 +123,11 @@
shr $4, %rsp # clear 4 lsb, align to 16
shl $4, %rsp
+#ifdef __PIC__
+ call __tsan_report_race@PLT
+#else
call __tsan_report_race
+#endif
# Unalign stack frame back.
mov %rbx, %rsp # restore the original rsp
Home |
Main Index |
Thread Index |
Old Index