summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/CMakeLists.txt32
-rw-r--r--compiler-rt/lib/sanitizer_common/sancov_begin.S5
-rw-r--r--compiler-rt/lib/sanitizer_common/sancov_end.S5
3 files changed, 0 insertions, 42 deletions
diff --git a/compiler-rt/lib/sanitizer_common/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/CMakeLists.txt
index 75794163d43..f523561cd6d 100644
--- a/compiler-rt/lib/sanitizer_common/CMakeLists.txt
+++ b/compiler-rt/lib/sanitizer_common/CMakeLists.txt
@@ -273,38 +273,6 @@ add_compiler_rt_object_libraries(RTSanitizerCommonSymbolizerNoHooks
CFLAGS ${SANITIZER_NO_WEAK_HOOKS_CFLAGS}
DEFS ${SANITIZER_COMMON_DEFINITIONS})
-if(OS_NAME MATCHES "SunOS")
- # Solaris ld doesn't support the non-standard GNU ld extension of adding
- # __start_SECNAME and __stop_SECNAME labels to sections whose names are
- # valid C identifiers. Instead we add our own definitions for the
- # __sancov_guards section.
- add_compiler_rt_object_libraries(SancovBegin
- ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
- SOURCES sancov_begin.S
- CFLAGS ${SANITIZER_CFLAGS}
- DEFS ${SANITIZER_COMMON_DEFINITIONS})
-
- add_compiler_rt_runtime(clang_rt.sancov_begin
- STATIC
- ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
- OBJECT_LIBS SancovBegin
- CFLAGS ${SANITIZER_CFLAGS}
- DEFS ${SANITIZER_COMMON_DEFINITIONS})
-
- add_compiler_rt_object_libraries(SancovEnd
- ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
- SOURCES sancov_end.S
- CFLAGS ${SANITIZER_CFLAGS}
- DEFS ${SANITIZER_COMMON_DEFINITIONS})
-
- add_compiler_rt_runtime(clang_rt.sancov_end
- STATIC
- ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
- OBJECT_LIBS SancovEnd
- CFLAGS ${SANITIZER_CFLAGS}
- DEFS ${SANITIZER_COMMON_DEFINITIONS})
-endif()
-
if(WIN32)
add_compiler_rt_object_libraries(SanitizerCommonWeakInterception
${SANITIZER_COMMON_SUPPORTED_OS}
diff --git a/compiler-rt/lib/sanitizer_common/sancov_begin.S b/compiler-rt/lib/sanitizer_common/sancov_begin.S
deleted file mode 100644
index c8ad0a0bcb5..00000000000
--- a/compiler-rt/lib/sanitizer_common/sancov_begin.S
+++ /dev/null
@@ -1,5 +0,0 @@
- .type __start___sancov_guards,@object
- .globl __start___sancov_guards
- .section __sancov_guards,"aw",@progbits
- .p2align 2
-__start___sancov_guards:
diff --git a/compiler-rt/lib/sanitizer_common/sancov_end.S b/compiler-rt/lib/sanitizer_common/sancov_end.S
deleted file mode 100644
index 31117b1c0b5..00000000000
--- a/compiler-rt/lib/sanitizer_common/sancov_end.S
+++ /dev/null
@@ -1,5 +0,0 @@
- .type __stop___sancov_guards,@object
- .globl __stop___sancov_guards
- .section __sancov_guards,"aw",@progbits
- .p2align 2
-__stop___sancov_guards:
OpenPOWER on IntegriCloud