diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-05 04:14:19 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-03-05 04:14:51 (GMT) |
commit | a82b4461f96769cf50ef828fb08f0f14f52afd92 (patch) | |
tree | d7a07cde72d6bc3bc4aed1c7cacc8863d9bf1f5e /patches/glibc/linaro-2.20-2014.11/105-misleading-indentation.patch | |
parent | dedfe6905a7e90933097c345be5cbc743b060622 (diff) |
Backport patches to glibc 2.14+
... fix building on ARM.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc/linaro-2.20-2014.11/105-misleading-indentation.patch')
-rw-r--r-- | patches/glibc/linaro-2.20-2014.11/105-misleading-indentation.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/glibc/linaro-2.20-2014.11/105-misleading-indentation.patch b/patches/glibc/linaro-2.20-2014.11/105-misleading-indentation.patch new file mode 100644 index 0000000..1dd8d85 --- /dev/null +++ b/patches/glibc/linaro-2.20-2014.11/105-misleading-indentation.patch @@ -0,0 +1,24 @@ +commit 976ef870542580cf5fed896c2c652b3e1a95f9da +Author: Steve Ellcey <sellcey@mips.com> +Date: Fri Dec 11 09:19:37 2015 -0800 + + Fix indentation. + + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): + Fix indentation. + +diff --git a/sysdeps/ieee754/flt-32/k_rem_pio2f.c b/sysdeps/ieee754/flt-32/k_rem_pio2f.c +index 0c7685c..392afdb 100644 +--- a/sysdeps/ieee754/flt-32/k_rem_pio2f.c ++++ b/sysdeps/ieee754/flt-32/k_rem_pio2f.c +@@ -65,7 +65,9 @@ int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32 + + /* compute q[0],q[1],...q[jk] */ + for (i=0;i<=jk;i++) { +- for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; ++ for(j=0,fw=0.0;j<=jx;j++) ++ fw += x[j]*f[jx+i-j]; ++ q[i] = fw; + } + + jz = jk; |