Skip to content

Commit 36aa78b

Browse files
[libc] remove toplevel vdso and non-linux vdso
1 parent 770e052 commit 36aa78b

File tree

5 files changed

+2
-40
lines changed

5 files changed

+2
-40
lines changed

libc/src/__support/OSUtil/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,3 @@ add_object_library(
1515
DEPENDS
1616
${target_os_util}
1717
)
18-
19-
add_header_library(
20-
vdso
21-
HDRS
22-
vdso.h
23-
DEPENDS
24-
.${LIBC_TARGET_OS}.vdso
25-
)

libc/src/__support/OSUtil/fuchsia/vdso.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

libc/src/__support/OSUtil/vdso.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

libc/test/src/__support/OSUtil/linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ add_libc_test(
77
SUITE libc-osutil-tests
88
SRCS vdso_test.cpp
99
DEPENDS
10-
libc.src.__support.OSUtil.vdso
10+
libc.src.__support.OSUtil.linux.vdso
1111
libc.hdr.types.struct_timeval
1212
)

libc/test/src/__support/OSUtil/linux/vdso_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "hdr/types/struct_timeval.h"
10-
#include "src/__support/OSUtil/vdso.h"
10+
#include "src/__support/OSUtil/linux/vdso.h"
1111
#include "test/UnitTest/Test.h"
1212

1313
namespace LIBC_NAMESPACE {

0 commit comments

Comments
 (0)