summaryrefslogtreecommitdiff
path: root/gcc/targhooks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/targhooks.cc')
-rw-r--r--gcc/targhooks.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/targhooks.cc b/gcc/targhooks.cc
index e22bc66a6c8..399d6f874dc 100644
--- a/gcc/targhooks.cc
+++ b/gcc/targhooks.cc
@@ -1843,6 +1843,20 @@ no_c99_libc_has_function (enum function_class fn_class ATTRIBUTE_UNUSED,
return false;
}
+/* Assume some c99 functions are present at the runtime including sincos. */
+bool
+bsd_libc_has_function (enum function_class fn_class,
+ tree type ATTRIBUTE_UNUSED)
+{
+ if (fn_class == function_c94
+ || fn_class == function_c99_misc
+ || fn_class == function_sincos)
+ return true;
+
+ return false;
+}
+
+
tree
default_builtin_tm_load_store (tree ARG_UNUSED (type))
{