diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-11 13:04:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-11 13:04:01 -0800 |
commit | af2c6c601bd8c9e29cda2eb068f59d69937c742c (patch) | |
tree | f33d667d25289b5b01192981ed76cb131df17fe8 /patches/glibc/2.12.1/105-misleading-indentation.patch | |
parent | 6a63f5ca7d5b1387462228926fc823ad165df257 (diff) | |
parent | 30e8549e3db9a74b651cbfe1872148975329dd06 (diff) | |
download | crosstool-ng-af2c6c601bd8c9e29cda2eb068f59d69937c742c.tar.gz crosstool-ng-af2c6c601bd8c9e29cda2eb068f59d69937c742c.tar.bz2 crosstool-ng-af2c6c601bd8c9e29cda2eb068f59d69937c742c.zip |
Merge pull request #641 from stilor/arm-glibc-2.13
Add ARM patches for 2.12.2/2.13
Diffstat (limited to 'patches/glibc/2.12.1/105-misleading-indentation.patch')
-rw-r--r-- | patches/glibc/2.12.1/105-misleading-indentation.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/glibc/2.12.1/105-misleading-indentation.patch b/patches/glibc/2.12.1/105-misleading-indentation.patch new file mode 100644 index 00000000..1dd8d851 --- /dev/null +++ b/patches/glibc/2.12.1/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; |