summaryrefslogtreecommitdiff
path: root/arch/sh/src/__fpsrc_values.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/src/__fpsrc_values.c')
-rw-r--r--arch/sh/src/__fpsrc_values.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/src/__fpsrc_values.c b/arch/sh/src/__fpsrc_values.c
index 56056617..64b458f9 100644
--- a/arch/sh/src/__fpsrc_values.c
+++ b/arch/sh/src/__fpsrc_values.c
@@ -1,2 +1,5 @@
+#include "libc.h"
+
/* used by gcc for switching the FPU between single and double precision */
-const unsigned long __fpscr_values[2] = { 0, 0x80000 };
+const unsigned long __fpscr_values[2] ATTR_LIBC_VISIBILITY = { 0, 0x80000 };
+