[realview] add more missing config symbols
[openwrt.git] / toolchain / uClibc / patches-0.9.32 / 460-powerpc_libm_fixes.patch
1 --- a/libm/powerpc/e500/Makefile.arch
2 +++ b/libm/powerpc/e500/Makefile.arch
3 @@ -6,5 +6,7 @@
4 #
5
6 libm_ARCH_fpu_DIR := $(libm_SUBARCH_DIR)/fpu
7 +libm_ARCH_fpu_OUT := $(libm_SUBARCH_OUT)/fpu
8 +CFLAGS-libm/$(TARGET_ARCH)/$(TARGET_SUBARCH)/fpu/ = $(CFLAGS-libm)
9 -include $(libm_ARCH_fpu_DIR)/Makefile.arch
10
11 --- a/libm/powerpc/e500/fpu/fe_nomask.c
12 +++ b/libm/powerpc/e500/fpu/fe_nomask.c
13 @@ -26,7 +26,7 @@
14 const fenv_t *
15 __fe_nomask_env(void)
16 {
17 - __set_errno (ENOSYS);
18 + errno = ENOSYS;
19 return FE_ENABLED_ENV;
20 }
21
22 --- a/libm/powerpc/e500/fpu/feholdexcpt.c
23 +++ b/libm/powerpc/e500/fpu/feholdexcpt.c
24 @@ -42,4 +42,3 @@ feholdexcept (fenv_t *envp)
25
26 return 0;
27 }
28 -libm_hidden_def (feholdexcept)
29 --- a/libm/powerpc/e500/fpu/fesetround.c
30 +++ b/libm/powerpc/e500/fpu/fesetround.c
31 @@ -34,4 +34,3 @@ fesetround (int round)
32
33 return 0;
34 }
35 -libm_hidden_def (fesetround)
36 --- a/libm/powerpc/e500/fpu/fraiseexcpt.c
37 +++ b/libm/powerpc/e500/fpu/fraiseexcpt.c
38 @@ -26,4 +26,3 @@
39
40 #include "../spe-raise.c"
41
42 -libm_hidden_def (feraiseexcept)
This page took 0.058799 seconds and 5 git commands to generate.