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

[PATCH 4/6] GNU/Hurd: disable vdso on GNU/Hurd.



GNU/Hurd does not support vdso even if it uses
ELF binary image.
---
 absl/debugging/internal/vdso_support.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/absl/debugging/internal/vdso_support.h b/absl/debugging/internal/vdso_support.h
index 6562c6c2..f5a4c369 100644
--- a/absl/debugging/internal/vdso_support.h
+++ b/absl/debugging/internal/vdso_support.h
@@ -49,8 +49,10 @@
 #ifdef ABSL_HAVE_VDSO_SUPPORT
 #error ABSL_HAVE_VDSO_SUPPORT cannot be directly set
 #else
+#if !defined(__GNU__)
 #define ABSL_HAVE_VDSO_SUPPORT 1
 #endif
+#endif
 
 namespace absl {
 ABSL_NAMESPACE_BEGIN
-- 
Yuqian Yang <crupest@crupest.life>


Reply to: