summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/fixdfti.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-08-10 21:14:10 +0000
committerpatrick <patrick@openbsd.org>2020-08-10 21:14:10 +0000
commitf2119caf99b8ed409235597050ceebdc9102f562 (patch)
treecfb90cfe994f47cfaf95506823ca0dac2d08b04d /lib/libcompiler_rt/fixdfti.c
parentUn-hook and re-hook libcompiler_rt. (diff)
downloadwireguard-openbsd-f2119caf99b8ed409235597050ceebdc9102f562.tar.xz
wireguard-openbsd-f2119caf99b8ed409235597050ceebdc9102f562.zip
Tedu compiler-rt 8.0.1.
Diffstat (limited to 'lib/libcompiler_rt/fixdfti.c')
-rw-r--r--lib/libcompiler_rt/fixdfti.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/libcompiler_rt/fixdfti.c b/lib/libcompiler_rt/fixdfti.c
deleted file mode 100644
index aaf225e74f8..00000000000
--- a/lib/libcompiler_rt/fixdfti.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* ===-- fixdfti.c - Implement __fixdfti -----------------------------------===
- *
- * The LLVM Compiler Infrastructure
- *
- * This file is dual licensed under the MIT and the University of Illinois Open
- * Source Licenses. See LICENSE.TXT for details.
- *
- * ===----------------------------------------------------------------------===
- */
-
-#include "int_lib.h"
-
-#ifdef CRT_HAS_128BIT
-#define DOUBLE_PRECISION
-#include "fp_lib.h"
-
-typedef ti_int fixint_t;
-typedef tu_int fixuint_t;
-#include "fp_fixint_impl.inc"
-
-COMPILER_RT_ABI ti_int
-__fixdfti(fp_t a) {
- return __fixint(a);
-}
-
-#endif /* CRT_HAS_128BIT */