summaryrefslogtreecommitdiff
path: root/linker/linker_libcxx_support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_libcxx_support.cpp')
-rw-r--r--linker/linker_libcxx_support.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linker/linker_libcxx_support.cpp b/linker/linker_libcxx_support.cpp
index 41ed8bcd6..3d15b3398 100644
--- a/linker/linker_libcxx_support.cpp
+++ b/linker/linker_libcxx_support.cpp
@@ -35,3 +35,7 @@ void* __find_icu_symbol(const char* symbol_name __attribute__((__unused__))) {
extern "C" int __cxa_type_match() {
async_safe_fatal("__cxa_type_match is not implemented in the linker");
}
+
+int posix_memalign(void**, size_t, size_t) {
+ async_safe_fatal("posix_memalign is not implemented in the linker");
+}