]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
ldbl-128: Cleanup e_gammal_r.c after _Float128 rename
[thirdparty/glibc.git] / ChangeLog
1 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2
3 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4 (gammal_positive): Fix spacing.
5 (__ieee754_gammal_r): Likewise.
6
7 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8
9 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10 (_Float128): Define as long double, always.
11 (L): Apply long double type suffix, always.
12
13 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14 _Float128, excepting comments.
15
16 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
26 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
43 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
44 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
56 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
71 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
77 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
82 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
83 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84
85 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
86 _Float128, and include math_private.h.
87 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
88
89 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
90 long double semantics.
91 (_Float128): Likewise.
92 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
94 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
95 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
96
97 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
98
99 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
100 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
101 * sysdeps/s390/configure: Regenerated.
102 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
103 instruction for raising over-/underflow if z196 zarch is supported
104 by default.
105 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
106
107 2016-08-30 Svante Signell <svante.signell@gmail.com>
108
109 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
110 it point to a dumb buffer for RPC to fill it.
111
112 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
113
114 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
115 instead of if/else.
116 (do_sin_slow): Likewise.
117 (do_sincos_1): Use fabs instead of if/else.
118 (do_sincos_2): Likewise.
119 (__sin): Likewise.
120 (__cos): Likewise.
121 (slow2): Likewise.
122 (sloww): Likewise.
123 (sloww1): Likewise. Drop argument M.
124 (sloww2): Use fabs instead of if/else.
125 (bsloww): Likewise.
126 (bsloww1): Likewise.
127 (bsloww2): Likewise.
128
129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
130 fall through comment.
131 (do_sincos_1): Likewise.
132
133 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
134 Consolidate switch cases 0 and 2.
135
136 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
137
138 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
139 (libm-calls): Remove the above.
140
141 * math/s_cexp_template.c: Update using type-generic macros.
142 * math/s_clog10_template.c: Likewise.
143 * math/s_cpow_template.c: Likewise.
144 * math/s_clog_template.c: Likewise.
145 * math/s_cproj_template.c: Likewise.
146 * math/s_csqrt_template.c: Likewise.
147
148 * math/s_cexp.c: Removed.
149 * math/s_cexpf.c: Removed.
150 * math/s_cexpl.c: Removed.
151 * math/s_clog10.c: Removed.
152 * math/s_clog10f.c: Removed.
153 * math/s_clog10l.c: Removed.
154 * math/s_cpow.c: Removed.
155 * math/s_cpowf.c: Removed.
156 * math/s_cpowl.c: Removed.
157 * math/s_clog.c: Removed.
158 * math/s_clogf.c: Removed.
159 * math/s_clogl.c: Removed.
160 * math/s_cproj.c: Removed.
161 * math/s_cprojf.c: Removed.
162 * math/s_cprojl.c: Removed.
163 * math/s_csqrt.c: Removed.
164 * math/s_csqrtf.c: Removed.
165 * math/s_csqrtl.c: Removed.
166
167 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
168 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
169 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
170 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
171 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
172 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
173
174 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
175 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
176 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
177 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
178 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
179 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
180 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
181 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
182 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
183 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
184 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
185
186 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
187 version.
188
189 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
190 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
191 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
192 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
193
194 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
195
196 * s_cexp_template.c: Copy of s_cexp.c.
197 * s_clog_template.c: Copy of s_clog.c.
198 * s_clog10_template.c: Copy of s_clog10.c.
199 * s_cpow_template.c: Copy of s_cpow.c.
200 * s_cproj_template.c: Copy of s_cproj.c.
201 * s_csqrt_template.c: Copy of s_csqrt.c.
202
203 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
204
205 [BZ #20517]
206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
207 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
208 exported.
209
210 2016-08-29 Joseph Myers <joseph@codesourcery.com>
211
212 * math/fetestexceptflag.c: New file.
213 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
214 Stefan Liebler.
215 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
216 (fetestexceptflag): New function declaration.
217 * manual/arith.texi (fetestexceptflag): Document function.
218 * math/Versions (fetestexceptflag): New libm symbol at version
219 GLIBC_2.25.
220 * math/Makefile (libm-support): Add fetestexceptflag.
221 (tests): Add test-fetestexceptflag.
222 * math/test-fetestexceptflag.c: New file.
223 * sysdeps/nacl/libm.abilist: Update.
224 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
225 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
228 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
232 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
235 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
237 Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
239 Likewise.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
241 Likewise.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
243 Likewise.
244 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
246 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
250 Likewise.
251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
252 Likewise.
253 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
254 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
255 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
256
257 2016-08-26 Florian Weimer <fweimer@redhat.com>
258
259 [BZ #20432]
260 Avoid strong references to malloc-internal symbols when linking
261 statically, to support statically interposed mallocs.
262 * include/libc-symbols.h (call_function_static_weak): New macro.
263 * malloc/Makefile (tests): Add tst-interpose-nothread,
264 tst-interpose-thread, tst-interpose-static-nothread,
265 tst-interpose-static-thread.
266 (tests-static): Add tst-interpose-static-nothread,
267 tst-interpose-static-thread.
268 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
269 tst-interpose-aux-thread.o.
270 (test-extras): Add tst-interpose-aux-nothread,
271 tst-interpose-aux-thread.
272 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
273 tst-interpose-aux-nothread.o.
274 (tst-interpose-thread, tst-interpose-static-thread): Link with
275 tst-interpose-aux-thread.o and libthread.
276 * malloc/tst-interpose-aux-nothread.c: New file.
277 * malloc/tst-interpose-aux-thread.c: Likewise.
278 * malloc/tst-interpose-aux.c: Likewise.
279 * malloc/tst-interpose-aux.h: Likewise.
280 * malloc/tst-interpose-nothread.c: Likewise.
281 * malloc/tst-interpose-skeleton.c: Likewise.
282 * malloc/tst-interpose-static-nothread.c: Likewise.
283 * malloc/tst-interpose-static-thread.c: Likewise.
284 * malloc/tst-interpose-thread.c: Likewise.
285 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
286 * sysdeps/mach/hurd/fork.c (__fork): Only call
287 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
288 __malloc_fork_unlock_child if defined.
289 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
290
291 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
292
293 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
294 timespec C99 designated initialization.
295
296 2016-08-26 Florian Weimer <fweimer@redhat.com>
297
298 [BZ #19946]
299 Avoid expected SIGALRM signals.
300 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
301 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
302 (xpthread_create, xpthread_detach, xpthread_join)
303 (delayed_exit_thread, delayed_exit): New functions.
304 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
305 (tf): Use xpthread_cond_wait.
306 (do_test): Likewise. Replace alarm with delayed_exit.
307 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
308 (do_test): Call delayed_exit. Report failure.
309 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
310 (do_test): Call delayed_exit.
311 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
312 (do_test): Call delayed_exit. Use xpthread_join. Report error.
313 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
314 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
315 error.
316 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
317 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
318 error.
319 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
320 (do_test): Call delayed_exit.
321 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
322 (do_test): Call delayed_exit.
323 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
324 (do_test): Call delayed_exit instead of alarm. Use
325 xpthread_mutex_lock.
326 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
327 (do_test): Call delayed_exit instead of alarm. Use
328 xpthread_mutex_lock.
329 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
330 (do_test): Call delayed_exit instead of alarm.
331 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
332 (do_test): Call delayed_exit instead of alarm. Use
333 xpthread_spin_lock.
334 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
335 (do_test): Call delayed_exit instead of alarm. Use
336 xpthread_join.
337
338 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
339
340 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
341 adjust CFA when allocating register save area on re-aligned
342 stack.
343
344 2016-08-26 Florian Weimer <fweimer@redhat.com>
345
346 * string/tst-cmp.c: New test.
347 * string/Makefile (tests): Add it.
348
349 2016-08-25 Mark Wielaard <mark@klomp.org>
350
351 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
352 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
353 (check_tree_recurse): Use newly defined accessors.
354 (check_tree): Likewise.
355 (maybe_split_for_insert): Likewise.
356 (__tfind): Likewise.
357 (__tdelete): Likewise.
358 (trecurse): Likewise.
359 (tdestroy_recurse): Likewise.
360 (__tsearch): Likewise. And add asserts for malloc alignment.
361 (__twalk): Cast root to node in case CHECK_TREE is defined.
362
363 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
364
365 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
366
367 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
368
369 * math/Makefile (libm-gen-calls): Add
370 catan, catanh, ctan, ctanh.
371 (libm-calls): Remove the above.
372
373 * math/s_catan_template.c: Update using type-generic macros.
374 * math/s_catanh_template.c: Likewise.
375 * math/s_ctan_template.c: Likewise.
376 * math/s_ctanh_template.c: Likewise.
377
378 * math/s_catanf.c: Removed.
379 * math/s_catan.c: Removed.
380 * math/s_catanl.c: Removed.
381 * math/s_catanhf.c: Removed.
382 * math/s_catanh.c: Removed.
383 * math/s_catanhl.c: Removed.
384 * math/s_ctanf.c: Removed.
385 * math/s_ctan.c: Removed.
386 * math/s_ctanl.c: Removed.
387 * math/s_ctanhf.c: Removed.
388 * math/s_ctanh.c: Removed.
389 * math/s_ctanhl.c: Removed.
390
391 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
392 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
393 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
394 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
395 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
396 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
397
398 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
399 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
400 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
401 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
402
403 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
404
405 * s_catan_template.c: Copy of s_catan.c.
406 * s_catanh_template.c: Copy of s_catanh.c.
407 * s_ctan_template.c: Copy of s_ctan.c.
408 * s_ctanh_template.c: Copy of s_ctanh.c.
409
410 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
411
412 * math/Makefile (gen-libm-calls): Move
413 casin, casinh, csin, csinh here.
414 (libm-calls): Remove the above.
415
416 * math/s_casin_template.c: Update using type-generic macros.
417 * math/s_casinh_template.c: Likewise.
418 * math/s_csin_template.c: Likewise.
419 * math/s_csinh_template.c: Likewise.
420 * math/k_casinh_template.c: Likewise.
421
422 * math/s_casinf.c: Removed.
423 * math/s_casin.c: Removed.
424 * math/s_casinl.c: Removed.
425 * math/s_casinh.c: Removed.
426 * math/s_casinhf.c: Removed.
427 * math/s_casinhl.c: Removed.
428 * math/s_csin.c: Removed.
429 * math/s_csinf.c: Removed.
430 * math/s_csinl.c: Removed.
431 * math/s_csinh.c: Removed.
432 * math/s_csinhf.c: Removed.
433 * math/s_csinhl.c: Removed.
434 * math/k_casinh.c: Removed.
435 * math/k_casinhf.c: Removed.
436 * math/k_casinhl.c: Removed.
437
438 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
439 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
440 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
441 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
442
443 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
444 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
445 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
446 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
447 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
448 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
449 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
450 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
451
452 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
453 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
454 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
455 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
456
457 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
458 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
459 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
460 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
461
462 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
463
464 * s_casin_template.c: Copy of s_casin.c.
465 * s_casinh_template.c: Copy of s_casinh.c.
466 * s_csin_template.c: Copy of s_csin.c.
467 * s_csinh_template.c: Copy of s_csinh.c.
468 * k_casinh_template.c: Copy of k_casinh.c.
469
470 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
471
472 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
473
474 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
475
476 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
477 (mul_split) Remove, rename as mul_splitl, remove
478 redundant float.h include, and include via mul_splitl.h
479
480 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
481 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
482 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
483 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
484 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
485
486 * math/mul_splitl.h: New file.
487
488 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
489 Move into mul_split.h, and remove redundant float.h include.
490
491 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
492 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
493 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
495
496 * math/mul_split.h: New file.
497
498 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
499
500 * math/Makefile (libm-gen-calls): Move
501 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
502 (libm-calls): Remove above.
503
504 * math/s_cacos_template.c: Update using type-generic macros.
505 * math/s_cacosh_template.c: Likewise.
506 * math/s_ccos_template.c: Likewise.
507 * math/s_ccosh_template.c: Likwise.
508
509 * math/s_cacosf.c: Removed.
510 * math/s_cacos.c: Removed.
511 * math/s_cacosl.c: Removed.
512 * math/s_cacoshf.c: Removed.
513 * math/s_cacosh.c: Removed.
514 * math/s_cacoshl.c: Removed.
515 * math/s_ccosf.c: Removed.
516 * math/s_ccos.c: Removed.
517 * math/s_ccosl.c: Removed.
518 * math/s_ccoshf.c: Removed.
519 * math/s_ccosh.c: Removed.
520 * math/s_ccoshl.c: Removed.
521
522 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
523 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
524 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
525 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
526 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
527 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
528
529 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
530 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
531 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
532 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
533
534 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
535 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
536 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
537 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
538
539 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
540
541 * s_cacos_template.c: Copy of s_cacos.c.
542 * s_cacosh_template.c: Copy of s_cacosh.c.
543 * s_ccos_template.c: Copy of s_ccos.c.
544 * s_ccosh_template.c: Copy of s_ccosh.c.
545
546 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
547
548 * stdlib/tst-strtod-round-skeleton.c:
549 Refactored from tst-strtod-round.c.
550
551 (L_): New macro to apply literal modifier.
552 (FNPFX): New macro to select str or wcs prefix.
553 (CHAR): New macro to choose wchar_t or char.
554 (STRM): New macro to choose printf for tested character type.
555
556 (STRTO): New macro to choose appropriate string -> real function.
557 (FNPFXS): Stringitized version of FNPFX.
558 (STR): Support for above macro.
559 (STRX): Likewise.
560
561 (TEST): Update with above macros.
562 (test): Likewise.
563 (GEN_ONE_TEST): Likewise.
564 (test_in_one_mode): Likewise.
565
566 * stdlib/tst-strtod-round.c: New file.
567 * wcsmbs/tst-wcstod-round.c: New file.
568
569 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
570 (tst-wcstod-round): Add libm depencency for fesetround.
571
572 2016-08-19 Zack Weinberg <zackw@panix.com>
573
574 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
575
576 2016-08-18 Torvald Riegel <triegel@redhat.com>
577
578 [BZ #20477]
579 * resolv/res_hconf.c (do_init): Use atomic access.
580 * resolv/res_hconf.h: Add comments.
581 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
582 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
584
585 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
586
587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
588 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
589 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
590 Likewise.
591
592 2016-08-18 Florian Weimer <fweimer@redhat.com>
593
594 [BZ #16907]
595 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
596 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
597 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
598 (__attribute__): Remove definition.
599
600 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
601
602 * sysdeps/ieee754/ldbl-128/e_asinl.c:
603 Remove unused sqrtl declaration.
604
605 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
606
607 * math/Makefile: (gen-libm-templates.stmp): New rule.
608 (libm-calls): Move carg conj cimag and cabs into ...
609 (gen-libm-calls): New variable.
610 (generated): Inform Make objects from gen-libm-calls
611 may be generated.
612
613 * sysdeps/generic/math-type-macros.h: New file.
614 * sysdeps/generic/math-type-macros-float.h: Likewise.
615 * sysdeps/generic/math-type-macros-double.h: Likewise.
616 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
617 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
618 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
619
620 * math/cabs.c: Refactor into
621 * math/cabs_template.c: new file.
622 * math/cabsf.c: Removed.
623 * math/cabsl.c: Removed.
624 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
625 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
626
627 * math/carg.c: Refactor into
628 * math/carg_template.c: new file.
629 * math/cargf.c: Removed.
630 * math/cargl.c: Removed.
631 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
632 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
633
634 * math/conj.c: Refactor into
635 * math/conj_template.c: new file.
636 * math/conjf.c: Removed.
637 * math/conjl.c: Removed.
638 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
639 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
640
641 * math/cimag.c: Refactor into
642 * math/cimag_template.c: new file.
643 * math/cimagf.c: Removed.
644 * math/cimagl.c: Removed.
645 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
646 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
647
648 * math/cimag.c: Refactor into
649 * math/cimag_template.c: new file.
650 * math/cimagf.c: Removed.
651 * math/cimagl.c: Removed.
652 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
653 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
654
655 2016-08-17 Florian Weimer <fweimer@redhat.com>
656
657 Reduce time to expected nptl/tst-once5 failure.
658 * nptl/tst-once5.cc (TIMEOUT): Define.
659
660 2016-08-17 Florian Weimer <fweimer@redhat.com>
661
662 [BZ #20452]
663 Avoid additional copies of objects in libc.a in static libraries.
664 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
665 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
666 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
667 rt-sysdep.
668 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
669 Add nptl-sysdep.
670 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
671 Add ptw-sysdep.
672 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
673 rt-sysdep.
674 * sysdeps/unix/sysv/linux/alpha/Makefile
675 (libpthread-shared-only-routines): Add ptw-sysdep,
676 ptw-sigprocmask, ptw-rt_sigaction.
677 * sysdeps/unix/sysv/linux/ia64/Makefile
678 (librt-shared-only-routines): Add rt-sysdep.
679 * sysdeps/unix/sysv/linux/i386/Makefile
680 (libpthread-shared-only-routines): Add libc-do-syscall.
681 * sysdeps/unix/sysv/linux/microblaze/Makefile
682 (libpthread-shared-only-routines): Add sysdep.
683 * sysdeps/unix/sysv/linux/powerpc/Makefile
684 (librt-shared-only-routines): Add rt-sysdep.
685 (libpthread-shared-only-routines): Add sysdep.
686 * sysdeps/unix/sysv/linux/s390/Makefile
687 (librt-shared-only-routines): Add rt-sysdep.
688 * sysdeps/unix/sysv/linux/sparc/Makefile
689 (librt-shared-only-routines): Add rt-sysdep.
690 (libpthread-shared-only-routines): Add sysdep.
691 * sysdeps/unix/sysv/linux/tile/Makefile
692 (libpthread-shared-only-routines): Likewise.
693
694 2016-08-16 Joseph Myers <joseph@codesourcery.com>
695
696 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
697 Mask implicit bit out of unpacked value.
698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
699 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
700 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
701
702 * sysdeps/sparc/fpu/fesetexcept.c: New file.
703
704 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
705
706 * sysdeps/s390/fpu/fesetexcept.c: New file.
707
708 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
709 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
710 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
711
712 * sysdeps/mips/fpu/fesetexcept.c: New file.
713
714 * sysdeps/m68k/fpu/fesetexcept.c: New file.
715
716 * sysdeps/ia64/fpu/fesetexcept.c: New file.
717
718 * sysdeps/hppa/fpu/fesetexcept.c: New file.
719
720 * sysdeps/arm/fesetexcept.c: New file.
721
722 * sysdeps/alpha/fpu/fesetexcept.c: New file.
723
724 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
725
726 * math/fesetexcept.c: New file.
727 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
728 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
729 * math/fenv.h: Define
730 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
731 <bits/libc-header-start.h> instead of including <features.h>.
732 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
733 declaration.
734 * manual/arith.texi (fesetexcept): Document function.
735 * math/Versions (fesetexcept): New libm symbol at version
736 GLIBC_2.25.
737 * math/Makefile (libm-support): Add fesetexcept.
738 (tests): Add test-fesetexcept and test-fesetexcept-traps.
739 * math/test-fesetexcept.c: New file.
740 * math/test-fesetexcept-traps.c: Likewise.
741 * sysdeps/nacl/libm.abilist: Update.
742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
743 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
744 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
745 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
746 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
747 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
748 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
749 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
751 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
752 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
753 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
755 Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
757 Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
759 Likewise.
760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
761 Likewise.
762 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
763 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
764 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
766 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
768 Likewise.
769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
770 Likewise.
771 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
772 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
773 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
774
775 2016-08-16 Florian Weimer <fweimer@redhat.com>
776
777 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
778 New.
779 (do_test): Apply default_stack_size_in_mb if not set.
780 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
781
782 2016-08-15 Andreas Schwab <schwab@suse.de>
783
784 [BZ #20435]
785 CVE-2016-6323
786 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
787 as .cantunwind.
788
789 2016-08-12 Joseph Myers <joseph@codesourcery.com>
790
791 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
792 comment from fraiseexcpt.c.
793
794 * math/test-fexcept.c (feraiseexcept_exact): New function.
795 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
796 (test_except): Likewise.
797
798 2016-08-10 Joseph Myers <joseph@codesourcery.com>
799
800 [BZ #20455]
801 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
802 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
803 to be restored.
804
805 * math/test-fexcept-traps.c: New file.
806 * math/test-fexcept.c: Likewise.
807 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
808 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
809 macro.
810 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
811 (EXCEPTION_SET_FORCES_TRAP): Likewise.
812
813 2016-08-09 Torvald Riegel <triegel@redhat.com>
814
815 * include/atomic.h (atomic_fetch_and_relaxed,
816 atomic_fetch_and_release, atomic_fetch_or_release,
817 atomic_fetch_xor_release): New.
818
819 2016-08-06 Christian Seiler <christian@iwakd.de>
820
821 [BZ #20444]
822 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
823 MACH_PORT_NULL.
824
825 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
826
827 * math/s_fdim.c: Avoid alias renamed.
828 * math/s_fdimf.c: Likewise.
829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
830 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
831 Add s_fdimf-vis3, s_fdim-vis3.
832 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
833 (CFLAGS-s_fdim-vis3.c): Likewise.
834 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
835 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
836
837 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
838
839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
840 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
841 Remove s_fdimf-vis3, s_fdim-vis3.
842 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
843 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
850 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
851 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
852
853 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
854
855 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
856 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
857 -Wa,-Av9a -mvis.
858
859 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
860
861 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
862 LIT() to individual constants in simple expressions
863 after splitting on spaces.
864 (_apply_lit): Rename replaced version, and use it to
865 apply to what appears to be a token.
866
867 * math/libm-test.inc: Fix many, many issues with
868 spacing.
869
870 2016-08-05 Joseph Myers <joseph@codesourcery.com>
871
872 * math/math.h: Move comment about <bits/mathdef.h> definitions
873 above inclusion of <bits/mathdef.h>. Do not mention
874 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
875
876 2016-08-05 Torvald Riegel <triegel@redhat.com>
877
878 * include/atomic.h (atomic_exchange_relaxed): New.
879
880 2016-08-04 Joseph Myers <joseph@codesourcery.com>
881
882 * math/e_scalb.c: Do not include <fenv.h>.
883 (invalid_fn): Do calculation resulting in NaN instead of raising
884 FE_INVALID and returning a NaN explicitly.
885 * math/e_scalbf.c: Do not include <fenv.h>.
886 (invalid_fn): Do calculation resulting in NaN instead of raising
887 FE_INVALID and returning a NaN explicitly.
888 * math/e_scalbl.c: Do not include <fenv.h>.
889 (invalid_fn): Do calculation resulting in NaN instead of raising
890 FE_INVALID and returning a NaN explicitly.
891
892 2016-08-04 Carlos O'Donell <carlos@redhat.com>
893
894 * po/de.po: Updated from Translation Project.
895 * po/fi.po: Likewise.
896 * po/sv.po: Likewise.
897
898 2016-08-04 Florian Weimer <fweimer@redhat.com>
899
900 [BZ #20452]
901 Use sysdep.o from libc.a in static libraries.
902 * sysdeps/unix/sysv/linux/i386/Makefile
903 (libpthread-shared-only-routines): Add sysdep.
904 (librt-shared-only-routines): Likewise.
905
906 2016-08-03 Joseph Myers <joseph@codesourcery.com>
907
908 * math/tgmath.h (nextdown): Define if
909 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
910 (nextup): Likewise.
911
912 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
913 macro.
914 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
915 Document.
916 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
917 Document macro.
918 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
919 (exp10f): Likewise.
920 (exp10l): Likewise.
921 * math/bits/mathcalls.h (exp10): Declare if
922 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
923
924 * manual/arith.texi (nextup): Fix typo in last change.
925
926 2016-08-03 Zack Weinberg <zackw@panix.com>
927
928 [BZ #19239]
929 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
930 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
931 define major, minor, and makedev to issue deprecation warnings on use.
932 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
933 previously-activated deprecation warnings for these macros and prevent
934 subsequent inclusions of this header from having any effect.
935 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
936 including <sys/sysmacros.h>, and undefine it again afterward.
937
938 2016-08-03 Zack Weinberg <zackw@panix.com>
939
940 * sysdeps/generic/sys/sysmacros.h: Delete file.
941 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
942 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
943 * bits/sysmacros.h: ... here; this encoding is now the generic
944 encoding. Now defines only the following macros:
945 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
946 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
947 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
948
949 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
950 bits/sysmacros.h and the above new macros to generate the
951 public implementations of major, minor, and makedev.
952 * misc/tst-makedev.c: New test.
953 * include/sys/sysmacros.h: New wrapper.
954
955 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
956 (routines): Add makedev.
957 (tests): Add tst-makedev.
958 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
959 gnu_dev_makedev.
960 * posix/Makefile (headers): Remove sys/sysmacros.h.
961 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
962
963 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
964 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
965 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
966 * sysdeps/unix/sysv/linux/alpha/libc.abilist
967 * sysdeps/unix/sysv/linux/arm/libc.abilist
968 * sysdeps/unix/sysv/linux/hppa/libc.abilist
969 * sysdeps/unix/sysv/linux/i386/libc.abilist
970 * sysdeps/unix/sysv/linux/ia64/libc.abilist
971 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
972 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
976 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
977 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
978 * sysdeps/unix/sysv/linux/nios2/libc.abilist
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
983 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
985 * sysdeps/unix/sysv/linux/sh/libc.abilist
986 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
987 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
990 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
991 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
992 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
993 Add GLIBC_2.25.
994
995 * include/features.h (__glibc_clang_prereq): New macro.
996 * misc/sys/cdefs.h (__glibc_clang_has_extension)
997 (__attribute_deprecated_msg__): New macros.
998
999 2016-08-03 Joseph Myers <joseph@codesourcery.com>
1000
1001 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1002 macro.
1003 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1004 * manual/arith.texi (issignaling): Document as ISO from TS
1005 18661-1:2014.
1006 (nextup): Likewise.
1007 (nextupf): Likewise.
1008 (nextupl): Likewise.
1009 (nextdown): Likewise.
1010 (nextdownf): Likewise.
1011 (nextdownl): Likewise.
1012 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1013 macro.
1014 * math/math.h: Define
1015 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1016 <bits/libc-header-start.h> instead of including <features.h>.
1017 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1018 [__USE_GNU].
1019 * math/bits/mathcalls.h (nextdown): Declare if
1020 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1021 (nextup): Likewise.
1022 (__issignaling): Likewise.
1023
1024 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1025
1026 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1027 check, and remove __glibc_likely hint
1028 from FP_INFINITE check.
1029 * s_csinhf.c (__csinhf): Likewise.
1030
1031 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1032 hint from FP_INFINITE check.
1033 * s_csinhl.c (__csinhl): Likewise.
1034
1035 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1036
1037 * math/Makefile (libm-calls): Insert F placeholder into
1038 object names. Move w_lgamma_compat* routines into
1039 (libm-compat-calls): New variable.
1040 (libm-compat-calls-ldouble-yes): New variable.
1041 (calls): Insert F placeholder.
1042 (generated): Redefine using new type-foreach macro call.
1043 (routines): Likewise.
1044
1045 (types): New variable to hold a list of symbolic names
1046 for each type supported by the target machine.
1047 (libm-routines): Redefine using new types variable.
1048 (type-foreach): macro to replace fooF with the
1049 appropriately suffixed foo for each types.
1050
1051 (type-ldouble-suffix): New variable.
1052 (type-ldouble-routines): Likewise.
1053 (type-ldouble-yes): Likewise.
1054 (type-double-suffix): Likewise.
1055 (type-double-routines): Likewise.
1056 (type-float-suffix): Likewise.
1057 (type-float-routines): Likewise.
1058
1059 (dbl-only-routines): Remove.
1060 (long-c-yes): Likewise.
1061 (long-m-routines): Likewise.
1062 (long-m-support): Likewise.
1063 (long-m-yes): Likewise.
1064 (test-longdouble-yes): Likewise.
1065
1066 (test-float.o): Simplify by increasing the scope of the
1067 recipe which adds libm-test.stmp to the vector types.
1068 (test-ifloat.o): Likewise.
1069 (test-float-finite.o): Likewise.
1070 (test-double.o): Likewise
1071 (test-idouble.o): Likewise.
1072 (test-double-finite.o): Likewise.
1073 (test-ldouble.o): Likewise
1074 (test-ildoubl.o): Likewise.
1075 (test-ldouble-finite.o): Likewise.
1076
1077 (libm-tests): Redefine type tests using foreach and the
1078 list of types in types.
1079
1080 (CPPFLAGS-test-ildoubl.c): Rename to
1081 (CPPFLAGS-test-ildouble.c): New variable
1082
1083 * math/test-ildoubl.c: Rename to
1084 * math/test-ildouble.c: New file.
1085
1086 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1087
1088 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1089 Use fabsl instead of fabs.
1090 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1091 Likewise.
1092 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1093 Add long double suffix to constant to ensure proper
1094 promotion to long double.
1095
1096 2016-08-03 Tom Tromey <tom@tromey.com>
1097
1098 [BZ #20311]
1099 * nptl_db/Makefile (headers): Add proc_service.h.
1100 * nptl_db/proc_service.h: Add include guard. Use
1101 __BEGIN/__END_DECLS.
1102 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1103 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1104 arguments.
1105
1106
1107 2016-08-03 Florian Weimer <fweimer@redhat.com>
1108
1109 [BZ #17730]
1110 Avoid using memalign for TCB allocations.
1111 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1112 (_dl_allocate_tls_storage): Use malloc and manual alignment.
1113 Avoid alignment gap in the TLS_DTV_AT_TP case.
1114 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1115 determine the pointer to free.
1116 * nptl/tst-tls3-malloc.c: New test.
1117 * nptl/Makefile (tests): Add it.
1118 (tst-tls3-malloc): Link with libdl, libpthread.
1119 (LDFLAGS-tst-tls3-malloc): Set.
1120 (tst-tls3-malloc.out): Depend on DSO used in test.
1121
1122 2016-08-03 Florian Weimer <fweimer@redhat.com>
1123
1124 [BZ #17730]
1125 Avoid using memalign for TLS allocations.
1126 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
1127 is_static member with to_free member.
1128 (union dtv): Use struct dtv_pointer.
1129 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1130 dtv_pointer instead of is_static.
1131 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1132 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1133 instead of val.
1134 (allocate_dtv_entry): New function.
1135 (allocate_and_init): Return struct dtv_pointer. Call
1136 allocate_dtv_entry instead of __libc_memalign.
1137 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1138 instead of val.
1139 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1140 instead of is_static. Adjust call to allocate_and_init.
1141 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1142 struct dtv_pointer instead of val.
1143
1144 2016-08-03 Florian Weimer <fweimer@redhat.com>
1145
1146 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1147 (MALLOC_ALIGN_MASK): Move ...
1148 * malloc/malloc-internal.h: ... to here.
1149 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1150
1151 2016-08-03 Joseph Myers <joseph@codesourcery.com>
1152
1153 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1154 (UDP_ENCAP_GTP1U): Likewise.
1155
1156 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1157 (PF_MAX): Update value.
1158 (AF_QIPCRTR): New macro.
1159
1160 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
1161
1162 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1163 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1164 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1166 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1167 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1168 s_truncf-vis3, s_trunc-vis3.
1169 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1170 (CFLAGS-s_ceil-vis3.c): Likewise.
1171 (CFLAGS-s_floorf-vis3.c): Likewise.
1172 (CFLAGS-s_floor-vis3.c): Likewise.
1173 (CFLAGS-s_truncf-vis3.c): Likewise.
1174 (CFLAGS-s_trunc-vis3.c): Likewise.
1175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1184 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1186 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1187
1188 2016-08-02 David S. Miller <davem@davemloft.net>
1189
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1191 (__nearbyint_vis3): Don't check for sNaN before float register is
1192 loaded with the incoming argument.
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1194 (__nearbyintf_vis3): Likewise.
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1196 Likewise.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1198 Likewise.
1199
1200 * string/test-strncmp.c (do_test_limit): Make sure the test data
1201 stream is aligned as required for the type "CHAR".
1202 (do_test): Likewise.
1203
1204 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
1205
1206 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1207 by beq instructions jumping to the end of the function.
1208 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1209 clobber list. Use "i" constraint instead of "X".
1210 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1211 of "X".
1212
1213 2016-08-02 Joseph Myers <joseph@codesourcery.com>
1214
1215 * bits/libc-header-start.h: New file.
1216 * Makefile (headers): Add bits/libc-header-start.h.
1217 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1218 (__GLIBC_USE): New macro.
1219 * libio/stdio.h: Define
1220 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1221 <bits/libc-header-start.h> instead of including <features.h>.
1222 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1223 (open_memstream): Likewise.
1224 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1225 (__asprintf): Likewise.
1226 (asprintf): Likewise.
1227 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1228 (getdelim): Likewise.
1229 (getline): Likewise.
1230 * string/string.h: Define
1231 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1232 <bits/libc-header-start.h> instead of including <features.h>.
1233 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1234 (strndup): Likewise.
1235 * wcsmbs/wchar.h: Define
1236 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1237 <bits/libc-header-start.h> instead of including <features.h>.
1238 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1239 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1240
1241 2016-08-02 Florian Weimer <fweimer@redhat.com>
1242
1243 Support linking against compatibility symbols, for use in tests.
1244 * include/libc-symbols.h (symbol_version_reference): New macro.
1245 (symbol_version): Use it.
1246 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1247 (compat_symbol): Use compat_symbol_reference.
1248 (compat_symbol_1, compat_symbol_2): Remove.
1249 (compat_symbol_reference, compat_symbol_reference_1)
1250 (compat_symbol_reference_2): New macro. Use
1251 symbol_version_reference.
1252
1253 2016-08-02 Florian Weimer <fweimer@redhat.com>
1254
1255 [BZ #19469]
1256 * malloc/Makefile (CPPFLAGS): Compile tests with
1257 -DTEST_NO_MALLOPT.
1258 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1259
1260 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
1261
1262 [BZ #20033]
1263 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1264 finite version.
1265 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1266 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1267 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1268 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1269 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1270 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1271 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1272 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1273 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1274 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1275 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1276 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1277 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1278 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1279 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1280 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1281 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1282 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1283 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1284 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1285 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1286 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1287 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1288 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1289 in zero power.
1290
1291 2016-08-02 Florian Weimer <fweimer@redhat.com>
1292
1293 [BZ #20370]
1294 * malloc/arena.c (get_free_list): Update comment. Assert that
1295 arenas on the free list have no attached threads.
1296 (remove_from_free_list): New function.
1297 (reused_arena): Call it.
1298
1299 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
1300
1301 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1302 when it is a NaN.
1303 [_IEEE_FP_INEXACT] Remove.
1304 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1305 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1306 when it is a NaN.
1307 [_IEEE_FP_INEXACT] Remove.
1308 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1309 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1310 when it is a NaN.
1311 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1312 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1313 when its absolute value is greater than 0x1.0p52.
1314 [_IEEE_FP_INEXACT] Remove.
1315 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1316 when its absolute value is greater than 0x1.0p23.
1317 [_IEEE_FP_INEXACT] Remove.
1318
1319 2016-08-01 Carlos O'Donell <carlos@redhat.com>
1320
1321 * version.h (RELEASE): Set to "development"
1322 (VERSION): Set to 2.24.90.
1323 * NEWS: Add 2.25 section.
1324
1325 * version.h (RELEASE): Set to "stable"
1326 (VERSION): Set to 2.24.
1327 * include/features.h (__GLIBC_MINOR__): Set to 24.
1328
1329 * NEWS: Add 2.24 fixed bugs.
1330 * po/libc.pot: Regenerate.
1331
1332 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
1333
1334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1335 [$(subdir) = math] (libm-sysdep_routines): Remove.
1336 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1337 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1338 s_truncf-vis3, s_trunc-vis3.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1341 file.
1342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1376 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1377 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1379 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1380 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1381 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1382 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1383 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1384 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1385
1386 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 [BZ #20384]
1389 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1390 test-double-libmvec-sincos-avx-main.o,
1391 test-double-libmvec-sincos-avx2-main.o,
1392 test-double-libmvec-sincos-main.o,
1393 test-float-libmvec-sincosf-avx-main.o,
1394 test-float-libmvec-sincosf-avx2-main.o and
1395 test-float-libmvec-sincosf-main.o.
1396 test-float-libmvec-sincosf-avx512-main.o.
1397 ($(objpfx)test-double-libmvec-sincos): Also link with
1398 $(objpfx)test-double-libmvec-sincos-main.o.
1399 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1400 $(objpfx)test-double-libmvec-sincos-avx-main.o.
1401 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1402 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1403 ($(objpfx)test-float-libmvec-sincosf): Also link with
1404 $(objpfx)test-float-libmvec-sincosf-main.o.
1405 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1406 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1407 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1408 test-double-libmvec-sincos-avx512-main.o and
1409 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1410 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1411 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1412 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1413 (CFLAGS-test-double-libmvec-sincos.c): Removed.
1414 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1415 (CFLAGS-test-double-libmvec-sincos-main.c): New.
1416 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1417 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1418 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1419 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1420 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1421 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1422 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1423 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1424 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1425 -DREQUIRE_AVX2.
1426 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1427 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1428 -DREQUIRE_AVX512F.
1429 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1430 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1431 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1432 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1433 file.
1434 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1435 Likewise.
1436 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1437 Likewise.
1438 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1439 Likewise.
1440 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1441 Likewise.
1442 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1443 Likewise.
1444 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1445 Likewise.
1446 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1447 Likewise.
1448
1449 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
1450
1451 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1452
1453 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
1454
1455 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1456 and typo in a comment about AT_HWCAP entry.
1457
1458 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1459
1460 * sysdeps/aarch64/libm-test-ulps: Updated.
1461
1462 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1463
1464 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1465 of r13 as it is not restored in mvcle case.
1466
1467 2016-07-19 Mike Frysinger <vapier@gentoo.org>
1468
1469 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1470 Rename "ret" to "__ret".
1471 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1472 inline_syscall5, inline_syscall6): Likewise.
1473
1474 2016-07-19 Will Newton <will.newton@gmail.com>
1475
1476 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1477 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1478 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1479 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1480 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1481
1482 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1485 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1486 -mfpmath=387 with $(rtld-CFLAGS).
1487 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1488 $(rtld-CFLAGS).
1489
1490 2016-07-18 Ross Burton <ross.burton@intel.com>
1491 Khem Raj <raj.khem@gmail.com>
1492
1493 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1494 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1495 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1496 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1497 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1498 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1499 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1500 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1501 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1502 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1503 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1504 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1505 R_METAG_TLS_DTPOFF): New.
1506
1507 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
1508 Matt Clay <mclay@lycos.com>
1509
1510 [BZ #20357]
1511 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1512 to call __mpsin/__mpcos and to negate values.
1513 * math/auto-libm-test-in: Add test.
1514 * math/auto-libm-test-out: Regenerate.
1515
1516 2016-07-18 Zack Weinberg <zackw@panix.com>
1517
1518 * grp/Makefile: Don't install the internal header grp-merge.h.
1519
1520 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1521
1522 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1523
1524 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1525
1526 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1527
1528 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1529
1530 [BZ #15368]
1531 * sysdeps/unix/sysv/linux/nptl-signals.h
1532 (__nptl_clear_internal_signals): New function.
1533 (__libc_signal_block_all): Likewise.
1534 (__libc_signal_block_app): Likewise.
1535 (__libc_signal_restore_set): Likewise.
1536 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1537 implementation.
1538 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1539 the cached pid/tid value in pthread structure.
1540
1541 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 [BZ #20347]
1544 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1545
1546 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 [BZ #20348]
1549 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1550 preadv64, pwrite64 and pwritev64.
1551
1552 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
1553
1554 [BZ #20350]
1555 * posix/tst-preadwrite.c: Renamed to ...
1556 * posix/tst-preadwrite-common.c: This.
1557 (PREAD): Removed.
1558 (PWRITE): Likewise.
1559 (STRINGIFY): Likewise.
1560 (STRINGIFY2): Likewise.
1561 (do_prepare): Make it static and remove function arguments.
1562 (do_test): Likewise.
1563 (PREPARE): Updated.
1564 (TEST_FUNCTION): New.
1565 (name): Make it static.
1566 (fd): Likewise.
1567 (do_prepare): Use create_temp_file.
1568 (do_test): Renamed to ...
1569 (do_test_with_offset): This. Make it static and accept offset.
1570 Properly check return value of PWRITE and PREAD. Return bytes
1571 read. Don't close fd nor unlink name.
1572 * posix/tst-preadwrite.c: Rewrite.
1573 * posix/tst-preadwrite64.c: Likewise.
1574
1575 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 [BZ #20309]
1578 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1579 -mtls-dialect=gnu2 works.
1580 * configure: Regenerated.
1581 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1582 (tests): Add tst-gnu2-tls1.
1583 (modules-names): Add tst-gnu2-tls1mod.
1584 ($(objpfx)tst-gnu2-tls1): New.
1585 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1586 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1587 * elf/tst-gnu2-tls1.c: New file.
1588 * elf/tst-gnu2-tls1mod.c: Likewise.
1589 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1590 bytes for push in the PLT entry to align the stack.
1591
1592 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 [BZ #20349]
1595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1596
1597 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1598
1599 [BZ #18707]
1600 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1601 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1602
1603 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1604
1605 * sysdeps/unix/sysv/linux/sysdep.h
1606 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1607 guards.
1608 * misc/tst-preadvwritev-common.c: New file.
1609 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1610 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1611 a check for files larger than 2GB.
1612
1613 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1614 (__ASSUME_OFF_DIFF_OFF64): Remove define.
1615 * sysdeps/unix/sysv/linux/pread.c
1616 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1617 __OFF_T_MATCHES_OFF64_T.
1618 * sysdeps/unix/sysv/linux/pread64.c
1619 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1620 * sysdeps/unix/sysv/linux/preadv.c
1621 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1622 * sysdeps/unix/sysv/linux/preadv64.c
1623 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1624 * sysdeps/unix/sysv/linux/pwrite.c
1625 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1626 * sysdeps/unix/sysv/linux/pwrite64.c
1627 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1628 * sysdeps/unix/sysv/linux/pwritev.c
1629 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1630 * sysdeps/unix/sysv/linux/pwritev64.c
1631 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1632
1633 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
1634
1635 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1636 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1637
1638 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
1639
1640 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1641
1642 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
1643
1644 [BZ #20240]
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1646 (CFLAGS-s_modf-ppc32.c): New variable.
1647 (CFLAGS-s_modff-ppc32.c): Likewise.
1648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1649 (CFLAGS-s_modf-ppc64.c): Likewise.
1650 (CFLAGS-s_modff-ppc64.c): Likewise.
1651
1652 2016-07-07 Andreas Schwab <schwab@suse.de>
1653
1654 [BZ #20263]
1655 * nptl/tst-robust10.c: New test.
1656 * nptl/Makefile (tests): Add tst-robust10.
1657
1658 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
1659
1660 [BZ #20263]
1661 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1662
1663 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1664
1665 * sysdeps/s390/linkmap.h (struct link_map_machine):
1666 Remove member gotplt and add member jmprel.
1667 * sysdeps/s390/s390-32/dl-machine.h
1668 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1669 instead of gotplt with &got[3].
1670 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1671 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1672
1673 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
1674
1675 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1676
1677 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1678
1679 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1680 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1681 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1682 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1683 * libio/vtables.c (_IO_vtable_check)
1684 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1685 * libio/libioP.h (IO_set_accept_foreign_vtables)
1686 [!PTR_MANGLE]: Do not call PTR_MANGLE.
1687
1688 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 [BZ #20314]
1691 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1692 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1693 $(common-objpfx)cmath.
1694 ($(common-objpfx)cstdlib): New target.
1695 ($(common-objpfx)cmath): Likewise.
1696
1697 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
1698
1699 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1700
1701 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1702
1703 [BZ #20327]
1704 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1705 are not part of the string.
1706
1707 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1708
1709 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1710 * nptl/tst-cancel4-common.h (fifoname): New variable.
1711 (fifofd): Likewise.
1712 (cl_fifo): New function.
1713 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1714 SIGINT.
1715 (tf_open): Add early cancel test.
1716
1717 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
1718
1719 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1720
1721 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
1722
1723 * sysdeps/generic/ldsodefs.h
1724 (dl_symbol_visibility_binds_local_p): New inline function.
1725 * elf/dl-addr.c (determine_info): Treat hidden and internal
1726 symbols as local.
1727 * elf/dl-lookup.c (do_lookup_x): Likewise.
1728 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1729
1730 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
1731
1732 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1733 invalid exception for a sNaN input.
1734 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1735 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1736 (__nearbyint_vis3): Likewise
1737 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1738 (__nearbyintf_vis3): Likewise
1739 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1740 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1741 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1742 Likewise.
1743 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1744 Likewise.
1745
1746 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
1747
1748 [BZ #20139]
1749 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1750 (HAVE_AVX512DQ_ASM_SUPPORT): This.
1751 * sysdeps/x86_64/configure.ac: Require assembler from binutils
1752 2.24 or above.
1753 (HAVE_AVX512_ASM_SUPPORT): Removed.
1754 (HAVE_AVX512DQ_ASM_SUPPORT): New.
1755 * sysdeps/x86_64/configure: Regenerated.
1756 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1757 check unconditional.
1758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1759 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1760 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1761 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1762 Likewise.
1763 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1764 Likewise.
1765 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1766 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1767 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1768 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1769 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1770 Likewise.
1771 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1772 Likewise.
1773 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1774 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1775 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1776 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1777 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1778 Likewise.
1779 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1780 Likewise.
1781 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1782 Likewise.
1783 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1784 Likewise.
1785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1786 Likewise.
1787 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1788 Likewise.
1789 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1790 Likewise.
1791 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1792 Likewise.
1793 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1794 Likewise.
1795 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1796 Likewise.
1797 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1798 Likewise.
1799
1800 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
1801
1802 [BZ #20024]
1803 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1804 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1805 of this implementation of vector function.
1806 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1808 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1809 Likewise.
1810 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1811 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1812 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1813 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1814 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1815 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1816 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1817 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1818 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1819 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1820 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1821 for testing vector sincos with fixed ABI.
1822 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1823 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1824 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1825 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1826 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1827 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1828 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1829 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1830 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1831 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1832 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1833 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1834 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1835 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1836 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1837 * sysdeps/x86_64/fpu/Makefile: Added new tests.
1838
1839 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
1840
1841 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1842
1843 2016-06-30 Anton Blanchard <anton@samba.org>
1844
1845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1846 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1847 s_sinf-ppc64.
1848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1851 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1852
1853 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1854
1855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1857 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1858 e_expf-ppc64.
1859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1860 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1861 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1862 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1863
1864 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
1865
1866 [BZ #20277]
1867 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1868 when SHARED is defined.
1869
1870 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
1871
1872 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1873 (index_arch_Prefer_ERMS): Likewise.
1874 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1875 __memcpy_erms for Prefer_ERMS.
1876 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1877 (__memmove_erms): Enabled for libc.a.
1878 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1879 __memmove_erms or Prefer_ERMS.
1880 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1881 __mempcpy_erms for Prefer_ERMS.
1882 * sysdeps/x86_64/multiarch/memset.S (memset): Return
1883 __memset_erms for Prefer_ERMS.
1884
1885 2016-06-30 Andreas Schwab <schwab@suse.de>
1886
1887 [BZ #20262]
1888 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1889 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
1890 of memory.
1891
1892 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 [BZ #18645]
1895 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1896 (test-extras): Add tst-cleanupx4aux.
1897 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
1898 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1899 tst-cleanupx4aux.o.
1900 * nptl/tst-cleanupx4aux.c: New file.
1901
1902 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
1903
1904 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1905
1906 2016-06-29 Andreas Schwab <schwab@suse.de>
1907
1908 [BZ #20260]
1909 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1910 address before the beginning of the string as an integer to avoid
1911 array-bounds warning.
1912
1913 2016-06-28 Richard Henderson <rth@redhat.com>
1914
1915 * elf/elf.h (EM_BPF): New.
1916 (EM_NUM): Update.
1917 (R_BPF_NONE, R_BPF_MAP_FD): New.
1918
1919 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1920 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1921 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1922 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1923 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1924 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1925 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1926 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1927 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1928 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1929 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1930 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1931 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1932 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1933 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1934 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1935 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1936 (EM_NUM): Update.
1937
1938 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
1939
1940 [BZ #18960]
1941 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1942 Set _nl_current_LC_CATEGORY_used to two instead of one.
1943
1944 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
1945
1946 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1947 (do_test): ... this.
1948 (TEST_FUNCTION): New macro.
1949 Include test-skeleton.c.
1950 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1951 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1952
1953 2016-06-27 Joseph Myers <joseph@codesourcery.com>
1954
1955 [BZ #15479]
1956 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1957 floating-point environment rather than just control word.
1958 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1959 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1960 floating-point environment, with "invalid" exceptions merged in,
1961 rather than just control word.
1962 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1963 * math/libm-test.inc (trunc_test_data): Do not allow spurious
1964 "inexact" exceptions.
1965
1966 [BZ #15479]
1967 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1968 floating-point environment rather than just control word.
1969 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1970 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1971 floating-point environment, with "invalid" exceptions merged in,
1972 rather than just control word.
1973 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1974 * math/libm-test.inc (floor_test_data): Do not allow spurious
1975 "inexact" exceptions.
1976
1977 [BZ #15479]
1978 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1979 floating-point environment rather than just control word.
1980 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1981 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1982 floating-point environment, with "invalid" exceptions merged in,
1983 rather than just control word.
1984 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1985 * math/libm-test.inc (ceil_test_data): Do not allow spurious
1986 "inexact" exceptions.
1987
1988 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
1989
1990 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1991 __libc_vfork.
1992 (__vfork) [IS_IN (libc)]: Remove alias.
1993 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1994 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1995 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1996
1997 2016-06-24 Torvald Riegel <triegel@redhat.com>
1998
1999 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2000 of atomic_compare_and_exchange_bool_rel.
2001 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2002 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2003 catomic_compare_and_exchange_bool_rel): Remove.
2004 * sysdeps/aarch64/atomic-machine.h
2005 (atomic_compare_and_exchange_bool_rel): Likewise.
2006 * sysdeps/alpha/atomic-machine.h
2007 (atomic_compare_and_exchange_bool_rel): Likewise.
2008 * sysdeps/arm/atomic-machine.h
2009 (atomic_compare_and_exchange_bool_rel): Likewise.
2010 * sysdeps/mips/atomic-machine.h
2011 (atomic_compare_and_exchange_bool_rel): Likewise.
2012 * sysdeps/microblaze/atomic-machine.h
2013 ( __arch_compare_and_exchange_bool_8_rel,
2014 __arch_compare_and_exchange_bool_16_rel): Likewise.
2015 * sysdeps/powerpc/atomic-machine.h
2016 ( __arch_compare_and_exchange_bool_8_rel,
2017 __arch_compare_and_exchange_bool_16_rel): Likewise.
2018 * sysdeps/powerpc/powerpc32/atomic-machine.h
2019 ( __arch_compare_and_exchange_bool_32_rel,
2020 __arch_compare_and_exchange_bool_64_rel): Likewise.
2021 * sysdeps/powerpc/powerpc64/atomic-machine.h
2022 ( __arch_compare_and_exchange_bool_32_rel,
2023 __arch_compare_and_exchange_bool_64_rel): Likewise.
2024 * sysdeps/tile/atomic-machine.h
2025 (atomic_compare_and_exchange_bool_rel): Likewise.
2026
2027 2016-06-23 Joseph Myers <joseph@codesourcery.com>
2028
2029 [BZ #20296]
2030 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2031 when either argument is a NaN.
2032 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2033 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2034
2035 * math/libm-test.inc (snan_value_ld): New macro.
2036 (isgreater_test_data): Add sNaN tests.
2037 (isgreaterequal_test_data): Likewise.
2038 (isless_test_data): Likewise.
2039 (islessequal_test_data): Likewise.
2040 (islessgreater_test_data): Likewise.
2041 (isunordered_test_data): Likewise.
2042 (nextafter_test_data): Likewise.
2043 (nexttoward_test_data): Likewise.
2044 (remainder_test_data): Likewise.
2045 (remquo_test_data): Likewise.
2046 (significand_test_data): Likewise.
2047 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2048
2049 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2050
2051 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2052 environment macros are defined.
2053 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2054
2055 2016-06-23 Florian Weimer <fweimer@redhat.com>
2056
2057 [BZ #20191]
2058 Implement vtable verification in libio.
2059 * Makerules (shlib.lds): Place __libc_IO_vtables section.
2060 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2061 * debug/vdprintf_chk.c (__vdprintf_chk): Call
2062 _IO_new_file_init_internal instead of _IO_file_init.
2063 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2064 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2065 * libio/Makefile (routines): Add vtables.
2066 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2067 (_IO_init): Remove, not for internal use.
2068 (_IO_init_internal): Declare, internal replacement for _IO_init.
2069 (_IO_file_init): Remove, not for internal use.
2070 (_IO_new_file_init): Remove, not for internal use.
2071 (_IO_new_file_init_internal): Declare, internal replacement for
2072 _IO_new_file_init.
2073 (_IO_old_file_init): Remove, not for internal use.
2074 (_IO_old_file_init_internal): Declare, internal replacement for
2075 _IO_old_file_init.
2076 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2077 internal use.
2078 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2079 Declare.
2080 (libio_vtable): New macro.
2081 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2082 functions.
2083 * libio/fileops.c (_IO_new_file_init_internal): Rename from
2084 _IO_new_file_init.
2085 (_IO_new_file_init): New externally visible wrapper which disables
2086 vtable verification.
2087 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2088 Define as vtables.
2089 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2090 (_IO_init): New externally visible wrapper which disables
2091 vtable verification.
2092 * libio/iofdopen.c (_IO_new_fdopen): Call
2093 _IO_new_file_init_internal instead of _IO_file_init. Adjust
2094 comment.
2095 * libio/iofopen.c (__fopen_internal): Call
2096 _IO_new_file_init_internal instead of _IO_file_init.
2097 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2098 Define as vtables.
2099 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2100 _IO_new_file_init_internal instead of _IO_file_init.
2101 * libio/iopopen.c (_IO_new_popen): Likewise.
2102 (_IO_proc_jumps): Define as vtable.
2103 * libio/iovdprintf.c (_IO_vdprintf): Call
2104 _IO_new_file_init_internal instead of _IO_file_init.
2105 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2106 (__open_memstream): Call _IO_init_internal instead of _IO_init.
2107 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2108 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2109 _IO_old_file_init.
2110 (_IO_old_file_init): New externally visible wrapper which disables
2111 vtable verification.
2112 (_IO_old_file_jumps): Define as vtable.
2113 * libio/oldiofdopen.c (_IO_old_fdopen): Call
2114 _IO_old_file_init_internal instead of _IO_old_file_init.
2115 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2116 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2117 (_IO_old_proc_jumps): Define as vtable.
2118 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2119 Define as vtables.
2120 * libio/vtables.c: New file.
2121 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2122 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2123 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2124 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2125 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2126 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2127 instead of _IO_init.
2128
2129 2016-06-23 Florian Weimer <fweimer@redhat.com>
2130
2131 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2132
2133 2016-06-23 Florian Weimer <fweimer@redhat.com>
2134
2135 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2136 potentially unused.
2137
2138 2016-06-22 Florian Weimer <fweimer@redhat.com>
2139
2140 * test-skeleton.c (write_message): New function.
2141 * malloc/tst-mallocfork2.c (write_message): Remove.
2142 * debug/tst-longjmp_chk2.c (write_indented): New function.
2143 (write_message): Remove.
2144 (stackoverflow_handler): Call write_indented.
2145
2146 2016-06-22 Joseph Myers <joseph@codesourcery.com>
2147
2148 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2149 "inexact" exceptions after fnstenv.
2150 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2151 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2152 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2153
2154 2015-06-22 Zack Weinberg <zackw@panix.com>
2155
2156 * sysdeps/generic/bits/hwcap.h: Moved to ...
2157 * bits/hwcap.h: Here.
2158
2159 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
2160
2161 * sysdeps/aarch64/memcpy.S (memcpy):
2162 Further tuning for performance.
2163
2164 2016-06-21 Florian Weimer <fweimer@redhat.com>
2165
2166 [BZ #20284]
2167 * malloc/arena.c (reused_arena): Do not return NULL if we start
2168 out with a non-corrupted arena.
2169
2170 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2171
2172 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2173 * misc/tst-preadvwritev.c: New file.
2174 * misc/tst-preadvwritev64.c: Likewise.
2175 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2176 usage.
2177 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2178 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2179 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2180 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2181
2182 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
2183
2184 [BZ #19654]
2185 * sysdeps/x86_64/fpu/Makefile: Added new tests.
2186 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2187 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2188 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2189 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2190 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2191 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2192 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2193 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2194 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2195 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2196 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2197 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2198 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2199 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2200 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2201 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2202 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2203 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2204 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2205 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2206 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2207 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2208 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2209 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2210 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2211
2212 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2213
2214 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2215 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2216
2217 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2218
2219 * sysdeps/aarch64/memcpy.S (memcpy):
2220 Rewrite of optimized memcpy and memmove.
2221 * sysdeps/aarch64/memmove.S (memmove): Remove
2222 memmove code (merged into memcpy.S).
2223
2224 2016-06-20 Florian Weimer <fweimer@redhat.com>
2225
2226 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2227 * sysdeps/generic/dl-dtv.h: New file.
2228 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2229 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2230 (dtv_t): Remove.
2231 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2232 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2233 (dtv_t): Remove.
2234 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2235 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2236 (dtv_t): Remove.
2237 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2238 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2239 (dtv_t): Remove.
2240 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2241 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2242 (dtv_t): Remove.
2243 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2244 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2245 (dtv_t): Remove.
2246 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2247 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2248 (dtv_t): Remove.
2249 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2250 (dtv_t): Remove.
2251 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2252 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2253 (dtv_t): Remove.
2254 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2255 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2256 (dtv_t): Remove.
2257 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2258 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2259 (dtv_t): Remove.
2260 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2261 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2262 (dtv_t): Remove.
2263 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2264 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2265 (dtv_t): Remove.
2266 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2267 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2268 (dtv_t): Remove.
2269 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2270 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2271 (dtv_t): Remove.
2272 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2273 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2274 (dtv_t): Remove.
2275
2276 2016-06-20 Florian Weimer <fweimer@redhat.com>
2277
2278 Revert symbol poisoning of __malloc_initialize_hook.
2279 * include/stdc-predef.h (__malloc_initialize_hook): Remove
2280 poisoning.
2281 * malloc/Makefile: Remove un-poisoning.
2282 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2283 instead of old__malloc_initialize_hook.
2284 * malloc/malloc-hooks.h: Likewise.
2285 * malloc/malloc.c: Likewise.
2286 * malloc/mcheck-init.c: Likewise.
2287
2288 2016-06-19 Carlos O'Donell <carlos@redhat.com>
2289
2290 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2291
2292 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
2293
2294 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2295 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2296 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2298
2299 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2300
2301 * NEWS: Mention addition of nextup and nextdown.
2302 * manual/arith.texi: Document nextup and nextdown.
2303 * manual/libm-err-tab.pl: Add nextup and nextdown.
2304 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2305 * math/Versions (libm): Add GLIBC_2.24.
2306 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2307 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2308 Add new test.
2309 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2310 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2311 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2312 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2313 (nextup_test_data): Likewise.
2314 (nextdown_test_data): Likewise.
2315 * math/s_nextdown.c: New file.
2316 * math/s_nextdownf.c: Likewise.
2317 * math/s_nextdownl.c: Likewise.
2318 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2319 F(nextup): New function.
2320 F(nextdown): Likewise.
2321 * math/tgmath.h: Add nextup and nextdown.
2322 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2323 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2326 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2328 Add nextup and nextdown.
2329 (CFLAGS-nldbl-nextup.c): New variable.
2330 (CFLAGS-nldbl-nextdown.c): Likewise.
2331 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2332 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2333 * sysdeps/nacl/libm.abilist: Update.
2334 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2335 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2336 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2337 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2338 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2339 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2340 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2341 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2342 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2343 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2344 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2348 Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2351 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2352 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2358 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2359 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2360 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2361 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2362
2363 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2364
2365 * manual/pattern.texi: Fix typos & grammar errors.
2366
2367 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2368
2369 * manual/search.texi: Fix typos & grammar errors.
2370
2371 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2372
2373 * manual/message.texi: Fix typos & grammar errors.
2374
2375 2016-06-16 Mike Frysinger <vapier@gentoo.org>
2376
2377 * manual/contrib.texi: Fix spelling typos.
2378 * manual/crypt.texi: Likewise.
2379 * manual/filesys.texi: Likewise.
2380 * manual/locale.texi: Likewise.
2381 * manual/message.texi: Likewise.
2382 * manual/nss.texi: Likewise.
2383 * manual/string.texi: Likewise.
2384
2385 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2386
2387 * manual/locale.texi: Fix typos & grammar errors.
2388
2389 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2390
2391 * manual/charset.texi: Fix typos & grammar errors.
2392
2393 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2394
2395 * manual/string.texi: Fix typos.
2396
2397 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2398
2399 * manual/ctype.texi: Fix typos.
2400
2401 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2402
2403 * manual/memory.texi: Fix various typos & grammar errors.
2404
2405 2016-06-14 Joseph Myers <joseph@codesourcery.com>
2406
2407 [BZ #20255]
2408 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
2409 * math/libm-test.inc (fdim_test_data): Add another test.
2410
2411 [BZ #6796]
2412 [BZ #20255]
2413 [BZ #20256]
2414 * math/s_fdim.c: Include <math_private.h>.
2415 (__fdim): Use math_narrow_eval on result.
2416 * math/s_fdimf.c: Include <math_private.h>.
2417 (__fdimf): Use math_narrow_eval on result.
2418 * sysdeps/i386/fpu/s_fdim.S: Remove file.
2419 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2420 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2421 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2422 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2423 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2424 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2425 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2426 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2427 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2428 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2429 * math/libm-test.inc (fdim_test_data): Expect errno setting on
2430 overflow. Add sNaN tests.
2431
2432 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2433 fpclassify.
2434 * math/s_fdimf.c (__fdimf): Likewise.
2435 * math/s_fdiml.c (__fdiml): Likewise.
2436
2437 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2438
2439 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2440 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2442 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2443 ifunc'ed strcasecmp/strncasecmp.
2444 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2445 [EALIGN]: Removed.
2446 [END]: Likewise.
2447 [__strcasecmp]: Define instead of the above to control symbol name.
2448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2449 for __strcasecmp_power8.
2450 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2451 for __strncasecmp_power8.
2452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2453 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2454 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2455 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2456 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2458
2459 2016-06-13 Joseph Myers <joseph@codesourcery.com>
2460
2461 [BZ #20252]
2462 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2463 arguments when second argument is a NaN.
2464 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2465 qNaN tests.
2466
2467 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2468 (conj_test_data): Likewise.
2469 (copysign_test_data): Likewise.
2470 (creal_test_data): Likewise.
2471 (fma_test_data): Likewise.
2472 (fmod_test_data): Likewise.
2473
2474 [BZ #20250]
2475 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2476 itself.
2477 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2478 zero input to itself.
2479 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2480 Likewise.
2481 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2482 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2484 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2485 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2486
2487 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2488
2489 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2490 * nptl/tst-cancel4-common.c: New file.
2491 * nptl/tst-cancel4-common.h: Likewise.
2492 * nptl/tst-cancel4.c: Move common definitions to
2493 tst-cancel4-common.{c,h} file.
2494 * nptl/tst-cancel4_1.c: New test.
2495 * nptl/tst-cancel4_2.c: New test.
2496
2497 2016-06-13 Florian Weimer <fweimer@redhat.com>
2498
2499 [BZ #20248]
2500 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2501 (write_message): New function.
2502 (stackoverflow_handler): Call it instead of printf, to avoid
2503 excessive stack usage by printf.
2504 (do_test): Restore SIGSEGV, SIGBUS default handlers.
2505
2506 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2507
2508 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2509 (prio_inherit_missing): Remove define.
2510 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2511 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2512 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2513 Likewise.
2514 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2515 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2517 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2519 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2520
2521 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2522
2523 [BZ #19670]
2524 [BZ #19672]
2525
2526 * io/test-lfs.c (do_prepare): Use xmalloc.
2527 * io/tst-fcntl.c (do_prepare): Likewise.
2528 * libio/tst-fopenloc.c (do_bz17916): Likewise.
2529 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2530 * login/tst-utmp.c (do_prepare): Likewise.
2531 * posix/tst-exec.c (do_prepare): Likewise.
2532 * posix/tst-pathconf.c (prepare): Likewise.
2533 * posix/tst-spawn.c (do_prepare): Likewise.
2534 * posix/tst-truncate.c (do_prepare): Likewise.
2535 * rt/tst-aio.c (do_prepare): Likewise.
2536 * rt/tst-aio64.c (do_prepare): Likewise.
2537
2538 2016-06-11 Florian Weimer <fweimer@redhat.com>
2539
2540 [BZ #20237]
2541 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2542 (get*ent): Set entidx to NULL during initialization. If entidx is
2543 NULL, start iteration from the beginning.
2544
2545 2016-06-11 Florian Weimer <fweimer@redhat.com>
2546
2547 * malloc/malloc.c (musable): Return correct size for dumped fake
2548 mmapped chunk.
2549
2550 2016-06-11 Florian Weimer <fweimer@redhat.com>
2551
2552 [BZ #20222]
2553 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2554 (_IO_cookie_write): Likewise.
2555 (_IO_cookie_seek): Likewise.
2556 (_IO_cookie_close): Likewise.
2557 (_IO_old_cookie_seek): Likewise.
2558 (set_callbacks): New function.
2559 (_IO_cookie_init): Call set_callbacks to copy callbacks.
2560
2561 2016-06-11 Marko Myllynen <myllynen@redhat.com>
2562
2563 * locale/programs/localedef.c (oldstyle_tables): Remove.
2564 * locale/programs/localedef.h (oldstyle_tables): Likewise.
2565
2566 2016-06-10 Joseph Myers <joseph@codesourcery.com>
2567
2568 [BZ #20240]
2569 * math/Makefile (CFLAGS-s_modf.c): New variable.
2570 (CFLAGS-s_modff.c): Likewise.
2571 (CFLAGS-s_modfl.c): Likewise.
2572 * math/libm-test.inc (modf_test_data): Add sNaN tests.
2573
2574 2016-06-09 Carlos O'Donell <carlos@redhat.com>
2575
2576 [BZ #20215]
2577 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2578 [!__GNUC_PREREQ (3,2)]: Likewise.
2579
2580 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
2581
2582 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2583 (msghdr.msg_controllen): Likewise.
2584 (cmsghdr.cmsg_len): Likewise.
2585 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2586 ptw-oldsendmsg.
2587 (CFLAGS-oldrecvmsg.c): Remove rule.
2588 (CFLAGS-oldsendmsg.c): Likewise.
2589 (CFLAGS-recvmsg.c): Add rule.
2590 (CFLAGS-sendmsg.c): Likewise.
2591 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2592 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2593 (CFLAGS-recvmsg.c): Remove rule.
2594 (CFLAGS-sendmsg.c): Likewise.
2595 (CFLAGS-oldrecvmsg.c): Likewise.
2596 (CFLAGS-oldsendmsg.c): Likewise.
2597 (CFLAGS-recvmmsg.c): Likewise.
2598 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2599 to kernel defined interfaces.
2600 (msghdr.msg_controllen): Likewise.
2601 (cmsghdr.cmsg_len): Likewise.
2602 (msghdr.__glibc_reserved1): Remove member.
2603 (msghdr.__glibc_reserved2): Likewise.
2604 (cmsghdr.__glibc_reserved1): Likewise.
2605 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2606 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2607 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2608 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2609 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2610 version.
2611 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2612 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2613 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2614 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2615 Remove recvmsg and sendmsg.
2616 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2617 Likewise.
2618 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2619 Likewise.
2620 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2621 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2622 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2623 Likewise.
2624 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2625 Likewise.
2626 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2627 [libc] (GLIBC_2.24): Likewise.
2628 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2629 Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2631 Likewise.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2633 [libc] (GLIBC_2.24): Likewise.
2634 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2635 Likewise.
2636 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2637 Likewise.
2638 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2639 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2640 Likewise.
2641 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2642 Likewise.
2643 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2644 Likewise.
2645 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2646 Likewise.
2647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2648 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2649 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2650 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2651 version for {recv,send,recm,sendm}msg.
2652 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2653 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2654 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2655 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2656 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2658 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2663 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2665 Likewise.
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2667 Likewise.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2671 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2672 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2673 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2681
2682 2016-06-10 Florian Weimer <fweimer@redhat.com>
2683
2684 [BZ #19564]
2685 Remove __malloc_initialize_hook from the API.
2686 * malloc/malloc.h (__malloc_initialize_hook): Remove.
2687 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2688 #pragma GCC poison.
2689 * malloc/malloc-hooks.h: New file.
2690 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2691 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2692 (old__malloc_initialize_hook): Rename from
2693 __malloc_initialize_hook to evade poisoning. Turn into compat
2694 symbol.
2695 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2696 __malloc_initialize_hook.
2697 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2698 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2699 * manual/memory.texi (Hooks for Malloc): Remove
2700 __malloc_initialize_hook. Adjust hook example.
2701
2702 2016-06-09 Joseph Myers <joseph@codesourcery.com>
2703
2704 [BZ #20235]
2705 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2706 itself.
2707 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2708 * math/libm-test.inc (log2_test_data): Add sNaN tests.
2709
2710 [BZ #20234]
2711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2712 infinity or NaN input to itself.
2713
2714 [BZ #20233]
2715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2716 to itself.
2717
2718 [BZ #20232]
2719 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2720 itself.
2721
2722 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/x86_64/start.S (_start): Always indirect branch to
2725 __libc_start_main via GOT.
2726
2727 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * sysdeps/x86_64/memcopy.h: New file.
2730 * sysdeps/x86_64/wordcopy.c: Likewise.
2731
2732 2016-06-09 Florian Weimer <fweimer@redhat.com>
2733
2734 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2735 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2736 <cstdlib>.
2737 (optimization_barrier): New.
2738 (do_test): Use it. Call quick_exit in the global namespace.
2739 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2740 instead of <cstdlib>, <thread>.
2741 (optimization_barrier): New.
2742 (non_main_thread): Adjust declaration. Call optimization_barrier.
2743 Call quick_exit in the global namespace.
2744 (do_test): Call optimization_barrier. Use pthread_create,
2745 pthread_join instead of std::thread.
2746
2747 2016-06-09 Andreas Schwab <schwab@suse.de>
2748
2749 [BZ #19755]
2750 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2751 new entries in auto-propagate mode.
2752 * nscd/grpcache.c (cache_addgr): Likewise.
2753
2754 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2755
2756 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2757 New functions.
2758 (add_temp_file): Use them.
2759
2760 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
2761
2762 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2763
2764 2016-06-08 Joseph Myers <joseph@codesourcery.com>
2765
2766 [BZ #20229]
2767 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2768 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2769 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2770
2771 [BZ #20228]
2772 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2773 itself.
2774 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2775 * math/libm-test.inc (log10_test_data): Add sNaN tests.
2776
2777 [BZ #20227]
2778 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2779 itself.
2780 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2781 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2782 * math/libm-test.inc (log_test_data): Add sNaN tests.
2783
2784 [BZ #20226]
2785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2786 itself.
2787 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2788 * math/libm-test.inc (exp_test_data): Add sNaN tests.
2789 (exp10_test_data): Likewise.
2790 (expm1_test_data): Likewise.
2791
2792 [BZ #20225]
2793 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2794 itself.
2795 * math/s_ldexpf.c (__ldexpf): Likewise.
2796 * math/s_ldexpl.c (__ldexpl): Likewise.
2797 * math/w_scalbln.c (__w_scalbln): Likewise.
2798 * math/w_scalblnf.c (__w_scalblnf): Likewise.
2799 * math/w_scalblnl.c (__w_scalblnl): Likewise.
2800 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2801 (scalbln_test_data): Likewise.
2802
2803 [BZ #20224]
2804 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2805 argument to itself.
2806 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2807
2808 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 [BZ #19776]
2811 * sysdeps/x86_64/memcpy.S: Make it dummy.
2812 * sysdeps/x86_64/mempcpy.S: Likewise.
2813 * sysdeps/x86_64/memmove.S: New file.
2814 * sysdeps/x86_64/memmove_chk.S: Likewise.
2815 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2816 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2817 * sysdeps/x86_64/memmove.c: Removed.
2818 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2819 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2820 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2821 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2822 Likewise.
2823 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2824 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2826 memcpy-sse2-unaligned, memmove-avx-unaligned,
2827 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2829 (__libc_ifunc_impl_list): Replace
2830 __memmove_chk_avx512_unaligned_2 with
2831 __memmove_chk_avx512_unaligned. Remove
2832 __memmove_chk_avx_unaligned_2. Replace
2833 __memmove_chk_sse2_unaligned_2 with
2834 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
2835 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
2836 with __memmove_avx512_unaligned. Replace
2837 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2838 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
2839 with __memcpy_chk_avx512_unaligned. Remove
2840 __memcpy_chk_avx_unaligned_2. Replace
2841 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2842 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
2843 Replace __memcpy_avx512_unaligned_2 with
2844 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
2845 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
2846 with __mempcpy_chk_avx512_unaligned. Remove
2847 __mempcpy_chk_avx_unaligned_2. Replace
2848 __mempcpy_chk_sse2_unaligned_2 with
2849 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
2850 Replace __mempcpy_avx512_unaligned_2 with
2851 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
2852 Replace __mempcpy_sse2_unaligned_2 with
2853 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
2854 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2855 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2856 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2857 if processor has ERMS. Default to __memcpy_sse2_unaligned.
2858 (ENTRY): Removed.
2859 (END): Likewise.
2860 (ENTRY_CHK): Likewise.
2861 (libc_hidden_builtin_def): Likewise.
2862 Don't include ../memcpy.S.
2863 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2864 __memcpy_chk_avx512_unaligned_erms and
2865 __memcpy_chk_avx512_unaligned. Use
2866 __memcpy_chk_avx_unaligned_erms and
2867 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2868 Default to __memcpy_chk_sse2_unaligned.
2869 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2870 Change function suffix from unaligned_2 to unaligned.
2871 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2872 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2873 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2874 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
2875 (ENTRY): Removed.
2876 (END): Likewise.
2877 (ENTRY_CHK): Likewise.
2878 (libc_hidden_builtin_def): Likewise.
2879 Don't include ../mempcpy.S.
2880 (mempcpy): New. Add a weak alias.
2881 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2882 __mempcpy_chk_avx512_unaligned_erms and
2883 __mempcpy_chk_avx512_unaligned. Use
2884 __mempcpy_chk_avx_unaligned_erms and
2885 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2886 Default to __mempcpy_chk_sse2_unaligned.
2887
2888 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2889
2890 [BZ #19881]
2891 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2892 into ...
2893 * sysdeps/x86_64/memset.S: This.
2894 (__bzero): Removed.
2895 (__memset_tail): Likewise.
2896 (__memset_chk): Likewise.
2897 (memset): Likewise.
2898 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2899 defined.
2900 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2901 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2902 (__memset_zero_constant_len_parameter): Check SHARED instead of
2903 PIC.
2904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2905 memset-avx2 and memset-sse2-unaligned-erms.
2906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2907 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2908 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2909 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2910 (__bzero): Enabled.
2911 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2912 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2913 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
2914 or __memset_avx2_unaligned_erms if processor has ERMS. Support
2915 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2916 (memset): Removed.
2917 (__memset_chk): Likewise.
2918 (MEMSET_SYMBOL): New.
2919 (libc_hidden_builtin_def): Replace __memset_sse2 with
2920 __memset_sse2_unaligned.
2921 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2922 __memset_chk_sse2 and __memset_chk_avx2 with
2923 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2924 Use __memset_chk_sse2_unaligned_erms or
2925 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
2926 __memset_chk_avx512_unaligned_erms and
2927 __memset_chk_avx512_unaligned.
2928
2929 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2930
2931 * math/gen-auto-libm-test.c (fp_format_desc): remove
2932 suffix member.
2933 (output_generic_value): Remove usage of suffix member,
2934 and the resulting unuse of the fp_format argument.
2935 (output_for_one_input_case): Remove unused fp_format
2936 parameter.
2937
2938 * math/auto-libm-test-out: Regenerate.
2939
2940 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2941 usage with TEST_COND_ibm128.
2942 (TEST_COND_flt_32): Remove.
2943 (TEST_COND_dbl_64): Remove.
2944 (TEST_COND_ldbl_96_intel): Remove.
2945 (TEST_COND_ldbl_96_m68k): Remove.
2946 (TEST_COND_ldbl_128): Remove.
2947
2948 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2949
2950 * auto-libm-test-in:
2951 Replace flt-32 usage with binary32.
2952 Replace dbl-64 usage with binary64.
2953 Replace ldbl-intel-96 usage with intel96.
2954 Replace ldbl-m68k-96 usage with m68k96.
2955 Replace ldbl-128ibm usage with ibm128.
2956 Replace ldbl-128 usage with binary128.
2957
2958 * auto-libm-test-out: Regenerate.
2959
2960 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2961
2962 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2963 (parse_ulps): Dynamically generate type name matching
2964 string from all_floats.
2965 (get_ulps): Generate the ulps as an array instead.
2966 (output_ulps): Dynamically compose the type based
2967 on the number of supported formats, and print
2968 the indices as type specific helper macros.
2969
2970 * math/libm-test.inc: Remove comment about CHOOSE.
2971 (ulp_data): Generate the type in libm-test-ulps.h.
2972 (ULP_IDX): New macro.
2973 (find_ulps): Update usage of max_ulp.
2974
2975 * math/test-double-vlen2.h (CHOOSE): Remove.
2976 * math/test-double-vlen4.h (CHOOSE): Likewise.
2977 * math/test-double-vlen8.h (CHOOSE): Likewise.
2978 * math/test-float.c (CHOOSE): Likewise.
2979 * math/test-float-finite.c (CHOOSE): Likewise.
2980 * math/test-double.c (CHOOSE): Likewise.
2981 * math/test-double-finite.c (CHOOSE): Likewise.
2982 * math/test-idouble.c (CHOOSE): Likewise.
2983 * math/test-ifloat.c (CHOOSE): Likewise.
2984 * math/test-ildoubl.c (CHOOSE): Likewise.
2985 * math/test-ldouble-finite.c (CHOOSE): Likewise.
2986 * math/test-ldouble.c (CHOOSE): Likewise.
2987
2988 * math/test-float.h (TEST_FLOAT): Remove.
2989 * math/test-double.h (TEST_DOUBLE): Likewise.
2990 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2991
2992 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2993
2994 * math/gen-libm-test.pl: (apply_lit): New subroutine.
2995 (parse_args): Strip C suffix from floating point literals
2996 typed with 'f' and wrap them with LIT().
2997
2998 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2999 (test_ff_f_data_nexttoward): Rename to
3000 (test_fj_f_data): New struct.
3001 (nexttoward_test_data): Relabel tests as
3002 TEST_fj_f instead of TEST_ff_f.
3003
3004 2016-06-08 Florian Weimer <fweimer@redhat.com>
3005
3006 Emacs bug 23726.
3007 * malloc/malloc.c (dumped_main_arena_start): Update comment.
3008 (__libc_realloc): Correct size computation for dumped fake mmapped
3009 chunks.
3010
3011 2016-06-07 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #20219]
3014 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3015 to itself.
3016 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3017
3018 [BZ #20218]
3019 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3020 to itself.
3021 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3022
3023 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 [BZ #20195]
3026 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3027 check to ...
3028 (init_cpu_features): Here.
3029
3030 2016-06-07 Carlos O'Donell <carlos@redhat.com>
3031
3032 [BZ #20214]
3033 * sysdeps/unix/sysv/linux/bits/in.h
3034 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3035 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3036 Define to 1.
3037 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3038 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3039 Define to 0.
3040 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3041 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3042
3043 2016-06-06 Carlos O'Donell <carlos@redhat.com>
3044
3045 [BZ #20198]
3046 * stdlib/Makefile (tests): Add tst-quick_exit, and
3047 tst-thread-quick_exit.
3048 [ifeq ($(have-cxx-thread_local),yes)]
3049 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3050 (CFLAGS-tst-thread-quick_exit.o): Likewise.
3051 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3052 (LDLIBS-tst-thread-quick_exit): Likewise.
3053 [ifneq ($(have-cxx-thread_local),yes)]
3054 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3055 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3056 If run_dtors is true call __call_tls_dtors.
3057 (exit): Call __run_exit_handlers with run_dtors set to true.
3058 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3059 definition.
3060 * stdlib/quick_exit.c (quick_exit): Remove function.
3061 (__new_quick_exit): New function.
3062 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3063 function.
3064 * stdlib/tst-quick_exit.cc: New file.
3065 * stdlib/tst-thread-quick_exit.cc: New file.
3066 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3067 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3068 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3071 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3072 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3073 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3074 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3076 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3078 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3079 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3080 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3081 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3086 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3087 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3088 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3089 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3093 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3094 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3095 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3096
3097 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
3098
3099 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3100 a typo in comments.
3101
3102 2016-06-06 Joseph Myers <joseph@codesourcery.com>
3103
3104 [BZ #20213]
3105 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3106 argument to itself.
3107 * math/libm-test.inc (asin_test_data): Add sNaN tests.
3108
3109 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3110
3111 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3112 required flags.
3113 (CFLAGS-pwritev64.c): Likewise.
3114 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3115 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3116 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3117 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3118 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3120 syscall from auto-generation.
3121 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3122 [WORDSIZE == 64] (pwritev64): Remove macro.
3123 [!PWRITEV] (PWRITEV): Likewise.
3124 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3125 [!PWRITEV] (PWRITE): Likewise.
3126 [!PWRITEV] (OFF_T): Likewise.
3127 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3128 (LO_HI_LONG): Remove macro.
3129 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3130 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3131 (PWRITEV): Remove macro.
3132 (PWRITEV_REPLACEMENTE): Likewise.
3133 (PWRITE): Likewise.
3134 (OFF_T): Likewise.
3135 (pwritev64): New function.
3136 * nptl/tst-cancel4.c (tf_writev): Add test.
3137
3138 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3139 required flags.
3140 (CFLAGS-preadv64.c): Likewise.
3141 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3142 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3143 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3144 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3145 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3146 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3147 syscall from auto-generation.
3148 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3149 [WORDSIZE == 64] (preadv64): Remove macro.
3150 [!PREADV] (PREADV): Likewise.
3151 [!PREADV] (PREADV_REPLACEMENT): Likewise.
3152 [!PREADV] (PREAD): Likewise.
3153 [!PREADV] (OFF_T): Likewise.
3154 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3155 (LO_HI_LONG): Remove macro.
3156 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3157 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3158 (PREADV): Remove macro.
3159 (PREADV_REPLACEMENTE): Likewise.
3160 (PREAD): Likewise.
3161 (OFF_T): Likewise.
3162 (preadv64): New function.
3163 * nptl/tst-cancel4.c (tf_preadv): Add test.
3164
3165 2016-06-06 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #20212]
3168 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3169 argument to itself.
3170 * math/libm-test.inc (acos_test_data): Add sNaN tests.
3171
3172 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3173
3174 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3175 New symbol defined as libc_hidden_def.
3176 (strcasestr): Became a weak alias to __strcasestr.
3177 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3178 according to multi-arch support. Move __stpncpy hidden
3179 definition from here to...
3180 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
3181 symbol stpncpy.
3182 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3183 libc_hidden_builtin_def.
3184 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3185 memset symbol to use when multi-arch support is available.
3186
3187 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3188
3189 * dlfcn/tst-rec-dlopen.c: Include string.h.
3190
3191 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3192
3193 * manual/install.texi: Remove mention of --without-tls
3194 * INSTALL: Regenerate.
3195
3196 2016-06-05 Florian Weimer <fweimer@redhat.com>
3197
3198 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3199 Remove.
3200 (call_function, interposed_malloc_called): New variables.
3201 (malloc): New function.
3202 (do_test): Do not change malloc hooks. Initialize malloc. Set
3203 and clear call_function as needed.
3204
3205 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
3206
3207 * include/wchar.h (__wmemset): Use __typeof.
3208
3209 2016-06-03 Carlos O'Donell <carlos@redhat.com>
3210
3211 * include/wchar.h (__wmemset): Declare function without typeof.
3212
3213 2016-06-03 Joseph Myers <joseph@codesourcery.com>
3214
3215 [BZ #20205]
3216 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3217 exponent when incrementing negative subnormal with low mantissa
3218 word zero.
3219 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3220 Add another test.
3221
3222 2016-06-03 Florian Weimer <fweimer@redhat.com>
3223
3224 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3225 __wmemset instead of wmemset.
3226
3227 2016-06-02 Carlos O'Donell <carlos@redhat.com>
3228
3229 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3230 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3231 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3232 __USE_KERNEL_IPV6_DEFS to 0.
3233 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3234 Update comment.
3235
3236 2016-06-01 Florian Weimer <fweimer@redhat.com>
3237
3238 [BZ #19861]
3239 Do not use IFUNC resolver with potentially unrelocated symbol.
3240 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3241 (DEFINE_FORK): Remove macro and inline definition.
3242 (fork_alias): Renamed from fork_ifunc.
3243 (__fork_alias): Renamed from __fork_ifunc.
3244
3245 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3246
3247 [BZ 19653]
3248 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3249 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3250
3251 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3252
3253 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3254 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3255 i386-linux-gnu).
3256 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3257 Set to no.
3258 * sysdeps/mach/hurd/configure: Refresh.
3259
3260 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3261
3262 [BZ #20178]
3263 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3264 on failure instead of exit.
3265
3266 2016-05-30 Roland McGrath <roland@hack.frob.com>
3267
3268 [BZ #3629]
3269 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3270 of POSIX.1-2008.
3271
3272 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3273
3274 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3275 Use PLT entry for calling _hurd_self_sigstate.
3276
3277 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3280 available logical processors with SMT level type sharing L2
3281 cache for Intel processors.
3282
3283 2016-05-27 Joseph Myers <joseph@codesourcery.com>
3284
3285 [BZ #20160]
3286 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3287 argument to itself before returning the result.
3288 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3289 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3290 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3292 Likewise.
3293 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3294 Likewise.
3295 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3296 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3297 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3298 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3299 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3300 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3301
3302 [BZ #20160]
3303 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3304 argument to itself before returning the result.
3305 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3306 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3307 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3308 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3309 Likewise.
3310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3311 Likewise.
3312 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3313 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3314 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3315 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3316 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3317 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3318
3319 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3320
3321 * libm-test.inc: Replace usage of M_El with
3322 (lit_e): New macro.
3323
3324 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3325
3326 * libm-test.inc: Replace usage of M_PI_4l with
3327 (lit_pi_4_d): New macro.
3328
3329 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3330
3331 * libm-test.inc: Replace usage of M_PIl with
3332 (lit_pi): New macro.
3333
3334 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3335
3336 * libm-test.inc: Replace usage of M_PI2l with
3337 (lit_pi_2_d): New macro.
3338
3339 * math/test-double.h (LITM): New macro.
3340 * math/test-float.h (LITM): Likewise.
3341 * math/test-ldouble.h (LITM): Likewise.
3342
3343 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3344
3345 * libm-test.inc (M_PI_34l): Rename to
3346 (lit_pi_3_m_4_d): New Macro.
3347 (M_PI_34_LOG10El): Rename to
3348 (lit_pi_3_m_4_ln10_m_d): New Macro.
3349 (M_PI2_LOG10El): Rename to
3350 (lit_pi_2_ln10_m_d): New Macro.
3351 (M_PI4_LOG10El): Rename to
3352 (lit_pi_4_ln10_m_d): New Macro.
3353 (M_PI_LOG10El): Rename to
3354 (lit_pi_ln10_d): New Macro.
3355
3356 2016-05-27 Joseph Myers <joseph@codesourcery.com>
3357
3358 [BZ #20157]
3359 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3360 determine whether to negate low half if [_ARCH_PPCGR], and integer
3361 comparison otherwise.
3362 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3363 determine whether to negate low half.
3364
3365 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3366 (NO_TEST_INLINE_DOUBLE): Likewise.
3367 (TEST_COND_x86_64): Likewise.
3368 (TEST_COND_x86): Likewise.
3369 (M_PI_6l): Likewise.
3370
3371 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3372
3373 * math/libm-test.inc:
3374 (TEST_FLOAT): Change usage to TEST_COND_binary32.
3375 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3376 (TEST_LDOUBLE): Update usage to evaluate as true if
3377 the guarded tests match the property being tested.
3378 (LDBL_MAX_EXP): Change to MAX_EXP.
3379 (LDBL_MIN_EXP): Change to MIN_EXP.
3380 (LDBL_MANT_DIG): Change to MANT_DIG, except for
3381 nexttoward tests.
3382
3383 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3384
3385 * math/libm-test.inc:
3386 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3387 (TYPE_MIN): Likewise.
3388 (TYPE_TRUE_MIN): Likewise.
3389 (TYPE_MAX): Likewise.
3390 (MIN_EXP): Likewise.
3391 (MAX_EXP): Likewise.
3392 (MANT_DIG): Likewise.
3393
3394 (FSTR_MAX): New macro.
3395 (__CONCATX): Likewise.
3396 (QTYPE_STR): Likewise.
3397 (TEST_COND_binary32): Likewise.
3398 (TEST_COND_binary64): Likewise.
3399 (TEST_COND_binary128): Likewise.
3400 (TEST_COND_ibm128): Likewise.
3401 (TEST_COND_intel96): Likewise.
3402 (TEST_COND_m68k96): Likewise.
3403
3404 (TEST_COND_flt_32): Redefine as equivalent format test macro.
3405 (TEST_COND_dbl_64): Likewise.
3406 (TEST_COND_ldbl_96_intel): Likewise.
3407 (TEST_COND_ldbl_96_m68k): Likewise.
3408 (TEST_COND_ldbl_128): Likewise.
3409 (TEST_COND_ldbl_128ibm): Likewise.
3410
3411 (plus_zero): Redefine using LIT macro.
3412 (minus_zero): Likewise.
3413 (plus_infty): Redefine as (INF).
3414 (minux_infty): Redefine as (-INF).
3415 (max_value): Redefine as TYPE_MAX.
3416 (min_value): Redefine as TYPE_MIN.
3417 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3418
3419 (print_float): Refactor to use snprintf to convert FLOAT values
3420 to string. This brings it closer to dropin replacement of strtof
3421 for the TS 18661 defined types.
3422 (update_stats): Likewise.
3423 (print_complex_function_ulps): Likewise.
3424 (print_max_error): Likewise.
3425 (print_complex_max_error): Likewise.
3426 (check_float_internal): Likewise.
3427
3428 * math/test-float.h (PREFIX): New macro.
3429 (LIT): Likewise.
3430 (TYPE_STR): Likewise.
3431 (FTOSTR): Likewise.
3432
3433 * math/test-double.h (PREFIX): New macro.
3434 (LIT): Likewise.
3435 (TYPE_STR): Likewise.
3436 (FTOSTR): Likewise.
3437
3438 * math/test-ldouble.h (PREFIX): New macro.
3439 (LIT): Likewise.
3440 (TYPE_STR): Likewise.
3441 (FTOSTR): Likewise.
3442
3443 2016-05-27 Joseph Myers <joseph@codesourcery.com>
3444
3445 [BZ #20156]
3446 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3447 to itself when zero or not finite.
3448 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3450 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3452
3453 2016-05-26 Joseph Myers <joseph@codesourcery.com>
3454
3455 [BZ #20153]
3456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3457 x * x + x for infinities and NaNs.
3458
3459 [BZ #20151]
3460 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3461 argument to itself before returning result.
3462 (__ieee754_y0l): Likewise.
3463 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3464 (__ieee754_y1l).
3465
3466 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3467 (atan_test_data): Likewise.
3468 (ceil_test_data): Likewise.
3469 (cos_test_data): Likewise.
3470 (cosh_test_data): Likewise.
3471 (erf_test_data): Likewise.
3472 (exp2_test_data): Likewise.
3473 (fabs_test_data): Likewise.
3474 (floor_test_data): Likewise.
3475 (ilogb_test_data): Likewise.
3476 (j0_test_data): Likewise.
3477 (j1_test_data): Likewise.
3478 (jn_test_data): Likewise.
3479 (lgamma_test_data): Likewise.
3480 (lrint_test_data): Likewise.
3481 (llrint_test_data): Likewise.
3482 (logb_test_data): Likewise.
3483 (lround_test_data): Likewise.
3484 (llround_test_data): Likewise.
3485 (nearbyint_test_data): Likewise.
3486 (rint_test_data): Likewise.
3487 (round_test_data): Likewise.
3488 (sin_test_data): Likewise.
3489 (sincos_test_data): Likewise.
3490 (sinh_test_data): Likewise.
3491 (sqrt_test_data): Likewise.
3492 (tan_test_data): Likewise.
3493 (tanh_test_data): Likewise.
3494 (tgamma_test_data): Likewise.
3495 (trunc_test_data): Likewise.
3496 (y0_test_data): Likewise.
3497 (y1_test_data): Likewise.
3498 (yn_test_data): Likewise.
3499
3500 * math/libm-test.inc: Update comment about NaN testing.
3501 (TEST_SNAN): New macro.
3502 (snan_value): Likewise.
3503 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3504 (fpclassify_test_data): Add sNaN tests.
3505 (isfinite_test_data): Likewise.
3506 (isinf_test_data): Likewise.
3507 (isnan_test_data): Likewise.
3508 (isnormal_test_data): Likewise.
3509 (issignaling_test_data): Likewise.
3510 (signbit_test_data): Likewise.
3511 * math/gen-libm-test.pl (%beautify): Add snan_value.
3512 (show_exceptions): Add argument $test_snan.
3513 (parse_args): Handle snan_value as non-finite. Update call to
3514 show_exceptions.
3515 * math/Makefile (libm-test-no-inline-cflags): Add
3516 -fsignaling-nans.
3517
3518 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3519
3520 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3521 (CFLAGS-oldsendmsg.c): Add rule.
3522 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3523 Correct recvmsg symbol name.
3524 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3525 Likewise.
3526
3527 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3528
3529 * sysdeps/unix/sysv/linux/Makefile
3530 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3531 oldsendmmsg.
3532 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3533 sendmmsg.
3534 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3535 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3536 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3537 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3539 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3542 Likewise.
3543 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3544 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3545 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3546 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3547 iovlen and controllen fields to adjust to POSIX specification.
3548 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3549
3550 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3551 and change to correct expected type.
3552 (msghdr.msg_controllen): Likewise.
3553 (cmsghdr.cmsg_len): Likewise.
3554 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3555 expected POSIX assumption about the size.
3556 (msghdr.msg_controllen): Likewise.
3557 (msghdr.__glibc_reserved1): Likewise.
3558 (msghdr.__glibc_reserved2): Likewise.
3559 (cmsghdr.cmsg_len): Likewise.
3560 (cmsghdr.__glibc_reserved1): Likewise.
3561 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3562 Add ptw-oldrecvmsg and ptw-oldsendmsg.
3563 (CFLAGS-sendmsg.c): Remove rule.
3564 (CFLAGS-recvmsg.c): Likewise.
3565 (CFLAGS-oldsendmsg.c): Add rule.
3566 (CFLAGS-oldrecvmsg.c): Likewise.
3567 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3568 recvmsg and sendmsg.
3569 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3570 Likewise.
3571 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3572 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3573 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3574 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3575 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3576 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3577 Likewise.
3578 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3579 Likewise.
3580 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3581 Likewise.
3582 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3583 Likewise.
3584 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3585 Likewise.
3586 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3587 Likewise.
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3589 (GLIBC_2.24): Likewise.
3590 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3591 Likewise.
3592 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3593 Likewise.
3594 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3595 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3596 Likewise.
3597 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3598 Likewise.
3599 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3602 (GLIBC_2.24): Likewise.
3603 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3604 Likewise.
3605 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/Makefile
3608 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3609 (CFLAGS-sendmsg.c): Add rule.
3610 (CFLAGS-recvmsg.c): Likewise.
3611 (CFLAGS-oldsendmsg.c): Likewise.
3612 (CFLAGS-oldrecvmsg.c): Likewise.
3613 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3614 initialization.
3615 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3616 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3617 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3618 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3619 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3620 iovlen and controllen fields to adjust to POSIX specification.
3621 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3622 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3623 added recvmsg and sendmsg.
3624 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3625 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3626 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3627 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3628 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3630 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3631 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3632 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3633 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3634 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3635 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3637 Likewise.
3638 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3640 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3641 Likewise.
3642 Likewise.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3644 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3645 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3650 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3654 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3655
3656 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3657 from auto-generation.
3658 (sendmsg): Likewise.
3659 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3660 (sendmsg): Likewise.
3661 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3662 (sendmsg): Likewise.
3663 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3664 (sendmsg): Likewise.
3665 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3666 (sendmsg): Likewise.
3667 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3668 (sendmsg): Likewise.
3669 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3670 Likewise.
3671 (sendmsg): Likewise.
3672 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3673 (sendmsg): Likewise.
3674 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3675 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3676 Remove.
3677 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3678 Likewise.
3679 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3680 Undefine.
3681 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3682 Likewise.
3683 * sysdeps/unix/sysv/linux/kernel-features.h
3684 (__ASSUME_SENDMSG_SYSCALL): Define.
3685 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3686 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3687 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3688 Remove.
3689 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3690 Likewise.
3691 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3692 Undefine.
3693 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3694 Likewise.
3695 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3696 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3697 Remove.
3698 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3699 Likewise.
3700 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3701 Undefine.
3702 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3705 (__ASSUME_SENDMSG_SYSCALL): Undefine.
3706 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3708 (__ASSUME_SENDMSG_SYSCALL): Likewise.
3709 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3710 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3711 (__ASSUME_SENDMSG_SYSCALL): Likewise.
3712 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3713
3714 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3715
3716 * stdlib/gen-tst-strtod-round.c: Add backslash to
3717 compile command in comment.
3718 (printfp): Remove the literal suffix, and define an infinite
3719 value as INF to avoid expansion clash with INFINITY.
3720 (round_str): Remove the literal suffix.
3721 (round_for_all): Likewise, remove the now duplicate ldbl-64
3722 entry, and remove some magic constants.
3723
3724 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3725 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
3726 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3727 (_CONCAT): New macro.
3728 (CONCAT): Likewise.
3729 (CHOOSE_ld): Likewise.
3730 (CHOOSE_f): Likewise.
3731 (CHOOSE_d): Likewise.
3732 (FTYPE_MEMBER): Likewise.
3733 (BOOL_MEMBER): Likewise.
3734 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3735 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3736 (_XNTRY): Likewise.
3737 (XNTRY): Likewise.
3738 (_ENTRY): Likewise.
3739 (ENTRY): Likewise.
3740 (test_exactness): Generate members via macro.
3741 (test_results): Likewise.
3742 (test): Update members.
3743 (TEST): Redefine using new macros.
3744 (INF): New macro.
3745 (fetestmodes): New structure.
3746 (do_test): Refactor to be type generic.
3747 (test_in_one_mode): Refactor duplicate code into
3748 (GEN_ONE_TEST): New macro.
3749
3750 * stdlib/tst-strtod-round-data.h: Regenerate.
3751
3752 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3753 Extend to pass additional arbitrary parameters to
3754 generators.
3755
3756 2016-05-25 Joseph Myers <joseph@codesourcery.com>
3757
3758 [BZ #15479]
3759 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3760 floating-point state after first floating-point operation on
3761 input. Restore full floating-point state instead of just rounding
3762 mode.
3763 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3764 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3765 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3766 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3767 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3768
3769 [BZ #15479]
3770 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3771 floating-point state after first floating-point operation on
3772 input. Restore full floating-point state instead of just rounding
3773 mode.
3774 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3775 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3776 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3777 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3778 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3779
3780 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3781
3782 [BZ #19727]
3783 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3784 valid high surrogate.
3785 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3786 of an utf16 surrogate.
3787 * iconv/gconv_simple.c (BODY): Likewise.
3788 * iconvdata/bug-iconv12.c: New file.
3789 * iconvdata/Makefile (tests): Add bug-iconv12.
3790
3791 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3792
3793 [BZ #19726]
3794 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3795 outptrp in case of an illegal input.
3796 * iconv/tst-iconv6.c: New file.
3797 * iconv/Makefile (tests): Add tst-iconv6.
3798
3799 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3800
3801 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3802 an error in case of a value in range of an utf16 low surrogate.
3803
3804 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3805
3806 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3807 an error in case of a value in range of an utf16 low surrogate.
3808
3809 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3810
3811 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3812 Move to ...
3813 * sysdeps/s390/Makefile: ... here.
3814 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3815 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3816 (BRANCH_ON_COUNT): New define.
3817 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3818 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3819 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3820 run on s390-32, too.
3821 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3822 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3823 run on s390-32, too.
3824 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3825 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3826 run on s390-32, too.
3827
3828 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3829
3830 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3831 etf3eh or new vector loop-variant.
3832
3833 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3834
3835 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3836 etf3eh or new vector loop-variant.
3837
3838 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3839
3840 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3841 or new vector loop-variant.
3842
3843 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3844
3845 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3846 Rename to TR_LOOP and usage of tr instead of troo instruction.
3847
3848 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3849
3850 * sysdeps/s390/multiarch/gconv_simple.c: New File.
3851 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3852
3853 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3854
3855 * sysdeps/s390/multiarch/8bit-generic.c: New File.
3856 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3857 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3858 New override define.
3859 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3860
3861 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3862
3863 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3864 * sysdeps/s390/configure.ac: Add test for S390 vector register
3865 support in gcc.
3866 * sysdeps/s390/configure: Regenerated.
3867
3868 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3869
3870 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3871 Install file from $(objpfx)gconv-modules.
3872 ($(objpfx)gconv-modules): Concatenate architecture specific file
3873 in variable sysdeps-gconv-modules and gconv-modules in src dir.
3874 * sysdeps/s390/gconv-modules: New file.
3875 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3876 Deleted.
3877 ($(objpfx)gconv-modules-s390): Deleted.
3878 (sysdeps-gconv-modules): New variable.
3879
3880 2016-05-24 Joseph Myers <joseph@codesourcery.com>
3881
3882 [BZ #15479]
3883 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3884 of immediate operand to rounding instruction.
3885 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3886 Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3888 Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3890 Likewise.
3891
3892 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3893
3894 * math/libm-test.inc (MIN_EXP): Directly define as
3895 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3896
3897 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3898
3899 * math/libm-test.inc (MANT_DIG): Directly define as
3900 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3901
3902 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3903
3904 * stdlib/gen-tst-strtod-round.c (main):
3905 Change usage to more closely match the generated
3906 output. Add usage and compilation instructions.
3907 (string_to_fp): Add and use FILE* parameter as
3908 output target.
3909 (print_fp): Likewise.
3910 (round_str): Likewise.
3911 (round_for_all): Likewise.
3912 * stdlib/tst-strtod-round.c (tests): Move into
3913 * stdlib/tst-strtod-round-data.h: New file.
3914
3915 2016-05-24 Joseph Myers <joseph@codesourcery.com>
3916
3917 [BZ #15479]
3918 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3919 (__round): Do not force "inexact" exception.
3920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3921 variable.
3922 (__round): Do not force "inexact" exception.
3923 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3924 (__roundf): Do not force "inexact" exception.
3925 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3926 (__roundl): Do not force "inexact" exception.
3927 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3928 (__roundl): Do not force "inexact" exception.
3929 * math/libm-test.inc (round_test_data): Do not allow spurious
3930 "inexact" exceptions.
3931
3932 [BZ #15479]
3933 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3934 exception in comment.
3935 (huge): Remove variable.
3936 (__floor): Do not force "inexact" exception.
3937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3938 "inexact" exception in comment.
3939 (huge): Remove variable.
3940 (__floor): Do not force "inexact" exception.
3941 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3942 exception in comment.
3943 (huge): Remove variable.
3944 (__floorf): Do not force "inexact" exception.
3945 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3946 exception in comment.
3947 (huge): Remove variable.
3948 (__floorl): Do not force "inexact" exception.
3949
3950 [BZ #15479]
3951 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3952 exception in comment.
3953 (huge): Remove variable.
3954 (__ceil): Do not force "inexact" exception.
3955 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3956 "inexact" exception in comment.
3957 (huge): Remove variable.
3958 (__ceil): Do not force "inexact" exception.
3959 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3960 (__ceilf): Do not force "inexact" exception.
3961 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3962 exception in comment.
3963 (huge): Remove variable.
3964 (__ceill): Do not force "inexact" exception.
3965
3966 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
3967
3968 * config.h.in (BIND_NOW): New.
3969 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
3970 * configure: Regenerated.
3971 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3972 indirect branch via the GOT slot.
3973
3974 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3975
3976 [BZ #19765]
3977 * sysdeps/s390/mempcpy.S: New File.
3978 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3979 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3980 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3981 Add mempcpy variants.
3982 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3983 (memcpy): Adjust to be usable from mempcpy entry point.
3984 (__memcpy_mvcle): Likewise.
3985 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3986 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3987 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3988 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3989 (__memcpy_z10): Likewise.
3990 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3991
3992 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3993
3994 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3995 Remove __GI_ symbol.
3996 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3997 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3998 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3999 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4000 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4001 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4002
4003 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4004
4005 * sysdeps/s390/s390-64/memcpy.S (memcpy):
4006 Use cghi instead of chi to compare 64bit value.
4007
4008 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4009
4010 * sysdeps/s390/s390-32/memcpy.S (memcpy):
4011 Jump to 1MB check before executing mvc-loop.
4012
4013 2016-05-24 Florian Weimer <fweimer@redhat.com>
4014
4015 [BZ #6527]
4016 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4017 unconditionally.
4018 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4019
4020 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4021
4022 * stdlib/tst-strtod6.c (do_test): Use new type generic
4023 invocation of the test function.
4024 (test): Refactor into ...
4025 (TEST_STRTOD): New macro base function.
4026
4027 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4028
4029 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4030 (TEST_STRTOD): New macro.
4031 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4032
4033 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4034
4035 * stdlib/tst-strtod6.c (do_test): Use new type generic
4036 invocation of the test function.
4037 (test): Refactor into ...
4038 (TEST_STRTOD): New macro base function.
4039
4040 2016-05-23 Florian Weimer <fweimer@redhat.com>
4041
4042 CVE-2016-4429
4043 [BZ #20112]
4044 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4045 payload.
4046
4047 2016-05-23 Florian Weimer <fweimer@redhat.com>
4048
4049 [BZ #20111]
4050 * bits/sockaddr.h (_SS_SIZE): Define.
4051 * bits/socket.h (_SS_SIZE): Remove.
4052 (_SS_PADSIZE): Adjust to account for all padding.
4053 (struct sockaddr_storage): Update comment. Avoid implicit
4054 padding.
4055 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4056 (_SS_PADSIZE): Adjust to account for all padding.
4057 (struct sockaddr_storage): Update comment. Avoid implicit
4058 padding.
4059 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4060 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4061 (_SS_PADSIZE): Adjust to account for all padding.
4062 (struct sockaddr_storage): Update comment. Avoid implicit
4063 padding.
4064 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4065 __SS_SIZE is 126 in this version.
4066 * inet/tst-sockaddr.c: New file.
4067 * inet/Makefile (tests): Add tst-sockaddr.c
4068 (tst-sockaddr.c): Compile with non-strict aliasing.
4069
4070 2016-05-23 Joseph Myers <joseph@codesourcery.com>
4071
4072 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4073 [XPG3 || XPG4].
4074 (NL_ARGMAX): Also expect for [XPG3].
4075 (NL_LANGMAX): Likewise.
4076 (NL_MSGMAX): Likewise.
4077 (NL_NMAX): Likewise.
4078 (NL_SETMAX): Likewise.
4079 (NL_TEXTMAX): Likewise.
4080 (NZERO): Likewise.
4081 (TMP_MAX): Likewise.
4082 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4083 variable.
4084
4085 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4086 (PF_MAX): Update value.
4087 (AF_KCM): New macro.
4088 (SOL_NETBEUI): Likewise.
4089 (SOL_LLC): Likewise.
4090 (SOL_DCCP): Likewise.
4091 (SOL_NETLINK): Likewise.
4092 (SOL_TIPC): Likewise.
4093 (SOL_RXRPC): Likewise.
4094 (SOL_PPPOL2TP): Likewise.
4095 (SOL_BLUETOOTH): Likewise.
4096 (SOL_PNPIPE): Likewise.
4097 (SOL_RDS): Likewise.
4098 (SOL_IUCV): Likewise.
4099 (SOL_CAIF): Likewise.
4100 (SOL_ALG): Likewise.
4101 (SOL_NFC): Likewise.
4102 (SOL_KCM): Likewise.
4103 (MSG_BATCH): New enum value and macro.
4104
4105 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 [BZ #18185]
4108 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4109 sharing L2 cache to 2 for Knights Landing.
4110
4111 2016-05-20 Joseph Myers <joseph@codesourcery.com>
4112
4113 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4114 (FTW_DP): Do not expect for [XPG3 || XPG4].
4115 (FTW_SL): Do not expect for [XPG3].
4116 (FTW_SLN): Likewise.
4117 (FTW_PHYS): Likewise.
4118 (FTW_MOUNT): Likewise.
4119 (FTW_DEPTH): Likewise.
4120 (FTW_CHDIR): Likewise.
4121 (nftw): Likewise.
4122 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4123 variable.
4124
4125 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
4126
4127 * manual/errno.texi: Fix various typos & grammar errors.
4128
4129 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
4130
4131 * manual/intro.texi: Fix duplicated typo.
4132
4133 2016-05-19 Joseph Myers <joseph@codesourcery.com>
4134
4135 [BZ #13304]
4136 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4137 <float.h>, <math_private.h> and <stdlib.h>.
4138 (add_split): New function.
4139 (mul_split): Likewise.
4140 (ext_val): New typedef.
4141 (store_ext_val): New function.
4142 (mul_ext_val): New function.
4143 (compare): New function.
4144 (add_split_ext): New function.
4145 (__fmal): After checking for Inf, NaN and zero, compute result as
4146 an exact sum of scaled double values in round-to-nearest before
4147 adding those up and adjusting for other rounding modes.
4148 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4149 tests of fma.
4150 * math/auto-libm-test-out: Regenerated.
4151
4152 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
4153
4154 [BZ #20119]
4155 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4156 processor level type mask for CPUID with EAX == 11.
4157
4158 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
4159
4160 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4161 logical threads if the HTT bit is 0.
4162 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4163 (index_cpu_HTT): Likewise.
4164 (reg_HTT): Likewise.
4165
4166 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 [BZ #20115]
4169 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4170 Remove alignments on jump targets.
4171
4172 2016-05-19 Joseph Myers <joseph@codesourcery.com>
4173
4174 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4175 (getpwent): Likewise.
4176 (setpwent): Likewise.
4177 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4178 variable.
4179
4180 * conform/data/search.h-data (insque): Do not expect for [XPG3].
4181 (remque): Likewise.
4182 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4183 variable.
4184
4185 2016-05-18 Joseph Myers <joseph@codesourcery.com>
4186
4187 * math/libm-test.inc: Update comment not to refer to signs of NaNs
4188 not being tested.
4189
4190 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
4191
4192 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4193 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
4194 call.
4195 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4196 (__condvar_cleanup1): Likewise.
4197
4198 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
4199
4200 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4201 New
4202 (__pthread_unwind): Renamed to ...
4203 (PTHREAD_UNWIND): This.
4204 (__pthread_enable_asynccancel): Replace
4205 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4206
4207 2016-05-18 Joseph Myers <joseph@codesourcery.com>
4208
4209 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4210 (CLONE_NEWCGROUP): New macro.
4211
4212 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4213 (Q_GETNEXTQUOTA): New macro.
4214
4215 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
4216
4217 [BZ #19907]
4218 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4219 buffer updated by the previous run.
4220 * string/test-memcpy.c (do_one_test): Likewise.
4221 * benchtests/bench-memmove.c (do_one_test): Add a comment.
4222 * string/test-memmove.c (do_one_test): Likewise.
4223
4224 2016-05-17 Joseph Myers <joseph@codesourcery.com>
4225
4226 [BZ #20094]
4227 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4228 not [__USE_XOPEN].
4229 (unlockpt): Likewise.
4230 (ptsname): Likewise.
4231 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4232 variable.
4233
4234 [BZ #20076]
4235 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4236 instead of [__USE_UNIX98].
4237 (S_ISSOCK): Likewise.
4238 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4239 variable.
4240
4241 [BZ #20074]
4242 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4243 [__USE_POSIX].
4244 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4245 variable.
4246
4247 [BZ #20051]
4248 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4249 (ttyslot): Do not declare.
4250 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4251 (ttyslot): New prototype.
4252 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4253 variable.
4254 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4255
4256 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4257
4258 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4259
4260 2016-05-13 Florian Weimer <fweimer@redhat.com>
4261
4262 Fix race condition in tst-mallocfork2, use fewer resources.
4263 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4264 to current process group.
4265 (signal_sender): Yield in the non-sleeping case.
4266
4267 2016-05-13 Joseph Myers <joseph@codesourcery.com>
4268
4269 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4270 (ecvt): Likewise.
4271 (fcvt): Likewise.
4272 (gcvt): Likewise.
4273 (getsubopt): Likewise.
4274 (grantpt): Likewise.
4275 (initstate): Likewise.
4276 (l64a): Likewise.
4277 (mktemp): Likewise.
4278 (mkstemp): Likewise.
4279 (ptsname): Likewise.
4280 (random): Likewise.
4281 (realpath): Likewise.
4282 (setstate): Likewise.
4283 (srandom): Likewise.
4284 (ttyslot): Likewise.
4285 (unlockpt): Likewise.
4286 (valloc): Likewise.
4287
4288 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4289 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4290 variable.
4291
4292 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
4293
4294 [BZ #20072]
4295 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4296 init_cpu_features only if SHARED is defined.
4297 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4298
4299 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
4300
4301 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4302 non-inclusive caches on Intel processors.
4303
4304 2016-05-13 Florian Weimer <fweimer@redhat.com>
4305
4306 * malloc/malloc.c (dumped_main_arena_start)
4307 (dumped_main_arena_end): New variables.
4308 (DUMPED_MAIN_ARENA_CHUNK): New macro.
4309 (do_check_chunk): Skip dumped fake mmapped chunks.
4310 (munmap_chunk): Likewise.
4311 (__libc_free): Do not adjust statistics for fake mmapped chunks.
4312 (__libc_realloc): Adjust hardening check. Always copy dumped fake
4313 mmapped chunks.
4314 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4315 Mark dumped chunks as using mmap. Update dumped_main_arena_start
4316 and dumped_main_arena_end to cover the dumped heap.
4317
4318 2016-05-12 Joseph Myers <joseph@codesourcery.com>
4319
4320 * conform/data/time.h-data (getdate_err): Do not expect for
4321 [XPG3].
4322 (getdate): Likewise.
4323 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4324 variable.
4325
4326 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4327 (F_ULOCK): Likewise.
4328 (F_TEST): Likewise.
4329 (F_TLOCK): Likewise.
4330 (useconds_t): Likewise.
4331 (intptr_t): Do not expect for [XPG3] or [XPG4].
4332 (brk): Do not expect for [XPG3]
4333 (fchown): Likewise.
4334 (fchdir): Likewise.
4335 (ftruncate): Likewise.
4336 (getdtablesize): Likewise.
4337 (gethostid): Likewise.
4338 (getpagesize): Likewise.
4339 (getpgid): Likewise.
4340 (getsid): Likewise.
4341 (getwd): Likewise.
4342 (lchown): Likewise.
4343 (lockf): Likewise.
4344 (readlink): Likewise.
4345 (sbrk): Likewise.
4346 (setpgrp): Likewise.
4347 (setregid): Likewise.
4348 (setreuid): Likewise.
4349 (symlink): Likewise.
4350 (sync): Likewise.
4351 (truncate): Likewise.
4352 (ualarm): Likewise.
4353 (usleep): Likewise.
4354 (vfork): Likewise.
4355 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4356 variable.
4357
4358 [BZ #20054]
4359 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4360 not [__USE_UNIX98].
4361 * conform/data/unistd.h-data (gethostname): Do not expect for
4362 [XPG3].
4363
4364 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4365 [!POSIX] (S_IFBLK): Likewise.
4366 [!POSIX] (S_IFCHR): Likewise.
4367 [!POSIX] (S_IFIFO): Likewise.
4368 [!POSIX] (S_IFREG): Likewise.
4369 [!POSIX] (S_IFDIR): Likewise.
4370 [!POSIX] (S_IFLNK): Likewise.
4371 [!POSIX] (S_IFSOCK): Likewise.
4372 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4373 variable.
4374 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4375
4376 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
4377
4378 * sysdeps/aarch64/memset.S (__memset):
4379 Rewrite of optimized memset.
4380
4381 2016-05-12 Florian Weimer <fweimer@redhat.com>
4382
4383 [BZ #19703]
4384 Partially async-signal-safe fork for single-threaded processes.
4385 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4386 variable. Do not acquire and reset/release malloc and libio locks
4387 in single-threaded processes.
4388 * malloc/tst-mallocfork2.c: New file.
4389 * malloc/Makefile (tests): Add it.
4390
4391 2016-05-12 Florian Weimer <fweimer@redhat.com>
4392
4393 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4394 argument. Use scratch buffer instead of extend_alloca.
4395 (gethosts): Use scratch buffer instead of extend_alloca.
4396 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
4397 extend_alloca.
4398 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4399
4400 2016-05-11 Joseph Myers <joseph@codesourcery.com>
4401
4402 [BZ #20055]
4403 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4404 instead of [__USE_UNIX98].
4405 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4406 [__USE_UNIX98].
4407 * conform/data/termios.h-data (tcgetsid): Do not expect for
4408 [XPG3].
4409 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4410 variable.
4411 (test-xfail-XPG4/termios.h/conform): Likewise.
4412
4413 2016-05-11 Florian Weimer <fweimer@redhat.com>
4414
4415 Do not use mcheck in localedef.
4416 * locale/programs/localedef.c (turn_on_mcheck)
4417 (__malloc_initialize_hook): Remove.
4418
4419 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4420
4421 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4422 * sysdeps/s390/s390-64/Makefile: Likewise.
4423
4424 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4427 Remove ifunc-defines.sym.
4428 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4429 Likewise.
4430 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4431 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4432 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4433 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4434 rtld-global-offsets.sym.
4435 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4436 * sysdeps/x86/cpu-features-offsets.sym: This.
4437 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4438 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4439
4440 2016-05-10 Joseph Myers <joseph@codesourcery.com>
4441
4442 [BZ #20073]
4443 * io/sys/stat.h (fchmod): Declare for
4444 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4445 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4446 variable.
4447
4448 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4449 [XPG3] (S_IFSOCK): Likewise.
4450 [XPG3] (S_ISVTX): Likewise.
4451 [XPG3] (S_ISLNK): Likewise.
4452 [XPG3] (S_ISSOCK): Likewise.
4453 [XPG3] (fchmod): Likewise.
4454 [XPG3] (lstat): Likewise.
4455 [XPG3] (mknod): Likewise.
4456
4457 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4458 [XPG3]. Expect type long and XFAIL for [XPG4].
4459 (st_blocks): Likewise.
4460
4461 [BZ #20044]
4462 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4463 (pthread_atfork): New prototype.
4464 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4465 variable.
4466
4467 [BZ #20043]
4468 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4469 prototype.
4470
4471 2016-05-10 Florian Weimer <fweimer@redhat.com>
4472
4473 [BZ #20017]
4474 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4475 gmtime.
4476
4477 2016-05-10 Florian Weimer <fweimer@redhat.com>
4478
4479 [BZ #19994]
4480 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4481 flag in _res.options.
4482
4483 2016-05-09 Joseph Myers <joseph@codesourcery.com>
4484
4485 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4486 [XPG3 || XPG4].
4487 (blksize_t): Likewise.
4488 (clockid_t): Likewise.
4489 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4490 variable.
4491 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4492
4493 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
4494
4495 * sysdeps/unix/sysv/linux/s390/init-first.c:
4496 Add VDSO_SYMBOL(getcpu).
4497 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4498 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4499 Add VDSO_SYMBOL(getcpu).
4500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4501 New define HAVE_GETCPU_VSYSCALL.
4502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4503
4504 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
4505
4506 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4507 instead of <sysdeps/x86_64/cacheinfo.c>.
4508 * sysdeps/x86_64/cacheinfo.c: Moved to ...
4509 * sysdeps/x86/cacheinfo.c: Here.
4510
4511 2016-05-04 Florian Weimer <fweimer@redhat.com>
4512
4513 * malloc/malloc-internal.h: Adjust header file guard.
4514
4515 2016-05-04 Florian Weimer <fweimer@redhat.com>
4516
4517 [BZ #19787]
4518 * inet/getnameinfo.c (check_sprintf_result): New function.
4519 (CHECKED_SNPRINTF): New macro.
4520 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4521 to the host buffer.
4522 (gni_host_local): Use checked_copy to copy the host name.
4523 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4524 (gni_serv_local): Use checked_copy to copy the service name.
4525 (getnameinfo): Remove unnecessary truncation of result buffers.
4526
4527 2016-05-04 Florian Weimer <fweimer@redhat.com>
4528
4529 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4530 in case of inet_ntop failure.
4531
4532 2016-05-04 Florian Weimer <fweimer@redhat.com>
4533
4534 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4535 avoid long lines.
4536 (gni_host_inet_numeric): Likewise. Reduce scope of local
4537 variables.
4538 (gni_host_inet, gni_host_local): Add comment.
4539 (gni_host): Add comment. Use temporary to avoid long lines.
4540
4541 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4542
4543 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4544 registers specifiers where general purpose registers specifiers should
4545 have been used.
4546
4547 2016-05-04 Florian Weimer <fweimer@redhat.com>
4548
4549 [BZ #19779]
4550 CVE-2016-1234
4551 Avoid copying names of directory entries.
4552 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4553 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4554 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4555 (struct readdir_result): New type.
4556 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4557 (GL_READDIR): New macros.
4558 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4559 (convert_dirent, convert_dirent64): New functions.
4560 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
4561 convert_dirent64. Adjust references to the readdir result.
4562 * sysdeps/unix/sysv/linux/i386/glob64.c:
4563 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4564 * posix/bug-glob2.c (LONG_NAME): Define.
4565 (filesystem): Add LONG_NAME.
4566 (my_DIR): Increase the size of room_for_dirent.
4567
4568 2016-05-03 Joseph Myers <joseph@codesourcery.com>
4569
4570 [BZ #20041]
4571 * misc/sys/select.h (__need_timespec): Only define if
4572 [__USE_XOPEN2K].
4573 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4574 variable.
4575 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4576 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4577 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4578
4579 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4580 Segher Boessenkool <segher@gcc.gnu.org>
4581
4582 [BZ #20004]
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4584 (__novec_swapcontext): Add missing load.
4585
4586 2016-05-02 Joseph Myers <joseph@codesourcery.com>
4587
4588 [BZ #20023]
4589 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4590 <time.h>.
4591 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4592 variable.
4593 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4594
4595 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4596
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4598 flags CLONE_VM compare.
4599
4600 2016-05-02 Florian Weimer <fweimer@redhat.com>
4601
4602 [BZ #20031]
4603 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4604 completely empty.
4605
4606 2016-05-02 Florian Weimer <fweimer@redhat.com>
4607
4608 [BZ #19573]
4609 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4610 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4611 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4612 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4613 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4614 (hesiod_free_list): Mark as hidden.
4615 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4616 res_set, res_get.
4617 * hesiod/hesiod.c: Remove unnecessary forward declarations.
4618 (init, __hesiod_res_get, __hesiod_res_set): Remove.
4619 (hesiod_init): Remove obsolete res_ninit call.
4620 (hesiod_end): Do not free resolver state. Do not invoke callback.
4621 (hesiod_bind): Do not call init.
4622 (get_txt_records): Use res_mkquery, res_send instead of
4623 res_nmkquery, res_nsend.
4624 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4625 instead of _nss_hesiod_init.
4626 (_nss_hesiod_initgroups_dyn): Likewise.
4627 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4628 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4629 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4630
4631 2016-05-02 Florian Weimer <fweimer@redhat.com>
4632
4633 * hesiod/hesiod_p.h (DEF_RHS): Remove.
4634 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4635
4636 2016-05-02 Florian Weimer <fweimer@redhat.com>
4637
4638 * hesiod/hesiod.h: Remove RCS keyword.
4639 * hesiod/hesiod_p.h: Likewise.
4640
4641 * hesiod/hesiod.c: Likewise.
4642
4643 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
4644
4645 [BZ #12450]
4646 * locale/iso-639.def: Add Samogitian/sgs.
4647
4648 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
4649
4650 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4651
4652 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4653
4654 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
4655 Carlos O'Donell <carlos@redhat.com>
4656
4657 [BZ #19072]
4658 * grp/Makefile (headers): Add grp-merge.h
4659 (routines): Add grp-merge.
4660 * grp/getgrgid_r.c: Include grp-merge.h.
4661 (DEEPCOPY_FN): Define.
4662 (MERGE_FN): Define.
4663 * grp/getgrname_r.c: Include grp-merge.h.
4664 (DEEPCOPY_FN): Define.
4665 (MERGE_FN): Define.
4666 * grp/grp-merge.c: New file.
4667 * grp/grp-merge.h: New file.
4668 * include/grp-merge.h: New file.
4669 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4670 __copy_grp@GLIBC_PRIVATE.
4671 * manual/nss.texi (Actions in the NSS configuration): Describe
4672 return, continue, and merge.
4673 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4674 (DEEPCOPY_FN): Define.
4675 (MERGE_FN): Define.
4676 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4677 (DEEPCOPY_FN): Define.
4678 (MERGE_FN): Define.
4679 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4680 [!MERGE_FN]: Define __merge_einval.
4681 (CHECK_MERGE): Define.
4682 (REENTRANT_NAME): Process merge if do_merge is true.
4683 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4684 (__nss_getent_r): Likewise.
4685 * nss/nsswitch.c (nss_parse_service_list): Likewise.
4686 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4687
4688 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4689
4690 [BZ #20012]
4691 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4692 length to calculate the buffer to read.
4693 (fmemopen_write): Set the buffer position based on bytes written.
4694 (fmemopen_seek): Return EINVAL for invalid whence modes.
4695
4696 [BZ #19957]
4697 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4698 tst-getpid2.
4699 (test): Add tst-clone2.
4700 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4701 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4702 pid/tid fields for CLONE_VM.
4703 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4704 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4705 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4706 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4707 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4708 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4709 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4710 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4712 Likewise.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4714 Likewise.
4715 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4716 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4717 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4718 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4719 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4720 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4721 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4722 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4723
4724 2016-04-29 Florian Weimer <fweimer@redhat.com>
4725
4726 [BZ #19642]
4727 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4728 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4729 (gni_serv_local, gni_serv): New functions extracted from
4730 getnameinfo.
4731 (getnameinfo): Call gni_host and gni_serv to perform the
4732 processing. Always free scratch buffer.
4733
4734 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4735
4736 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4737 remaining bytes in the dest string, with zeros.
4738
4739 2016-04-29 Florian Weimer <fweimer@redhat.com>
4740
4741 [BZ #20010]
4742 CVE-2016-3706
4743 * sysdeps/posix/getaddrinfo.c
4744 (convert_hostent_to_gaih_addrtuple): New function.
4745 (gethosts): Call convert_hostent_to_gaih_addrtuple.
4746 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4747 AF_INET data.
4748
4749 2016-04-29 Florian Weimer <fweimer@redhat.com>
4750
4751 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4752 callback function gl_readdir.
4753 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4754 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4755 (glob_in_dir): Remove len. Use strdup instead of malloc and
4756 memcpy to copy the name.
4757 * manual/pattern.texi (Calling Glob): Document requirements for
4758 implementations of the gl_readdir callback function.
4759 * manual/examples/mkdirent.c: New example.
4760 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4761 per the manual guidance.
4762 * posix/tst-gnuglob.c (my_readdir): Likewise.
4763
4764 2016-04-28 Joseph Myers <joseph@codesourcery.com>
4765
4766 [BZ #20014]
4767 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4768 not [__USE_POSIX].
4769 (getchar_unlocked): Likewise.
4770 (putc_unlocked): Likewise.
4771 (putchar_unlocked): Likewise.
4772 (flockfile): Likewise.
4773 (ftrylockfile): Likewise.
4774 (funlockfile): Likewise.
4775 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4776 variable.
4777 (test-xfail-XPG4/stdio.h/conform): Likewise.
4778
4779 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4780 Expect constant.
4781 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4782 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4783 variable.
4784 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4785 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4786
4787 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4788 [__USE_LARGEFILE64] (off64_t): Likewise.
4789 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4790 variable.
4791
4792 2016-04-28 Florian Weimer <fweimer@redhat.com>
4793
4794 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4795
4796 2016-04-28 Florian Weimer <fweimer@redhat.com>
4797
4798 * resolv/inet_addr.c: Reindent preprocessor conditionals.
4799 * resolv/res_init.c: Likewise.
4800 * resolv/res_mkquery.c: Likewise.
4801
4802 2016-04-28 Florian Weimer <fweimer@redhat.com>
4803
4804 * resolv/res_init.c (isascii): Do not define. Use definition in
4805 <ctype.h>.
4806 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4807 (LOG_AUTH): Remove.
4808 (SPRINTF): Remove, adjust caller.
4809 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4810
4811 2016-04-28 Florian Weimer <fweimer@redhat.com>
4812
4813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4814 SUNSECURITY conditional.
4815 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4816
4817 2016-04-28 Florian Weimer <fweimer@redhat.com>
4818
4819 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4820 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4821 Remove BSD-related preprocessor conditionals.
4822 * conf/portability.h: Remove.
4823
4824 2016-04-28 Florian Weimer <fweimer@redhat.com>
4825
4826 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4827 * resolv/res_data.c: Likewise.
4828
4829 2016-04-28 Florian Weimer <fweimer@redhat.com>
4830
4831 * resolv/res_comp.c: Remove code conditional on __ultrix__.
4832 * resolv/res_data.c: Remove code conditional on ultrix.
4833
4834 2016-04-28 Florian Weimer <fweimer@redhat.com>
4835
4836 * resolv/res_init.c (RFC1535): Do not define. Remove
4837 RFC1535 preprocessor conditionals.
4838 * resolv/README: Update. Do not claim strict RFC 1535 compliance
4839 because there configuration options which make the resolver
4840 behavior different.
4841
4842 2016-04-28 Florian Weimer <fweimer@redhat.com>
4843
4844 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
4845 RESOLVSORT preprocessor conditionals.
4846 * resolv/nss_dns/dns-host.c: Likewise.
4847 * resolv/res_init.c: Likewise.
4848
4849 2016-04-28 Florian Weimer <fweimer@redhat.com>
4850
4851 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
4852 is never defined.
4853
4854 2016-04-28 Florian Weimer <fweimer@redhat.com>
4855
4856 * inet/inet_lnaof.c: Remove SCSS keyword.
4857 * inet/inet_mkadr.c: Likewise.
4858 * inet/inet_net.c: Likewise.
4859 * inet/inet_netof.c: Likewise.
4860 * inet/rcmd.c: Likewise.
4861 * inet/rexec.c: Likewise.
4862 * inet/ruserpass.c: Likewise.
4863
4864 2016-04-28 Florian Weimer <fweimer@redhat.com>
4865
4866 * resolv/inet_addr.c: Remove _LIBC conditionals.
4867 * resolv/res_data.c: Likewise.
4868 * resolv/res_init.c: Likewise.
4869 * resolv/res_mkquery.c: Likewise.
4870 * resolv/res_libc.c: Update comment.
4871 * resolv/README: Update.
4872
4873 2016-04-28 Florian Weimer <fweimer@redhat.com>
4874
4875 * resolv/gethnamaddr.c: Remove SCSS keyword.
4876 * resolv/herror.c: Likewise.
4877 * resolv/inet_addr.c: Likewise.
4878 * resolv/inet_net_ntop.c: Likewise.
4879 * resolv/inet_net_pton.c: Likewise.
4880 * resolv/inet_neta.c: Likewise.
4881 * resolv/inet_ntop.c: Likewise.
4882 * resolv/inet_pton.c: Likewise.
4883 * resolv/ns_date.c: Remove RCS keyword.
4884 * resolv/ns_name.c: Likewise.
4885 * resolv/ns_netint.c: Likewise.
4886 * resolv/ns_parse.c: Likewise.
4887 * resolv/ns_print.c: Likewise.
4888 * resolv/ns_samedomain.c: Likewise.
4889 * resolv/ns_ttl.c: Likewise.
4890 * resolv/nsap_addr.c: Likewise.
4891 * resolv/res_comp.c: Remove SCSS and RCS keyword.
4892 * resolv/res_data.c: Remove RCS keyword.
4893 * resolv/res_debug.c: Remove SCSS and RCS keyword.
4894 * resolv/res_init.c: Likewise.
4895 * resolv/res_mkquery.c: Likewise.
4896 * resolv/res_query.c: Likewise.
4897 * resolv/res_send.c: Likewise.
4898
4899 2016-04-27 Joseph Myers <joseph@codesourcery.com>
4900
4901 * conform/data/stdio.h-data (fdopen): Expect also for
4902 [XPG3 || XPG4].
4903
4904 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4905 (fseeko): Likewise.
4906 (ftello): Likewise.
4907 (ftrylockfile): Likewise.
4908 (funlockfile): Likewise.
4909 (getc_unlocked): Likewise.
4910 (getchar_unlocked): Likewise.
4911 (putc_unlocked): Likewise.
4912 (putchar_unlocked): Likewise.
4913
4914 2016-04-27 Florian Weimer <fweimer@redhat.com>
4915
4916 [BZ #19868]
4917 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4918 DNS packet syntax checks (which were not needed before). Skip
4919 over non-PTR records.
4920
4921 2016-04-27 Florian Weimer <fweimer@redhat.com>
4922
4923 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4924 definition. Include <stddef.h> instead.
4925
4926 2016-04-27 Florian Weimer <fweimer@redhat.com>
4927
4928 [BZ #19831]
4929 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4930 function.
4931 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4932 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4933
4934 2016-04-27 Florian Weimer <fweimer@redhat.com>
4935
4936 [BZ #19862]
4937 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4938 (getanswer_r): Do not call syslog.
4939 (gaih_getanswer_slice): Likewise.
4940 * resolv/gethnamaddr.c (AskedForGot): Remove.
4941 (getanswer): Do not call syslog.
4942 (gethostbyaddr): Likewise.
4943
4944 2016-04-27 Joseph Myers <joseph@codesourcery.com>
4945
4946 * conform/data/signal.h-data (union sigval): Expect also if
4947 [XOPEN2K].
4948 (struct sigevent): Likewise.
4949 (SIGEV_NONE): Likewise.
4950 (SIGEV_SIGNAL): Likewise.
4951 (SIGEV_THREAD): Likewise.
4952 (SIGRTMIN): Likewise.
4953 (SIGRTMAX): Likewise.
4954 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4955 variable.
4956 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4957
4958 2016-04-27 Florian Weimer <fweimer@redhat.com>
4959
4960 [BZ #19830]
4961 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4962 (gaih_getanswer_slice): Likewise.
4963 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4964 Also check for availability of RR metadata.
4965
4966 2016-04-27 Florian Weimer <fweimer@redhat.com>
4967
4968 [BZ #19825]
4969 * resolv/res_send.c (send_vc): Remove early *resplen2
4970 initialization. Set *resplen2 on socket error. Call
4971 close_and_return_error for other errors.
4972
4973 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4974
4975 * sysdeps/unix/sysv/linux/netiucv/iucv.h
4976 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4977 (SCM_IUCV_TRGCLS): New define.
4978
4979 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4980
4981 [BZ #20005]
4982 * libio/fmemopen.c (fmemopen_write): Update internal position after
4983 write.
4984 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4985 * stdio-common/tst-fmemopen4.c: New file..
4986
4987 2016-04-26 Joseph Myers <joseph@codesourcery.com>
4988
4989 [BZ #19996]
4990 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4991 not [__USE_XOPEN2K].
4992 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4993 variable.
4994
4995 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4996 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4997 variable.
4998
4999 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5000 [__USE_XOPEN2K8].
5001 [__USE_LARGEFILE64] (off64_t): Likewise.
5002 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5003 variable.
5004
5005 2016-04-25 Joseph Myers <joseph@codesourcery.com>
5006
5007 [BZ #19989]
5008 * libio/stdio.h (cuserid): Do not declare if
5009 [__USE_XOPEN2K && !__USE_GNU].
5010 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5011 variable.
5012
5013 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5014
5015 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5016 (sysdep_routines): Add P8 and PPC64 strcspn targets.
5017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5018 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5019 ifunc'ed strcspn.
5020 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5021 [EALIGN]: Removed.
5022 [END]: Likewise
5023 [STRSPN]: Define instead of the above to control symbol name.
5024 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5025 New file.
5026 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5027 Likewise.
5028 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5029 Likewise.
5030 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5031 Likewise.
5032 * sysdeps/powerpc/powerpc64/power8/strspn.S:
5033 [INITIAL_MASK]: New macro.
5034 [STRCSPN]: Likewise.
5035 [UPDATE_MASK]: Likewise.
5036 [USE_AS_STRCSPN]: Lisewise.
5037
5038 2016-04-25 Florian Weimer <fweimer@redhat.com>
5039
5040 [BZ #19931]
5041 * stdio-common/tst-vfprintf-width-prec.c: New file.
5042 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5043 (tests-special): Add tst-vfprintf-width-prec-mem.out.
5044 (generated): Add mtrace-related files.
5045 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5046 (tst-%-mem.out): New pattern rule, replaces
5047 tst-printf-bz18872-mem.out.
5048 * stdio-common/vfprintf.c (vfprintf): When handling a precision
5049 specifier, deallocate any previously allocated work buffer.
5050
5051 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5052
5053 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5054 Add nop before __startcontext, add explaining comments.
5055
5056 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
5057
5058 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5059 any more. Notably since IPV6_PKTINFO has been reintroduced with a
5060 completely different API.
5061
5062 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5063 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5064 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5065 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5066 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5067 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5068 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5069 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5070 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5071 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5072
5073 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
5074
5075 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5076
5077 2016-04-23 Mike Frysinger <vapier@gentoo.org>
5078
5079 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5080 when it is the default of 0.
5081
5082 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5083
5084 * sysdeps/powerpc/locale-defines.sym: Add new macros.
5085 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5086 (sysdep_routines): Add new strcasestr targets.
5087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5088 (__libc_ifunc_impl_list): Likewise.
5089 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5090 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5091 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5092 * sysdeps/powerpc/powerpc64/power8/Makefile:
5093 New file to add strcasestr-ppc64 to sysdep_routines.
5094 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5095 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5096
5097 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
5098
5099 * benchtests/Makefile (wcsmbs-benchset): Include only for
5100 native builds and runs.
5101 (LOCALES): Likewise.
5102 (bench-build): Build timing-type here instead of the bench
5103 target. Generate locale only for native builds.
5104 * benchtests/README: Add note for cross-building.
5105
5106 * benchtests/Makefile (bench-clean): Clean up extra-objs.
5107
5108 * benchtests/README: Update README to include instructions on
5109 using bench-build.
5110
5111 * Makefile.in (bench-build): New target.
5112 * Rules (PHONY): Add bench-build target.
5113 * benchtests/Makefile (bench): Depend on bench-build.
5114 (bench-build): New target.
5115
5116 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5117
5118 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5119 profil_reply_port.
5120 (profile_waiter): Do not initialize profil_reply_port.
5121 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5122 frequency instead of tick length in us.
5123
5124 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
5125
5126 [BZ #18712]
5127 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5128 (__old_mempcpy_small): Likewise.
5129 (__old_strcpy_small): Likewise.
5130 (__old_stpcpy_small): Likewise.
5131 (__old_strpbrk_c2): Fix compat symbol name.
5132 (__old_strpbrk_c3): Likewise.
5133 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5134 (__mempcpy_small): Remove.
5135 (__strcpy_small): Remove.
5136 (__stpcpy_small): Remove.
5137
5138 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
5139
5140 [BZ #19400]
5141 * locale/iso-639.def: Add the Talossan/tzl language.
5142
5143 2016-04-16 Mike Frysinger <vapier@gentoo.org>
5144
5145 [BZ #16983]
5146 * locale/programs/ld-address.c (address_finish): Update postal_fmt
5147 comment. Add "ln" to strchr check on postal_fmt.
5148
5149 2016-04-16 Mike Frysinger <vapier@gentoo.org>
5150
5151 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5152 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
5153 tel_dom_fmt.
5154
5155 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5156
5157 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5158 (sysdep_routines): Added __strlen_power8.
5159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5160 __strlen_power8 entry.
5161 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5162 Implementation for POWER8.
5163 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5164 for __strlen_power8.
5165 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5166 Implementation for POWER8.
5167
5168 2016-04-15 Mike Frysinger <vapier@gentoo.org>
5169
5170 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5171
5172 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5175 Goldmont and Airmont processors.
5176
5177 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
5178
5179 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5180 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5181 (__STRING2_SMALL_GET32): Remove.
5182 (memset): Remove.
5183 (__memset_1): Remove.
5184 (__memset_gc): Remove.
5185 (__mempcpy): Remove.
5186 (mempcpy): Remove.
5187 (__mempcpy_args): Remove.
5188 (strchr): Remove.
5189 (strcpy): Remove.
5190 (strcpy_args): Remove.
5191 (__stpcpy_args): Remove.
5192 (__strcmp_cc): Remove.
5193 (__strcmp_gc): Remove.
5194 (strstr): Remove.
5195
5196 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
5197
5198 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5199 * nis/nis_call.c (nis_server_cache_add): Likewise.
5200
5201 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5202
5203 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5204
5205 2016-04-14 Florian Weimer <fweimer@redhat.com>
5206
5207 * malloc/arena.c (__malloc_fork_lock_parent)
5208 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5209 internal_function attribute.
5210
5211 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
5212
5213 * stdio-common/printf_fp.c (__printf_fp_l):
5214 Rename ___printf_fp_l to __printf_fp_l and
5215 remove strong alias. Use libc_hidden_def instead
5216 of ldbl_hidden_def macro.
5217
5218 2016-04-14 Florian Weimer <fweimer@redhat.com>
5219
5220 Remove malloc hooks from fork handler. They are no longer needed
5221 because malloc runs right before fork, and no malloc calls from
5222 other fork handlers are not possible anymore.
5223 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5224 declarations.
5225 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5226 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5227 (atfork_recursive_cntr): Remove.
5228 (__malloc_fork_lock_parent): Do not override malloc hooks and
5229 thread_arena.
5230 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5231 thread_arena.
5232 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
5233 thread_arena instead of save_arena.
5234
5235 2016-04-14 Florian Weimer <fweimer@redhat.com>
5236
5237 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5238 (thread_atfork, thread_atfork_static): Remove.
5239 * sysdeps/mach/hurd/malloc-machine.h:
5240 (thread_atfork, thread_atfork_static): Remove.
5241
5242 2016-04-14 Florian Weimer <fweimer@redhat.com>
5243
5244 [BZ #19431]
5245 Run the malloc fork handler as late as possible to avoid deadlocks.
5246 * malloc/malloc-internal.h: New file.
5247 * malloc/malloc.c: Include it.
5248 * malloc/arena.c (ATFORK_MEM): Remove.
5249 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5250 Update comment.
5251 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5252 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5253 Remove outdated comment.
5254 (ptmalloc_init): Do not call thread_atfork. Remove
5255 thread_atfork_static.
5256 * malloc/tst-malloc-fork-deadlock.c: New file.
5257 * Makefile (tests): Add tst-malloc-fork-deadlock.
5258 (tst-malloc-fork-deadlock): Link against libpthread.
5259 * manual/memory.texi (Aligned Memory Blocks): Update safety
5260 annotation comments.
5261 * sysdeps/nptl/fork.c (__libc_fork): Call
5262 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5263 __malloc_fork_unlock_child.
5264 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5265
5266 2016-04-14 Florian Weimer <fweimer@redhat.com>
5267
5268 [BZ #19613]
5269 Remove union wait.
5270 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5271 (w_stopsig, w_stopval): Remove.
5272 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5273 stat_loc argument.
5274 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5275 (__WAIT_STATUS_DEFN): Remove.
5276 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5277 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5278 (wait, wait3, wait4): Use int * for the stat_loc argument.
5279 * posix/wait.c (__wait): Likewise.
5280 * posix/wait3.c (__wait3): Likewise.
5281 * posix/wait4.c (__wait4): Likewise.
5282 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5283 (__WAIT_STATUS_DEFN): Remove.
5284 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5285 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5286 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5287 argument.
5288 * sysdeps/posix/wait.c (__libc_wait): Likewise.
5289 * sysdeps/posix/wait3.c (__wait3): Likewise.
5290 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5291 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5292 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5293 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5294 stat_loc argument.
5295 * manual/process.texi (BSD Wait Functions): Remove union wait.
5296
5297 2016-04-13 Andreas Schwab <schwab@suse.de>
5298
5299 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5300 (test-extras): Add tst-tlsalign-vars.
5301 * math/Makefile: Wrap long lines.
5302 (libm-vec-test-wrappers): Define.
5303 (test-extras): Add $(libm-vec-test-wrappers).
5304 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5305 * nss/Makefile (extra-test-objs): Add nss_test1.os.
5306 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5307 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5308 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5309 (extra-test-objs): Add corresponding objects.
5310
5311 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 [BZ #19928]
5314 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5315 New.
5316 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5317 times of shared cache size.
5318 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5319 (VMOVNT): New.
5320 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5321 (VMOVNT): Likewise.
5322 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5323 (VMOVNT): Likewise.
5324 (VMOVU): Changed to movups for smaller code sizes.
5325 (VMOVA): Changed to movaps for smaller code sizes.
5326 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5327 comments.
5328 (PREFETCH): New.
5329 (PREFETCH_SIZE): Likewise.
5330 (PREFETCHED_LOAD_SIZE): Likewise.
5331 (PREFETCH_ONE_SET): Likewise.
5332 Rewrite to use forward and backward loops, which move 4 vector
5333 registers at a time, to support overlapping addresses and use
5334 non temporal store if size is above the threshold and there is
5335 no overlap between destination and source.
5336
5337 2016-04-12 Alex Smith <alex.smith@imgtec.com>
5338
5339 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5340 Include dl-vdso.
5341 * sysdeps/unix/sysv/linux/mips/Versions: Add
5342 __vdso_clock_gettime.
5343 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5344 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5345 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5346 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5347 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5348 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5349 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5350 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5351 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5352
5353 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5354
5355 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5356 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5357 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5359 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5360 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5363 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5365 syscalls generation.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5367 [__NR_pwrite64] (__NR_write): Remove define.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5369 [__NR_pwrite64] (__NR_write): Remove define.
5370 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5371 Remove define.
5372 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5373 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5374 Remove define.
5375 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5376 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5377 Linux implementation as base.
5378 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5379
5380 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5381 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5382 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5383 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5386 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5388 syscall generation.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5390 [__NR_pread64] (__NR_pread): Remove define.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5392 [__NR_pread64] (__NR_pread): Likewise.
5393 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5394 define.
5395 (__libc_pread): Use SYSCALL_LL macro on offset argument.
5396 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5397 Remove define.
5398 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5399 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5400 Linux implementation as base.
5401 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5402 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5403 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5404
5405 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5406 definition.
5407 (__ALIGNMENT_COUNT): Likewise.
5408 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5409 (__ALIGNMENT_COUNT): Likewise.
5410 (SYSCALL_LL): New define.
5411 (SYSCALL_LL64): Likewise.
5412 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5413 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5414 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5415 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5416
5417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5418 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5419 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5420 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5421 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5422 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5423
5424 2016-04-11 Florian Weimer <fweimer@redhat.com>
5425
5426 [BZ #19865]
5427 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5428 original buffer before retry.
5429
5430 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5431
5432 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5433 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5434 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5435 GLRO(dl_auxv) list.
5436 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5437 including <ldsodefs.h>.
5438 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5439
5440 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
5441
5442 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5443 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5444 $(CPPFLAGS).
5445
5446 2016-04-09 Khem Raj <raj.khem@gmail.com>
5447
5448 [BZ #17950]
5449 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5450 Add -mfpmath=387.
5451
5452 2016-04-09 Mike Frysinger <vapier@gentoo.org>
5453
5454 * sysdeps/i386/configure.ac: Change == to = when calling test.
5455 * sysdeps/x86_64/configure.ac: Likewise.
5456 * sysdeps/i386/configure: Regenerated.
5457 * sysdeps/x86_64/configure: Likewise.
5458
5459 2016-04-08 Mike Frysinger <vapier@gentoo.org>
5460
5461 [BZ #16137]
5462 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5463 * benchtests/bench-strcoll.c (input_files): Likewise.
5464 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5465 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5466 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5467
5468 2016-04-08 Joseph Myers <joseph@codesourcery.com>
5469
5470 [BZ #19929]
5471 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5472 [__USE_XOPEN2K8 && !__USE_GNU].
5473 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5474 variable.
5475
5476 [BZ #19925]
5477 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5478 define if [!__USE_MISC && __USE_XOPEN2K].
5479 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5480 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5481 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5482 Likewise.
5483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5484 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5485 variable.
5486 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5487
5488 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5489
5490 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5491 (sysdep_routines): Add new strspn targets.
5492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5493 (__libc_ifunc_impl_list): Add strspn.
5494 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5495 New file.
5496 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5497 Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5499 Likewise.
5500 * sysdeps/powerpc/powerpc64/power8/strspn.S:
5501 Likewise.
5502
5503 2016-04-07 Florian Weimer <fweimer@redhat.com>
5504
5505 * misc/hsearch_r.c: Include <limits.h>.
5506
5507 2016-04-07 Florian Weimer <fweimer@redhat.com>
5508
5509 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5510
5511 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
5512
5513 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5514 (MEMCPY_SYMBOL): New.
5515 (MEMPCPY_SYMBOL): Likewise.
5516 (MEMMOVE_CHK_SYMBOL): Likewise.
5517 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5518 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5519 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
5520 Provide alias for memcpy in libc.a and ld.so.
5521
5522 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5525 (MEMSET_CHK_SYMBOL): New. Define if not defined.
5526 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5527 Disabled fro now.
5528 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5529 symbols. Properly check USE_MULTIARCH on __memset symbols.
5530
5531 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * benchtests/Makefile (string-benchset): Add memcpy-large,
5534 memmove-large and memset-large.
5535 * benchtests/bench-memcpy-large.c: New file.
5536 * benchtests/bench-memmove-large.c: Likewise.
5537 * benchtests/bench-memmove-large.c: Likewise.
5538 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5539
5540 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5543 32-bit displacement to avoid long nop between instructions.
5544
5545 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
5546
5547 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5548 a comment on VMOVU and VMOVA.
5549
5550 2016-04-04 Florian Weimer <fweimer@redhat.com>
5551
5552 [BZ #19633]
5553 Use specified locale for number formatting in strfmon_l.
5554 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5555 (__nl_lookup_word): New inline functions.
5556 * include/printf.h (__print_fp_l): Declare.
5557 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5558 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
5559 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5560 (___printf_fp): New function.
5561 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5562 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5563 * stdlib/tst-strfmon_l.c (do_test): New test.
5564 * stdlib/Makefile (tests): Add kt.
5565 (LOCALES): Build additional locales.
5566 (tst-strfmon_l.out): Require locales.
5567
5568 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
5569
5570 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5571 if not in libc.
5572 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5573 Likewise.
5574 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5575 Likewise.
5576 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5577 Likewise.
5578
5579 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
5580
5581 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5582 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5583 with unaligned_erms.
5584 (__memmove_erms): Skip if source == destination.
5585 (__memmove_unaligned_erms): Don't check source == destination
5586 first.
5587
5588 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5591 bit_arch_Fast_Copy_Backward for Intel Core proessors.
5592
5593 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5594
5595 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5596 * string/strspn.c (strspn): Likewise.
5597
5598 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 * benchtests/bench-memset.c (do_test): Support 64-byte
5601 alignment.
5602 (test_main): Test 64-byte alignment.
5603
5604 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * benchtests/bench-memmove.c (test_main): Test 64-byte
5607 alignment.
5608
5609 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5610
5611 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5612
5613 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5614
5615 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5616 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5617 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5618
5619 * string/strpbrk.c (strpbrk): Rewrite function.
5620 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5621 (__strpbrk_c2): Likewise.
5622 (__strpbrk_c3): Likewise.
5623 * string/string-inlines.c
5624 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5625 Likewise.
5626 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5627 Likewise.
5628
5629 * string/strspn.c (strcspn): Rewrite function.
5630 * string/bits/string2.h (strspn): Use __builtin_strcspn.
5631 (__strspn_c1): Remove inline function.
5632 (__strspn_c2): Likewise.
5633 (__strspn_c3): Likewise.
5634 * string/string-inlines.c
5635 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5636 compatibility symbol.
5637 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5638 Likewise.
5639 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5640 Likewise.
5641 * string/string-inlines.c: Include generic version.
5642
5643 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
5644 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5645
5646 * string/Version (libc): Add GLIBC_2.24.
5647 * string/strcspn.c (strcspn): Rewrite function.
5648 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5649 (__strcspn_c1): Remove inline function.
5650 (__strcspn_c2): Likewise.
5651 (__strcspn_c3): Likewise.
5652 * string/string-inline.c
5653 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5654 compatibility symbol.
5655 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5656 Likewise.
5657 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5658 Likewise.
5659 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5660
5661 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5662
5663 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5664 Use ahi instead of aghi to adjust stack pointer.
5665
5666 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5667
5668 [BZ #19853]
5669 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5670 TEST to take significant digits as second parameter.
5671 [TEST]: Redefine in terms of TEST_N taking 30
5672 significant digits.
5673 (do_test): Add test case to demonstrate precision
5674 failure in the ldbl-128ibm printf.
5675 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5676 (__mpn_extract_long_double): Carry 7 extra intermediate
5677 bits of precision to aide computing difference when
5678 signs differ.
5679
5680 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 [BZ #19881]
5683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5684 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5685 memset-avx512-unaligned-erms.
5686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5687 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5688 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5689 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5690 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5691 __memset_sse2_unaligned_erms, __memset_erms,
5692 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5693 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5694 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5695 file.
5696 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5697 Likewise.
5698 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5699 Likewise.
5700 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5701 Likewise.
5702
5703 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
5704
5705 [BZ #19776]
5706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5707 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5708 memmove-avx512-unaligned-erms.
5709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5710 (__libc_ifunc_impl_list): Test
5711 __memmove_chk_avx512_unaligned_2,
5712 __memmove_chk_avx512_unaligned_erms,
5713 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5714 __memmove_chk_sse2_unaligned_2,
5715 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5716 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5717 __memmove_avx512_unaligned_erms, __memmove_erms,
5718 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5719 __memcpy_chk_avx512_unaligned_2,
5720 __memcpy_chk_avx512_unaligned_erms,
5721 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5722 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5723 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5724 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5725 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5726 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5727 __mempcpy_chk_avx512_unaligned_erms,
5728 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5729 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5730 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5731 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5732 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5733 __mempcpy_erms.
5734 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5735 file.
5736 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5737 Likwise.
5738 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5739 Likwise.
5740 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5741 Likwise.
5742
5743 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5744
5745 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5746 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5747 (La_s390_64_regs): Likewise.
5748 (La_s390_32_retval): Append vector register lrv_v24.
5749 (La_s390_64_retval): Likeweise.
5750 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5751 Handle extended structs La_s390_32_regs and La_s390_32_retval.
5752 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5753 Handle extended structs La_s390_64_regs and La_s390_64_retval.
5754
5755 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5756
5757 [BZ #19916]
5758 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5759 to create a non-vector/vector version for _dl_runtime_resolve and
5760 _dl_runtime_profile. Move implementation to ...
5761 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5762 (_dl_runtime_resolve) Save and restore fpr/vrs.
5763 (_dl_runtime_profile) Save and restore vrs and fix some issues
5764 if _dl_call_pltexit is called.
5765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5766 Choose the correct resolver function if running on a machine with vx.
5767 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5768 to create a non-vector/vector version for _dl_runtime_resolve and
5769 _dl_runtime_profile. Move implementation to ...
5770 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5771 (_dl_runtime_resolve) Save and restore fpr/vrs.
5772 (_dl_runtime_profile) Save and restore vrs and fix some issues
5773 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5774 Choose the correct resolver function if running on a machine with vx.
5775
5776 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5777
5778 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5779
5780 2016-03-31 Florian Weimer <fweimer@redhat.com>
5781
5782 [BZ #19509]
5783 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5784 skip_map != NULL.
5785 * elf/tst-dlsym-error.c: New file.
5786 * elf/Makefile (tests): Add tst-dlsym-error.
5787 (tst-dlsym-error): Link against libdl.
5788
5789 2016-03-29 Joseph Myers <joseph@codesourcery.com>
5790
5791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5792 (__ASSUME_FUTIMESAT): Remove macro.
5793 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5794
5795 2016-03-29 Florian Weimer <fweimer@redhat.com>
5796
5797 [BZ #19879]
5798 CVE-2016-3075
5799 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5800 copy name.
5801
5802 2016-03-29 Florian Weimer <fweimer@redhat.com>
5803
5804 [BZ #19837]
5805 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5806 error if parse_line fails.
5807
5808 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5809
5810 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5811 (index_cpu_ERMS): Likewise.
5812 (reg_ERMS): Likewise.
5813
5814 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
5815
5816 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5817 PER_LINUX_FDPIC): Add.
5818
5819 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5820
5821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5822 memcpy-avx512-no-vzeroupper.
5823 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5824 to ...
5825 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5826 (MEMCPY): Don't define.
5827 (MEMCPY_CHK): Likewise.
5828 (MEMPCPY): Likewise.
5829 (MEMPCPY_CHK): Likewise.
5830 (MEMPCPY_CHK): Renamed to ...
5831 (__mempcpy_chk_avx512_no_vzeroupper): This.
5832 (MEMPCPY_CHK): Renamed to ...
5833 (__mempcpy_chk_avx512_no_vzeroupper): This.
5834 (MEMCPY_CHK): Renamed to ...
5835 (__memmove_chk_avx512_no_vzeroupper): This.
5836 (MEMCPY): Renamed to ...
5837 (__memmove_avx512_no_vzeroupper): This.
5838 (__memcpy_avx512_no_vzeroupper): New alias.
5839 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5840
5841 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 [BZ #18858]
5844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5845 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5846 and mempcpy-avx512-no-vzeroupper.
5847 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5848 New.
5849 (MEMPCPY): Likewise.
5850 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5851 (MEMPCPY_CHK): New.
5852 (MEMPCPY): Likewise.
5853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5854 (MEMPCPY): Likewise.
5855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5856 (MEMPCPY): Likewise.
5857 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5858 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5859 Likewise.
5860 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5861 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5862
5863 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5864 Amit Pawar <Amit.Pawar@amd.com>
5865
5866 [BZ #19583]
5867 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5868 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5869 processors. Set Fast_Copy_Backward for AMD Excavator
5870 processors.
5871 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5872 New.
5873 (index_arch_Fast_Unaligned_Copy): Likewise.
5874 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5875 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5876
5877 2016-03-25 Florian Weimer <fweimer@redhat.com>
5878
5879 [BZ #19791]
5880 * resolv/res_send.c (close_and_return_error): New function.
5881 (send_dg): Initialize *resplen2 after reopen failure. Call
5882 close_and_return_error for error returns. On error paths without
5883 __res_iclose, initialze *resplen2 explicitly. Update comment for
5884 successful return.
5885
5886 2016-03-25 Florian Weimer <fweimer@redhat.com>
5887
5888 [BZ# 19860]
5889 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5890 zero if the compiler does not provide the AVX512F bit.
5891
5892 2016-03-24 Joseph Myers <joseph@codesourcery.com>
5893
5894 [BZ #19848]
5895 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5896 from 8 to 4.
5897 (__ieee754_powl): Compare integer exponent against 4 not 8.
5898 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5899 from 8 to 4.
5900 (__ieee754_powl): Compare integer exponent against 4 not 8.
5901 * math/auto-libm-test-in: Add more tests of pow.
5902 * math/auto-libm-test-out: Regenerated.
5903 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5905
5906 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
5907
5908 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5909 Make code unconditional.
5910 [!__NR_utimensat]: Remove conditional code.
5911 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5912 Make code unconditional.
5913 [!__NR_utimensat]: Remove conditional code.
5914 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5915 Make code unconditional.
5916 [!__NR_utimensat]: Remove conditional code.
5917
5918 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
5919
5920 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5921 Make code unconditional.
5922
5923 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
5924
5925 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5926 call-clobbered %eax on retry path.
5927 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5928
5929 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
5930
5931 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5932 Don't set %rcx twice before "rep movsb".
5933
5934 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 [BZ #19583]
5937 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5938 inline. Check family before setting family, model and
5939 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
5940 bits here.
5941 (init_cpu_features): Replace HAS_CPU_FEATURE and
5942 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5943 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
5944 for Intel processors with usable AVX2. Call get_common_indeces
5945 for other processors with family == NULL.
5946 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5947 (CPU_FEATURES_ARCH_P): Likewise.
5948 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5949 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5950
5951 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5952
5953 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5954 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5955 $(shared-thread-library) instead of hardcoding the path to libpthread.
5956
5957 2016-03-22 Joseph Myers <joseph@codesourcery.com>
5958
5959 * sysdeps/unix/sysv/linux/kernel-features.h
5960 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5961 * sysdeps/unix/sysv/linux/getdents.c
5962 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5963 [!have_no_getdents64_defined]: Likewise.
5964 (__GETDENTS): Remove __have_no_getdents64 conditional.
5965
5966 2016-03-21 Joseph Myers <joseph@codesourcery.com>
5967
5968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5969 Remove macro.
5970 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5971 <kernel-features.h>.
5972 (signalfd) [__NR_signalfd4]: Make code unconditional.
5973 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5974
5975 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5976
5977 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5978 style.
5979
5980 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
5981
5982 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5983 (__pthread_enable_asynccancel): Use JUMPTARGET to call
5984 __pthread_unwind.
5985 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5986 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5987 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5988 (__condvar_cleanup1): Likewise.
5989
5990 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
5991
5992 [BZ #19822]
5993 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5994 move it to the final $@ location.
5995
5996 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5997
5998 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5999 access where posix_spawn success and pid argument is null.
6000 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6001 success case.
6002
6003 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
6004
6005 * sysdeps/mach/hurd/i386/c++-types.data: New file.
6006
6007 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6008
6009 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6010 and __fcntl.
6011 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6012 __fcntl only.
6013 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6014 adding attribute_hidden to __open and __fcntl.
6015
6016 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6017 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6018 depend on libc-modules.h,
6019 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6020
6021 2016-03-17 Joseph Myers <joseph@codesourcery.com>
6022
6023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6024 Remove macro.
6025 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6026 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6027 entry.
6028
6029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6030 Remove macro.
6031 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6032 include <kernel-features.h>.
6033 [!__ASSUME_FALLOCATE]: Remove conditional code.
6034 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6035
6036 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
6037
6038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6039 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6041 (_ZGVdN4v_cos_avx2): Likewise.
6042 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6043 (_ZGVdN4v_cos): Likewise.
6044 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6045 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6046 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6047 (_ZGVdN4v_exp_avx2): Likewise.
6048 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6049 (_ZGVdN4v_exp): Likewise.
6050 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6051 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6052 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6053 (_ZGVdN4v_log_avx2): Likewise.
6054 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6055 (_ZGVdN4v_log): Likewise.
6056 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6057 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6058 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6059 (_ZGVdN4vv_pow_avx2): Likewise.
6060 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6061 (_ZGVdN4vv_pow): Likewise.
6062 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6063 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6065 (_ZGVdN4v_sin_avx2): Likewise.
6066 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6067 (_ZGVdN4v_sin): Likewise.
6068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6069 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6071 (_ZGVdN4vvv_sincos_avx2): Likewise.
6072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6073 (_ZGVdN4vvv_sincos): Likewise.
6074 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6075 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6076 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6077 (_ZGVbN4v_cosf_sse4): Likewise.
6078 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6079 (_ZGVdN8v_cosf_avx2): Likewise.
6080 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6081 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6082 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6083 (_ZGVbN4v_expf_sse4): Likewise.
6084 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6085 (_ZGVdN8v_expf_avx2): Likewise.
6086 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6087 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6088 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6089 (_ZGVbN4v_logf_sse4): Likewise.
6090 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6091 (_ZGVdN8v_logf_avx2): Likewise.
6092 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6093 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6094 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6095 (_ZGVbN4vv_powf_sse4): Likewise.
6096 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6097 (_ZGVdN8vv_powf_avx2): Likewise.
6098 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6099 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6100 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6101 (_ZGVbN4vvv_sincosf_sse4): Likewise.
6102 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6103 (_ZGVdN8vvv_sincosf_avx2): Likewise.
6104 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6105 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6106 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6107 (_ZGVbN4v_sinf_sse4): Likewise.
6108 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6109 (_ZGVdN8v_sinf_avx2): Likewise.
6110 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6111 Use JUMPTARGET to call callee.
6112 (WRAPPER_IMPL_SSE2_ff): Likewise.
6113 (WRAPPER_IMPL_SSE2_fFF): Likewise.
6114 (WRAPPER_IMPL_AVX): Likewise.
6115 (WRAPPER_IMPL_AVX_ff): Likewise.
6116 (WRAPPER_IMPL_AVX_fFF): Likewise.
6117 (WRAPPER_IMPL_AVX512): Likewise.
6118 (WRAPPER_IMPL_AVX512_ff): Likewise.
6119 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6120 Likewise.
6121 (WRAPPER_IMPL_SSE2_ff): Likewise.
6122 (WRAPPER_IMPL_SSE2_fFF): Likewise.
6123 (WRAPPER_IMPL_AVX): Likewise.
6124 (WRAPPER_IMPL_AVX_ff): Likewise.
6125 (WRAPPER_IMPL_AVX_fFF): Likewise.
6126 (WRAPPER_IMPL_AVX512): Likewise.
6127 (WRAPPER_IMPL_AVX512_ff): Likewise.
6128 (WRAPPER_IMPL_AVX512_fFF): Likewise.
6129
6130 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6131
6132 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6133 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6134 qualifier.
6135 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6136 internal_function qualifiers.
6137
6138 2016-03-15 Carlos O'Donell <carlos@redhat.com>
6139
6140 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6141 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6142 * math/atest-exp.c (exp_mpn): Mark chk unused.
6143 * math/atest-exp2.c (exp_mpn): Likwise.
6144 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6145 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6146
6147 2016-03-15 Joseph Myers <joseph@codesourcery.com>
6148
6149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6150 Remove macro.
6151 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6152 <kernel-features.h>.
6153 [__NR_ppoll]: Make code unconditional.
6154 [!__ASSUME_PPOLL]: Remove conditional code.
6155
6156 * sysdeps/unix/sysv/linux/kernel-features.h
6157 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6158 (__ASSUME_ACCEPT4): Likewise.
6159 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6160 Define.
6161 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6162 Likewise.
6163 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6164 Likewise.
6165 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6166 Likewise.
6167 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6168 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6169 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6170 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6171 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6172 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6173 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6174 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6175 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6176 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6177 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6178 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6179 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6180 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6181 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6182 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6183 Likewise.
6184 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6185 Likewise.
6186 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6187 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6188 0x040300].
6189 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6190 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6191 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6192 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6193 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6194 0x030300].
6195 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6196 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6197 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6198 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6199 0x040300].
6200 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6201 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6202 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6203 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6204 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6205 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6206 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6207 0x030300].
6208 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6209 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6210 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6211 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6212 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6213 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6214 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6215 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6216 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6217 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6218 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6219 0x040300].
6220 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6221 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6222 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6223 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6224 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6225 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6226 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6227 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6228 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6229 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6230 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6231 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6232 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6233 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6234 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6235 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6237 Likewise.
6238 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6239 Likewise.
6240
6241 2016-03-15 Andreas Schwab <schwab@suse.de>
6242
6243 [BZ #19257]
6244 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6245 statp->_u._ext.nscount as loop count.
6246
6247 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
6248
6249 * math/test-signgam-finite-c99.c: Also #undef
6250 __LIBC_INTERNAL_MATH_INLINES.
6251 * math/test-signgam-main.c: Likewise.
6252
6253 2016-03-14 Joseph Myers <joseph@codesourcery.com>
6254
6255 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6256 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6257 (MADV_FREE): Likewise.
6258 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6259 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6260 EPOLLEXCLUSIVE.
6261
6262 2016-03-14 Carlos O'Donell <carlos@redhat.com>
6263
6264 * timezone/README: Remove mention of checktab.awk. Mention wiki
6265 SharedSourceFiles.
6266
6267 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
6268
6269 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6270 WUNTRACED.
6271
6272 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6273
6274 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6275 order to match the type of p when calling atomic_exchange_acq().
6276
6277 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6278
6279 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6280 cfi_offset calls.
6281 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6282 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6283 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6284 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6285 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6286
6287 2016-03-10 Carlos O'Donell <carlos@redhat.com>
6288
6289 * timezone/checktab.awk: Removed.
6290
6291 2016-03-10 Joseph Myers <joseph@codesourcery.com>
6292
6293 * manual/math.texi (Errors in Math Functions): Document relaxed
6294 accuracy goals for IBM long double.
6295 * math/libm-test.inc (test_exceptions): Always allow spurious
6296 "underflow" and "inexact" exceptions for IBM long double.
6297
6298 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 [BZ #19762]
6301 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6302 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6303 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6304 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6305 (bit_arch_*): This for feature array.
6306 (bit_*): Renamed to ...
6307 (bit_cpu_*): This for cpu array.
6308 (index_*): Renamed to ...
6309 (index_arch_*): This for feature array.
6310 (index_*): Renamed to ...
6311 (index_cpu_*): This for cpu array.
6312 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6313 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6314 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6315 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6316 bit_##name with index_cpu_##name and bit_cpu_##name.
6317 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6318 bit_##name with index_arch_##name and bit_arch_##name.
6319
6320 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
6321
6322 [BZ #19792]
6323 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6324 Terminate FDE before return label.
6325
6326 2016-03-09 Joseph Myers <joseph@codesourcery.com>
6327
6328 [BZ #19790]
6329 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6330 (rintl): Define as macro.
6331 [USE_AS_NEARBYINTL] (__rintl): Likewise.
6332 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6333 of fesetround. Ensure results are evaluated before end of scope.
6334 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6335 USE_AS_NEARBYINTL and include s_rintl.c.
6336 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6337 Disable exception traps in new environment.
6338 (libc_feholdsetround_ppc_ctx): Likewise.
6339
6340 2016-03-08 Roland McGrath <roland@hack.frob.com>
6341
6342 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6343 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6344 (tst_audit10_aux) [__AVX512F__]: ... here.
6345
6346 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
6347
6348 * include/sys/auxv.h: New file.
6349
6350 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 [BZ #19759]
6353 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6354
6355 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6356
6357 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6358 operand modifier.
6359 (feclearexcept): Likewise.
6360
6361 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6362
6363 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6364 to reflect the entire 32-bit HWCAP.
6365 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6366 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
6367
6368 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
6369
6370 [BZ #19783]
6371 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6372 $(test-via-rtld-prefix).
6373 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6374
6375 2016-03-08 Florian Weimer <fweimer@redhat.com>
6376
6377 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6378 union wait. Report any non-zero exit status as error.
6379
6380 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6381
6382 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6383 configured with --enable-hardcoded-path-in-tests.
6384
6385 2016-03-08 Joseph Myers <joseph@codesourcery.com>
6386
6387 [BZ #19677]
6388 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6389 (__ieee754_remainderl): Put zero low parts in canonical form.
6390 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6391 file. Based on
6392 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6393 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6394 with wrapper round test-fmodrem-ldbl-128ibm.c.
6395 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6396 file.
6397 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6398 Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6400 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6401
6402 2016-03-07 Florian Weimer <fweimer@redhat.com>
6403
6404 [BZ #19610]
6405 * elf/ldconfig.c (opt_link): Update comment.
6406 (options): Update help string for option -X.
6407 (search_dir): Unlink stale symbolic link only if updating symbolic
6408 links.
6409 * elf/tst-ldconfig-X.sh: New file.
6410 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6411 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6412
6413 2016-03-07 Andreas Schwab <schwab@suse.de>
6414
6415 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6416 needed arguments.
6417
6418 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
6419
6420 [BZ #15333]
6421 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6422 to lstat64.
6423
6424 2016-03-07 Florian Weimer <fweimer@redhat.com>
6425
6426 * libio/filedoalloc.c (isatty): Remove.
6427 (local_isatty): Add comment. Call __isatty directly.
6428 (_IO_file_doallocate): Update comment. Assume _LIBC.
6429 * libio/wfiledoalloc.c (isatty): Remove.
6430 (_IO_wfile_doallocate): Update comment.
6431
6432 2016-03-07 Florian Weimer <fweimer@redhat.com>
6433
6434 [BZ #19269]
6435 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6436 tst-audit4-aux.o.
6437 (tst-audit10): Depend on tst-audit10-aux.o.
6438 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6439 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6440 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6441 instead of inline AVX code.
6442 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6443 instead of inline AVX512 code.
6444 * sysdeps/x86_64/tst-audit4-aux.c: New file
6445 * sysdeps/x86_64/tst-audit10-aux.c: New file
6446
6447 [BZ #19648]
6448 * test-skeleton.c (main): Do not set RLIMIT_DATA.
6449
6450 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6451
6452 [BZ #14750]
6453 [BZ #10354]
6454 [BZ #18433]
6455 * include/sched.h (__clone): Add hidden prototype.
6456 (__clone2): Likewise.
6457 * include/unistd.h (__dup): Likewise.
6458 * posix/Makefile (tests): Add tst-spawn2.
6459 * posix/tst-spawn2.c: New file.
6460 * sysdeps/posix/dup.c (__dup): Add hidden definition.
6461 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6462 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6463 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6464 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6465 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6466 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6467 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6468 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6469 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6470 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6472 Likewise.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6476 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6477 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6478 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6479 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6480 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6482 * sysdeps/unix/sysv/linux/nptl-signals.h
6483 (____nptl_is_internal_signal): New function.
6484 * sysdeps/unix/sysv/linux/spawni.c: New file.
6485
6486 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6487 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6488 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6489 * posix/tst-execvp2.c (do_test): Likewise.
6490 * posix/tst-execvp3.c (do_test): Likewise.
6491 * posix/tst-execvp4.c (do_test): Likewise.
6492 * posix/tst-execvpe1.c: New file.
6493 * posix/tst-execvpe2.c: Likewise.
6494 * posix/tst-execvpe3.c: Likewise.
6495 * posix/tst-execvpe4.c: Likewise.
6496 * posix/tst-execvpe5.c: Likewise.
6497 * posix/tst-execvpe6.c: Likewise.
6498
6499 [BZ #19534]
6500 * posix/execl.c (execl): Remove dynamic memory allocation.
6501 * posix/execle.c (execle): Likewise.
6502 * posix/execlp.c (execlp): Likewise.
6503
6504 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
6505
6506 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6507 Replace .text with .text.avx512.
6508 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6509 Likewise.
6510
6511 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
6512
6513 * sysdeps/generic/libnsl.abilist: New file.
6514 * sysdeps/generic/libutil.abilist: New file.
6515
6516 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
6517
6518 [BZ #19762]
6519 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6520 HAS_ARCH_FEATURE with Fast_Rep_String.
6521 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6522 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6523 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6524 Likewise.
6525 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6526 Likewise.
6527 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6528 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6529 Likewise.
6530 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6531 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6532 Likewise.
6533
6534 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
6535
6536 [BZ #19745]
6537 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6538 with *%rax in call.
6539
6540 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
6541
6542 [BZ #19745]
6543 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6544 with *__libc_start_main@GOTPCREL(%rip) in call.
6545
6546 2016-03-04 Roland McGrath <roland@hack.frob.com>
6547
6548 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6549 inside conditional for nonempty $(CXX).
6550
6551 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6552 nonempty.
6553
6554 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6555 to test for empty $(CXX) rather than $(CXX) of "no".
6556
6557 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
6558
6559 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6560
6561 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
6562 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 [BZ #18880]
6565 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6566 instead of Slow_BSF, and also check for Fast_Copy_Backward to
6567 enable __memcpy_ssse3_back.
6568
6569 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
6570
6571 [BZ #19758]
6572 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6573 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6574
6575 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6576
6577 [BZ #19490]
6578 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6579 (__fentry__): Likewise.
6580
6581 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
6582
6583 * gmon/Makefile (noprof): Add $(sysdep_noprof).
6584 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6585
6586 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6589 __mcount_internal directly.
6590 (C_LABEL(__fentry__)): Likewise.
6591 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6592 directly.
6593
6594 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
6595
6596 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6597 (__start_context): Call __setcontext directly.
6598
6599 2016-02-26 Joseph Myers <joseph@codesourcery.com>
6600
6601 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6602 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6603 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6604 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6606 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6607 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6608 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6609 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6610 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6611 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6612 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6613 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6614 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6615 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6616 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6617 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6619 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6620 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6621 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6622 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6623 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6624 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6625 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6626 Remove conditional code.
6627 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6628 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6629 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6630 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6631 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6632 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6633 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6634 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6635 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6636 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6637 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6638 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6639
6640 2016-02-24 Marko Myllynen <myllynen@redhat.com>
6641
6642 * NEWS (2.23): Fix typo in bug 19048 text.
6643
6644 2016-02-24 Carlos O'Donell <carlos@redhat.com>
6645
6646 [BZ #14259]
6647 * Makeconfig: Rename msgcatdir to localedir.
6648 Rename inst_msgcatdir to inst_localedir.
6649 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6650 * config.make.in: Add localedir.
6651 * elf/Makefile ($(objpfx)sotruss): Use localedir.
6652 (ldd-rewrite): Likewise.
6653 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6654 (install-others): Use inst_localedir.
6655 (CPPFLAGS): Use localedir.
6656 * locale/Makefile (locale-CPPFLAGS): Likewise.
6657 * po/Makefile (mo-installed): Use inst_localedir.
6658
6659 [BZ #19575]
6660 * localedata/charmaps/GB18030: Update comments regarding PAU to
6661 non-PUA mappings.
6662
6663 2016-02-24 Joseph Myers <joseph@codesourcery.com>
6664
6665 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6666 test for header.
6667 * sysdeps/unix/sysv/linux/configure: Regenerated.
6668 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6669 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6670 Remove conditional code.
6671 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6672
6673 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6674 Define to 3.2.0.
6675 (arch_minimum_kernel): Likewise.
6676 * sysdeps/unix/sysv/linux/configure: Regenerated.
6677 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6678 Define to 2.6.32.
6679 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6680 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6681 (arch_minimum_kernel): Define to 2.6.32.
6682 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6683 * README: Document Linux 3.2 requirement.
6684 * manual/install.texi (Linux): Document Linux 3.2 headers
6685 requirement.
6686 * INSTALL: Regenerated.
6687
6688 2016-02-24 Andreas Schwab <schwab@suse.de>
6689
6690 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6691 if !NO_LONG_DOUBLE.
6692
6693 2016-02-22 Roland McGrath <roland@hack.frob.com>
6694
6695 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6696 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6697
6698 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
6699
6700 [BZ #19512]
6701 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6702
6703 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
6704
6705 * posix/tst-dir.c: Include libc-internal.h.
6706
6707 2016-02-20 Florian Weimer <fweimer@redhat.com>
6708
6709 [BZ #19056]
6710 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6711 * manual/filesys.texi (Reading/Closing Directory): Mention
6712 deprecaion.
6713 * posix/tst-dir.c (main): Disable deprecation warning in test.
6714
6715 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
6716
6717 [BZ #19679]
6718 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6719 Renamed to ...
6720 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
6721 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6722 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
6723 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6724 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6725 * sysdeps/x86_64/dl-trampoline.h
6726 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6727 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6728
6729 2016-02-19 Mark Wielaard <mjw@redhat.com>
6730
6731 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6732
6733 2016-02-19 Mark Wielaard <mjw@redhat.com>
6734
6735 * elf/elf.h (R_386_GOT32X): New.
6736 (R_386_NUM): Update.
6737 (R_X86_64_GOTPCRELX: New.
6738 (R_X86_64_REX_GOTPCRELX): New.
6739 (R_X86_64_NUM): Update.
6740
6741 2016-02-19 Mike Frysinger <vapier@gentoo.org>
6742
6743 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6744
6745 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
6746
6747 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6748 assign attr->stackaddr to it, and adjust it down when
6749 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
6750 [_STACK_GROWS_UP]: Delete assert.
6751 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6752 Implement stack grows up logic.
6753 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6754 stack grows up logic.
6755
6756 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6757
6758 * NEWS: Update with 2.24 template.
6759
6760 2016-02-19 Joseph Myers <joseph@codesourcery.com>
6761
6762 [BZ #19678]
6763 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6764 Ensure +0.0 is returned when taking the next value below the least
6765 positive value.
6766
6767 2016-02-19 Florian Weimer <fweimer@redhat.com>
6768
6769 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6770 available. Do not define NO_THREADS.
6771 * malloc/malloc.c: Do not check NO_THREADS.
6772 * malloc/arena.c: Likewise.
6773
6774 2016-02-19 Florian Weimer <fweimer@redhat.com>
6775
6776 * malloc/malloc.c (__libc_mallinfo): Update comment.
6777 (struct malloc_par): Remove max_total_mem member, it was always 0.
6778 (int_mallinfo): Store 0 into usmblks (no functional change).
6779 * malloc/hooks.c (struct malloc_state): Document that
6780 max_total_mem is always 0.
6781 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6782 always 0.
6783 * manual/memory.texi (Statistics of Malloc): Likewise.
6784
6785 2016-02-19 Florian Weimer <fweimer@redhat.com>
6786
6787 * malloc/malloc.c (sysmalloc): Do not update arena_max.
6788 * malloc/arena.c (arena_max): Remove.
6789 (heap_trim, _int_new_arena): Do not update arena_max.
6790
6791 2016-02-19 Florian Weimer <fweimer@redhat.com>
6792
6793 * resolv/res_init.c (res_ninit): Update comment.
6794
6795 2016-02-19 Florian Weimer <fweimer@redhat.com>
6796
6797 [BZ #19505]
6798 * posix/spawn_int.h: Add headers and include guard.
6799 (__spawn_valid_fd): New function.
6800 * posix/spawn_faction_addopen.c
6801 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6802 * posix/spawn_faction_addclose.c
6803 (posix_spawn_file_actions_addclose): Likewise.
6804 * posix/spawn_faction_adddup2.c
6805 (posix_spawn_file_actions_adddup2): Likewise. Add check for
6806 second file descriptor.
6807 * posix/spawn_valid_fd.c: New file.
6808 * posix/tst-posix_spawn-fd.c: New file.
6809 * posix/Makefile (routines): Add spawn_valid_fd.
6810 (tests): Add tst-posix_spawn-fd.
6811
6812 2016-02-19 Florian Weimer <fweimer@redhat.com>
6813
6814 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6815 (do_test): Limit the number of arenas, so that we can use fewer
6816 outer threads. Limit timeout to 3 seconds, in preparation for a
6817 larger TIMEOUT value.
6818
6819 2016-02-19 Joseph Myers <joseph@codesourcery.com>
6820
6821 [BZ #19674]
6822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6823 sign in overflowing and underflowing results when overflow or
6824 underflow is detected early. Include sign in result before rather
6825 than after scaling.
6826
6827 [BZ #19603]
6828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6829 (__ieee754_remainderl): Adjust sign of integer version of low part
6830 when taking absolute value of high part.
6831 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6832 * math/libm-test.inc (remainder_test_data): Add another test.
6833 (remquo_test_data): Likewise.
6834
6835 2016-02-18 Joseph Myers <joseph@codesourcery.com>
6836
6837 [BZ #19602]
6838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6839 equal high parts and both low parts zero specially.
6840 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6841 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6842 Add test-fmodl-ldbl-128ibm.
6843
6844 [BZ #19595]
6845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6846 common logic for all cases of shifting subnormal results. Do not
6847 insert sign bit in shifted mantissa. Always pass -1023 as biased
6848 exponent to ldbl_insert_mantissa in subnormal case.
6849
6850 [BZ #19594]
6851 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6852 on high and low parts then adjust result and use
6853 ldbl_canonicalize_int if needed.
6854
6855 [BZ #19593]
6856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6857 on high part and __floor or __ceil on low part then use
6858 ldbl_canonicalize_int if needed.
6859
6860 [BZ #19592]
6861 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6862 high and low parts then use ldbl_canonicalize_int if needed.
6863
6864 [BZ #17899]
6865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6866 New function.
6867 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6868 on high and low parts then use ldbl_canonicalize_int if needed.
6869
6870 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6871
6872 * configure: Regenerated.
6873
6874 * po/libc.pot: Regenerated.
6875
6876 * po/be.po: Updated translation.
6877 * po/bg.po: Likewise.
6878 * po/ca.po: Likewise.
6879 * po/cs.po: Likewise.
6880 * po/da.po: Likewise.
6881 * po/el.po: Likewise.
6882 * po/eo.po: Likewise.
6883 * po/es.po: Likewise.
6884 * po/fi.po: Likewise.
6885 * po/fr.po: Likewise.
6886 * po/gl.po: Likewise.
6887 * po/hr.po: Likewise.
6888 * po/hu.po: Likewise.
6889 * po/ia.po: Likewise.
6890 * po/id.po: Likewise.
6891 * po/it.po: Likewise.
6892 * po/ja.po: Likewise.
6893 * po/lt.po: Likewise.
6894 * po/nb.po: Likewise.
6895 * po/nl.po: Likewise.
6896 * po/pt_BR.po: Likewise.
6897 * po/rw.po: Likewise.
6898 * po/sk.po: Likewise.
6899 * po/sl.po: Likewise.
6900 * po/sv.po: Likewise.
6901 * po/tr.po: Likewise.
6902 * po/zh_CN.po: Likewise.
6903 * po/zh_TW.po: Likewise.
6904
6905 * version.h (RELEAES): Set to "development".
6906 (VERSION): Set to 2.23.90.
6907
6908 * version.h (RELEASE): Set to "stable".
6909 (VERSION): Set to 2.23.
6910 * include/feature.h (__GLIBC_MINOR__): Set to 23.
6911
6912 * NEWS: Updated fixed bugs.
6913
6914 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
6915 Wilco Dijkstra <wdijkstr@arm.com>
6916
6917 [BZ #19462]
6918 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6919 (_STRING_INLINE_unaligned): This.
6920 * include/string.h: Include <string_private.h>.
6921 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6922 _STRING_INLINE_unaligned.
6923 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6924 (_STRING_INLINE_unaligned): New.
6925 * sysdeps/aarch64/string_private.h: New file.
6926 * sysdeps/generic/string_private.h: Likewise.
6927 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6928 * sysdeps/s390/string_private.h: Likewise.
6929 * sysdeps/x86/string_private.h: Likewise.
6930 * sysdeps/m68k/m680x0/m68020/bits/string.h
6931 (_STRING_ARCH_unaligned): Renamed to ...
6932 (_STRING_INLINE_unaligned): This.
6933 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6934 to ...
6935 (_STRING_INLINE_unaligned): This.
6936 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6937 to ...
6938 (_STRING_INLINE_unaligned): This.
6939 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6940 to ...
6941 (_STRING_INLINE_unaligned): This.
6942
6943 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
6944 H.J. Lu <hongjiu.lu@intel.com>
6945
6946 [BZ #19590]
6947 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6948 relocation.
6949
6950 2016-02-15 Carlos O'Donell <carlos@redhat.com>
6951
6952 [BZ #18665]
6953 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6954 *herrno_p.
6955 (gaih_getanswer): Document functional behviour. Return tryagain
6956 if any result is tryagain.
6957 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6958 when freed.
6959 * resolv/res_send.c: Add copyright text.
6960 (__libc_res_nsend): Document that MAXPACKET is expected.
6961 (send_vc): Document. Remove buffer reuse.
6962 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6963 size of the buffer. Add Dprint for truncated UDP buffer.
6964
6965 2016-02-14 Carlos O'Donell <carlos@redhat.com>
6966
6967 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6968 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6969 * INSTALL: Regenerate.
6970
6971 2016-02-14 Jakub Jelinek <jakub@redhat.com>
6972 Jonathan Wakely <jwakely@redhat.com>
6973 Carlos O'Donell <carlos@redhat.com>
6974
6975 [BZ 19439]
6976 * math/Makefile (tests): Add test-math-isinff.
6977 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6978 * math/bits/mathcalls.h [__USE_MISC]: Use
6979 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6980 functions not in C++11 and which don't conflict e.g. isinff,
6981 isinfl etc.
6982 * math/test-math-isinff.cc: New file.
6983
6984 2016-02-12 Florian Weimer <fweimer@redhat.com>
6985
6986 * misc/bug18240.c (do_test): Set RLIMIT_AS.
6987
6988 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6989
6990 [BZ #19529]
6991 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6992
6993 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6994
6995 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6996
6997 2016-02-01 Joseph Myers <joseph@codesourcery.com>
6998
6999 [BZ #19550]
7000 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7001 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7002 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7003 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7004 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7005 New syscall entry.
7006 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7007 New syscall entry.
7008 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7009 syscall entry.
7010
7011 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
7012
7013 [BZ #18240]
7014 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7015 unsigned int wraparound.
7016
7017 2016-01-27 Florian Weimer <fweimer@redhat.com>
7018
7019 [BZ #18240]
7020 * misc/bug18240.c: New test.
7021 * misc/Makefile (tests): Add it.
7022
7023 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
7024 Joseph Myers <joseph@codesourcery.com>
7025
7026 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7027 load in branch delay slot when less than a word of input left.
7028
7029 2016-01-27 Andreas Schwab <schwab@suse.de>
7030
7031 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7032 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7033 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7034 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7035
7036 2016-01-26 David S. Miller <davem@davemloft.net>
7037
7038 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7039
7040 2016-01-25 David S. Miller <davem@davemloft.net>
7041
7042 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7043 __sqrtl_finite.
7044 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7045 instead using versioned_symbol.
7046 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7047 of entries.
7048
7049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7050 __sqrtl_finite to GLIBC_2.23
7051
7052 2016-01-25 Ricchard Henderson <rth@redhat.com>
7053
7054 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7055
7056 2016-01-25 Andreas Schwab <schwab@suse.de>
7057
7058 [BZ #17514]
7059 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7060 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7061 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7062 * nptl/tst-mutex-errorcheck.c: New file.
7063
7064 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7065
7066 [BZ #18560]
7067 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7068 (IPCOP_semop): Likewise.
7069 (IPCOP_semget): Likewise.
7070 (IPCOP_semctl): Likewise.
7071 (IPCOP_msgsnd): Likewise.
7072 (IPCOP_msgrcv): Likewise.
7073 (IPCOP_msgget): Likewise.
7074 (IPCOP_msgctl): Likewise.
7075 (IPCOP_shmat): Likewise.
7076 (IPCOP_shmdt): Likewise.
7077 (IPCOP_shmget): Likewise.
7078 (IPCOP_shmctl): Likewise.
7079
7080 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
7081
7082 * string/tst-endian.c: Include <libc-internal.h>.
7083 (do_test): Ignore tautological-compare warnings around
7084 "htobeXX (beXXtoh (i)) != i" and
7085 "htoleXX (leXXtoh (i)) != i" if-statements.
7086
7087 2016-01-24 David S. Miller <davem@davemloft.net>
7088
7089 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7090 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7091 alias.
7092 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7093 __sqrtl_finite.
7094
7095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7096
7097 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
7098
7099 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7100 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7101 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7102
7103 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7104
7105 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7106 (thread_func): Use new function to simplify barrier check.
7107 (do_test): Use new function to simplify checking barrier exit
7108 code, and actually join the child thread.
7109
7110 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7111
7112 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7113 semicolon.
7114 (__libc_tend): Likewise.
7115 (__libc_tabort): Likewise.
7116
7117 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
7118
7119 * sysdeps/nios2/libm-test-ulps: Update.
7120 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7121 (__gtsf2): Likewise.
7122 (__unorddf2): Likewise.
7123 (__unordsf2): Likewise.
7124 (__ledf2): Likewise.
7125
7126 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
7127
7128 * nis/nis_table.c (__follow_path): Disable diagnostic for
7129 uninitialized variable that is a false positive for gcc 4.7.
7130 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7131
7132 2016-01-20 Roland McGrath <roland@hack.frob.com>
7133
7134 * sysdeps/nacl/lowlevellock-futex.h
7135 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7136 Always evaluate PRIVATE argument.
7137
7138 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
7139
7140 [BZ #19490]
7141 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7142 (pthread_cond_broadcast): Use ENTRY/END
7143 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7144 (pthread_cond_signal): Likewise.
7145 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7146 Likewise.
7147 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7148 Likewise.
7149 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7150 Likewise.
7151
7152 2016-01-20 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/ieee754/dbl-64/s_finite.c
7155 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7156 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7157 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7158 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7159 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7160
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7162 (__gtsf2): Add as optional for libc.so.
7163 (__unordsf2): Likewise.
7164 (__signbit): Remove for libc.so.
7165 (__signbitl): Likewise.
7166
7167 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
7168
7169 * iconvdata/bug-iconv11.c (test_ibm93x):
7170 Use %zu printf format specifier for size_t argument.
7171
7172 2016-01-19 Joseph Myers <joseph@codesourcery.com>
7173
7174 * math/gen-libm-test.pl (parse_ulps): Do not reduce
7175 already-recorded ulps.
7176 * sysdeps/arm/libm-test-ulps: Regenerated.
7177 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7178 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7179 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7180
7181 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
7182 Paul Pluzhnikov <ppluzhnikov@google.com>
7183
7184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7185 assembler not supporting AVX-512.
7186
7187 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7188
7189 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7190
7191 2016-01-18 Joseph Myers <joseph@codesourcery.com>
7192
7193 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7194 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7195
7196 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7197
7198 * sysdeps/arm/libm-test-ulps: Regenerated.
7199
7200 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7201
7202 [BZ #19451]
7203 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7204
7205 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7206
7207 [BZ #19486]
7208 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7209 * sysdeps/generic/fix-fp-int-convert-overflow.h
7210 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7211 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7212 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7213 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7214 Likewise.
7215 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7216 Avoid conversions to long int where inexact exceptions
7217 could be raised.
7218 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7219 Likewise.
7220 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7221 Avoid conversions to long long int where inexact exceptions
7222 could be raised.
7223 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7224 Likewise.
7225
7226 2016-01-17 Mike Frysinger <vapier@gentoo.org>
7227
7228 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7229 * configure: Regenerated.
7230
7231 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
7232
7233 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7234
7235 2016-01-16 Mike Frysinger <vapier@gentoo.org>
7236
7237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7238 outside of comment.
7239
7240 2016-01-15 Torvald Riegel <triegel@redhat.com>
7241
7242 * nptl/tst-barrier1.c: Add description on first line.
7243 * nptl/tst-barrier2.c: Likewise.
7244 * nptl/tst-barrier3.c: Likewise.
7245 * nptl/tst-barrier4.c: Likewise.
7246 * nptl/tst-barrier5.c: Likewise.
7247
7248 2016-01-15 Torvald Riegel <triegel@redhat.com>
7249
7250 [BZ #18868]
7251 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7252
7253 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
7254
7255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7257 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7258 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7259 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7260 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7261 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7262 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7263 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7264 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7265 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7266
7267 2016-01-15 Torvald Riegel <triegel@redhat.com>
7268
7269 [BZ #13065]
7270 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7271 new implementation.
7272 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7273 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7274 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7275 (BARRIER_IN_THRESHOLD): New macro.
7276 * nptl/pthread_barrierattr_setpshared.c
7277 (pthread_barrierattr_setpshared): Clean up.
7278 * nptl/tst-barrier4.c: Correct comment.
7279 * nptl/tst-barrier5.c: New file.
7280 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7281 (gen-as-const-headers): Remove lowlevelbarrier.sym.
7282 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7283 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7284 * nptl/lowlevelbarrier.sym: Remove.
7285 * nptl/DESIGN-barrier.txt: Remove.
7286 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7287 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7288 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7289 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7290 error.
7291 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7292 implementation.
7293
7294 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7295
7296 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7297 (do_child): Mask SIGRTMIN while thr is running.
7298
7299 2016-01-15 Martin Sebor <msebor@redhat.com>
7300
7301 [BZ #19432]
7302 * iconvdata/Makefile: Add bug-iconv11.
7303 * iconvdata/bug-iconv11.c: New test.
7304 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7305 * iconvdata/ibm933.c: Same.
7306 * iconvdata/ibm935.c: Same.
7307 * iconvdata/ibm937.c: Same.
7308 * iconvdata/ibm939.c: Same.
7309
7310 2016-01-15 Martin Sebor <msebor@redhat.com>
7311
7312 [BZ #19443]
7313 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7314 [DEBUG] (_ufc_set_bits): Declare used.
7315 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7316 [DEBUG] (print_all): Declare used.
7317 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7318 operands of the ternary ?: expression to target type.
7319 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7320 calling the undeclared abort.
7321 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7322
7323 2016-01-15 Martin Sebor <msebor@redhat.com>
7324
7325 [BZ #18755]
7326 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7327 warnings.
7328 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7329 (__gai_create_helper_thread): Same.
7330 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7331 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7332 to suppress -Wmaybe-uninitialized warnings.
7333
7334 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
7335
7336 [BZ #19465]
7337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7338 inside if.
7339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7342
7343 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
7344
7345 [BZ #19466]
7346 * time/tst-mktime2.c (time_t_max): Removed.
7347 (time_t_min): Likewise.
7348 (TYPE_SIGNED): New.
7349 (TYPE_MINIMUM): Likewise.
7350 (TYPE_MAXIMUM): Likewise.
7351 (TIME_T_MIN): Likewise.
7352 (TIME_T_MAX): Likewise.
7353 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7354 and TIME_T_MIN.
7355 (do_test): Likewise.
7356
7357 2016-01-14 Amit Pawar <amit.pawar@amd.com>
7358
7359 [BZ #19467]
7360 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7361 index_Fast_Unaligned_Load flag for Excavator family CPUs.
7362
7363 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
7364
7365 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7366
7367 2016-01-13 Carlos O'Donell <carlos@redhat.com>
7368
7369 * benchtests/Makefile (PYTHON): Define.
7370 (bench-func): Use $(PYTHON) to run python scripts.
7371 ($(objpfx)bench-%.c): Likewise.
7372
7373 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
7374
7375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7376 leading slash when `file_name' is "/".
7377
7378 2016-01-12 Joseph Myers <joseph@codesourcery.com>
7379
7380 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7381 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7382 Likewise.
7383 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7384 Likewise.
7385 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7386 Likewise.
7387 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7388 enum constant and macro.
7389 (PTRACE_SETSIGMASK): Likewise.
7390 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7391 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7392 (PTRACE_GETSIGMASK): Likewise.
7393 (PTRACE_SETSIGMASK): Likewise.
7394 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7395 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7396 Likewise.
7397 (PTRACE_SETSIGMASK): Likewise.
7398 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7399 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7400 (PTRACE_GETSIGMASK): Likewise.
7401 (PTRACE_SETSIGMASK): Likewise.
7402 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7403 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7404 Likewise.
7405 (PTRACE_SETSIGMASK): Likewise.
7406 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7408 Likewise.
7409 (PTRACE_SETSIGMASK): Likewise.
7410 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7411 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7412 Likewise.
7413 (PTRACE_SETSIGMASK): Likewise.
7414 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7415
7416 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
7417 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7418
7419 [BZ #19439]
7420 * math/bits/mathcalls.h
7421 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7422 prototype.
7423 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7424
7425 2016-01-11 Andreas Schwab <schwab@suse.de>
7426
7427 [BZ #19253]
7428 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7429 cache when TZDEFRULES was used.
7430 * time/tst-tzname.c: New file.
7431 * time/Makefile (test): Add tst-tzname.
7432 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7433 * timezone/Makefile (test-zones): Add $(posixrules-file).
7434 ($(testdata)/$(posixrules-file)): New rule.
7435
7436 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
7437
7438 Fix doc quoting problems with Texinfo 5
7439 Without this change, in the info file output, Texinfo 5 quotes code
7440 in text with undirected single quotes 'like this' and generates
7441 code examples that with many PDF readers cannot be cut out of PDFs
7442 and pasted into code.
7443 * manual/libc.texinfo: Configure the libc manual like the GNU
7444 Emacs manual, by using @documentencoding and setting
7445 txicodequoteundirected and txicodequotebacktick. This way,
7446 Texinfo 5 quotes code in text with directed single quotes ‘like
7447 this’ and produces examples that can be cut out of PDFs. This
7448 change causes Texinfo 5 to generate info files that contain UTF-8
7449 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7450 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7451
7452 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7453
7454 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7455 __libc_tabort, __libc_tend): New wrappers that enforce compiler
7456 barriers to their respective compiler built-ins.
7457 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7458 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7459 * sysdeps/powerpc/sysdep.h: Likewise.
7460 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7462 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7463
7464 2016-01-08 Marko Myllynen <myllynen@redhat.com>
7465
7466 * scripts/config.guess: Revert previous shebang change.
7467 * scripts/config.sub: Likewise.
7468 * scripts/mkinstalldirs: Likewise.
7469
7470 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7471
7472 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7473 PPC_FEATURE2_HAS_IEEE128.
7474 * sysdeps/powerpc/dl-procinfo.c:
7475 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7476
7477 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
7478
7479 [BZ #19415]
7480 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7481 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
7482 (_dl_lookup_address): Rewrite using function resolver trampoline.
7483 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7484 two bits in address.
7485
7486 2016-01-07 Mike Frysinger <vapier@gentoo.org>
7487
7488 * longlong.h: Change !__SHMEDIA__ to
7489 (!defined (__SHMEDIA__) || !__SHMEDIA__).
7490 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7491
7492 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
7493 Joseph Myers <joseph@codesourcery.com>
7494 Mark Shinwell <shinwell@codesourcery.com>
7495 Andrew Stubbs <ams@codesourcery.com>
7496 Rich Felker <dalias@libc.org>
7497
7498 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7499
7500 2016-01-07 Richard Henderson <rth@redhat.com>
7501
7502 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7503
7504 2016-01-07 Mike Frysinger <vapier@gentoo.org>
7505
7506 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7507 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7508 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7509 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7510 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7511
7512 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
7513 Joseph Myers <joseph@codesourcery.com>
7514
7515 * timezone/private.h: Update from tzcode 2015g.
7516 * timezone/tzfile.h: Likewise.
7517 * timezone/tzselect.ksh: Likewise.
7518 * timezone/zdump.c: Likewise.
7519 * timezone/zic.c: Likewise.
7520 * timezone/ialloc.c: Remove file.
7521 * timezone/scheck.c: Likewise.
7522 * timezone/Makefile (extra-objs): Remove variable.
7523 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7524 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7525 -Wno-maybe-uninitialized.
7526 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7527 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7528 (CFLAGS-ialloc.c): Remove variable.
7529 (CFLAGS-scheck.c): Likewise.
7530 * timezone/README: Update list of files from tzcode.
7531
7532 2016-01-07 Khem Raj <raj.khem@gmail.com>
7533
7534 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7535 instead of __fxprintf when _LIBC is undefined.
7536
7537 2016-01-07 Marko Myllynen <myllynen@redhat.com>
7538
7539 * catgets/test-gencat.sh: Remove space after shebang.
7540 * conform/GlibcConform.pm: Likewise.
7541 * conform/check-header-lists.sh: Likewise.
7542 * conform/conformtest.pl: Likewise.
7543 * conform/linknamespace.pl: Likewise.
7544 * conform/list-header-symbols.pl: Likewise.
7545 * debug/catchsegv.sh: Likewise.
7546 * elf/genrtldtbl.awk: Likewise.
7547 * elf/tst-pathopt.sh: Likewise.
7548 * elf/tst-rtld-load-self.sh: Likewise.
7549 * grp/tst_fgetgrent.sh: Likewise.
7550 * iconvdata/gen-8bit-gap-1.sh: Likewise.
7551 * iconvdata/gen-8bit-gap.sh: Likewise.
7552 * iconvdata/gen-8bit.sh: Likewise.
7553 * iconvdata/run-iconv-test.sh: Likewise.
7554 * intl/tst-gettext.sh: Likewise.
7555 * intl/tst-gettext2.sh: Likewise.
7556 * intl/tst-gettext4.sh: Likewise.
7557 * intl/tst-gettext6.sh: Likewise.
7558 * intl/tst-translit.sh: Likewise.
7559 * io/ftwtest-sh: Likewise.
7560 * libio/test-freopen.sh: Likewise.
7561 * locale/gen-translit.pl: Likewise.
7562 * malloc/tst-mtrace.sh: Likewise.
7563 * manual/check-safety.sh: Likewise.
7564 * manual/libc-texinfo.sh: Likewise.
7565 * manual/tsort.awk: Likewise.
7566 * manual/xtract-typefun.awk: Likewise.
7567 * nptl/tst-cancel-wrappers.sh: Likewise.
7568 * nptl/tst-tls6.sh: Likewise.
7569 * posix/globtest.sh: Likewise.
7570 * posix/tst-getconf.sh: Likewise.
7571 * posix/wordexp-tst.sh: Likewise.
7572 * scripts/check-c++-types.sh: Likewise.
7573 * scripts/check-local-headers.sh: Likewise.
7574 * scripts/config.guess: Likewise.
7575 * scripts/config.sub: Likewise.
7576 * scripts/cpp: Likewise.
7577 * scripts/cross-test-ssh.sh: Likewise.
7578 * scripts/documented.sh: Likewise.
7579 * scripts/evaluate-test.sh: Likewise.
7580 * scripts/gen-libc-abis: Likewise.
7581 * scripts/gen-sorted.awk: Likewise.
7582 * scripts/list-fixed-bugs.py: Likewise.
7583 * scripts/merge-test-results.sh: Likewise.
7584 * scripts/mkinstalldirs: Likewise.
7585 * scripts/rellns-sh: Likewise.
7586 * scripts/test-installation.pl: Likewise.
7587 * scripts/update-copyrights: Likewise.
7588 * stdio-common/tst-printf.sh: Likewise.
7589 * stdio-common/tst-unbputc.sh: Likewise.
7590 * stdlib/tst-fmtmsg.sh: Likewise.
7591 * stdlib/tst-setcontext3.sh: Likewise.
7592 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7593 * sysdeps/unix/make-syscalls.sh: Likewise.
7594
7595 2016-01-06 John David Anglin <dave.anglin@bell.net>
7596
7597 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7598 asm stw with atomic_exchange_rel. Add explanatory comment.
7599 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7600 Likewise.
7601
7602 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
7603
7604 [BZ #19122]
7605 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7606 * sysdeps/generic/dl-unistd.h: New file.
7607 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7608
7609 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
7610
7611 [BZ #19122]
7612 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7613 * sysdeps/generic/dl-mman.h: New file.
7614 * sysdeps/mach/hurd/dl-mman.h: Likewise.
7615
7616 2016-01-05 Joseph Myers <joseph@codesourcery.com>
7617
7618 * manual/texinfo.tex: Update to version 2016-01-04.21 with
7619 trailing whitespace removed.
7620 * scripts/config.guess: Update to version 2016-01-01.
7621 * scripts/config.sub: Update to version 2016-01-01.
7622 * scripts/move-if-change: Update from gnulib.
7623
7624 2016-01-04 Anton Blanchard <anton@samba.org>
7625
7626 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7627 for array indices.
7628 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7629
7630 2016-01-04 Joseph Myers <joseph@codesourcery.com>
7631
7632 * NEWS: Update copyright dates.
7633 * catgets/gencat.c (print_version): Likewise.
7634 * csu/version.c (banner): Likewise.
7635 * debug/catchsegv.sh: Likewise.
7636 * debug/pcprofiledump.c (print_version): Likewise.
7637 * debug/xtrace.sh (do_version): Likewise.
7638 * elf/ldconfig.c (print_version): Likewise.
7639 * elf/ldd.bash.in: Likewise.
7640 * elf/pldd.c (print_version): Likewise.
7641 * elf/sotruss.sh: Likewise.
7642 * elf/sprof.c (print_version): Likewise.
7643 * iconv/iconv_prog.c (print_version): Likewise.
7644 * iconv/iconvconfig.c (print_version): Likewise.
7645 * locale/programs/locale.c (print_version): Likewise.
7646 * locale/programs/localedef.c (print_version): Likewise.
7647 * login/programs/pt_chown.c (print_version): Likewise.
7648 * malloc/memusage.sh (do_version): Likewise.
7649 * malloc/memusagestat.c (print_version): Likewise.
7650 * malloc/mtrace.pl: Likewise.
7651 * manual/libc.texinfo: Likewise.
7652 * nptl/version.c (banner): Likewise.
7653 * nscd/nscd.c (print_version): Likewise.
7654 * nss/getent.c (print_version): Likewise.
7655 * nss/makedb.c (print_version): Likewise.
7656 * posix/getconf.c (main): Likewise.
7657 * scripts/test-installation.pl: Likewise.
7658 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7659
7660 * All files with FSF copyright notices: Update copyright dates
7661 using scripts/update-copyrights.
7662 * intl/plural.c: Regenerated.
7663 * locale/programs/charmap-kw.h: Likewise.
7664 * locale/programs/locfile-kw.h: Likewise.
7665
7666 2016-01-02 Helge Deller <deller@gmx.de>
7667
7668 [BZ #19285]
7669 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7670 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7671 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7672 (MADV_xxK_PAGES): Remove.
7673
7674 2016-01-01 Mike Frysinger <vapier@gentoo.org>
7675
7676 [BZ #15421]
7677 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7678 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
7679 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7680 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7681
7682 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
7683
7684 [BZ #19408]
7685 * sysdeps/unix/sysv/linux/personality.c: New file.
7686 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7687 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7688 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7689 (sysdep_routines): Add personality.
7690 (tests): Add tst-personality.
7691 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7693 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7694 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7695 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7696 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7697 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7698 Likewise.
7699 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7700 Likewise.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7702 Likewise.
7703 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7704 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7705 Likewise.
7706
7707 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
7708
7709 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7710 (PATH_ARM_SYSTYPE): Remove.
7711 (PATH_CPUINFO): Likewise.
7712 (IO_BASE_FOOTBRIDGE): Likewise.
7713 (IO_SHIFT_FOOTBRIDGE): Likewise.
7714 (struct platform): Likewise.
7715 (init_iosys): Remove compatibility code for 2.4 kernels.
7716 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7717
7718 2015-12-29 Florian Weimer <fweimer@redhat.com>
7719
7720 * malloc/tst-malloc-thread-fail.c: New file.
7721 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7722 (tst-malloc-thread-fail): Link against libpthread.
7723
7724 2015-12-29 Mike Frysinger <vapier@gentoo.org>
7725
7726 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
7727 (get_parser): New function.
7728 (main): New function.
7729
7730 2015-12-29 Rob Wu <rob@robwu.nl>
7731
7732 [BZ #19369]
7733 * resolv/res_init.c (__res_vinit): Reset defdname before use.
7734
7735 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
7736
7737 [BZ #19270]
7738 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7739
7740 2015-12-28 Mike Frysinger <vapier@gentoo.org>
7741
7742 [BZ #15421]
7743 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7744
7745 2015-12-23 Torvald Riegel <triegel@redhat.com>
7746
7747 [BZ #13690]
7748 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7749 after releasing it.
7750 (__lll_robust_unlock): Likewise.
7751 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7753 (lll_robust_unlock): Likewise.
7754 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7755 Prevent warnings in callers.
7756
7757 2015-12-23 Florian Weimer <fweimer@redhat.com>
7758
7759 * malloc/arena.c (list_lock): Update comment.
7760
7761 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7762
7763 * sysdeps/powerpc/hwcapinfo.c: Export symbol
7764 __parse_hwcap_and_convert_at_platform to libc.a.
7765
7766 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7767
7768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7769 platform and feature support for POWER9.
7770 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7771 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7772 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7773 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7774 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7775 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7776 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7777 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7778
7779 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7780
7781 Harmonize generic stdio-lock support with nptl
7782
7783 This fixes build when _IO_funlockfile is a macro, fixes build where
7784 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7785 stack unwind.
7786
7787 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7788 _IO_release_lock ): Use cleanup attribute on new
7789 _IO_acquire_lock_file variable instead of assuming that
7790 _IO_release_lock will be called.
7791 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7792 _IO_acquire_lock_needs_exceptions_enabled.
7793 (_IO_acquire_lock_clear_flags2): New macro.
7794
7795 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7796
7797 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7798
7799 2015-12-21 Florian Weimer <fweimer@redhat.com>
7800
7801 [BZ #19182]
7802 * malloc/arena.c (list_lock): Document lock ordering requirements.
7803 (free_list_lock): New lock.
7804 (ptmalloc_lock_all): Comment on free_list_lock.
7805 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7806 (detach_arena): Update comment. free_list_lock is now needed.
7807 (_int_new_arena): Use free_list_lock around detach_arena call.
7808 Acquire arena lock after list_lock. Add comment, including FIXME
7809 about incorrect synchronization.
7810 (get_free_list): Switch to free_list_lock.
7811 (reused_arena): Acquire free_list_lock around detach_arena call
7812 and attached threads counter update. Add two FIXMEs about
7813 incorrect synchronization.
7814 (arena_thread_freeres): Switch to free_list_lock.
7815 * malloc/malloc.c (struct malloc_state): Update comments to
7816 mention free_list_lock.
7817
7818 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7819
7820 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7821 Remove functions.
7822 (sloww, sloww1): Accept argument to offset quadrant.
7823 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7824 quadrant.
7825 (__sin, __cos): Consolidate common code into new functions.
7826 (reduce_sincos_1, do_sincos_1): New functions.
7827 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7828
7829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7830 code to new functions.
7831 (reduce_sincos_2, do_sincos_2): New functions.
7832 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7833
7834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7835 common code for sincos.
7836 (__cos) [!IN_SINCOS]: Likewise.
7837 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7838 New function.
7839 (__sincos): Use it.
7840
7841 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
7842
7843 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7844 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7845 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7846
7847 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
7848
7849 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7852 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7853 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7854 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7855 index_Prefer_No_VZEROUPPER): New feature.
7856 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7857 Prefer_No_VZEROUPPER for Knights Landing.
7858
7859 015-12-18 Torvald Riegel <triegel@redhat.com>
7860
7861 * math/atest-exp2.c (mp_exp_m1): Remove.
7862
7863 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7864
7865 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7866 syscalls.
7867 (__SYSCALL0): New macro.
7868 (__SYSCALL1): Likewise.
7869 (__SYSCALL2): Likewise.
7870 (__SYSCALL3): Likewise.
7871 (__SYSCALL4): Likewise.
7872 (__SYSCALL5): Likewise.
7873 (__SYSCALL6): Likewise.
7874 (__SYSCALL_CONCAT_X): Likewise.
7875 (__SYSCALL_CONCAT): Likewise.
7876 (__SYSCALL_DIST): Likewise.
7877 (__SYSCALL_CALL): Likewise.
7878
7879 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
7880
7881 [BZ #19363]
7882 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7883
7884 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7885
7886 [BZ #19375]
7887 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7888 negative subnormals.
7889
7890 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7893 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7894 (INTERNAL_SYSCALL_NCS): Use it.
7895 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7896
7897 2015-12-16 Florian Weimer <fweimer@redhat.com>
7898
7899 [BZ #19243]
7900 * malloc/arena.c (get_free_list): Remove assert and adjust
7901 reference count handling. Add comment about reused_arena
7902 interaction.
7903 (reused_arena): Add comments abount get_free_list interaction.
7904 * malloc/tst-malloc-thread-exit.c: New file.
7905 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7906 (tst-malloc-thread-exit): Link against libpthread.
7907
7908 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 [BZ #19367]
7911 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7912 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7913 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7914 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7915 (index_Prefer_MAP_32BIT_EXEC): Likewise.
7916
7917 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
7918
7919 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7920 Silvermont optimizations for Knights Landing.
7921
7922 2015-12-15 Andreas Schwab <schwab@suse.de>
7923
7924 [BZ #17197]
7925 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7926 immediately after emitting SI.
7927 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7928 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7929 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7930 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7931 * iconvdata/bug-iconv10.c: New file.
7932 * iconvdata/Makefile (tests): Add bug-iconv10.
7933 ($(objpfx)bug-iconv10.out): New rule.
7934
7935 2015-12-15 Florian Weimer <fweimer@redhat.com>
7936
7937 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7938 aliasing violation.
7939
7940 2015-12-14 Joseph Myers <joseph@codesourcery.com>
7941
7942 [BZ #18472]
7943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7944 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7945 conditionals for them.
7946 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7947 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7949 sys/kdaemon.h.
7950 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7951 compat-only syscall, obsoleted in glibc 2.23.
7952 (create_module): Likewise.
7953 (get_kernel_syms): Likewise.
7954 (query_module): Likewise.
7955 (uselib): Likewise.
7956 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7957
7958 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
7959
7960 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7961 <linux/version.h>.
7962 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7963 conditional code.
7964 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7965 and ioshift_name initialization.
7966
7967 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7968
7969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7970 Fix indentation.
7971
7972 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7973
7974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7975
7976 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7977
7978 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7979
7980 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
7981 Jakub Wilk <jwilk@debian.org>
7982
7983 [BZ #19347]
7984 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7985 to change the group of the device to the tty group.
7986
7987 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
7988
7989 Split large string section; add truncation advice
7990 * manual/examples/strncat.c: Remove.
7991 This example was misleading, as the code would have undefined
7992 behavior if "hello" was longer than SIZE. Anyway, the manual
7993 shouldn't encourage strncpy+strncat for this sort of thing.
7994 * manual/string.texi (Copying Strings and Arrays): Split into
7995 three sections Copying Strings and Arrays, Concatenating Strings,
7996 and Truncating Strings, as this section was way too long. All
7997 cross-referenced changed. Add advice about string-truncation
7998 functions. Remove misleading strncat example.
7999
8000 2015-12-10 Carlos O'Donell <carlos@redhat.com>
8001
8002 * manual/nss.texi (NSS Modules Interface): Document
8003 NSS_STATUS_NOTFOUND and SUCCESS.
8004
8005 2015-12-09 Mike FABIAN <mfabian@redhat.com>
8006
8007 [BZ 18568]
8008 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8009 201505L, for Unicode 8.
8010
8011 2015-12-09 Carlos O'Donell <carlos@redhat.com>
8012
8013 * locale/C-translit.h: Regenerate.
8014
8015 2015-12-09 Mike FABIAN <mfabian@redhat.com>
8016
8017 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8018 and U+0153.
8019
8020 2015-12-09 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #19351]
8023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8024 expanding log(1+z), compare z rather than its square with epsilon
8025 to determine when to avoid evaluating the expansion.
8026
8027 [BZ #19350]
8028 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8029 Increase overflow threshold.
8030
8031 [BZ #19349]
8032 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8033 when small.
8034
8035 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8036 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8037 New macro.
8038 [__LINUX_KERNEL_VERSION >= 0x040300]
8039 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8040 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8041 Likewise.
8042 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8043 Likewise.
8044 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8045 Likewise.
8046 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8047 Likewise.
8048 [__LINUX_KERNEL_VERSION >= 0x040300]
8049 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8050 [__LINUX_KERNEL_VERSION >= 0x040300]
8051 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8052 [__LINUX_KERNEL_VERSION >= 0x040300]
8053 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8054 [__LINUX_KERNEL_VERSION >= 0x040300]
8055 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8056 [__LINUX_KERNEL_VERSION >= 0x040300]
8057 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8058 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8059 Likewise.
8060 [__LINUX_KERNEL_VERSION >= 0x040300]
8061 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8062 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8063 Likewise.
8064 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8065 Likewise.
8066 [__LINUX_KERNEL_VERSION >= 0x040300]
8067 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8068 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8069 Likewise.
8070 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8071 Likewise.
8072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8073 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8074 Likewise.
8075 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8076 Likewise.
8077 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8078 Likewise.
8079 [__LINUX_KERNEL_VERSION >= 0x040300]
8080 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8081 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8082 Likewise.
8083 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8084 Likewise.
8085 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8086 Likewise.
8087 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8088 Likewise.
8089 [__LINUX_KERNEL_VERSION >= 0x040300]
8090 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8091 [__LINUX_KERNEL_VERSION >= 0x040300]
8092 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8093 [__LINUX_KERNEL_VERSION >= 0x040300]
8094 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8095 [__LINUX_KERNEL_VERSION >= 0x040300]
8096 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8097 [__LINUX_KERNEL_VERSION >= 0x040300]
8098 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8099 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8100 Likewise.
8101 [__LINUX_KERNEL_VERSION >= 0x040300]
8102 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8103 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8104 Likewise.
8105 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8106 Likewise.
8107 [__LINUX_KERNEL_VERSION >= 0x040300]
8108 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8109 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8110 Likewise.
8111 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8112 Likewise.
8113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8114 (__ASSUME_SOCKET_SYSCALL): Likewise.
8115 (__ASSUME_BIND_SYSCALL): Likewise.
8116 (__ASSUME_CONNECT_SYSCALL): Likewise.
8117 (__ASSUME_LISTEN_SYSCALL): Likewise.
8118 (__ASSUME_ACCEPT_SYSCALL): Likewise.
8119 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8120 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8121 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8122 (__ASSUME_SEND_SYSCALL): Likewise.
8123 (__ASSUME_SENDTO_SYSCALL): Likewise.
8124 (__ASSUME_RECV_SYSCALL): Likewise.
8125 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8126 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8127 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8128 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8129 (__ASSUME_SENDMSG_SYSCALL): Likewise.
8130 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8131 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8132 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8133 Likewise.
8134 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8135 Likewise.
8136 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8137 Likewise.
8138 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8139 Likewise.
8140 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8141 Likewise.
8142 [__LINUX_KERNEL_VERSION >= 0x020625]
8143 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8144 [__LINUX_KERNEL_VERSION >= 0x020625]
8145 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8146 [__LINUX_KERNEL_VERSION >= 0x020625]
8147 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8148 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8149 Likewise.
8150 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8151 Likewise.
8152 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8153 Likewise.
8154 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8155 Likewise.
8156 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8157 Likewise.
8158 [__LINUX_KERNEL_VERSION >= 0x020625]
8159 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8160 [__LINUX_KERNEL_VERSION >= 0x020625]
8161 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8162 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8163 Likewise.
8164 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8165 Likewise.
8166
8167 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
8168
8169 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8170 record the current if the current ABI and CPU support the FP64
8171 extension.
8172 (has-modd-spreg): Define to record the current if the current ABI and
8173 CPU support 32-bit floating point values in odd FPU registers.
8174 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8175 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8176 $(has-modd-spreg) equals yes.
8177 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8178 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8179 $(has-modd-spreg) equal yes.
8180
8181 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
8182
8183 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8184 basename.
8185
8186 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
8187
8188 * benchtests/Makefile (bench-math): Move ffs and ffsll...
8189 (bench-string): ... here.
8190 (bench): Add bench-string.
8191 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8192 to *-benchset to reflect what they are.
8193 (benchset): Adjust.
8194
8195 * benchtests/sincos-inputs: Add inputs from sin-inputs and
8196 cos-inputs.
8197
8198 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
8199
8200 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8201 __attribute__ ((__simd__)) for vector math function declarations.
8202
8203 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
8204
8205 Fix typo in strncat, wcsncat manual entries
8206 * manual/string.texi (Copying and Concatenation): Fix typos in
8207 sample implementations of strncat and wcsncat, by having them use
8208 the old value of the destination length, not the new one.
8209
8210 2015-12-04 Joseph Myers <joseph@codesourcery.com>
8211
8212 [BZ #16961]
8213 [BZ #16962]
8214 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8215 string on the stack for strtod.
8216 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8217 a string on the stack for strtof.
8218 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8219 constructing a string on the stack for strtold.
8220 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8221 __strtold_nan to GLIBC_PRIVATE.
8222 * math/test-nan-overflow.c: New file.
8223 * math/test-nan-payload.c: Likewise.
8224 * math/Makefile (tests): Add test-nan-overflow and
8225 test-nan-payload.
8226
8227 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
8228
8229 Consistency about byte vs character in string.texi
8230 * manual/string.texi (String and Array Utilities):
8231 Distinguish more carefully among bytes, multibyte characters,
8232 and wide characters. Use "byte" when talking about C 'char',
8233 to distinguish it more clearly from multibyte characters.
8234 Say "wide character" or "multibyte character" instead of
8235 "character", when a wide or multibyte character is intended.
8236 Similarly for "multibyte string" versus "string".
8237 Define these terms more carefully.
8238
8239 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
8240
8241 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8242 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8243 Likewise.
8244 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8245 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8246 * sysdeps/sh/math_private.h: New file.
8247 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8248 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8249 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8250 long double function name.
8251 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8257 Remove __finitel, __isinfl, and __isnanl.
8258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8259 Likewise.
8260 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8262 Remove __finitel.
8263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8264 Likewise.
8265 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8266
8267 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
8268
8269 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8270 installed libmvec_nonshared.a.
8271
8272 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8273
8274 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8275 (sysdep_routines): Likewise.
8276 (sysdep-rtld-routines): Likewise.
8277 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8278 [$(subdir) = nptl](tests-static): test-get_hwcap-static
8279 * sysdeps/powerpc/Versions: Added new
8280 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8281 * sysdeps/powerpc/hwcapinfo.c: New file.
8282 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8283 and parse hwcap, hwcap2 and platform number information.
8284 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
8285 to store HWCAP+HWCAP2 and platform number.
8286 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8287 for HWCAP+HWCAP2 and platform number in the TCB.
8288 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
8289 the HWCAP, HWCAP2 and platform number in the TCB.
8290 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8291 (TLS_INIT_TP): Included calls to add the hwcap and
8292 at_platform values in the TCB in TP initialization.
8293 (TLS_DEFINE_INIT_TP): Likewise.
8294 (THREAD_GET_HWCAP): New macro.
8295 (THREAD_SET_HWCAP): Likewise.
8296 (THREAD_GET_AT_PLATFORM): Likewise.
8297 (THREAD_SET_AT_PLATFORM): Likewise.
8298 * sysdeps/powerpc/powerpc32/dl-machine.h:
8299 (dl_platform_init): New function that calls
8300 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8301 powerpc32.
8302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8303 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
8304 this functionality, static linking case.
8305 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
8306 linking case.
8307 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8308 __parse_hwcap_and_convert_at_platform for the static linking case.
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8310 Included the new __parse_hwcap_and_convert_at_platform symbol in the
8311 ABI list for GLIBC 2.23.
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8313 Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8315 Likewise.
8316
8317 2015-12-02 Ludovic Courtès <ludo@gnu.org>
8318
8319 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8320 * configure: Regenerate.
8321 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8322 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
8323
8324 2015-12-02 Carlos O'Donell <carlos@redhat.com>
8325
8326 * iconvdata/ibm930.c: Add comment explaining encoding uses.
8327 * iconvdata/ibm933.c: Likewise.
8328 * iconvdata/ibm935.c: Likewise.
8329 * iconvdata/ibm937.c: Likewise.
8330 * iconvdata/ibm939.c: Likewise.
8331
8332 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8333
8334 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8335 pthread_join.
8336 * nptl/tst-cancel21.c (tf): Likewise.
8337
8338 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
8339
8340 [BZ #19313]
8341 * bits/typesizes.h (__CPU_MASK_TYPE): New.
8342 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8343 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8344 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8345 Likewise.
8346 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8347 Likewise.
8348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8349 Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8351 Likewise.
8352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8353 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8354 unsigned long int with __CPU_MASK_TYPE.
8355
8356 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8357
8358 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8359
8360 2015-12-01 Joseph Myers <joseph@codesourcery.com>
8361
8362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8363 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8364 t512.x.
8365 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8366
8367 2015-11-30 Amit Pawar <amit.pawar@amd.com>
8368
8369 [BZ #19214]
8370 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8371 argument to return extended model. Update family and model
8372 with extended family and model when family == 0x0f.
8373 (init_cpu_features): Updated.
8374
8375 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8376
8377 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8378 signed off_t, so 32bit bigger than 2GiB values are fine actually.
8379
8380 * sysdeps/mach/hurd/mmap64.c: New file.
8381
8382 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
8383
8384 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8385 rights for its main user thread in NEWTASK.
8386
8387 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
8388
8389 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8390 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8391
8392 2015-11-27 Carlos O'Donell <carlos@redhat.com>
8393
8394 [BZ #14259]
8395 * Makeconfig: Rename localedir to complocaledir.
8396 Rename inst_localedir to inst_complocaledir.
8397 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8398 * config.make.in: Use complocaledir and libc_cv_complocaledir.
8399 * configure.ac: Use libc_cv_complocaledir.
8400 * configure: Regenerate.
8401 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8402 -DCOMPLOCALEDIR.
8403 * locale/findlocale.c: Use COMPLOCALEDIR.
8404 * locale/loadarchive.c: Likewise.
8405 * locale/programs/locale.c: Likewise.
8406 * locale/programs/localedef.c: Likewise.
8407 * locale/programs/locarchive.c: Likewise.
8408 * localedata/Makefile: Use inst_complocaledir.
8409 * sysdeps/gnu/configure: Regenerate.
8410 * sysdeps/hppa/configure: Regenerate.
8411 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8412 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8414 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8415 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8416 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8417 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8418
8419 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
8420
8421 [BZ #19058]
8422 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8423 AS_NEEDED.
8424 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8425 workaround.
8426 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8427 libmvec-static-only-routines): Added new file.
8428 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8429
8430 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8431
8432 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8433 of interrupted RPC instead of restoring it.
8434
8435 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8436 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8437 libc_hidden_def.
8438 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8439 into initialized data instead of common. Define rtld_hidden_data_def.
8440 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8441 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8442 libc_hidden_def.
8443 (if_freenameindex): Add libc_hidden_weak.
8444 (if_nameindex): Add libc_hidden_weak.
8445 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8446 __open64.
8447 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8448 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8449 * sysdeps/mach/nanosleep.c: Include <time.h>
8450 (__nanosleep): Rename to __libc_nanosleep.
8451 (__nanosleep): Add weak_alias.
8452 (nanosleep): Update alias.
8453
8454 2015-11-24 Joseph Myers <joseph@codesourcery.com>
8455
8456 * stdlib/strtod_nan.c: New file.
8457 * stdlib/strtod_nan_double.h: Likewise.
8458 * stdlib/strtod_nan_float.h: Likewise.
8459 * stdlib/strtod_nan_main.c: Likewise.
8460 * stdlib/strtod_nan_narrow.h: Likewise.
8461 * stdlib/strtod_nan_wide.h: Likewise.
8462 * stdlib/strtof_nan.c: Likewise.
8463 * stdlib/strtold_nan.c: Likewise.
8464 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8466 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8467 * wcsmbs/wcstod_nan.c: Likewise.
8468 * wcsmbs/wcstof_nan.c: Likewise.
8469 * wcsmbs/wcstold_nan.c: Likewise.
8470 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8471 strtold_nan.
8472 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8473 wcstof_nan.
8474 * include/stdlib.h (__strtof_nan): Declare and use
8475 libc_hidden_proto.
8476 (__strtod_nan): Likewise.
8477 (__strtold_nan): Likewise.
8478 (__wcstof_nan): Likewise.
8479 (__wcstod_nan): Likewise.
8480 (__wcstold_nan): Likewise.
8481 * include/wchar.h (____wcstoull_l_internal): Declare.
8482 * stdlib/strtod_l.c: Do not include <ieee754.h>.
8483 (____strtoull_l_internal): Remove declaration.
8484 (STRTOF_NAN): Define macro.
8485 (SET_MANTISSA): Remove macro.
8486 (STRTOULL): Likewise.
8487 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8488 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8489 (STRTOF_NAN): Define macro.
8490 (SET_MANTISSA): Remove macro.
8491 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8492 (SET_MANTISSA): Remove macro.
8493 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8494 macro.
8495 (SET_MANTISSA): Remove macro.
8496 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8497 macro.
8498 (SET_MANTISSA): Remove macro.
8499 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8500 (SET_MANTISSA): Remove macro.
8501 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8502 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8503 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8504
8505 [BZ #19266]
8506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8507 upper case and lower case letters inside NAN(), not using TOLOWER.
8508 * stdlib/tst-strtod-nan-locale-main.c: New file.
8509 * stdlib/tst-strtod-nan-locale.c: Likewise.
8510 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8511 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8512 Depend on $(gen-locales).
8513 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8514 * wcsmbs/tst-wcstod-nan-locale.c: New file.
8515 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8516 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8517 Depend on $(gen-locales).
8518 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8519
8520 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
8521
8522 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8523
8524 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8526 __finitel, __isinfl, and __isnanl.
8527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8528 Likewise.
8529 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8531 __finitel.
8532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8533 Likewise.
8534 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8535
8536 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
8537
8538 * malloc/memusage.c (me): Remove redundant getenv call.
8539
8540 2015-10-24 Florian Weimer <fweimer@redhat.com>
8541
8542 [BZ #19143]
8543 [BZ #19164]
8544 * nptl/check-cpuset.h: Remove.
8545 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8546 Remove CPU set size check.
8547 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8548 Likewise.
8549 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8550 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8551 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8552 (__pthread_setaffinity_new): Remove CPU set size check.
8553 * sysdeps/unix/sysv/linux/sched_setaffinity.c
8554 (__kernel_cpumask_size): Remove.
8555 (__sched_setaffinity_new): Remove CPU set size check.
8556 * manual/threads.texi (Default Thread Attributes): Remove stale
8557 reference to check_cpuset_attr, determine_cpumask_size in comment.
8558 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8559 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
8560 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8561 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8562 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8563 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8564 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8565 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8566 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8567 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8568 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8569 skeleton test file.
8570 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
8571 tst-affinity-pid.
8572
8573 2015-11-24 Florian Weimer <fweimer@redhat.com>
8574
8575 * scripts/update-abilist.sh: New file.
8576 * Makefile (+subdir_targets): Add subdir_update-all-abi.
8577 * Makerules (update-all-abi-%, update-all-abi)
8578 (subdir_update-all-abi): New targets.
8579 * elf/Makefile (update-all-abi): New target.
8580
8581 2015-11-24 Florian Weimer <fweimer@redhat.com>
8582
8583 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8584 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8585 (__libc_lock_define_initialized): Use it.
8586 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8587 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8588 * malloc/malloc.c (main_arena): Likewise.
8589 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8590 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8591
8592 2015-11-23 Joseph Myers <joseph@codesourcery.com>
8593
8594 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8595 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8596 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8597 (PTRACE_O_MASK): Update value.
8598 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8599 New value in enum __ptrace_setoptions.
8600 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8601 (PTRACE_O_MASK): Update value.
8602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8603 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8604 (PTRACE_O_MASK): Update value.
8605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8606 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8607 (PTRACE_O_MASK): Update value.
8608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8609 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8610 (PTRACE_O_MASK): Update value.
8611 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8612 New value in enum __ptrace_setoptions.
8613 (PTRACE_O_MASK): Update value.
8614 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8615 New value in enum __ptrace_setoptions.
8616 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8617 (PTRACE_O_MASK): Update value.
8618
8619 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8620 New macro.
8621 (PACKET_AUXDATA): Likewise.
8622 (PACKET_ORIGDEV): Likewise.
8623 (PACKET_VERSION): Likewise.
8624 (PACKET_HDRLEN): Likewise.
8625 (PACKET_RESERVE): Likewise.
8626 (PACKET_TX_RING): Likewise.
8627 (PACKET_LOSS): Likewise.
8628 (PACKET_VNET_HDR): Likewise.
8629 (PACKET_TX_TIMESTAMP): Likewise.
8630 (PACKET_TIMESTAMP): Likewise.
8631 (PACKET_FANOUT): Likewise.
8632 (PACKET_TX_HAS_OFF): Likewise.
8633 (PACKET_QDISC_BYPASS): Likewise.
8634 (PACKET_ROLLOVER_STATS): Likewise.
8635 (PACKET_FANOUT_DATA): Likewise.
8636 (PACKET_MR_UNICAST): Likewise.
8637
8638 [BZ #19242]
8639 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8640 (TOUPPER): Likewise.
8641 * stdlib/tst-strtol-locale-main.c: New file.
8642 * stdlib/tst-strtol-locale.c: Likewise.
8643 * stdlib/Makefile (tests): Add tst-strtol-locale.
8644 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8645 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8646 Depend on $(gen-locales).
8647 * wcsmbs/tst-wcstol-locale.c: New file.
8648 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8649 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8650 tr_TR.ISO-8859-9.
8651 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8652 Depend on $(gen-locales).
8653
8654 2015-11-20 Roland McGrath <roland@hack.frob.com>
8655
8656 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8657 __glibc_likely instead of __builtin_expect. After falling back to
8658 dyncode_create in a non-ET_DYN case, use the allocate_code_data
8659 system interface to register the code pages as occupied.
8660
8661 2015-11-20 Joseph Myers <joseph@codesourcery.com>
8662
8663 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8664 [!ARM_MATH_PRIVATE_H].
8665 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8666 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8667 [!HPPA_MATH_PRIVATE_H].
8668 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8669 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8670 to [!I386_MATH_PRIVATE_H].
8671 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8672 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8673 Change guard to [!M68K_MATH_PRIVATE_H].
8674 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8675 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8676 guard to [!MICROBLAZE_MATH_PRIVATE_H].
8677 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8678 macro.
8679 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8680 [!MIPS_MATH_PRIVATE_H].
8681 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8682 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8683 [!NIO2_MATH_PRIVATE_H].
8684 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8685 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8686 [!TILE_MATH_PRIVATE_H].
8687 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8688
8689 [BZ #15421]
8690 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8691 initialize with 0 and define as weak alias of __signgam.
8692 * include/math.h [!_ISOMAC] (__signgam): Declare.
8693 * math/Makefile (libm-calls): Add w_lgamma_compat.
8694 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8695 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8696 test-signgam-ullong-init.
8697 (tests-static): Add test-signgam-uchar-static,
8698 test-signgam-uchar-init-static, test-signgam-uint-static,
8699 test-signgam-uint-init-static, test-signgam-ullong-static and
8700 test-signgam-ullong-init-static.
8701 (CFLAGS-test-signgam-uchar.c): New variable.
8702 (CFLAGS-test-signgam-uchar-init.c): Likewise.
8703 (CFLAGS-test-signgam-uchar-static.c): Likewise.
8704 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8705 (CFLAGS-test-signgam-uint.c): Likewise.
8706 (CFLAGS-test-signgam-uint-init.c): Likewise.
8707 (CFLAGS-test-signgam-uint-static.c): Likewise.
8708 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8709 (CFLAGS-test-signgam-ullong.c): Likewise.
8710 (CFLAGS-test-signgam-ullong-init.c): Likewise.
8711 (CFLAGS-test-signgam-ullong-static.c): Likewise.
8712 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8713 * math/Versions (libm): Add GLIBC_2.23.
8714 * math/lgamma-compat.h: New file.
8715 * math/test-signgam-main.c: Likewise.
8716 * math/test-signgam-uchar-init-static.c: Likewise.
8717 * math/test-signgam-uchar-init.c: Likewise.
8718 * math/test-signgam-uchar-static.c: Likewise.
8719 * math/test-signgam-uchar.c: Likewise.
8720 * math/test-signgam-uint-init-static.c: Likewise.
8721 * math/test-signgam-uint-init.c: Likewise.
8722 * math/test-signgam-uint-static.c: Likewise.
8723 * math/test-signgam-uint.c: Likewise.
8724 * math/test-signgam-ullong-init-static.c: Likewise.
8725 * math/test-signgam-ullong-init.c: Likewise.
8726 * math/test-signgam-ullong-static.c: Likewise.
8727 * math/test-signgam-ullong.c: Likewise.
8728 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8729 wrapper of w_lgamma_main.c.
8730 * math/w_lgamma_compat.c: New file.
8731 * math/w_lgamma_compatf.c: Likewise.
8732 * math/w_lgamma_compatl.c: Likewise.
8733 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
8734 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
8735 defining compatibility symbols.
8736 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
8737 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8738 wrapper of w_lgammaf_main.c.
8739 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
8740 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
8741 defining compatibility symbols.
8742 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
8743 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8744 wrapper of w_lgammal_main.c.
8745 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
8746 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
8747 defining compatibility symbols.
8748 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
8749 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8750 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8751 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
8752 <lgamma-compat.h>.
8753 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
8754 (__ieee754_gamma): Define as alias.
8755 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8756 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
8757 <lgamma-compat.h>.
8758 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
8759 (__ieee754_gammaf): Define as alias.
8760 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8761 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
8762 <lgamma-compat.h>.
8763 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
8764 (__ieee754_gammal): Define as alias.
8765 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8766 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
8767 <math/w_lgamma_compat.c>.
8768 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8769 Define as alias of __lgamma_compat and use in defining lgammal.
8770 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8771 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
8772 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8773 (USE_AS_COMPAT): New macro.
8774 (LGAMMA_OLD_VER): Undefine and redefine.
8775 (lgammal): Do not define here.
8776 (gammal): Only define here if [GAMMA_ALIAS].
8777 * conform/linknamespace.pl (@whitelist): Remove signgam.
8778 * sysdeps/nacl/libm.abilist: Update.
8779 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8780 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8781 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8783 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8784 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8785 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8786 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8787 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8788 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8789 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8790 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8792 Likewise.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8794 Likewise.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8796 Likewise.
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8798 Likewise.
8799 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8801 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8803 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8805 Likewise.
8806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8807 Likewise.
8808 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8809 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8811
8812 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8813
8814 [BZ #16364]
8815 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8816 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8817
8818 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8819
8820 * sysdeps/s390/fpu/bits/mathinline.h:
8821 Use __asm__ [__volatile__] instead of asm [volatile].
8822 * sysdeps/s390/abort-instr.h: Likewise.
8823 * sysdeps/s390/atomic-machine.h: Likewise.
8824 * sysdeps/s390/bits/string.h: Likewise.
8825 * sysdeps/s390/dl-tls.h: Likewise.
8826 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8827 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8828 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8829 * sysdeps/s390/fpu/fesetround.c: Likewise.
8830 * sysdeps/s390/fpu/fpu_control.h: Likewise.
8831 * sysdeps/s390/fpu/s_fma.c: Likewise.
8832 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8833 * sysdeps/s390/memusage.h: Likewise.
8834 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8835 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8836 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8837 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8838 * sysdeps/s390/nptl/tls.h: Likewise.
8839 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8840 * sysdeps/s390/s390-32/backtrace.c: Likewise.
8841 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8842 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8843 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8844 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8845 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8846 * sysdeps/s390/s390-64/backtrace.c: Likewise.
8847 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8848 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8849 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8850 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8851 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8852 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8853 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8854 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8855 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8856 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8857 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8859 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8861 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8862
8863 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8865
8866 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8867 Add lwarx hint, and use macro for acquire instruction.
8868 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8869 Likewise.
8870 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8871 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8872 update to use new atomic macros.
8873
8874 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8875
8876 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8877 (__lll_trylock_elision): Fix setting of adapt_count.
8878 * sysdeps/unix/sysv/linux/powerpc/htm.h
8879 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8880 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8881 (_ABORT_SYSCALL): Renumber, and clarify definition.
8882 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8883
8884 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8885
8886 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8887 after system headers to prevent MIN/MAX redefinition. Define
8888 HAVE_ALLOCA to preserve builtin alloca usage.
8889
8890 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
8891
8892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8893 static and don't set or restore rounding.
8894 (__cos)[IN_SINCOS]: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8896 (__sincos): Set and restore rounding mode. Remove check for infinite
8897 or NaN input.
8898
8899 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8900
8901 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8902 as used.
8903
8904 2015-11-16 Florian Weimer <fweimer@redhat.com>
8905
8906 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8907
8908 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
8909
8910 * config.make.in (have-glob-dat-reloc): New.
8911 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
8912 target supports GLOB_DAT relocaton. AC_SUBST.
8913 * configure: Regenerated.
8914 * elf/Makefile (tests): Add tst-prelink.
8915 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8916 (tst-prelink-ENV): New.
8917 ($(objpfx)tst-prelink-conflict.out): Likewise.
8918 ($(objpfx)tst-prelink-cmp.out): Likewise.
8919 * sysdeps/x86/tst-prelink.c: Moved to ...
8920 * elf/tst-prelink.c: Here.
8921 * sysdeps/x86/tst-prelink.exp: Moved to ...
8922 * elf/tst-prelink.exp: Here.
8923 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8924 (tst-prelink-ENV): Removed.
8925 ($(objpfx)tst-prelink-conflict.out): Likewise.
8926 ($(objpfx)tst-prelink-cmp.out): Likewise.
8927 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8928
8929 2015-11-13 Joseph Myers <joseph@codesourcery.com>
8930
8931 [BZ #14551]
8932 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8933 (__mpn_construct_long_double): If high part overflows to infinity,
8934 set errno and recompute overflowed result of the correct sign.
8935 * sysdeps/ieee754/ldbl-128ibm/Makefile
8936 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8937 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8938 $(libm).
8939 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8940
8941 2015-11-12 Joseph Myers <joseph@codesourcery.com>
8942
8943 [BZ #15479]
8944 [BZ #19238]
8945 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8946 floating-point state after first operation on input. Restore full
8947 state rather than just rounding mode.
8948 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8949 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8950 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8951
8952 [BZ #19235]
8953 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8954 add 0.5 to integer arguments.
8955 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8956 Likewise.
8957 (.LC2): New object.
8958
8959 2015-11-11 Mike Frysinger <vapier@gentoo.org>
8960
8961 * scripts/pylintrc (reports): Set to no.
8962
8963 2015-11-10 Roland McGrath <roland@hack.frob.com>
8964
8965 * elf/dl-load.c (open_verify): Take new argument FD.
8966 Skip __open call if passed FD is not -1.
8967 (_dl_map_object, open_path): Update callers.
8968 * elf/dl-sysdep-open.h: New file.
8969 * elf/dl-load.c: Include it.
8970 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8971 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8972 * sysdeps/nacl/dl-sysdep-open.h: New file.
8973 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8974 from libc to rtld.
8975
8976 2015-11-10 Joseph Myers <joseph@codesourcery.com>
8977
8978 [BZ #19228]
8979 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8980 and restore full floating-point state.
8981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8982 Likewise.
8983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8984 Likewise.
8985 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8986 Likewise.
8987 * math/test-nearbyint-except-2.c: New file.
8988 * math/Makefile (tests): Add test-nearbyint-except-2.
8989
8990 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
8991
8992 [BZ #19178]
8993 * sysdeps/x86/Makefile (tests): Add tst-prelink.
8994 (tst-prelink-ENV): New.
8995 ($(objpfx)tst-prelink-conflict.out): Likewise.
8996 ($(objpfx)tst-prelink-cmp.out): Likewise.
8997 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8998 * sysdeps/x86/tst-prelink.c: New file.
8999 * sysdeps/x86/tst-prelink.exp: Likewise.
9000
9001 2015-11-10 Joseph Myers <joseph@codesourcery.com>
9002
9003 * math/auto-libm-test-in: Add another test of pow.
9004 * math/auto-libm-test-out: Regenerated.
9005 * math/libm-test.inc (pow_test_data): Add another test.
9006
9007 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9008
9009 [BZ #19219]
9010 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9011 weak_alias to nearbyintl.
9012
9013 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
9014
9015 * sysdeps/aarch64/bits/string.h: New file.
9016 (_STRING_ARCH_unaligned): Define.
9017
9018 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
9019
9020 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9021 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9022 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9023 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9025
9026 2015-11-09 Ulrich Drepper <drepper@gmail.com>
9027
9028 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9029 for original name of the DSO. Add it to the name list of the DSO
9030 if it is actually given.
9031 (_dl_map_object): Keep track of whether an audit module rewrote
9032 the file name. If yes, pass the original name to
9033 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
9034 debugging is enabled, log the change of the file name.
9035 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9036 _dl_map_object_from_fd.
9037 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9038 * elf/tst-audit11.c: New file
9039 * elf/tst-auditmod11.c: New file.
9040 * elf/tst-audit11mod1.c: New file.
9041 * elf/tst-audit11mod2.c: New file.
9042 * elf/tst-audit11mod2.map: New file.
9043 * elf/tst-audit12.c: New file
9044 * elf/tst-auditmod12.c: New file.
9045 * elf/tst-audit12mod1.c: New file.
9046 * elf/tst-audit12mod2.c: New file.
9047 * elf/tst-audit12mod2.map: New file.
9048 * elf/tst-audit12mod3.c: New file.
9049
9050 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
9051
9052 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9053 Don't create weak aliases,
9054 because versioned symbols are created later.
9055 * sysdeps/s390/s390-32/setjmp.S
9056 (setjmp, _setjmp): Remove weak and rename to an unique name
9057 in SHARED case due to existing versioned symbols.
9058 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9059 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9060 (getcontext): Create weak alias only in non SHARED case.
9061 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9062
9063 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
9064
9065 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9066 (__ASSUME_*_SYSCALL) Define new macros.
9067 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9068 Remove socketcall syscalls.
9069 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9070 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9071 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9072 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9073 * sysdeps/unix/sysv/linux/send.c (__libc_send):
9074 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9075
9076 2015-11-09 Florian Weimer <fweimer@redhat.com>
9077
9078 [BZ #12926]
9079 Terminate process on invalid netlink response.
9080 * sysdeps/unix/sysv/linux/netlinkaccess.h
9081 (__netlink_assert_response): Declare.
9082 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9083 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9084 (sysdep_routines): Add netlink_assert_response.
9085 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9086 __netlink_assert_response.
9087 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9088 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9089 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9090 __netlink_assert_response.
9091
9092 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 [BZ #19178]
9095 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9096 (RTYPE_CLASS_PLT): Likewise.
9097 (RTYPE_CLASS_COPY): Likewise.
9098 (RTYPE_CLASS_TLS): Likewise.
9099 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9100 to set relocation type class for DL_DEBUG_PRELINK. Keep only
9101 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9102 DL_DEBUG_PRELINK.
9103
9104 2015-11-06 Joseph Myers <joseph@codesourcery.com>
9105
9106 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9107 calls with argument -0.5.
9108 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9109
9110 * configure.ac (libc_cv_z_nodelete): Remove configure test.
9111 (libc_cv_z_nodlopen): Likewise.
9112 (libc_cv_z_initfirst): Likewise.
9113 * configure: Regenerated.
9114
9115 2015-11-06 Florian Weimer <fweimer@redhat.com>
9116
9117 Simplify abilist format to be line-based.
9118 * scripts/abilist.awk: Collect descriptors in the descs variable.
9119 (emit): Write descs variable and sort it
9120 externally, with sort.
9121 * sysdeps/**/*.abilist: Convert to new format.
9122
9123 2015-11-06 Mark Wielaard <mjw@redhat.com>
9124
9125 [BZ #11460]
9126 * io/Makefile (routines): Add fts64.
9127 (tests): Add tst-fts and tst-fts-lfs.
9128 (CFLAGS-fts64.c): New.
9129 * io/Versions (GLIBC_2.23): New.
9130 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9131 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9132 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9133 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9134 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9135 (FTSENT64): Likewise.
9136 (fts64_children): Likewise.
9137 (fts64_close): Likewise.
9138 (fts64_open): Likewise.
9139 (fts64_read): Likewise.
9140 (fts64_set): Likewise.
9141 * io/fts64.c: New file.
9142 * io/tst-fts.c: New test.
9143 * io/tst-fts-lfs.c: Likewise.
9144 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9145 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9146 fts64_set.
9147 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9148 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9149 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9150 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9151 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9152 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9153 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9154 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9155 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9156 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9157 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9161 Likewise.
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9163 Likewise.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9167 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9168 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9169 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9173 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9174 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9175 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9176 * sysdeps/wordsize-64/fts.c: New file.
9177 * sysdeps/wordsize-64/fts64.c: Likewise.
9178 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9179 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9180 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9181 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9182
9183 2015-11-05 Joseph Myers <joseph@codesourcery.com>
9184
9185 * math/libm-test.inc (NON_FINITE): New macro.
9186 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9187 * math/gen-libm-test.pl (show_exceptions): Add argument
9188 $non_finite.
9189 (parse_args): Update call to show_exceptions.
9190 * math/test-math-finite.h: New file.
9191 * math/test-math-no-finite.h: Likewise.
9192 * math/test-double-finite.c: Likewise.
9193 * math/test-float-finite.c: Likewise.
9194 * math/test-ldouble-finite.c: Likewise.
9195 * math/test-double.c: Include "test-math-no-finite.h".
9196 * math/test-float.c: Include "test-math-no-finite.h".
9197 * math/test-ldouble.c: Include "test-math-no-finite.h".
9198 * math/test-math-inline.h (TEST_FINITE): New macro.
9199 * math/test-math-vector.h (TEST_FINITE): Likewise.
9200 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9201 (libm-tests): Add test-float-finite and test-double-finite.
9202 ($(objpfx)test-float-finite.o): New dependency on
9203 $(objpfx)libm-test.stmp.
9204 ($(objpfx)test-double-finite.o): Likewise.
9205 ($(objpfx)test-ldouble-finite.o): Likewise.
9206 (libm-test-no-inline-cflags): New variable.
9207 (libm-test-finite-cflags): Likewise.
9208 (CFLAGS-test-float-finite.c): Likewise.
9209 (CFLAGS-test-double-finite.c): Likewise.
9210 (CFLAGS-test-ldouble-finite.c): Likewise.
9211 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9212 (CFLAGS-test-double.c): Likewise.
9213 (CFLAGS-test-ldouble.c): Likewise.
9214
9215 2015-11-05 Roland McGrath <roland@hack.frob.com>
9216
9217 * io/fcntl.c (__fcntl): Add ... to prototype.
9218 * misc/ioctl.c (__ioctl): Likewise.
9219 * misc/syscall.c (syscall): Likewise.
9220
9221 2015-11-05 Joseph Myers <joseph@codesourcery.com>
9222
9223 * scripts/list-fixed-bugs.py: New file.
9224
9225 [BZ #19213]
9226 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9227 returned for argument 1.
9228 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9229 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9230 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9231 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9232 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9233 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9234
9235 [BZ #19211]
9236 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9237 __USE_XOPEN], not if [!__USE_ISOC99].
9238 (lgammaf): Likewise.
9239 (lgammal): Likewise.
9240 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9241 (gammaf): Likewise.
9242 (gammal): Likewise.
9243 * math/test-signgam-finite-c11.c: New file.
9244 * math/test-signgam-finite-c99.c: Likewise.
9245 * math/test-signgam-finite.c: Likewise.
9246 * math/Makefile (tests): Add test-signgam-finite,
9247 test-signgam-finite-c99 and test-signgam-finite-c11.
9248 (CFLAGS-test-signgam-finite.c): New variable.
9249 (CFLAGS-test-signgam-finite-c99.c): Likewise.
9250 (CFLAGS-test-signgam-finite-c11.c): Likewise.
9251
9252 [BZ #19212]
9253 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9254 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9255 500].
9256 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9257 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9258 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9259 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9260 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9261 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9262 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9263 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9264 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9265 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9266
9267 [BZ #19209]
9268 * math/bits/math-finite.h (ldexp): Remove declaration.
9269 (ldexpf): Likewise.
9270 (ldexpl): Likewise.
9271
9272 [BZ #19205]
9273 * math/bits/math-finite.h (acosf): Condition declaration on
9274 [__USE_ISOC99].
9275 (acosl): Likewise.
9276 (acoshf): Likewise.
9277 (acoshl): Likewise.
9278 (asinf): Likewise.
9279 (asinl): Likewise.
9280 (atan2f): Likewise.
9281 (atan2l): Likewise.
9282 (atanhf): Likewise.
9283 (atanhl): Likewise.
9284 (coshf): Likewise.
9285 (coshl): Likewise.
9286 (expf): Likewise.
9287 (expl): Likewise.
9288 (fmodf): Likewise.
9289 (fmodl): Likewise.
9290 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9291 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9292 (j0l): Likewise.
9293 (y0f): Likewise.
9294 (y0l): Likewise.
9295 (j1f): Likewise.
9296 (j1l): Likewise.
9297 (y1f): Likewise.
9298 (y1l): Likewise.
9299 (jnf): Likewise.
9300 (jnl): Likewise.
9301 (ynf): Likewise.
9302 (ynl): Likewise.
9303 (lgammaf_r): Condition declaration on [__USE_ISOC99].
9304 (lgammal_r): Likewise.
9305 (__lgamma_r_finite): New declaration.
9306 (__lgammaf_r_finite): Likewise.
9307 (__lgammal_r_finite): Likewise.
9308 (lgamma): Use __lgamma_r_finite.
9309 (lgammaf): Condition definition on [__USE_ISOC99]. Use
9310 __lgammaf_r_finite.
9311 (lgammal): Condition definition on [__USE_ISOC99]. Use
9312 __lgammal_r_finite.
9313 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
9314 __lgamma_r_finite.
9315 (gammaf): Condition definition on [__USE_ISOC99]. Use
9316 __lgammaf_r_finite.
9317 (gammal): Condition definition on [__USE_ISOC99]. Use
9318 __lgammal_r_finite.
9319 (logf): Condition declaration on [__USE_ISOC99].
9320 (logl): Likewise.
9321 (log10f): Likewise.
9322 (log10l): Likewise.
9323 (ldexpf): Likewise.
9324 (ldexpl): Likewise.
9325 (powf): Likewise.
9326 (powl): Likewise.
9327 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9328 __USE_ISOC99].
9329 (remainderf): Condition declaration on [__USE_ISOC99].
9330 (remainderl): Likewise.
9331 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9332 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9333 (scalbl): Likewise.
9334 (sinhf): Condition declaration on [__USE_ISOC99].
9335 (sinhl): Likewise.
9336 (sqrtf): Likewise.
9337 (sqrtl): Likewise.
9338
9339 2015-11-04 Joseph Myers <joseph@codesourcery.com>
9340
9341 * sysdeps/arm/atomic-machine.h
9342 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9343 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9344 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9345 Remove conditional code.
9346 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9347 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9348 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9349 Change conditional to [__ASSEMBLER__].
9350 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9351 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9352 [!__ASSEMBLER__].
9353 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9354 code.
9355 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9356 conditional macro definitions.
9357 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9358 (__arch_compare_and_exchange_val_16_acq): Likewise.
9359 (__arch_compare_and_exchange_val_32_acq): Likewise.
9360 (atomic_exchange_and_add): Likewise.
9361 (atomic_add): Likewise.
9362 (atomic_add_negative): Likewise.
9363 (atomic_add_zero): Likewise.
9364 (atomic_bit_set): Likewise.
9365 (atomic_bit_test_set): Likewise.
9366 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9367 code unconditional.
9368 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9369
9370 * math/test-math-errno.h: New file.
9371 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9372 empty.
9373 (TEST_ERRNO): New macro.
9374 (TEST_EXCEPTIONS): Likewise.
9375 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9376 (TEST_EXCEPTIONS): Likewise.
9377 * math/test-math-vector.h (TEST_ERRNO): Likewise.
9378 * math/test-double.c: Include "test-math-errno.h".
9379 * math/test-float.c: Likewise.
9380 * math/test-ldouble.c: Likewise.
9381 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9382 code unconditional.
9383 (test_exceptions): Only run code if TEST_EXCEPTIONS.
9384 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9385 unconditional.
9386 (test_errno): Only run code if TEST_ERRNO.
9387 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9388
9389 2015-11-04 Florian Weimer <fweimer@redhat.com>
9390
9391 * nptl/tst-once5.cc: Remove attribution.
9392
9393 2015-11-04 Joseph Myers <joseph@codesourcery.com>
9394
9395 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9396 sqrt, tan, tanh, y0, y1 and yn.
9397 * math/auto-libm-test-out: Regenerated.
9398 * math/libm-test.inc (scalb_test_data): Add more tests.
9399 (scalbn_test_data): Likewise.
9400 (scalbln_test_data): Likewise.
9401 (signbit_test_data): Likewise.
9402 (sin_test_data): Likewise.
9403 (sincos_test_data): Likewise.
9404 (sinh_test_data): Likewise.
9405 (sqrt_test_data): Likewise.
9406 (tan_test_data): Likewise.
9407 (tanh_test_data): Likewise.
9408 (tgamma_test_data): Likewise.
9409 (y0_test_data): Likewise.
9410 (y1_test_data): Likewise.
9411 (yn_test_data): Likewise.
9412 (significand_test_data): Likewise.
9413 * sysdeps/i386/fpu/libm-test-ulps: Update.
9414
9415 2015-11-03 David Kastrup <dak@gnu.org>
9416
9417 [BZ #18604]
9418 * assert/assert.h (assert): Don't macro-expand failed assertion
9419 expression in error message.
9420 * malloc/malloc.c (assert): Likewise.
9421
9422 2015-11-03 Joseph Myers <joseph@codesourcery.com>
9423
9424 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9425 test.
9426 * configure: Regenerated.
9427
9428 2015-11-02 Joseph Myers <joseph@codesourcery.com>
9429
9430 * math/libm-test.inc (modf_test_data): Add more tests.
9431 (nearbyint_test_data): Likewise.
9432 (nextafter_test_data): Likewise.
9433 (nexttoward_test_data): Likewise.
9434 (pow_test_data): Likewise.
9435 (remainder_test_data): Likewise.
9436 (remquo_test_data): Likewise.
9437 (rint_test_data): Likewise.
9438
9439 [BZ #19201]
9440 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9441 Check for zero remainder in case of large exponents and ensure
9442 correct sign of result in that case.
9443 * math/libm-test.inc (remainder_test_data): Add more tests.
9444
9445 [BZ #6799]
9446 * math/s_nextafter.c: Include <errno.h>.
9447 (__nextafter): Set errno on overflow and underflow.
9448 * math/s_nexttowardf.c: Include <errno.h>.
9449 (__nexttowardf): Set errno on overflow and underflow.
9450 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9451 (__nextafterl): Set errno on overflow and underflow.
9452 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9453 (__nexttoward): Set errno on overflow and underflow.
9454 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9455 (__nexttowardf): Set errno on overflow and underflow.
9456 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9457 (__nextafterf): Set errno on overflow and underflow.
9458 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9459 (__nextafterl): Set errno on overflow and underflow.
9460 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9461 (__nexttoward): Set errno on overflow and underflow.
9462 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9463 (__nexttowardf): Set errno on overflow and underflow.
9464 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9465 (__nextafterl): Set errno on overflow and underflow.
9466 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9467 (__nexttoward): Set errno on overflow and underflow.
9468 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9469 (__nexttowardf): Set errno on overflow and underflow.
9470 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9471 (__nexttoward): Set errno on overflow and underflow.
9472 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9473 (__nexttowardf): Set errno on overflow and underflow.
9474 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9475 (__nldbl_nexttowardf): Set errno on overflow and underflow.
9476 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9477 (__nextafterl): Set errno on overflow and underflow.
9478 * math/libm-test.inc (nextafter_test_data): Do not allow errno
9479 setting to be missing on overflow. Add more tests.
9480 (nexttoward_test_data): Likewise.
9481
9482 * configure.ac (libc_cv_initfini_array): Remove configure test.
9483 * configure: Regenerated.
9484
9485 2015-10-29 Joseph Myers <joseph@codesourcery.com>
9486
9487 [BZ #19189]
9488 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9489 non-finite argument handle arguments with negative sign.
9490
9491 * math/libm-test.inc (j0_test_data): Do not test sign of zero
9492 result from infinite argument.
9493 (j1_test_data): Likewise.
9494 (jn_test_data): Likewise.
9495 (y0_test_data): Likewise.
9496 (y1_test_data): Likewise.
9497 (yn_test_data): Likewise.
9498
9499 [BZ #16171]
9500 * math/w_remainder.c (drem): Define as weak alias of __remainder.
9501 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9502 * math/w_remainderf.c (dremf): Define as weak alias of
9503 __remainderf.
9504 * math/w_remainderl.c (dreml): Define as weak alias of
9505 __remainderl.
9506 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9507 __remainder.
9508 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9509 __remainderf.
9510 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9511 __remainderl.
9512 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9513 weak alias of remainderl.
9514 * sysdeps/ieee754/ldbl-opt/w_remainder.c
9515 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9516 alias of __remainder.
9517 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9518 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9519 strong alias of __remainderl.
9520 (dreml): Use long_double_symbol.
9521 * math/Makefile (libm-calls): Remove w_drem.
9522 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9523 (CFLAGS-nldbl-drem.c): Remove variable.
9524 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9525 * math/w_drem.c: Remove file.
9526 * math/w_dremf.c: Likewise.
9527 * math/w_dreml.c: Likewise.
9528 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9529 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9530 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9531
9532 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9533 * sysdeps/i386/configure: Regenerated.
9534 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9535 * sysdeps/x86_64/configure: Regenerated.
9536
9537 * configure.ac (libc_cv_asm_protected_directive): Remove configure
9538 test.
9539 (libc_cv_visibility_attribute): Likewise.
9540 (libc_cv_protected_data): Test unconditionally.
9541 (libc_cv_broken_visibility_attribute): Remove configure test.
9542 (libc_cv_have_sdata_section): Test unconditionally.
9543 * configure: Regenerated.
9544
9545 * include/libc-internal.h (libc_max_align_t): Remove typedef.
9546 * include/scratch_buffer.h: Include <stddef.h> instead of
9547 <libc-internal.h>.
9548 (struct scratch_buffer): Use max_align_t instead of
9549 libc_max_align_t.
9550
9551 2015-10-29 Florian Weimer <fweimer@redhat.com>
9552
9553 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9554 instead of extend_alloca. Change control flow to avoid a goto.
9555 Remove assert which is trivially always true.
9556
9557 2015-10-28 Joseph Myers <joseph@codesourcery.com>
9558
9559 [BZ #16068]
9560 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9561 (FE_ALL_EXCEPT_X86): New macro.
9562 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9563 FE_ALL_EXCEPT. Ensure precision control is included in
9564 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9565 handle "denormal operand exception" and clear FZ and DAZ bits.
9566 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9567 (FE_ALL_EXCEPT_X86): New macro.
9568 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9569 FE_ALL_EXCEPT. Ensure precision control is included in
9570 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9571 handle "denormal operand exception" and clear FZ and DAZ bits.
9572 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9573 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9574 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9575 test-fenv-x87 and test-fenv-sse-2.
9576 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9577
9578 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9579 * math/test-double.h (BUILD_COMPLEX): New macro.
9580 * math/test-float.h (BUILD_COMPLEX): Likewise.
9581 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9582
9583 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9584 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9585 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9587 instead of DBL_DENORM_MIN in comment.
9588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9589 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9591 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9592 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9593 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9594
9595 2015-10-28 Florian Weimer <fweimer@redhat.com>
9596
9597 [BZ# 19048]
9598 * malloc/malloc.c (struct malloc_state): Update comment. Add
9599 attached_threads member.
9600 (main_arena): Initialize attached_threads.
9601 * malloc/arena.c (list_lock): Update comment.
9602 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9603 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9604 (deattach_arena): New function.
9605 (_int_new_arena): Initialize arena reference count and deattach
9606 replaced arena.
9607 (get_free_list, reused_arena): Update reference count and deattach
9608 replaced arena.
9609 (arena_thread_freeres): Update arena reference count and only put
9610 unreferenced arenas on the free list.
9611
9612 2015-10-28 Joseph Myers <joseph@codesourcery.com>
9613
9614 [BZ #19181]
9615 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9616 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9617 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9618 * math/test-fenv-clear-main.c: New file.
9619 * math/test-fenv-clear.c: Likewise.
9620 * math/Makefile (tests): Add test-fenv-clear.
9621 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9622 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9623 test-fenv-clear-sse.
9624 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9625
9626 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9627 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9628 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9629
9630 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9631
9632 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9633 static libc.
9634
9635 2015-10-28 Joseph Myers <joseph@codesourcery.com>
9636
9637 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9638 test.
9639 * sysdeps/i386/configure: Regenerated.
9640 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9641 test.
9642 * sysdeps/x86_64/configure: Regenerated.
9643 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9645 memset-avx2 unconditionally instead of conditionally on
9646 [$(config-cflags-avx2) = yes].
9647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9648 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9649 unconditional.
9650 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9651 * sysdeps/x86_64/multiarch/memset_chk.S
9652 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9653 to [IS_IN (libc) && SHARED].
9654
9655 2015-10-27 Joseph Myers <joseph@codesourcery.com>
9656
9657 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9658 configure test.
9659 * sysdeps/arm/configure: Regenerated.
9660 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9661 Define variable if not already defined.
9662
9663 [BZ #17404]
9664 * sysdeps/mips/atomic-machine.h
9665 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9666 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9667 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9668
9669 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9670 unconditional.
9671 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9672 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9673 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9674 unconditional.
9675 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9676 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9677 unconditional.
9678 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9679 * stdlib/setenv.c
9680 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9681 code unconditional.
9682 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9683 Remove conditional code.
9684 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9685 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9686 unconditional.
9687 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9688 code.
9689 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9690 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9691 unconditional.
9692 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9693 code.
9694 * sysdeps/ieee754/ldbl-128/k_tanl.c
9695 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9696 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9698 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9699 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9700 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9701 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9702 unconditional.
9703 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9704 code.
9705 * sysdeps/ieee754/ldbl-96/k_tanl.c
9706 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9707 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9708
9709 * nptl/tst-initializers1-c11.c: New file.
9710 * nptl/tst-initializers1-gnu11.c: Likewise.
9711 * nptl/Makefile (tests): Add these new tests.
9712 (CFLAGS-tst-initializers1-c11.c): New variable.
9713 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9714
9715 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9716 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9717 instead of -std=gnu99.
9718 * configure.ac (systemtap): Test with -std=gnu11 instead of
9719 -std=gnu99.
9720 * configure: Regenerated.
9721 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9722 in compilation command in comment.
9723
9724 * sysdeps/nptl/configure.ac: Remove file.
9725 * sysdeps/nptl/configure: Remove generated file.
9726 * configure.ac (libc_cv_forced_unwind): Do not substitute.
9727 * configure: Regenerated.
9728 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9729 * config.make.in (have-forced-unwind): Remove variable.
9730 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9731 unconditional.
9732 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9733 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9734 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9735 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9736 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9737 unconditional.
9738
9739 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9740
9741 [BZ #19174]
9742 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9743 .skip_lock_out_of_tbegin_retries.
9744 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9745 (__lll_lock_elision): Likewise, and respect a value of
9746 try_tbegin <= 0.
9747
9748 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9749
9750 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9751 statement.
9752
9753 2015-10-27 Joseph Myers <joseph@codesourcery.com>
9754
9755 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9756 variable.
9757 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9758 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9759
9760 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9761 of -std=c1x -D_ISOC11_SOURCE.
9762
9763 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9764 * configure: Regenerated.
9765 * manual/install.texi (Tools for Compilation): Document
9766 requirement for GCC 4.7 or later.
9767 * INSTALL: Regenerated.
9768
9769 2015-10-27 Ludovic Courtès <ludo@gnu.org>
9770
9771 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9772 on CNT to a conditional jump to 'puntdata'.
9773
9774 2015-10-27 Joseph Myers <joseph@codesourcery.com>
9775
9776 * configure.ac (libc_cv_gcc___thread): Remove configure test.
9777 (libc_cv_gcc_tls_model_attr): Likewise.
9778 * configure: Regenerated.
9779
9780 * configure.ac (libc_cv_need_minus_P): Remove configure test.
9781 * configure: Regenerated.
9782 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9783
9784 2015-10-26 Joseph Myers <joseph@codesourcery.com>
9785
9786 * configure.ac (old_glibc_headers): Remove configure test.
9787 * configure: Regenerated.
9788 * config.make.in (old-glibc-headers): Remove variable.
9789 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9790 (install): Remove dependency on remove-old-headers.
9791 (headers2_0): Remove variable.
9792 (remove-old-headers): Remove rule.
9793
9794 * configure.ac (libc_cv_dot_text): Remove configure test.
9795 (libc_cv_asm_set_directive): Use .text instead of
9796 ${libc_cv_dot_text} in configure test.
9797 * configure: Regenerated.
9798
9799 2015-10-26 Florian Weimer <fweimer@redhat.com>
9800
9801 [BZ #19168]
9802 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9803
9804 2015-10-26 Florian Weimer <fweimer@redhat.com>
9805
9806 * configure.ac (CXX): Clear the variable if the C++ toolchain does
9807 not support static linking.
9808 * configure: Regenerate.
9809
9810 2015-10-23 Joseph Myers <joseph@codesourcery.com>
9811
9812 * math/libm-test.inc (check_float_internal): Do not special-case
9813 errors up to 0.5 ulp.
9814
9815 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9816 log2.
9817 * math/auto-libm-test-out: Regenerated.
9818 * math/libm-test.inc (MAX_EXP): New macro.
9819 (ilogb_test_data): Add more tests.
9820 (isfinite_test_data): Likewise.
9821 (isgreater_test_data): Likewise.
9822 (isgreaterequal_test_data): Likewise.
9823 (isinf_test_data): Likewise.
9824 (isless_test_data): Likewise.
9825 (islessequal_test_data): Likewise.
9826 (islessgreater_test_data): Likewise.
9827 (isnan_test_data): Likewise.
9828 (isnormal_test_data): Likewise.
9829 (issignaling_test_data): Likewise.
9830 (isunordered_test_data): Likewise.
9831 (j0_test_data): Likewise.
9832 (j1_test_data): Likewise.
9833 (jn_test_data): Likewise.
9834 (lgamma_test_data): Likewise.
9835 (log_test_data): Likewise.
9836 (log10_test_data): Likewise.
9837 (log1p_test_data): Likewise.
9838 (log2_test_data): Likewise.
9839 (logb_test_data): Likewise.
9840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9841
9842 [BZ #18611]
9843 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9844 avoid excess range and precision on underflow.
9845 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9846 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9847 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9848 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9849 underflow.
9850 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9853 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9854 * math/auto-libm-test-in: Do not allow missing errno setting for
9855 tests of j1 and jn.
9856 * math/auto-libm-test-out: Regenerated.
9857
9858 2015-10-22 Joseph Myers <joseph@codesourcery.com>
9859
9860 [BZ #15491]
9861 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9862 floating-point environment instead of clearing all exceptions.
9863 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9864 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9865 merging in "invalid" exceptions from frndint.
9866 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9867 * math/test-nearbyint-except.c: New file.
9868 * math/Makefile (tests): Add test-nearbyint-except.
9869
9870 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
9871
9872 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9873
9874 * sysdeps/tile/libm-test-ulps: Regenerated.
9875
9876 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9877
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9879 (__NR_sync_file_range2): Assume it is always defined.
9880 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9881 (__NR_sync_file_range): Assume it is always defined.
9882
9883 2015-10-22 Andreas Schwab <schwab@suse.de>
9884
9885 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9886 INTERNAL_SYSCALL_ERRNO.
9887 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9888 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9889 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9890 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9891 Likewise.
9892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9893
9894 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9895
9896 * io/tst-fcntl.c (fd): New static variable.
9897 (do_prepare): Open temporary file here....
9898 (do_test): ...not here.
9899
9900 * io/ftwtest-sh: Also trap on exit to remove temporary files.
9901
9902 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9905 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9906 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9907 Moved before "#ifdef __ASSEMBLER__".
9908
9909 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9910
9911 [BZ #19156]
9912 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9913 arguments very close to 0.
9914
9915 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
9916
9917 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9918 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9919
9920 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9923 New. Defined for GCC 5 and above when not compiling for
9924 profiling.
9925 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9926
9927 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9928 Renamed to ...
9929 (CFLAGS-epoll_pwait.o): This.
9930 (CFLAGS-mmap.c): Renamed to ...
9931 (CFLAGS-mmap.o): This.
9932 (CFLAGS-mmap64.c): Renamed to ...
9933 (CFLAGS-mmap64.o): This.
9934 (CFLAGS-epoll_pwait.os): New.
9935 (CFLAGS-mmap.os): Likewise.
9936 (CFLAGS-mmap64.os): Likewise.
9937 (CFLAGS-semtimedop.os): Likewise.
9938 (CFLAGS-semtimedop.c): Renamed to ...
9939 (CFLAGS-semtimedop.o): This.
9940
9941 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9942
9943 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9944 warning message.
9945
9946 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9947
9948 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9949 * Makefile ($(objpfx)c++-types-check.out): Filter out
9950 $(+gccwarn-c) instead of -Wstrict-prototypes.
9951
9952 * io/fts.c (fts_open): Convert to prototype-style function
9953 definition.
9954 * malloc/mcheck.c (mcheck): Likewise.
9955 (mcheck_pedantic): Likewise.
9956 * posix/regexec.c (re_search_2_stub): Likewise. Use
9957 internal_function.
9958 (re_search_internal): Likewise.
9959 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9960 prototype-style function definition.
9961 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9962 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9963 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9964 (xdr_utmpptr): Likewise.
9965 (xdr_utmparr): Likewise.
9966 (xdr_utmpidle): Likewise.
9967 (xdr_utmpidleptr): Likewise.
9968 (xdr_utmpidlearr): Likewise.
9969
9970 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9971 log, log10 and log2.
9972 * math/auto-libm-test-out: Regenerated.
9973 * math/libm-test.inc (fmod_test_data): Add more tests.
9974 (fpclassify_test_data): Likewise.
9975 (frexp_test_data): Likewise.
9976 (hypot_test_data): Likewise.
9977 (ilogb_test_data): Likewise.
9978
9979 2015-10-20 Joseph Myers <joseph@codesourcery.com>
9980
9981 * debug/fortify_fail.c (__fortify_fail): Convert to
9982 prototype-style function definition. Use internal_function.
9983 * libio/genops.c (save_for_backup): Convert to prototype-style
9984 function definition.
9985 * libio/wgenops.c (save_for_wbackup): Likewise.
9986 * login/grantpt.c (grantpt): Likewise.
9987 * login/ptsname.c (ptsname): Likewise.
9988 (__ptsname_r): Likewise.
9989 * login/unlockpt.c (unlockpt): Likewise.
9990 * mach/msgserver.c (__mach_msg_server): Likewise.
9991 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9992 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9993 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9994 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9995 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9996 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9997 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9998 Likewise.
9999 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
10000 internal_function.
10001 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10002 prototype-style function definition.
10003 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10004 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10005 (__pthread_create_2_0): Likewise.
10006 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10007 * nptl/register-atfork.c (__register_atfork): Likewise.
10008 * posix/glob.c (glob): Likewise.
10009 * posix/regcomp.c (re_comp): Likewise.
10010 * posix/regexec.c (re_exec): Likewise.
10011 * stdlib/add_n.c [__STDC__]: Make code unconditional.
10012 [!__STDC__]: Remove conditional code.
10013 * stdlib/cmp.c [__STDC__]: Make code unconditional.
10014 [!__STDC__]: Remove conditional code.
10015 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10016 [!__STDC__]: Remove conditional code.
10017 * stdlib/divrem.c [__STDC__]: Make code unconditional.
10018 [!__STDC__]: Remove conditional code.
10019 * stdlib/lshift.c [__STDC__]: Make code unconditional.
10020 [!__STDC__]: Remove conditional code.
10021 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10022 [!__STDC__]: Remove conditional code.
10023 * stdlib/mul.c [__STDC__]: Make code unconditional.
10024 [!__STDC__]: Remove conditional code.
10025 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10026 [!__STDC__]: Remove conditional code.
10027 * stdlib/rshift.c [__STDC__]: Make code unconditional.
10028 [!__STDC__]: Remove conditional code.
10029 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10030 function definition.
10031 (STRTOF): Likewise.
10032 * stdlib/strtod_l.c (__STRTOF): Likewise.
10033 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10034 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10035 (__strtol_l): Likewise.
10036 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10037 [!__STDC__]: Remove conditional code.
10038 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10039 definition.
10040 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10041 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10042 type.
10043 (__strcasecmp): Convert to prototype-style function definition.
10044 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10045 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10046 type.
10047 (__strncasecmp): Convert to prototype-style function definition.
10048 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10049 * sunrpc/xdr.c (xdr_union): Likewise.
10050 * sunrpc/xdr_array.c (xdr_array): Likewise.
10051 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10052 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10053 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10054 Likewise.
10055 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10056 Likewise.
10057 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10058 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10059 Likewise.
10060 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10061 (LOCALE_PARAM_PROTO): Likewise.
10062 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10063 argument type.
10064 (ut_argument_spec): Remove macro.
10065 (ut_argument_spec_iso): Rename to ut_argument_spec.
10066 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
10067 prototype-style function definition.
10068 (memcpy_uppcase): Likewise.
10069 (__strftime_internal): Likewise.
10070 (my_strftime): Likewise.
10071 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10072 (LOCALE_PARAM_DECL): Likewise.
10073 [_LIBC] (LOCALE_PARAM): Include argument type.
10074 (__strptime_internal): Convert to prototype-style function
10075 definition.
10076 (strptime): Likewise.
10077 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10078 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10079 type.
10080 (__wcscasecmp): Convert to prototype-style function definition.
10081 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10082 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10083 type.
10084 (__wcsncasecmp): Convert to prototype-style function definition.
10085
10086 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10087 function definition.
10088 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10089 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10090 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10091 * elf/dl-minimal.c (_itoa): Likewise.
10092 * hurd/hurdmalloc.c (malloc): Likewise.
10093 (free): Likewise.
10094 (realloc): Likewise.
10095 * inet/inet6_option.c (inet6_option_space): Likewise.
10096 (inet6_option_init): Likewise.
10097 (inet6_option_append): Likewise.
10098 (inet6_option_alloc): Likewise.
10099 (inet6_option_next): Likewise.
10100 (inet6_option_find): Likewise.
10101 * io/ftw.c (FTW_NAME): Likewise.
10102 (NFTW_NAME): Likewise.
10103 (NFTW_NEW_NAME): Likewise.
10104 (NFTW_OLD_NAME): Likewise.
10105 * libio/iofwide.c (_IO_fwide): Likewise.
10106 * libio/strops.c (_IO_str_init_static_internal): Likewise.
10107 (_IO_str_init_static): Likewise.
10108 (_IO_str_init_readonly): Likewise.
10109 (_IO_str_overflow): Likewise.
10110 (_IO_str_underflow): Likewise.
10111 (_IO_str_count): Likewise.
10112 (_IO_str_seekoff): Likewise.
10113 (_IO_str_pbackfail): Likewise.
10114 (_IO_str_finish): Likewise.
10115 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10116 (_IO_wstr_overflow): Likewise.
10117 (_IO_wstr_underflow): Likewise.
10118 (_IO_wstr_count): Likewise.
10119 (_IO_wstr_seekoff): Likewise.
10120 (_IO_wstr_pbackfail): Likewise.
10121 (_IO_wstr_finish): Likewise.
10122 * locale/programs/localedef.c (normalize_codeset): Likewise.
10123 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10124 (add_locales_to_archive): Likewise.
10125 (delete_locales_from_archive): Likewise.
10126 * malloc/malloc.c (__libc_mallinfo): Likewise.
10127 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10128 * misc/tsearch.c (__tfind): Likewise.
10129 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10130 * nptl/pthread_attr_getdetachstate.c
10131 (__pthread_attr_getdetachstate): Likewise.
10132 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10133 Likewise.
10134 * nptl/pthread_attr_getinheritsched.c
10135 (__pthread_attr_getinheritsched): Likewise.
10136 * nptl/pthread_attr_getschedparam.c
10137 (__pthread_attr_getschedparam): Likewise.
10138 * nptl/pthread_attr_getschedpolicy.c
10139 (__pthread_attr_getschedpolicy): Likewise.
10140 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10141 Likewise.
10142 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10143 Likewise.
10144 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10145 Likewise.
10146 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10147 Likewise.
10148 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10149 (__pthread_attr_init_2_0): Likewise.
10150 * nptl/pthread_attr_setdetachstate.c
10151 (__pthread_attr_setdetachstate): Likewise.
10152 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10153 Likewise.
10154 * nptl/pthread_attr_setinheritsched.c
10155 (__pthread_attr_setinheritsched): Likewise.
10156 * nptl/pthread_attr_setschedparam.c
10157 (__pthread_attr_setschedparam): Likewise.
10158 * nptl/pthread_attr_setschedpolicy.c
10159 (__pthread_attr_setschedpolicy): Likewise.
10160 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10161 Likewise.
10162 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10163 Likewise.
10164 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10165 Likewise.
10166 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10167 Likewise.
10168 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10169 Likewise.
10170 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10171 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10172 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10173 use internal_function.
10174 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10175 prototype-style function definition.
10176 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10177 (__pthread_mutex_cond_lock_adjust): Likewise. Use
10178 internal_function.
10179 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10180 Convert to prototype-style function definition.
10181 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10182 Likewise.
10183 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10184 Likewise.
10185 (__pthread_mutex_unlock): Likewise.
10186 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10187 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10188 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10189 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10190 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10191 * nss/makedb.c (process_input): Likewise.
10192 * posix/fnmatch.c (__strchrnul): Likewise.
10193 (__wcschrnul): Likewise.
10194 (fnmatch): Likewise.
10195 * posix/fnmatch_loop.c (FCT): Likewise.
10196 * posix/glob.c (globfree): Likewise.
10197 (__glob_pattern_type): Likewise.
10198 (__glob_pattern_p): Likewise.
10199 * posix/regcomp.c (re_compile_pattern): Likewise.
10200 (re_set_syntax): Likewise.
10201 (re_compile_fastmap): Likewise.
10202 (regcomp): Likewise.
10203 (regerror): Likewise.
10204 (regfree): Likewise.
10205 * posix/regexec.c (regexec): Likewise.
10206 (re_match): Likewise.
10207 (re_search): Likewise.
10208 (re_match_2): Likewise.
10209 (re_search_2): Likewise.
10210 (re_search_stub): Likewise. Use internal_function
10211 (re_copy_regs): Likewise.
10212 (re_set_registers): Convert to prototype-style function
10213 definition.
10214 (prune_impossible_nodes): Likewise. Use internal_function.
10215 * resolv/inet_net_pton.c (inet_net_pton): Convert to
10216 prototype-style function definition.
10217 (inet_net_pton_ipv4): Likewise.
10218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10219 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10220 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10221 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10222 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10223 Make variadic.
10224 * time/strptime_l.c (localtime_r): Convert to prototype-style
10225 function definition.
10226 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10227 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10228 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10229 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10230
10231 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10232 definition.
10233 (_ufc_doit_r): Likewise.
10234 * crypt/crypt_util.c (_ufc_copymem): Likewise.
10235 (_ufc_output_conversion_r): Likewise.
10236 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10237 * inet/rcmd.c (rcmd_af): Likewise.
10238 (rcmd): Likewise.
10239 (ruserok_af): Likewise.
10240 (ruserok): Likewise.
10241 (ruserok2_sa): Likewise.
10242 (ruserok_sa): Likewise.
10243 (iruserok_af): Likewise.
10244 (iruserok): Likewise.
10245 (__ivaliduser): Likewise.
10246 (__validuser2_sa): Likewise.
10247 * inet/rexec.c (rexec_af): Likewise.
10248 (rexec): Likewise.
10249 * inet/ruserpass.c (ruserpass): Likewise.
10250 * locale/programs/xmalloc.c (xcalloc): Likewise.
10251 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10252 * math/w_drem.c (__drem): Likewise.
10253 * math/w_dremf.c (__dremf): Likewise.
10254 * math/w_dreml.c (__dreml): Likewise.
10255 * misc/daemon.c (daemon): Likewise.
10256 * resolv/res_debug.c (p_fqnname): Likewise.
10257 * stdlib/div.c (div): Likewise.
10258 * string/memcmp.c (memcmp_bytes): Likewise.
10259 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10260 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10261
10262 * crypt/cert.c (main): Convert to prototype-style function
10263 definition.
10264 * io/pipe.c (__pipe): Likewise.
10265 * io/pipe2.c (__pipe2): Likewise.
10266 * misc/futimesat.c (futimesat): Likewise.
10267 * misc/utimes.c (__utimes): Likewise.
10268 * posix/execve.c (__execve): Likewise.
10269 * posix/execvp.c (execvp): Likewise.
10270 * posix/execvpe.c (__execvpe): Likewise.
10271 * posix/fexecve.c (fexecve): Likewise.
10272 * socket/socketpair.c (socketpair): Likewise.
10273 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10274 * stdlib/erand48.c (erand48): Likewise.
10275 * stdlib/erand48_r.c (__erand48_r): Likewise.
10276 * stdlib/jrand48.c (jrand48): Likewise.
10277 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10278 * stdlib/lcong48.c (lcong48): Likewise.
10279 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10280 * stdlib/nrand48.c (nrand48): Likewise.
10281 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10282 * stdlib/seed48.c (seed48): Likewise.
10283 * stdlib/seed48_r.c (__seed48_r): Likewise.
10284 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10285 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10286 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10287
10288 2015-10-19 Joseph Myers <joseph@codesourcery.com>
10289
10290 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10291 * configure: Regenerated.
10292 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10293 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10294 unconditional.
10295 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10296 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10297 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10298 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10299 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10300 unconditional.
10301 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10302
10303 * posix/Makefile (CFLAGS-regex.c): Remove variable.
10304 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10305
10306 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10307 function definition.
10308 * crypt/crypt_util.c (__encrypt_r): Likewise.
10309 * libio/genops.c (_IO_no_init): Likewise.
10310 * libio/iofopncook.c (_IO_fopencookie): Likewise.
10311 (_IO_old_fopencookie): Likewise.
10312 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10313 * libio/iogetline.c (_IO_getline): Likewise.
10314 (_IO_getline_info): Likewise.
10315 * libio/iogetwline.c (_IO_getwline): Likewise.
10316 (_IO_getwline_info): Likewise.
10317 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10318 * libio/vswprintf.c (_IO_vswprintf): Likewise.
10319 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10320 (find_entry): Likewise.
10321 (iterate_table): Likewise.
10322 (lookup): Likewise.
10323 * login/forkpty.c (forkpty): Likewise.
10324 * misc/hsearch_r.c (__hsearch_r): Likewise.
10325 * misc/select.c (__select): Likewise.
10326 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10327 Likewise.
10328 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10329 Likewise.
10330 * nptl/old_pthread_cond_timedwait.c
10331 (__pthread_cond_timedwait_2_0): Likewise.
10332 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10333 * nptl/pthread_barrierattr_getpshared.c
10334 (pthread_barrierattr_getpshared): Likewise.
10335 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10336 Likewise.
10337 * nptl/pthread_mutex_setprioceiling.c
10338 (pthread_mutex_setprioceiling): Likewise.
10339 * nptl/pthread_mutexattr_getprioceiling.c
10340 (pthread_mutexattr_getprioceiling): Likewise.
10341 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10342 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10343 Likewise.
10344 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10345 Likewise.
10346 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10347 Likewise.
10348 * socket/recvfrom.c (__recvfrom): Likewise.
10349 * socket/sendto.c (__sendto): Likewise.
10350 * socket/setsockopt.c (__setsockopt): Likewise.
10351 * stdio-common/_itoa.c (_itoa): Likewise.
10352 * stdio-common/_itowa.c (_itowa): Likewise.
10353 * stdio-common/reg-printf.c (__register_printf_specifier):
10354 Likewise.
10355 (__register_printf_function): Likewise.
10356 * stdio-common/tempname.c (__path_search): Likewise.
10357 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10358 * stdlib/mul_1.c (mpn_mul_1): Likewise.
10359 * stdlib/random_r.c (__initstate_r): Likewise.
10360 * stdlib/setenv.c (__add_to_environ): Likewise.
10361 * stdlib/submul_1.c (mpn_submul_1): Likewise.
10362 * streams/getpmsg.c (getpmsg): Likewise.
10363 * streams/putmsg.c (putmsg): Likewise.
10364 * streams/putpmsg.c (putpmsg): Likewise.
10365 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10366 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10367 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10368 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10369 * sunrpc/pm_getport.c (pmap_getport): Likewise.
10370 * sunrpc/svc_udp.c (cache_get): Likewise.
10371 * sunrpc/xdr_array.c (xdr_vector): Likewise.
10372 * sysdeps/mach/hurd/getcwd.c
10373 (__canonicalize_directory_name_internal): Likewise.
10374 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10375 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10376 * sysdeps/mach/hurd/select.c (__select): Likewise.
10377 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10378 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10379 * sysdeps/sparc/nptl/pthread_barrier_init.c
10380 (__pthread_barrier_init): Likewise.
10381 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10382 (__pthread_cond_timedwait): Likewise.
10383 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10384 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10385 Likewise.
10386 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10387 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10388 Likewise.
10389 * sysvipc/semtimedop.c (semtimedop): Likewise.
10390 * time/setitimer.c (__setitimer): Likewise.
10391 * time/strftime_l.c (emacs_strftime): Likewise.
10392
10393 2015-10-19 Mike Frysinger <vapier@gentoo.org>
10394
10395 * config.make.in (have-ssp): Delete.
10396 (stack-protector): New variable.
10397 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
10398 cache test for -fstack-protector-strong. Export stack_protector to
10399 the best ssp flag.
10400 * configure: Regenerated.
10401 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10402 * nscd/Makefile (CFLAGS-nscd): Likewise.
10403 * resolv/Makefile (CFLAGS-libresolv): Likewise.
10404
10405 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 [BZ #19122]
10408 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10409 attribute_hidden.
10410
10411 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10412
10413 [BZ #18743]
10414 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10415 code to...
10416 (ELIDE_LOCK): ...here.
10417 (__get_new_count): New function with part of the code from
10418 __elide_lock that updates the value of adapt_count after a
10419 transaction abort.
10420 (__elided_trylock): Moved this code to...
10421 (ELIDE_TRYLOCK): ...here.
10422
10423 2015-10-19 Mike Frysinger <vapier@gentoo.org>
10424
10425 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10426 * configure: Regenerate.
10427 * INSTALL: Regenerate.
10428 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10429 and tweak grammar.
10430
10431 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
10432
10433 * login/programs/pt_chown.c: Include signal.h
10434 (main): Clear any signal mask from the parent process.
10435
10436 2015-10-19 Joseph Myers <joseph@codesourcery.com>
10437
10438 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10439 * configure: Regenerated.
10440 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10441 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10442 $(gnu89-inline-CFLAGS).
10443
10444 * configure.ac (libc_cv_asm_weak_directive): Remove configure
10445 test.
10446 (libc_cv_asm_weakext_directive): Likewise.
10447 * configure: Regenerated.
10448 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10449 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10450 * include/libc-symbols.h
10451 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10452 #error.
10453 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10454 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10455
10456 * sysdeps/arm/backtrace.c (__backtrace): Convert to
10457 prototype-style function definition.
10458 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10459 * sysdeps/i386/ffs.c (__ffs): Likewise.
10460 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10461 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10462 Likewise.
10463 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10464 Likewise.
10465 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10467 Likewise.
10468 * sysdeps/m68k/ffs.c (__ffs): Likewise.
10469 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10470 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10471 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10472 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10473 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10474 * sysdeps/mach/hurd/access.c (__access): Likewise.
10475 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10476 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10477 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10478 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10479 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10480 (cthread_getspecific): Likewise.
10481 (cthread_setspecific): Likewise.
10482 (__libc_getspecific): Likewise.
10483 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10484 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10485 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10486 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10487 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10488 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10489 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10490 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10491 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10492 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10493 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10494 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10495 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10496 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10497 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10498 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10499 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10500 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10501 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10502 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10503 * sysdeps/mach/hurd/link.c (__link): Likewise.
10504 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10505 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10506 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10507 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10508 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10509 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10510 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10511 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10512 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10513 * sysdeps/mach/hurd/rename.c (rename): Likewise.
10514 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10515 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10516 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10517 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10518 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10519 * sysdeps/mach/hurd/send.c (__send): Likewise.
10520 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10521 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10522 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10523 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10524 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10525 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10526 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10527 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10528 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10529 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10530 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10531 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10532 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10533 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10534 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10535 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10536 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10537 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10538 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10539 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10540 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10541 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10542 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10543 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10544 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10545 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10546 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10547 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10548 * sysdeps/posix/alarm.c (alarm): Likewise.
10549 * sysdeps/posix/cuserid.c (cuserid): Likewise.
10550 * sysdeps/posix/dirfd.c (dirfd): Likewise.
10551 * sysdeps/posix/dup.c (__dup): Likewise.
10552 * sysdeps/posix/dup2.c (__dup2): Likewise.
10553 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10554 (main): Likewise.
10555 * sysdeps/posix/flock.c (__flock): Likewise.
10556 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10557 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10558 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10559 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10560 * sysdeps/posix/isatty.c (__isatty): Likewise.
10561 * sysdeps/posix/killpg.c (killpg): Likewise.
10562 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10563 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10564 * sysdeps/posix/raise.c (raise): Likewise.
10565 * sysdeps/posix/remove.c (remove): Likewise.
10566 * sysdeps/posix/rename.c (rename): Likewise.
10567 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10568 * sysdeps/posix/seekdir.c (seekdir): Likewise.
10569 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10570 * sysdeps/posix/sigignore.c (sigignore): Likewise.
10571 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10572 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10573 * sysdeps/posix/sigset.c (sigset): Likewise.
10574 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10575 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10576 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10577 * sysdeps/posix/time.c (time): Likewise.
10578 * sysdeps/posix/ttyname.c (getttyname): Likewise.
10579 (ttyname): Likewise.
10580 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10581 * sysdeps/posix/utime.c (utime): Likewise.
10582 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10583 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10584 Likewise.
10585 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10586 (pthread_spin_trylock): Likewise.
10587 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10588 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10589 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10590 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10591 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10592 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10593 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10594 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10595 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10596 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10597 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10598 * sysdeps/s390/ffs.c (__ffs): Likewise.
10599 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10600 Likewise.
10601 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10602 Likewise.
10603 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10604 Likewise.
10605 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10606 (pthread_barrier_destroy): Likewise.
10607 * sysdeps/sparc/nptl/pthread_barrier_wait.c
10608 (__pthread_barrier_wait): Likewise.
10609 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10610 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10611 (__pthread_barrier_wait): Likewise.
10612 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10613 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10614 (memcmp_not_common_alignment): Likewise.
10615 (MEMCMP): Likewise.
10616 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10617 (_wordcopy_fwd_dest_aligned): Likewise.
10618 (_wordcopy_bwd_aligned): Likewise.
10619 (_wordcopy_bwd_dest_aligned): Likewise.
10620 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10621 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10622 * sysdeps/unix/bsd/stty.c (stty): Likewise.
10623 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10624 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10625 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10626 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10627 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10628 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10629 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10630 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10631 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10632 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10633 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10634 * sysdeps/unix/stime.c (stime): Likewise.
10635 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10636 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10637 Likewise. Use internal_function.
10638 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10639 Convert to prototype-style function definition.
10640 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10641 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10642 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10643 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10644 Likewise. Use internal_function.
10645 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10646 prototype-style function definition
10647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10648 Likewise.
10649 (__getlogin_r): Likewise.
10650 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10651 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10652 (__pthread_cond_broadcast): Likewise.
10653 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10654 (__pthread_cond_destroy): Likewise.
10655 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10656 (__pthread_cond_init): Likewise.
10657 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10658 (__pthread_cond_signal): Likewise.
10659 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10660 (__pthread_cond_wait): Likewise.
10661 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10662 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10663 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10664 Likewise.
10665 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10666 Likewise.
10667 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10668 Likewise.
10669 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10670 Likewise.
10671 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10673 (__ftruncate64): Likewise.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10675 (truncate64): Likewise.
10676 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10677 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10678 (pthread_getcpuclockid): Likewise.
10679 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10680 Likewise.
10681 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10682 Likewise.
10683 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10684 Likewise.
10685 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10686 Likewise.
10687 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10688 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10689 (__libc_sigaction): Likewise.
10690 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10691 Likewise.
10692 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10693 (__sigprocmask): Likewise.
10694 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10695 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10696 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10697 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10698 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10699 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10700 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10701 Likewise.
10702 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10703 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10704 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10705 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10707 Likewise.
10708 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10709 (__sigprocmask): Likewise.
10710 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10711 (cfgetispeed): Likewise.
10712 (cfsetospeed): Likewise.
10713 (cfsetispeed): Likewise.
10714 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10715 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10716 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10717 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10718 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10719 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10720 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10721 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10722 Likewise.
10723 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10724 Likewise.
10725 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10726 Likewise.
10727 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10728 Likewise.
10729 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10730
10731 2015-10-17 Florian Weimer <fweimer@redhat.com>
10732
10733 sunrpc: Rewrite with explicit TLS access using __thread.
10734 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10735 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10736 directly.
10737 (__rpc_thread_variables): Access thread_rpc_vars directly.
10738 Eliminate redundant assignment of the tvp variable.
10739
10740 2015-10-17 Florian Weimer <fweimer@redhat.com>
10741
10742 malloc: Rewrite with explicit TLS access using __thread.
10743 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10744 (tsd_setspecific, tsd_getspecific): Remove.
10745 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10746 (tsd_setspecific, tsd_getspecific): Likewise.
10747 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10748 (tsd_setspecific, tsd_getspecific): Likewise.
10749 * malloc/arena.c (thread_arena): New TLS variable.
10750 (arena_key): Remove variable.
10751 (arena_get): Use thread_arena.
10752 (arena_lookup): Remove macro.
10753 (malloc_atfork, free_atfork, ptmalloc_lock_all)
10754 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10755 (_int_new_arena, get_free_list, reused_arena)
10756 (arena_thread_freeres): Use thread_arena.
10757 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10758 tsd_getspecific, tsd_setspecific from safety annotations.
10759 (Allocating Cleared Space): Remove arena_lookup from safety
10760 annotations.
10761
10762 2015-10-17 Florian Weimer <fweimer@redhat.com>
10763
10764 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10765 struct scratch_buffer instead of extend_alloca.
10766
10767 2015-10-17 Florian Weimer <fweimer@redhat.com>
10768
10769 * sysdeps/unix/sysv/linux/kernel-features.h
10770 (__ASSUME_SOCK_CLOEXEC): Remove.
10771 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10772 (__have_paccept): Remove unused macro.
10773 * include/unistd.h (__have_sock_cloexec): Remove declaration.
10774 * misc/syslog.c (openlog_internal): Remove fallback code for
10775 !__ASSUME_SOCK_CLOEXEC.
10776 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10777 missing SOCK_CLOEXEC.
10778 * nscd/connections.c (have_sock_cloexec): Remove definition.
10779 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10780 * nscd/nscd_helper.c (open_socket): Remove fallback code for
10781 !__ASSUME_SOCK_CLOEXEC.
10782 * resolv/res_send.c (__have_o_nonblock): Remove definition.
10783 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10784 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10785 definition.
10786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10787 code for !__ASSUME_SOCK_CLOEXEC.
10788
10789 2015-10-17 Florian Weimer <fweimer@redhat.com>
10790
10791 [BZ #18982]
10792 * manual/stdio.texi (Variable Arguments Output): Add portability
10793 note, explaining that vfprintf clobbers the va_list pointer.
10794
10795 2015-10-16 Joseph Myers <joseph@codesourcery.com>
10796
10797 * math/libm-test.inc (fabs_test_data): Add more tests.
10798 (fdim_test_data): Likewise.
10799 (fma_test_data): Likewise.
10800 (fmax_test_data): Likewise.
10801 (fmin_test_data): Likewise.
10802 (fmod_test_data): Likewise.
10803
10804 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
10805
10806 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
10807 data.
10808
10809 2015-10-16 Joseph Myers <joseph@codesourcery.com>
10810
10811 * math/libm-test.inc (ceil_test_data): Add more tests and more
10812 expectations for "inexact".
10813 (floor_test_data): Add more tests.
10814 (round_test_data): Likewise.
10815 (trunc_test_data): Likewise.
10816
10817 * crypt/cert.c (good_bye): Convert to prototype-style function
10818 definition.
10819 (get8): Likewise.
10820 (put8): Likewise.
10821 * crypt/crypt-entry.c (crypt): Likewise.
10822 (__fcrypt): Likewise.
10823 * crypt/crypt_util.c (_ufc_prbits): Likewise.
10824 (_ufc_set_bits): Likewise.
10825 (_ufc_clearmem): Likewise.
10826 (__init_des_r): Likewise.
10827 (shuffle_sb): Likewise.
10828 (shuffle_sb): Likewise.
10829 (_ufc_setup_salt_r): Likewise.
10830 (_ufc_mk_keytab_r): Likewise.
10831 (_ufc_dofinalperm_r): Likewise.
10832 (encrypt): Likewise.
10833 (__setkey_r): Likewise.
10834 (setkey): Likewise.
10835 * crypt/md5.c (md5_init_ctx): Likewise.
10836 (md5_read_ctx): Likewise.
10837 (md5_finish_ctx): Likewise.
10838 (md5_stream): Likewise.
10839 (md5_buffer): Likewise.
10840 (md5_process_bytes): Likewise.
10841 * crypt/sha256.c (__sha256_init_ctx): Likewise.
10842 (__sha256_finish_ctx): Likewise.
10843 (__sha256_process_bytes): Likewise.
10844 * crypt/sha512.c (__sha512_init_ctx): Likewise.
10845 (__sha512_finish_ctx): Likewise.
10846 (__sha512_process_bytes): Likewise.
10847 * ctype/isctype.c (__isctype): Likewise.
10848 * debug/backtrace.c (__backtrace): Likewise.
10849 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10850 * debug/fgets_chk.c (__fgets_chk): Likewise.
10851 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10852 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10853 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10854 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10855 * debug/memset_chk.c (__memset_chk): Likewise.
10856 * debug/strcat_chk.c (__strcat_chk): Likewise.
10857 * debug/strncat_chk.c (__strncat_chk): Likewise.
10858 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10859 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10860 * dirent/dirfd.c (dirfd): Likewise.
10861 * dirent/getdents.c (__getdirentries): Likewise.
10862 * dirent/getdents64.c (getdirentries64): Likewise.
10863 * dirent/rewinddir.c (__rewinddir): Likewise.
10864 * dirent/seekdir.c (seekdir): Likewise.
10865 * dirent/telldir.c (telldir): Likewise.
10866 * elf/sln.c (makesymlinks): Likewise.
10867 (makesymlink): Likewise.
10868 * gmon/gmon.c (__moncontrol): Likewise.
10869 (__monstartup): Likewise.
10870 (write_hist): Likewise.
10871 (write_call_graph): Likewise.
10872 (write_bb_counts): Likewise.
10873 * grp/setgroups.c (setgroups): Likewise.
10874 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10875 * inet/inet_net.c (inet_network): Likewise.
10876 * inet/inet_netof.c (inet_netof): Likewise.
10877 * inet/rcmd.c (rresvport_af): Likewise.
10878 (rresvport): Likewise.
10879 * io/access.c (__access): Likewise.
10880 * io/chdir.c (__chdir): Likewise.
10881 * io/chmod.c (__chmod): Likewise.
10882 * io/chown.c (__chown): Likewise.
10883 * io/close.c (__close): Likewise.
10884 * io/creat.c (creat): Likewise.
10885 * io/creat64.c (creat64): Likewise.
10886 * io/dup.c (__dup): Likewise.
10887 * io/dup2.c (__dup2): Likewise.
10888 * io/dup3.c (__dup3): Likewise.
10889 * io/euidaccess.c (__euidaccess): Likewise.
10890 * io/faccessat.c (faccessat): Likewise.
10891 * io/fchmod.c (__fchmod): Likewise.
10892 * io/fchmodat.c (fchmodat): Likewise.
10893 * io/fchown.c (__fchown): Likewise.
10894 * io/fchownat.c (fchownat): Likewise.
10895 * io/fcntl.c (__fcntl): Likewise.
10896 * io/flock.c (__flock): Likewise.
10897 * io/fts.c (fts_load): Likewise.
10898 (fts_close): Likewise.
10899 (fts_read): Likewise.
10900 (fts_set): Likewise.
10901 (fts_children): Likewise.
10902 (fts_build): Likewise.
10903 (fts_stat): Likewise.
10904 (fts_sort): Likewise.
10905 (fts_alloc): Likewise.
10906 (fts_lfree): Likewise.
10907 (fts_palloc): Likewise.
10908 (fts_padjust): Likewise.
10909 (fts_maxarglen): Likewise.
10910 (fts_safe_changedir): Likewise.
10911 * io/getwd.c (getwd): Likewise.
10912 * io/isatty.c (__isatty): Likewise.
10913 * io/lchown.c (__lchown): Likewise.
10914 * io/link.c (__link): Likewise.
10915 * io/linkat.c (linkat): Likewise.
10916 * io/lseek.c (__libc_lseek): Likewise.
10917 * io/mkdir.c (__mkdir): Likewise.
10918 * io/mkdirat.c (mkdirat): Likewise.
10919 * io/mkfifo.c (mkfifo): Likewise.
10920 * io/mkfifoat.c (mkfifoat): Likewise.
10921 * io/open.c (__libc_open): Likewise.
10922 * io/open64.c (__libc_open64): Likewise.
10923 * io/readlink.c (__readlink): Likewise.
10924 * io/readlinkat.c (readlinkat): Likewise.
10925 * io/rmdir.c (__rmdir): Likewise.
10926 * io/symlink.c (__symlink): Likewise.
10927 * io/symlinkat.c (symlinkat): Likewise.
10928 * io/ttyname.c (ttyname): Likewise.
10929 * io/ttyname_r.c (__ttyname_r): Likewise.
10930 * io/umask.c (__umask): Likewise.
10931 * io/unlink.c (__unlink): Likewise.
10932 * io/unlinkat.c (unlinkat): Likewise.
10933 * io/utime.c (utime): Likewise.
10934 * libio/clearerr.c (clearerr): Likewise.
10935 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10936 * libio/feof.c (_IO_feof): Likewise.
10937 * libio/feof_u.c (feof_unlocked): Likewise.
10938 * libio/ferror.c (_IO_ferror): Likewise.
10939 * libio/ferror_u.c (ferror_unlocked): Likewise.
10940 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10941 * libio/fileno.c (__fileno): Likewise.
10942 * libio/fputc.c (fputc): Likewise.
10943 * libio/fputc_u.c (fputc_unlocked): Likewise.
10944 * libio/fputwc.c (fputwc): Likewise.
10945 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10946 * libio/freopen.c (freopen): Likewise.
10947 * libio/freopen64.c (freopen64): Likewise.
10948 * libio/fseek.c (fseek): Likewise.
10949 * libio/fseeko.c (fseeko): Likewise.
10950 * libio/fseeko64.c (fseeko64): Likewise.
10951 * libio/ftello.c (__ftello): Likewise.
10952 * libio/ftello64.c (ftello64): Likewise.
10953 * libio/fwide.c (fwide): Likewise.
10954 * libio/genops.c (_IO_un_link): Likewise.
10955 (_IO_link_in): Likewise.
10956 (_IO_least_marker): Likewise.
10957 (_IO_switch_to_main_get_area): Likewise.
10958 (_IO_switch_to_backup_area): Likewise.
10959 (_IO_switch_to_get_mode): Likewise.
10960 (_IO_free_backup_area): Likewise.
10961 (_IO_switch_to_put_mode): Likewise.
10962 (__overflow): Likewise.
10963 (__underflow): Likewise.
10964 (__uflow): Likewise.
10965 (_IO_setb): Likewise.
10966 (_IO_doallocbuf): Likewise.
10967 (_IO_default_underflow): Likewise.
10968 (_IO_default_uflow): Likewise.
10969 (_IO_default_xsputn): Likewise.
10970 (_IO_sgetn): Likewise.
10971 (_IO_default_xsgetn): Likewise.
10972 (_IO_sync): Likewise.
10973 (_IO_default_setbuf): Likewise.
10974 (_IO_default_seekpos): Likewise.
10975 (_IO_default_doallocate): Likewise.
10976 (_IO_init): Likewise.
10977 (_IO_old_init): Likewise.
10978 (_IO_default_sync): Likewise.
10979 (_IO_default_finish): Likewise.
10980 (_IO_default_seekoff): Likewise.
10981 (_IO_sputbackc): Likewise.
10982 (_IO_sungetc): Likewise.
10983 (_IO_set_column): Likewise.
10984 (_IO_set_column): Likewise.
10985 (_IO_adjust_column): Likewise.
10986 (_IO_get_column): Likewise.
10987 (_IO_init_marker): Likewise.
10988 (_IO_remove_marker): Likewise.
10989 (_IO_marker_difference): Likewise.
10990 (_IO_marker_delta): Likewise.
10991 (_IO_seekmark): Likewise.
10992 (_IO_unsave_markers): Likewise.
10993 (_IO_nobackup_pbackfail): Likewise.
10994 (_IO_default_pbackfail): Likewise.
10995 (_IO_default_seek): Likewise.
10996 (_IO_default_stat): Likewise.
10997 (_IO_default_read): Likewise.
10998 (_IO_default_write): Likewise.
10999 (_IO_default_showmanyc): Likewise.
11000 (_IO_default_imbue): Likewise.
11001 (_IO_iter_next): Likewise.
11002 (_IO_iter_file): Likewise.
11003 * libio/getc.c (_IO_getc): Likewise.
11004 * libio/getwc.c (_IO_getwc): Likewise.
11005 * libio/iofclose.c (_IO_new_fclose): Likewise.
11006 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11007 * libio/iofflush.c (_IO_fflush): Likewise.
11008 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11009 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11010 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11011 * libio/iofgets.c (_IO_fgets): Likewise.
11012 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11013 * libio/iofgetws.c (fgetws): Likewise.
11014 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11015 * libio/iofopen64.c (_IO_fopen64): Likewise.
11016 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11017 (_IO_cookie_write): Likewise.
11018 (_IO_cookie_seek): Likewise.
11019 (_IO_cookie_close): Likewise.
11020 (_IO_cookie_seekoff): Likewise.
11021 (_IO_old_cookie_seek): Likewise.
11022 * libio/iofputs.c (_IO_fputs): Likewise.
11023 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11024 * libio/iofputws.c (fputws): Likewise.
11025 * libio/iofputws_u.c (fputws_unlocked): Likewise.
11026 * libio/iofread.c (_IO_fread): Likewise.
11027 * libio/iofread_u.c (__fread_unlocked): Likewise.
11028 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11029 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11030 * libio/ioftell.c (_IO_ftell): Likewise.
11031 * libio/iofwrite.c (_IO_fwrite): Likewise.
11032 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11033 * libio/iogets.c (_IO_gets): Likewise.
11034 * libio/iopadn.c (_IO_padn): Likewise.
11035 * libio/iopopen.c (_IO_new_proc_open): Likewise.
11036 (_IO_new_popen): Likewise.
11037 (_IO_new_proc_close): Likewise.
11038 * libio/ioputs.c (_IO_puts): Likewise.
11039 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11040 (_IO_seekoff): Likewise.
11041 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11042 (_IO_seekpos): Likewise.
11043 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11044 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11045 * libio/ioungetc.c (_IO_ungetc): Likewise.
11046 * libio/ioungetwc.c (ungetwc): Likewise.
11047 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11048 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11049 * libio/iowpadn.c (_IO_wpadn): Likewise.
11050 * libio/libc_fatal.c (__libc_fatal): Likewise.
11051 * libio/memstream.c (__open_memstream): Likewise.
11052 (_IO_mem_sync): Likewise.
11053 (_IO_mem_finish): Likewise.
11054 * libio/oldfileops.c (_IO_old_file_init): Likewise.
11055 (_IO_old_file_close_it): Likewise.
11056 (_IO_old_file_finish): Likewise.
11057 (_IO_old_file_fopen): Likewise.
11058 (_IO_old_file_attach): Likewise.
11059 (_IO_old_file_setbuf): Likewise.
11060 (_IO_old_do_write): Likewise.
11061 (old_do_write): Likewise.
11062 (_IO_old_file_underflow): Likewise.
11063 (_IO_old_file_overflow): Likewise.
11064 (_IO_old_file_sync): Likewise.
11065 (_IO_old_file_seekoff): Likewise.
11066 (_IO_old_file_write): Likewise.
11067 (_IO_old_file_xsputn): Likewise.
11068 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11069 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11070 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11071 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11072 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11073 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11074 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11075 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11076 (_IO_old_popen): Likewise.
11077 (_IO_old_proc_close): Likewise.
11078 * libio/oldpclose.c (__old_pclose): Likewise.
11079 * libio/pclose.c (__new_pclose): Likewise.
11080 * libio/peekc.c (_IO_peekc_locked): Likewise.
11081 * libio/putc.c (_IO_putc): Likewise.
11082 * libio/putc_u.c (putc_unlocked): Likewise.
11083 * libio/putchar.c (putchar): Likewise.
11084 * libio/putchar_u.c (putchar_unlocked): Likewise.
11085 * libio/putwc.c (putwc): Likewise.
11086 * libio/putwc_u.c (putwc_unlocked): Likewise.
11087 * libio/putwchar.c (putwchar): Likewise.
11088 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11089 * libio/rewind.c (rewind): Likewise.
11090 * libio/setbuf.c (setbuf): Likewise.
11091 * libio/setlinebuf.c (setlinebuf): Likewise.
11092 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11093 * libio/vscanf.c (_IO_vscanf): Likewise.
11094 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11095 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11096 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11097 * libio/wgenops.c (_IO_least_wmarker): Likewise.
11098 (_IO_switch_to_main_wget_area): Likewise.
11099 (_IO_switch_to_wbackup_area): Likewise.
11100 (_IO_wsetb): Likewise.
11101 (_IO_wdefault_pbackfail): Likewise.
11102 (_IO_wdefault_finish): Likewise.
11103 (_IO_wdefault_uflow): Likewise.
11104 (__woverflow): Likewise.
11105 (__wuflow): Likewise.
11106 (__wunderflow): Likewise.
11107 (_IO_wdefault_xsputn): Likewise.
11108 (_IO_wdefault_xsgetn): Likewise.
11109 (_IO_wdoallocbuf): Likewise.
11110 (_IO_wdefault_doallocate): Likewise.
11111 (_IO_switch_to_wget_mode): Likewise.
11112 (_IO_free_wbackup_area): Likewise.
11113 (_IO_switch_to_wput_mode): Likewise.
11114 (_IO_sputbackwc): Likewise.
11115 (_IO_sungetwc): Likewise.
11116 (_IO_adjust_wcolumn): Likewise.
11117 (_IO_init_wmarker): Likewise.
11118 (_IO_wmarker_delta): Likewise.
11119 (_IO_seekwmark): Likewise.
11120 (_IO_unsave_wmarkers): Likewise.
11121 * libio/wmemstream.c (open_wmemstream): Likewise.
11122 (_IO_wmem_sync): Likewise.
11123 (_IO_wmem_finish): Likewise.
11124 * locale/nl_langinfo.c (nl_langinfo): Likewise.
11125 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11126 * locale/programs/simple-hash.c (init_hash): Likewise.
11127 (delete_hash): Likewise.
11128 (insert_entry): Likewise.
11129 (set_entry): Likewise.
11130 (next_prime): Likewise.
11131 (is_prime): Likewise.
11132 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11133 (xmalloc): Likewise.
11134 (xrealloc): Likewise.
11135 * locale/programs/xstrdup.c (xstrdup): Likewise.
11136 * localedata/collate-test.c (xstrcoll): Likewise.
11137 * localedata/xfrm-test.c (xstrcmp): Likewise.
11138 * login/getlogin_r.c (__getlogin_r): Likewise.
11139 * login/getpt.c (__posix_openpt): Likewise.
11140 * login/login_tty.c (login_tty): Likewise.
11141 * login/setlogin.c (setlogin): Likewise.
11142 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11143 (mach_msg_destroy_port): Likewise.
11144 (mach_msg_destroy_memory): Likewise.
11145 * malloc/mcheck.c (flood): Likewise.
11146 * misc/acct.c (acct): Likewise.
11147 * misc/brk.c (__brk): Likewise.
11148 * misc/chflags.c (chflags): Likewise.
11149 * misc/chroot.c (chroot): Likewise.
11150 * misc/fchflags.c (fchflags): Likewise.
11151 * misc/fstab.c (getfsspec): Likewise.
11152 (getfsfile): Likewise.
11153 * misc/fsync.c (fsync): Likewise.
11154 * misc/ftruncate.c (__ftruncate): Likewise.
11155 * misc/ftruncate64.c (__ftruncate64): Likewise.
11156 * misc/getdomain.c (getdomainname): Likewise.
11157 (getdomainname): Likewise.
11158 * misc/gethostname.c (__gethostname): Likewise.
11159 * misc/getpass.c (getpass): Likewise.
11160 * misc/getttyent.c (skip): Likewise.
11161 (value): Likewise.
11162 * misc/gtty.c (gtty): Likewise.
11163 * misc/hsearch.c (hsearch): Likewise.
11164 (hcreate): Likewise.
11165 * misc/hsearch_r.c (__hcreate_r): Likewise.
11166 (__hdestroy_r): Likewise.
11167 * misc/ioctl.c (__ioctl): Likewise.
11168 * misc/mkdtemp.c (mkdtemp): Likewise.
11169 * misc/mkostemp.c (mkostemp): Likewise.
11170 * misc/mkostemp64.c (mkostemp64): Likewise.
11171 * misc/mkostemps.c (mkostemps): Likewise.
11172 * misc/mkostemps64.c (mkostemps64): Likewise.
11173 * misc/mkstemp.c (mkstemp): Likewise.
11174 * misc/mkstemp64.c (mkstemp64): Likewise.
11175 * misc/mkstemps.c (mkstemps): Likewise.
11176 * misc/mkstemps64.c (mkstemps64): Likewise.
11177 * misc/mktemp.c (__mktemp): Likewise.
11178 * misc/preadv.c (preadv): Likewise.
11179 * misc/preadv64.c (preadv64): Likewise.
11180 * misc/pwritev.c (pwritev): Likewise.
11181 * misc/pwritev64.c (pwritev64): Likewise.
11182 * misc/readv.c (__readv): Likewise.
11183 * misc/revoke.c (revoke): Likewise.
11184 * misc/setdomain.c (setdomainname): Likewise.
11185 * misc/setegid.c (setegid): Likewise.
11186 * misc/seteuid.c (seteuid): Likewise.
11187 * misc/sethostid.c (sethostid): Likewise.
11188 * misc/sethostname.c (sethostname): Likewise.
11189 * misc/setregid.c (__setregid): Likewise.
11190 * misc/setreuid.c (__setreuid): Likewise.
11191 * misc/sstk.c (sstk): Likewise.
11192 * misc/stty.c (stty): Likewise.
11193 * misc/syscall.c (syscall): Likewise.
11194 * misc/syslog.c (setlogmask): Likewise.
11195 * misc/truncate.c (__truncate): Likewise.
11196 * misc/truncate64.c (truncate64): Likewise.
11197 * misc/ualarm.c (ualarm): Likewise.
11198 * misc/usleep.c (usleep): Likewise.
11199 * misc/ustat.c (ustat): Likewise.
11200 * misc/writev.c (__writev): Likewise.
11201 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11202 * nptl/old_pthread_cond_broadcast.c
11203 (__pthread_cond_broadcast_2_0): Likewise.
11204 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11205 Likewise.
11206 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11207 Likewise.
11208 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11209 Likewise.
11210 * nptl/pt-raise.c (raise): Likewise.
11211 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11212 Likewise.
11213 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11214 * nptl/pthread_barrierattr_destroy.c
11215 (pthread_barrierattr_destroy): Likewise.
11216 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11217 Likewise.
11218 * nptl/pthread_barrierattr_setpshared.c
11219 (pthread_barrierattr_setpshared): Likewise.
11220 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11221 Likewise.
11222 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11223 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11224 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11225 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11226 Likewise.
11227 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11228 Likewise.
11229 * nptl/pthread_condattr_getpshared.c
11230 (pthread_condattr_getpshared): Likewise.
11231 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11232 Likewise.
11233 * nptl/pthread_condattr_setpshared.c
11234 (pthread_condattr_setpshared): Likewise.
11235 * nptl/pthread_detach.c (pthread_detach): Likewise.
11236 * nptl/pthread_equal.c (__pthread_equal): Likewise.
11237 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11238 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11239 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11240 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11241 Likewise.
11242 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11243 Likewise.
11244 * nptl/pthread_mutex_getprioceiling.c
11245 (pthread_mutex_getprioceiling): Likewise.
11246 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11247 Likewise.
11248 * nptl/pthread_mutexattr_getprotocol.c
11249 (pthread_mutexattr_getprotocol): Likewise.
11250 * nptl/pthread_mutexattr_getpshared.c
11251 (pthread_mutexattr_getpshared): Likewise.
11252 * nptl/pthread_mutexattr_getrobust.c
11253 (pthread_mutexattr_getrobust): Likewise.
11254 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11255 Likewise.
11256 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11257 Likewise.
11258 * nptl/pthread_mutexattr_setprioceiling.c
11259 (pthread_mutexattr_setprioceiling): Likewise.
11260 * nptl/pthread_mutexattr_setprotocol.c
11261 (pthread_mutexattr_setprotocol): Likewise.
11262 * nptl/pthread_mutexattr_setpshared.c
11263 (pthread_mutexattr_setpshared): Likewise.
11264 * nptl/pthread_mutexattr_setrobust.c
11265 (pthread_mutexattr_setrobust): Likewise.
11266 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11267 Likewise.
11268 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11269 Likewise.
11270 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11271 Likewise.
11272 * nptl/pthread_rwlockattr_getkind_np.c
11273 (pthread_rwlockattr_getkind_np): Likewise.
11274 * nptl/pthread_rwlockattr_getpshared.c
11275 (pthread_rwlockattr_getpshared): Likewise.
11276 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11277 Likewise.
11278 * nptl/pthread_rwlockattr_setkind_np.c
11279 (pthread_rwlockattr_setkind_np): Likewise.
11280 * nptl/pthread_rwlockattr_setpshared.c
11281 (pthread_rwlockattr_setpshared): Likewise.
11282 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11283 Likewise.
11284 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11285 Likewise.
11286 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11287 Likewise.
11288 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11289 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11290 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11291 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11292 * nptl/sem_close.c (sem_close): Likewise.
11293 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11294 * nptl/sem_init.c (__old_sem_init): Likewise.
11295 * nptl/sigaction.c (__sigaction): Likewise.
11296 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11297 * posix/_exit.c (_exit): Likewise.
11298 * posix/alarm.c (alarm): Likewise.
11299 * posix/confstr.c (confstr): Likewise.
11300 * posix/fpathconf.c (__fpathconf): Likewise.
11301 * posix/getgroups.c (__getgroups): Likewise.
11302 * posix/getpgid.c (__getpgid): Likewise.
11303 * posix/group_member.c (__group_member): Likewise.
11304 * posix/pathconf.c (__pathconf): Likewise.
11305 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11306 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11307 * posix/setgid.c (__setgid): Likewise.
11308 * posix/setpgid.c (__setpgid): Likewise.
11309 * posix/setuid.c (__setuid): Likewise.
11310 * posix/sleep.c (__sleep): Likewise.
11311 * posix/sysconf.c (__sysconf): Likewise.
11312 * posix/times.c (__times): Likewise.
11313 * posix/uname.c (__uname): Likewise.
11314 * posix/waitid.c (__waitid): Likewise.
11315 * pwd/getpw.c (__getpw): Likewise.
11316 * resolv/base64.c (b64_pton): Likewise.
11317 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11318 * resolv/gethnamaddr.c (Dprintf): Likewise.
11319 (gethostbyname): Likewise.
11320 (gethostbyname2): Likewise.
11321 (gethostbyaddr): Likewise.
11322 (_sethtent): Likewise.
11323 (_gethtbyname): Likewise.
11324 (_gethtbyname2): Likewise.
11325 (_gethtbyaddr): Likewise.
11326 (map_v4v6_address): Likewise.
11327 (map_v4v6_hostent): Likewise.
11328 (addrsort): Likewise.
11329 (ht_sethostent): Likewise.
11330 (ht_gethostbyname): Likewise.
11331 (ht_gethostbyaddr): Likewise.
11332 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11333 (inet_net_ntop_ipv4): Likewise.
11334 * resolv/inet_neta.c (inet_neta): Likewise.
11335 * resolv/inet_ntop.c (inet_ntop): Likewise.
11336 (inet_ntop4): Likewise.
11337 (inet_ntop6): Likewise.
11338 * resolv/inet_pton.c (__inet_pton): Likewise.
11339 (inet_pton4): Likewise.
11340 (inet_pton6): Likewise.
11341 * resolv/res_debug.c (loc_aton): Likewise.
11342 (loc_ntoa): Likewise.
11343 * resource/getpriority.c (__getpriority): Likewise.
11344 * resource/getrusage.c (__getrusage): Likewise.
11345 * resource/nice.c (nice): Likewise.
11346 * resource/setpriority.c (__setpriority): Likewise.
11347 * resource/setrlimit64.c (setrlimit64): Likewise.
11348 * resource/vlimit.c (vlimit): Likewise.
11349 * resource/vtimes.c (vtimes): Likewise.
11350 * rt/aio_error.c (aio_error): Likewise.
11351 * rt/aio_return.c (aio_return): Likewise.
11352 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11353 * signal/kill.c (__kill): Likewise.
11354 * signal/killpg.c (killpg): Likewise.
11355 * signal/raise.c (raise): Likewise.
11356 * signal/sigaction.c (__sigaction): Likewise.
11357 * signal/sigaddset.c (sigaddset): Likewise.
11358 * signal/sigaltstack.c (sigaltstack): Likewise.
11359 * signal/sigandset.c (sigandset): Likewise.
11360 * signal/sigblock.c (__sigblock): Likewise.
11361 * signal/sigdelset.c (sigdelset): Likewise.
11362 * signal/sigempty.c (sigemptyset): Likewise.
11363 * signal/sigfillset.c (sigfillset): Likewise.
11364 * signal/sighold.c (sighold): Likewise.
11365 * signal/sigignore.c (sigignore): Likewise.
11366 * signal/sigintr.c (siginterrupt): Likewise.
11367 * signal/sigisempty.c (sigisemptyset): Likewise.
11368 * signal/sigismem.c (sigismember): Likewise.
11369 * signal/signal.c (signal): Likewise.
11370 * signal/sigorset.c (sigorset): Likewise.
11371 * signal/sigpause.c (__sigpause): Likewise.
11372 * signal/sigpending.c (sigpending): Likewise.
11373 * signal/sigprocmask.c (__sigprocmask): Likewise.
11374 * signal/sigrelse.c (sigrelse): Likewise.
11375 * signal/sigreturn.c (__sigreturn): Likewise.
11376 * signal/sigset.c (sigset): Likewise.
11377 * signal/sigsetmask.c (__sigsetmask): Likewise.
11378 * signal/sigstack.c (sigstack): Likewise.
11379 * signal/sigsuspend.c (__sigsuspend): Likewise.
11380 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11381 * signal/sysv_signal.c (__sysv_signal): Likewise.
11382 * socket/accept.c (accept): Likewise.
11383 * socket/accept4.c (__libc_accept4): Likewise.
11384 * socket/bind.c (__bind): Likewise.
11385 * socket/connect.c (__connect): Likewise.
11386 * socket/getpeername.c (getpeername): Likewise.
11387 * socket/getsockname.c (__getsockname): Likewise.
11388 * socket/getsockopt.c (getsockopt): Likewise.
11389 * socket/listen.c (__listen): Likewise.
11390 * socket/recv.c (__recv): Likewise.
11391 * socket/recvmsg.c (__recvmsg): Likewise.
11392 * socket/send.c (__send): Likewise.
11393 * socket/sendmsg.c (__sendmsg): Likewise.
11394 * socket/shutdown.c (shutdown): Likewise.
11395 * socket/sockatmark.c (sockatmark): Likewise.
11396 * socket/socket.c (__socket): Likewise.
11397 * stdio-common/ctermid.c (ctermid): Likewise.
11398 * stdio-common/cuserid.c (cuserid): Likewise.
11399 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11400 * stdio-common/remove.c (remove): Likewise.
11401 * stdio-common/rename.c (rename): Likewise.
11402 * stdio-common/renameat.c (renameat): Likewise.
11403 * stdio-common/tempname.c (__gen_tempname): Likewise.
11404 * stdio-common/xbug.c (InitBuffer): Likewise.
11405 (AppendToBuffer): Likewise.
11406 (ReadFile): Likewise.
11407 * stdlib/a64l.c (a64l): Likewise.
11408 * stdlib/drand48_r.c (drand48_r): Likewise.
11409 * stdlib/getcontext.c (getcontext): Likewise.
11410 * stdlib/getenv.c (getenv): Likewise.
11411 * stdlib/l64a.c (l64a): Likewise.
11412 * stdlib/llabs.c (llabs): Likewise.
11413 * stdlib/lldiv.c (lldiv): Likewise.
11414 * stdlib/lrand48_r.c (lrand48_r): Likewise.
11415 * stdlib/mrand48_r.c (mrand48_r): Likewise.
11416 * stdlib/putenv.c (putenv): Likewise.
11417 * stdlib/random.c (__srandom): Likewise.
11418 (__initstate): Likewise.
11419 (__setstate): Likewise.
11420 * stdlib/random_r.c (__srandom_r): Likewise.
11421 (__setstate_r): Likewise.
11422 (__random_r): Likewise.
11423 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11424 * stdlib/setcontext.c (setcontext): Likewise.
11425 * stdlib/setenv.c (setenv): Likewise.
11426 (unsetenv): Likewise.
11427 * stdlib/srand48.c (srand48): Likewise.
11428 * stdlib/srand48_r.c (__srand48_r): Likewise.
11429 * stdlib/swapcontext.c (swapcontext): Likewise.
11430 * stdlib/system.c (__libc_system): Likewise.
11431 * stdlib/tst-strtod.c (expand): Likewise.
11432 * stdlib/tst-strtol.c (expand): Likewise.
11433 * stdlib/tst-strtoll.c (expand): Likewise.
11434 * streams/fattach.c (fattach): Likewise.
11435 * streams/fdetach.c (fdetach): Likewise.
11436 * streams/getmsg.c (getmsg): Likewise.
11437 * streams/isastream.c (isastream): Likewise.
11438 * string/ffs.c (__ffs): Likewise.
11439 * string/ffsll.c (ffsll): Likewise.
11440 * string/memcmp.c (memcmp_common_alignment): Likewise.
11441 (memcmp_not_common_alignment): Likewise.
11442 (MEMCMP): Likewise.
11443 * string/memcpy.c (memcpy): Likewise.
11444 * string/memmove.c (MEMMOVE): Likewise.
11445 * string/memset.c (memset): Likewise.
11446 * string/rawmemchr.c (RAWMEMCHR): Likewise.
11447 * string/strchrnul.c (STRCHRNUL): Likewise.
11448 * string/strerror.c (strerror): Likewise.
11449 * string/strndup.c (__strndup): Likewise.
11450 * string/strverscmp.c (__strverscmp): Likewise.
11451 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11452 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11453 (clnttcp_freeres): Likewise.
11454 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11455 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11456 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11457 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11458 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11459 (xdr_callhdr): Likewise.
11460 * sunrpc/rpcinfo.c (udpping): Likewise.
11461 (tcpping): Likewise.
11462 (pstatus): Likewise.
11463 (pmapdump): Likewise.
11464 (brdcst): Likewise.
11465 (deletereg): Likewise.
11466 (getprognum): Likewise.
11467 (getvers): Likewise.
11468 (get_inet_address): Likewise.
11469 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11471 (svcudp_stat): Likewise.
11472 (svcudp_recv): Likewise.
11473 (svcudp_reply): Likewise.
11474 (svcudp_getargs): Likewise.
11475 (svcudp_freeargs): Likewise.
11476 (svcudp_destroy): Likewise.
11477 * sunrpc/xdr.c (xdr_bytes): Likewise.
11478 (xdr_netobj): Likewise.
11479 (xdr_string): Likewise.
11480 (xdr_wrapstring): Likewise.
11481 * sunrpc/xdr_float.c (xdr_float): Likewise.
11482 (xdr_double): Likewise.
11483 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11484 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11485 * sysvipc/ftok.c (ftok): Likewise.
11486 * sysvipc/msgctl.c (msgctl): Likewise.
11487 * sysvipc/msgget.c (msgget): Likewise.
11488 * sysvipc/msgrcv.c (msgrcv): Likewise.
11489 * sysvipc/msgsnd.c (msgsnd): Likewise.
11490 * sysvipc/semget.c (semget): Likewise.
11491 * sysvipc/semop.c (semop): Likewise.
11492 * sysvipc/shmat.c (shmat): Likewise.
11493 * sysvipc/shmctl.c (shmctl): Likewise.
11494 * sysvipc/shmdt.c (shmdt): Likewise.
11495 * sysvipc/shmget.c (shmget): Likewise.
11496 * termios/cfmakeraw.c (cfmakeraw): Likewise.
11497 * termios/speed.c (cfgetospeed): Likewise.
11498 (cfgetispeed): Likewise.
11499 (cfsetospeed): Likewise.
11500 (cfsetispeed): Likewise.
11501 * termios/tcflow.c (tcflow): Likewise.
11502 * termios/tcflush.c (tcflush): Likewise.
11503 * termios/tcgetattr.c (__tcgetattr): Likewise.
11504 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11505 * termios/tcgetsid.c (tcgetsid): Likewise.
11506 * termios/tcsendbrk.c (tcsendbreak): Likewise.
11507 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11508 * time/adjtime.c (__adjtime): Likewise.
11509 * time/dysize.c (dysize): Likewise.
11510 * time/ftime.c (ftime): Likewise.
11511 * time/getitimer.c (__getitimer): Likewise.
11512 * time/gettimeofday.c (__gettimeofday): Likewise.
11513 * time/gmtime.c (__gmtime_r): Likewise.
11514 (gmtime): Likewise.
11515 * time/localtime.c (__localtime_r): Likewise.
11516 (localtime): Likewise.
11517 * time/offtime.c (__offtime): Likewise.
11518 * time/settimeofday.c (__settimeofday): Likewise.
11519 * time/stime.c (stime): Likewise.
11520 * time/strftime_l.c (tm_diff): Likewise.
11521 (iso_week_days): Likewise.
11522 * time/strptime.c (strptime): Likewise.
11523 * time/time.c (time): Likewise.
11524 * time/timespec_get.c (timespec_get): Likewise.
11525 * time/tzset.c (tzset_internal): Likewise.
11526 (compute_change): Likewise.
11527 (__tz_compute): Likewise.
11528 * wcsmbs/btowc.c (__btowc): Likewise.
11529 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11530 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11531 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11532 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11533 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11534 * wcsmbs/wcscat.c (__wcscat): Likewise.
11535 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11536 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11537 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11538 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11539 * wcsmbs/wcsdup.c (wcsdup): Likewise.
11540 * wcsmbs/wcslen.c (__wcslen): Likewise.
11541 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11542 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11543 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11544 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11545 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11546 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11547 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11548 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11549 * wcsmbs/wcstok.c (wcstok): Likewise.
11550 * wcsmbs/wctob.c (wctob): Likewise.
11551 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11552 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11553 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11554 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11555 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11556 * wcsmbs/wmemset.c (__wmemset): Likewise.
11557 * wctype/wcfuncs.c (__towlower): Likewise.
11558 (__towupper): Likewise.
11559
11560 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11561 (lll_unlock_elision): Add adapt_count parameter.
11562
11563 2015-10-15 Joseph Myers <joseph@codesourcery.com>
11564
11565 * sysdeps/nptl/configure.ac: Do not give errors based on the
11566 results of top-level configure tests.
11567 * sysdeps/nptl/configure: Regenerated.
11568
11569 * configure.ac (libc_cv_Bgroup): Remove configure test.
11570 * configure: Regenerated.
11571 * config.make.in (have-Bgroup): Remove variable.
11572
11573 * configure.ac (sizeof_long_double): Remove configure test.
11574 * configure: Regenerated.
11575 * config.make.in (sizeof-long-double): Remove variable.
11576
11577 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11578 * configure: Regenerated.
11579 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11580 variable.
11581 (exceptions): Likewise.
11582 * sysdeps/arm/configure: Regenerated.
11583 * config.make.in (exceptions): Remove variable.
11584 * Makeconfig (uses-callbacks): Use -fexceptions instead of
11585 $(exceptions).
11586 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11587 (CFLAGS-vdprintf_chk.c): Likewise.
11588 (CFLAGS-printf_chk.c): Likewise.
11589 (CFLAGS-fprintf_chk.c): Likewise.
11590 (CFLAGS-vprintf_chk.c): Likewise.
11591 (CFLAGS-vfprintf_chk.c): Likewise.
11592 (CFLAGS-gets_chk.c): Likewise.
11593 (CFLAGS-fgets_chk.c): Likewise.
11594 (CFLAGS-fgets_u_chk.c): Likewise.
11595 (CFLAGS-fread_chk.c): Likewise.
11596 (CFLAGS-fread_u_chk.c): Likewise.
11597 (CFLAGS-wprintf_chk.c): Likewise.
11598 (CFLAGS-fwprintf_chk.c): Likewise.
11599 (CFLAGS-vwprintf_chk.c): Likewise.
11600 (CFLAGS-vfwprintf_chk.c): Likewise.
11601 (CFLAGS-fgetws_chk.c): Likewise.
11602 (CFLAGS-fgetws_u_chk.c): Likewise.
11603 * libio/Makefile (CFLAGS-fileops.c): Likewise.
11604 (CFLAGS-fputc.c): Likewise.
11605 (CFLAGS-fputwc.c): Likewise.
11606 (CFLAGS-freopen64.c): Likewise.
11607 (CFLAGS-freopen.c): Likewise.
11608 (CFLAGS-fseek.c): Likewise.
11609 (CFLAGS-fseeko64.c): Likewise.
11610 (CFLAGS-fseeko.c): Likewise.
11611 (CFLAGS-ftello64.c): Likewise.
11612 (CFLAGS-ftello.c): Likewise.
11613 (CFLAGS-fwide.c): Likewise.
11614 (CFLAGS-genops.c): Likewise.
11615 (CFLAGS-getc.c): Likewise.
11616 (CFLAGS-getchar.c): Likewise.
11617 (CFLAGS-getwc.c): Likewise.
11618 (CFLAGS-getwchar.c): Likewise.
11619 (CFLAGS-iofclose.c): Likewise.
11620 (CFLAGS-iofflush.c): Likewise.
11621 (CFLAGS-iofgetpos64.c): Likewise.
11622 (CFLAGS-iofgetpos.c): Likewise.
11623 (CFLAGS-iofgets.c): Likewise.
11624 (CFLAGS-iofgetws.c): Likewise.
11625 (CFLAGS-iofputs.c): Likewise.
11626 (CFLAGS-iofputws.c): Likewise.
11627 (CFLAGS-iofread.c): Likewise.
11628 (CFLAGS-iofsetpos64.c): Likewise.
11629 (CFLAGS-iofsetpos.c): Likewise.
11630 (CFLAGS-ioftell.c): Likewise.
11631 (CFLAGS-iofwrite.c): Likewise.
11632 (CFLAGS-iogetdelim.c): Likewise.
11633 (CFLAGS-iogetline.c): Likewise.
11634 (CFLAGS-iogets.c): Likewise.
11635 (CFLAGS-iogetwline.c): Likewise.
11636 (CFLAGS-ioputs.c): Likewise.
11637 (CFLAGS-ioseekoff.c): Likewise.
11638 (CFLAGS-ioseekpos.c): Likewise.
11639 (CFLAGS-iosetbuffer.c): Likewise.
11640 (CFLAGS-iosetvbuf.c): Likewise.
11641 (CFLAGS-ioungetc.c): Likewise.
11642 (CFLAGS-ioungetwc.c): Likewise.
11643 (CFLAGS-oldfileops.c): Likewise.
11644 (CFLAGS-oldiofclose.c): Likewise.
11645 (CFLAGS-oldiofgetpos64.c): Likewise.
11646 (CFLAGS-oldiofgetpos.c): Likewise.
11647 (CFLAGS-oldiofsetpos64.c): Likewise.
11648 (CFLAGS-oldiofsetpos.c): Likewise.
11649 (CFLAGS-peekc.c): Likewise.
11650 (CFLAGS-putc.c): Likewise.
11651 (CFLAGS-putchar.c): Likewise.
11652 (CFLAGS-putwc.c): Likewise.
11653 (CFLAGS-putwchar.c): Likewise.
11654 (CFLAGS-rewind.c): Likewise.
11655 (CFLAGS-wfileops.c): Likewise.
11656 (CFLAGS-wgenops.c): Likewise.
11657 (CFLAGS-oldiofopen.c): Likewise.
11658 (CFLAGS-iofopen.c): Likewise.
11659 (CFLAGS-iofopen64.c): Likewise.
11660 (CFLAGS-oldtmpfile.c): Likewise.
11661 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11662 (CFLAGS-fprintf.c): Likewise.
11663 (CFLAGS-printf.c): Likewise.
11664 (CFLAGS-vfwprintf.c): Likewise.
11665 (CFLAGS-vfscanf.c): Likewise.
11666 (CFLAGS-vfwscanf.c): Likewise.
11667 (CFLAGS-fscanf.c): Likewise.
11668 (CFLAGS-scanf.c): Likewise.
11669 (CFLAGS-isoc99_vfscanf.c): Likewise.
11670 (CFLAGS-isoc99_vscanf.c): Likewise.
11671 (CFLAGS-isoc99_fscanf.c): Likewise.
11672 (CFLAGS-isoc99_scanf.c): Likewise.
11673 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11674 (CFLAGS-isoc99_fwscanf.c): Likewise.
11675 (CFLAGS-isoc99_vwscanf.c): Likewise.
11676 (CFLAGS-isoc99_vfwscanf.c): Likewise.
11677
11678 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11679 after mkstemp64.
11680 * login/tst-utmp.c (do_prepare): Likewise.
11681 * rt/tst-aio.c (do_prepare): Likewise.
11682 * rt/tst-aio64.c (do_prepare): Likewise.
11683
11684 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11685
11686 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11687 (__lll_lock_elision): Remove adapt_count decrement...
11688 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11689 (__lll_trylock_elision): Likewise.
11690 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11691 (__lll_unlock_elision): ... to here. And utilize
11692 new adapt_count parameter.
11693 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11694 (__lll_unlock_elision): Update to include adapt_count
11695 parameter.
11696 (lll_unlock_elision): Pass pointer to adapt_count
11697 variable.
11698
11699 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11700
11701 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11702 Add elision adapt_count parameter to list of arguments.
11703 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11704 (lll_unlock_elision): Update with new parameter list
11705 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11706 (lll_unlock_elision): Likewise.
11707 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11708 (lll_unlock_elision): Likewise.
11709
11710 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 [BZ #19122]
11713 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11714 attribute_hidden.
11715
11716 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11717 attribute_hidden.
11718 [IS_IN (rtld)] (__strdup): Likewise.
11719 [IS_IN (rtld)] (__strerror_r): Likewise.
11720 [IS_IN (rtld)] (__strsep_g): Likewise.
11721 [IS_IN (rtld)] (memchr): Likewise.
11722 [IS_IN (rtld)] (memcmp): Likewise.
11723 [IS_IN (rtld)] (memcpy): Likewise.
11724 [IS_IN (rtld)] (memmove): Likewise.
11725 [IS_IN (rtld)] (memset): Likewise.
11726 [IS_IN (rtld)] (rawmemchr): Likewise.
11727 [IS_IN (rtld)] (stpcpy): Likewise.
11728 [IS_IN (rtld)] (strchr): Likewise.
11729 [IS_IN (rtld)] (strcmp): Likewise.
11730 [IS_IN (rtld)] (strlen): Likewise.
11731 [IS_IN (rtld)] (strnlen): Likewise.
11732 [IS_IN (rtld)] (strsep): Likewise.
11733
11734 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11735 attribute_hidden.
11736 [IS_IN (rtld)] (__strtoul_internal): Likewise.
11737
11738 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11739 attribute_hidden.
11740 [IS_IN (rtld)] (__libc_sigaction): Likewise.
11741
11742 * include/setjmp.h (__longjmp): Add attribute_hidden.
11743 [IS_IN (rtld)] (__sigsetjmp): Likewise.
11744
11745 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11746 Add attribute_hidden.
11747
11748 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11749 [IS_IN (rtld)] (__open): Likewise.
11750 [IS_IN (rtld)] (__fcntl): Likewise.
11751
11752 * include/dirent.h (__opendirat): Add attribute_hidden.
11753 (__getdents): Likewise.
11754 (__getdents64): Likewise.
11755 (__alloc_dir): Likewise.
11756 [IS_IN (rtld)] (__closedir): Likewise.
11757 [IS_IN (rtld)] (__fdopendir): Likewise.
11758 [IS_IN (rtld)] (__readdir): Likewise.
11759 [IS_IN (rtld)] (__readdir64): Likewise.
11760 [IS_IN (rtld)] (__rewinddir): Likewise.
11761
11762 * include/dlfcn.h (_dl_catch_error): Moved to ...
11763 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11764 attribute_hidden.
11765
11766 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11767 (_itoa_word): Likewise.
11768
11769 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11770 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11771 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11772 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11773 (_dl_higher_prime_number): Likewise.
11774 (_dl_debug_printf_c): Likewise.
11775 (_dl_signal_cerror): Likewise.
11776 (_dl_receive_error): Likewise.
11777 (_dl_reloc_bad_type): Likewise.
11778 (_dl_resolve_conflicts): Likewise.
11779 (_dl_check_all_versions): Likewise.
11780 (_dl_check_map_versions): Likewise.
11781 (_dl_sort_fini): Likewise.
11782 (_dl_debug_initialize): Likewise.
11783 (_dl_init_paths): Likewise.
11784 (_dl_show_auxv): Likewise.
11785 (_dl_next_ld_env_entry): Likewise.
11786 (_dl_important_hwcaps): Likewise.
11787 (_dl_load_cache_lookup): Likewise.
11788 (_dl_update_slotinfo): Likewise.
11789 (_dl_show_scope): Likewise.
11790
11791 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11792 attribute_hidden.
11793 (_wordcopy_fwd_dest_aligned): Likewise.
11794 (_wordcopy_bwd_aligned): Likewise.
11795 (_wordcopy_bwd_dest_aligned): Likewise.
11796
11797 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11798 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11799 Likewise.
11800 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11801 Likewise.
11802 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11803
11804 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11805
11806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11807 GCC 5 requirement.
11808
11809 2015-10-15 Joseph Myers <joseph@codesourcery.com>
11810
11811 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11812 test.
11813 * sysdeps/i386/configure: Regenerated.
11814 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11815 code unconditional.
11816
11817 * configure.ac (libc_cv_asm_previous_directive): Remove configure
11818 test.
11819 (libc_cv_asm_popsection_directive): Likewise.
11820 * configure: Regenerated.
11821 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11822 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11823 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11824 (__make_section_unallocated): Make definition unconditional.
11825 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11826 Remove conditional definition.
11827 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11828 (__make_section_unallocated): Likewise.
11829
11830 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11831 * configure: Regenerated.
11832 * config.make.in (static-libgcc): Remove variable.
11833 * Makerules (build-shlib-helper): Use -static-libgcc instead of
11834 $(static-libgcc).
11835 (build-module-helper): Likewise.
11836
11837 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11838 * configure: Regenerated.
11839
11840 2015-10-15 Florian Weimer <fweimer@redhat.com>
11841
11842 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11843 (struct char_buffer): New type.
11844 (char_buffer_start, char_buffer_size, char_buffer_error)
11845 (char_buffer_rewind, char_buffer_add): New functions.
11846 (ADDW): Remove macro, replaced by the char_buffer_add function.
11847 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11848 of extend_alloca. Make control flow more explicit.
11849
11850 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11851
11852 [BZ #19137]
11853 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11854 Add -fomit-frame-pointer.
11855 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11856
11857 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11858
11859 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11860 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11861 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11862 only if !__GNUC_PREREQ (5,0).
11863 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11864 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11865 (INTERNAL_SYSCALL_NCS): Likewise.
11866 (LOADREGS_0): New macro for GCC 5.
11867 (ASMARGS_0): Likewise.
11868 (LOADREGS_1): Likewise.
11869 (ASMARGS_1): Likewise.
11870 (LOADREGS_2): Likewise.
11871 (ASMARGS_2): Likewise.
11872 (LOADREGS_3): Likewise.
11873 (ASMARGS_3): Likewise.
11874 (LOADREGS_4): Likewise.
11875 (ASMARGS_4): Likewise.
11876 (LOADREGS_5): Likewise.
11877 (ASMARGS_5): Likewise.
11878 (LOADREGS_6): Likewise.
11879 (ASMARGS_6): Likewise.
11880
11881 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11884 -fomit-frame-pointer.
11885 (CFLAGS-mmap64.c): Likewise.
11886 (CFLAGS-semtimedop.c): Likewise.
11887 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11888 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11889 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11890 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11891
11892 2015-10-15 Florian Weimer <fweimer@redhat.com>
11893
11894 [BZ #18928]
11895 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11896 _dl_pointer_guard member.
11897 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11898 initializer.
11899 (security_init): Always set up pointer guard.
11900 (process_envvars): Do not process LD_POINTER_GUARD.
11901
11902 2015-10-14 Joseph Myers <joseph@codesourcery.com>
11903
11904 [BZ #19134]
11905 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11906 (.LC2): Likewise.
11907 (.LC3): Likewise.
11908 (__lround): Do not add 0.5 to integer or out-of-range arguments.
11909
11910 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
11911
11912 [BZ #19129]
11913 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11914 r0 and r1.
11915
11916 2015-10-14 Namhyung Kim <namhyung@gmail.com>
11917
11918 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11919
11920 2015-10-14 Carlos O'Donell <carlos@redhat.com>
11921
11922 * include/stap-probe.h: Fix macro definition formatting.
11923
11924 2015-10-14 Florian Weimer <fweimer@redhat.com>
11925
11926 [BZ #19074]
11927 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11928 load and store num_ifs.
11929
11930 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11931
11932 [BZ #18822]
11933 * sysdeps/unix/sysv/linux/sched_getaffinity.c
11934 (__sched_getaffinity_new): Add libc_hidden_proto and
11935 libc_hidden_def.
11936
11937 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 [BZ #19007]
11940 * scripts/localplt.awk: Also allow GOT references.
11941 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11942 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11943 with "+ REL R_386_GLOB_DAT".
11944 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11945 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11946
11947 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11950 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11951 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11952 Likewise.
11953 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11954 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11955 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11956 INTERNAL_SYSCALLINTERNAL_SYSCALL and
11957 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11958 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11960 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11961 Likewise.
11962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11963
11964 2015-10-13 Joseph Myers <joseph@codesourcery.com>
11965
11966 [BZ #19125]
11967 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11968 <math_private.h> and <stdint.h>.
11969 (__llround): Avoid conversions to and from long long int, and
11970 subtractions, where those might raise spurious exceptions.
11971 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11972 <math_private.h> and <stdint.h>.
11973 (__llroundf): Avoid conversions to and from long long int, and
11974 subtractions, where those might raise spurious exceptions.
11975
11976 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11977
11978 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11979 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11980 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11981 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11982 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11983 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11984 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11985 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11986 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11987 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11989 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11990 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11991 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11992 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11993 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11994 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11995 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11996 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11997 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11998 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11999 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12000 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12001 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12002 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12003 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12004 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12005 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12006 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12007 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12008 (__xstat64_conv): Likewise.
12009 (__xstat32_conv): Likewise.
12010
12011 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
12012
12013 * sysdeps/unix/sysv/linux/sysdep.h: New file.
12014 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12015 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12016 <sysdeps/unix/sysv/linux/sysdep.h>.
12017 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12018 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12019 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12020 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12021 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12022 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12023 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12024 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12025 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12033 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12034 (sysdep-dl-routines): Add sysdep.
12035 [$(subdir) == nptl] (libpthread-routines): Likewise.
12036 [$(subdir) == rt] (librt-routines): Likewise.
12037 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12038 PIC when branching to SYSCALL_ERROR_LABEL.
12039 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12041 <sysdeps/unix/sysv/linux/sysdep.h>.
12042 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12043 (SYSCALL_ERROR_ERRNO): Removed.
12044 (SYSCALL_ERROR_HANDLER): Changed to empty.
12045 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12046 (__syscall_error): New prototype.
12047 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12048 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12049
12050 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 [BZ #19124]
12053 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12054 (_dl_runtime_resolve_avx512): Make it a hidden alias of
12055 _dl_runtime_resolve_avx.
12056 (_dl_runtime_profile_avx512): Make it a hidden alias of
12057 _dl_runtime_profile_avx.
12058
12059 2015-10-13 Joseph Myers <joseph@codesourcery.com>
12060
12061 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12062 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12063 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12064 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12065
12066 [BZ #16422]
12067 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12068 New configure test.
12069 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12070 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12071 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12072 <math_private.h> and <stdint.h>.
12073 (__llrint): Avoid conversions to long long int where those might
12074 raise spurious exceptions.
12075 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12076 <math_private.h> and <stdint.h>.
12077 (__llrintf): Avoid conversions to long long int where those might
12078 raise spurious exceptions.
12079
12080 2015-10-12 Andreas Schwab <schwab@suse.de>
12081
12082 [BZ #18969]
12083 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
12084 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12085 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
12086 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12087 $(gen-locales).
12088 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
12089 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12090 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12091 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12092 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12093 $(gen-locales).
12094 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
12095 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12096 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12097 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12098 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12099 ($(objpfx)tst-ftell-active-handler.out)
12100 ($(objpfx)tst-ftell-append.out)
12101 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12102 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12103 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12104 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12105 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
12106 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12107 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12108 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12109 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12110 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12111 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12112 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12113 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12114 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12115 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12116 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12117 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12118 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12119 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
12120 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12121 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12122 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12123 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12124 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
12125 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12126 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12127 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12128 $(gen-locales).
12129 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
12130 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12131 $(gen-locales).
12132 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
12133 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12134 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12135 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12136 $(gen-locales).
12137 * libio/tst_wprintf2.c (main): Use explicit locale.
12138 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12139
12140 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12141
12142 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12143 __msg_sig_post.
12144 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12145
12146 2015-10-09 Joseph Myers <joseph@codesourcery.com>
12147
12148 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12149 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12150
12151 * sysdeps/arm/libm-test-ulps: Regenerated.
12152
12153 [BZ #15470]
12154 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12155
12156 [BZ #16399]
12157 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12158 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12159 and <fix-fp-int-convert-overflow.h>.
12160 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12161 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12162 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12163 and <fix-fp-int-convert-overflow.h>.
12164 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12165 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12166 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12167 <fix-fp-int-convert-overflow.h>.
12168 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12169 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12170 * sysdeps/ieee754/dbl-64/s_lround.c: Include
12171 <fix-fp-int-convert-overflow.h>.
12172 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12173 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12174 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12175 and <fix-fp-int-convert-overflow.h>.
12176 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12177 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12178 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12179 <limits.h> and <fix-fp-int-convert-overflow.h>.
12180 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12181 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12182 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12183 and <fix-fp-int-convert-overflow.h>.
12184 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12185 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12186 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12187 and <fix-fp-int-convert-overflow.h>.
12188 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12189 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12190 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12191
12192 2015-10-09 Carlos O'Donell <carlos@redhat.com>
12193
12194 [BZ #18589]
12195 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12196 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12197 $(gen-locales).
12198
12199 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12200 Phil Blundell <pb@pbcl.net>
12201
12202 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12203 * nptl/tst-cancel26.c: New file.
12204 * nptl/tst-cancel27.c: Likewise.
12205
12206 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
12207
12208 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12209 __ILP32__ isn't defined.
12210 (lrint): Likewise.
12211 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12212 (lrintf): Likewise.
12213 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12214 (lrintl): Likewise.
12215 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12216 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12217 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12218
12219 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12220
12221 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12222 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12223
12224 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12225 file.
12226 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12227 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12228
12229 2015-10-09 Joseph Myers <joseph@codesourcery.com>
12230
12231 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12232 configure test.
12233 * sysdeps/i386/configure: Regenerated.
12234 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12235 configure test.
12236 * sysdeps/x86_64/configure: Regenerated.
12237 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12238 Make code unconditional.
12239
12240 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12241 test.
12242 * sysdeps/i386/configure: Regenerated.
12243 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12244 test.
12245 * sysdeps/x86_64/configure: Regenerated.
12246 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12247 Make code unconditional.
12248 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12249 Likewise.
12250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12251 Likewise.
12252 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12253 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12254 code unconditional.
12255 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12256 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12257 code unconditional.
12258 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12259 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12260 code unconditional.
12261 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12262 code unconditional.
12263 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12264 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12265 code unconditional.
12266 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12267 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12268 code unconditional.
12269 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12270 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12271 code unconditional.
12272 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12273 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12274 code unconditional.
12275 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12276 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12277
12278 [BZ #19095]
12279 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12280 mantissa to long int before shifting left.
12281
12282 2015-10-08 Joseph Myers <joseph@codesourcery.com>
12283
12284 [BZ #19094]
12285 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12286 <limits.h>.
12287 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12288 when result overflows but exception would not result from cast.
12289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12290 <limits.h>.
12291 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12292 when result overflows but exception would not result from cast.
12293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12294 <limits.h>.
12295 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12296 when result overflows but exception would not result from cast.
12297 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12298 <limits.h>.
12299 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12300 when result overflows but exception would not result from cast.
12301 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12302 <limits.h>.
12303 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12304 when result overflows but exception would not result from cast.
12305 * math/libm-test.inc (lrint_test_data): Add more tests.
12306 (llrint_test_data): Likewise.
12307
12308 2015-10-08 Roland McGrath <roland@hack.frob.com>
12309
12310 [BZ #18872]
12311 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12312 Move out from under [$(run-built-tests) = yes] conditional.
12313 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12314 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12315
12316 2015-10-08 Carlos O'Donell <carlos@redhat.com>
12317
12318 [BZ #18589]
12319 * string/Makefile (tests): Add bug-strcoll2.
12320 (LOCALES): Add cs_CZ.UTF-8.
12321 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12322
12323 [BZ #18589]
12324 * string/bug-strcoll2.c: New file.
12325 * locale/categories.def: Revert commit
12326 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12327 * locale/langinfo.h: Likewise.
12328 * locale/localeinfo.h: Likewise.
12329 * locale/C-collate.c: Likewise.
12330 * locale/programs/ld-collate.c (collate_output): Likewise.
12331 * string/strcoll_l.c (STRDIFF): Likewise.
12332 (STRCOLL): Likewise.
12333 * wcsmbs/wcscoll_l.c: Likewise.
12334
12335 2015-10-08 Joseph Myers <joseph@codesourcery.com>
12336
12337 * math/libm-test.inc (lround_test_data): Do not expect the absence
12338 of "inexact" for some tests with non-integer arguments.
12339 (llround_test_data): Likewise.
12340
12341 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12342 test.
12343 (libc_cv_cc_sse2avx): Likewise.
12344 * sysdeps/i386/configure: Regenerated.
12345 * sysdeps/i386/i686/multiarch/Makefile
12346 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12347 [$(subdir) = math].
12348 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12349 code unconditional.
12350 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12351 Likewise.
12352 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12353 Likewise.
12354 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12355 Likewise.
12356 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12357 test.
12358 (libc_cv_cc_sse2avx): Likewise.
12359 * sysdeps/x86_64/configure: Regenerated.
12360 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12361 unconditional.
12362 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12363 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12364 unconditional.
12365 (_dl_runtime_profile)
12366 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12367 conditional code.
12368 * sysdeps/x86_64/fpu/multiarch/Makefile
12369 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12371 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12372 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12373 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12374 * sysdeps/x86_64/fpu/multiarch/e_log.c
12375 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12376 * sysdeps/x86_64/fpu/multiarch/s_atan.c
12377 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12378 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12379 Likewise.
12380 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12381 Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/s_sin.c
12383 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12384 * sysdeps/x86_64/fpu/multiarch/s_tan.c
12385 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12386 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12387 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12388 (HAVE_SSE2AVX_SUPPORT): Likewise.
12389
12390 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
12391
12392 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12393 instead of #pragma optimize.
12394
12395 2015-10-07 Carlos O'Donell <carlos@redhat.com>
12396
12397 [BZ #17195]
12398 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12399 as is similarly done in systrim and _int_free already.
12400
12401 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12402
12403 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12404
12405 2015-10-07 Joseph Myers <joseph@codesourcery.com>
12406
12407 [BZ #19088]
12408 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12409 <limits.h>.
12410 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12411 overflows but exception would not result from cast.
12412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12413 and <limits.h>.
12414 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12415 overflows but exception would not result from cast.
12416 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12417 <limits.h>.
12418 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12419 overflows but exception would not result from cast.
12420 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12421 <limits.h>.
12422 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12423 overflows but exception would not result from cast.
12424 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12425 <limits.h>.
12426 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12427 overflows but exception would not result from cast.
12428 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12429 <limits.h>.
12430 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12431 overflows but exception would not result from cast.
12432 * math/libm-test.inc (lround_test_data): Add more tests.
12433 (llround_test_data): Likewise.
12434
12435 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
12436
12437 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12438 (CFLAGS-ialloc.c): Ditto.
12439 (CFLAGS-scheck.c): Ditto.
12440
12441 2015-10-07 Carlos O'Donell <carlos@redhat.com>
12442
12443 [BZ #19086]
12444 * manual/filesys.texi (Storage Allocation): Fix argument order for
12445 posix_fallocate64.
12446
12447 2015-10-07 Joseph Myers <joseph@codesourcery.com>
12448
12449 [BZ #19085]
12450 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12451 exponent below 48 inside case for non-overflowing exponent.
12452 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12453
12454 2015-10-07 Florian Weimer <fweimer@redhat.com>
12455
12456 * iconvdata/cp737.h (from_idx): Add const.
12457 * iconvdata/cp775.h (from_idx): Likewise.
12458
12459 2015-10-07 Joseph Myers <joseph@codesourcery.com>
12460
12461 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12462 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12463 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12464
12465 [BZ #19079]
12466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12467 file, conditioned on [!_LP64].
12468 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12469 [!_LP64] (__lround): Do not define as function or alias.
12470 [!_LP64] (lround): Likewise.
12471 [!_LP64] (__lroundl): Likewise.
12472 [!_LP64] (lroundl): Likewise.
12473 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12474 macro.
12475 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12476 Likewise.
12477
12478 2015-10-06 Joseph Myers <joseph@codesourcery.com>
12479
12480 * math/libm-test.inc (lrint_test_data): Add more tests.
12481 (llrint_test_data): Likewise.
12482 (lround_test_data): Likewise.
12483 (llround_test_data): Likewise.
12484
12485 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12486 (llrint_test_data): Add tests used for lrint.
12487
12488 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12489 test.
12490 * sysdeps/i386/configure: Regenerated.
12491 * sysdeps/i386/i686/multiarch/Makefile
12492 [$(config-cflags-sse4) = yes]: Make code unconditional.
12493 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12494 Likewise.
12495 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12496 Likewise.
12497 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12498 test.
12499 * sysdeps/x86_64/configure: Regenerated.
12500 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12501 Make code unconditional.
12502 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12503 Likewise.
12504 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12505 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12506
12507 * scripts/rpm2dynsym.sh: Remove file.
12508
12509 2015-10-06 Florian Weimer <fweimer@redhat.com>
12510
12511 * configure.ac (libc_cv_cxx_thread_local): Define.
12512 * configure: Regenerate.
12513 * config.make.in (have-cxx-thread_local): Define.
12514 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12515 (LDLIBS-tst-thread_local1): Define.
12516 (tests): Add tst-thread_local1.
12517 [have-cxx-thread_local != yes] (tests-unsupported): Add
12518 tst-thread_local1.
12519 * nptl/tst-thread_local1.cc: New file.
12520
12521 2015-10-06 Joseph Myers <joseph@codesourcery.com>
12522
12523 [BZ #19078]
12524 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12525 (u_thres): Likewise.
12526 (__expl): Determine whether to call __kernel_standard_l based on
12527 value of result, not argument.
12528
12529 * math/libm-test.inc (scalb_test_data): Add more expectations for
12530 the "inexact" exception.
12531
12532 [BZ #19077]
12533 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12534 0.0L for argument 1.0L.
12535
12536 [BZ #19076]
12537 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12538 constant 0.0L when computing infinite result.
12539
12540 2015-10-06 Florian Weimer <fweimer@redhat.com>
12541
12542 [BZ #10432]
12543 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12544 malloc_usable_size.
12545
12546 2015-10-06 Florian Weimer <fweimer@redhat.com>
12547
12548 [BZ #19018]
12549 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12550 Mangle function pointer before storing it.
12551 (__call_tls_dtors): Demangle function pointer before calling it.
12552
12553 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12554
12555 [BZ #19012]
12556 * iconv/gconv_db.c (gen_steps): Check for additional errors.
12557 Clean up on failure.
12558
12559 2015-10-05 Joseph Myers <joseph@codesourcery.com>
12560
12561 [BZ #19071]
12562 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12563 long int variable to store possibly incremented high part of
12564 mantissa.
12565 * math/libm-test.inc (lround_test_data): Add tests used for
12566 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
12567 for tests requiring 64-bit long. Do not condition tests on
12568 [TEST_FLOAT] unnecessarily.
12569 (llround_test_data): Add tests used for lround. Add another
12570 expectation for the "inexact" exception. Do not condition tests
12571 on [TEST_FLOAT] unnecessarily.
12572
12573 [BZ #887]
12574 [BZ #19049]
12575 [BZ #19050]
12576 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12577 * sysdeps/ieee754/dbl-64/e_log10.c: Include
12578 <fix-int-fp-convert-zero.h>.
12579 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12580 * sysdeps/ieee754/dbl-64/e_log2.c: Include
12581 <fix-int-fp-convert-zero.h>.
12582 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12583 * sysdeps/ieee754/dbl-64/s_erf.c: Include
12584 <fix-int-fp-convert-zero.h>.
12585 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12586 * sysdeps/ieee754/dbl-64/s_logb.c: Include
12587 <fix-int-fp-convert-zero.h>.
12588 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12589 * sysdeps/ieee754/flt-32/e_log10f.c: Include
12590 <fix-int-fp-convert-zero.h>.
12591 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12592 * sysdeps/ieee754/flt-32/e_log2f.c: Include
12593 <fix-int-fp-convert-zero.h>.
12594 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12595 * sysdeps/ieee754/flt-32/s_erff.c: Include
12596 <fix-int-fp-convert-zero.h>.
12597 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12598 * sysdeps/ieee754/flt-32/s_logbf.c: Include
12599 <fix-int-fp-convert-zero.h>.
12600 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12602 <fix-int-fp-convert-zero.h>.
12603 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12605 <fix-int-fp-convert-zero.h>.
12606 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12607 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12608 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12609 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12610 file.
12611 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12612
12613 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12614
12615 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12616
12617 2015-10-02 Joseph Myers <joseph@codesourcery.com>
12618
12619 [BZ #19059]
12620 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12621 overflowing computation.
12622 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12623 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12625 Likewise.
12626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12627 Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12629 Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12631 Likewise.
12632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12634 Likewise.
12635 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12636 Likewise.
12637 * math/libm-test.inc (nexttoward_test_data): Add more tests.
12638
12639 * nss/rewrite_field.c (__nss_rewrite_field): Use
12640 internal_function.
12641 * nss/valid_field.c (__nss_valid_field): Likewise.
12642 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12643
12644 2015-10-02 Florian Weimer <fweimer@redhat.com>
12645
12646 [BZ #18724]
12647 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12648 (__nss_invalid_field_characters, __nss_valid_field)
12649 (__nss_valid_list_field, __nss_rewrite_field): Declare.
12650 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12651 tst-field.c: New file.
12652 * nss/Makefile (routines): Add valid_field, rewrite_field.
12653 (tests-static): Define unconditionally.
12654 (tests): Include tests-static.
12655 [build-static-nss] (tests-static): Use append.
12656 [build-static-nss] (tests): Remove modification.
12657 * nss/getent.c (print_group): Call putgrent. Report error.
12658 (print_gshadow): Call putsgent. Report error.
12659 (print_passwd): Call putpwent. Report error.
12660 (print_shadow): Call putspent. Report error.
12661 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12662 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12663 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
12664 name, password, directory, shell fields for valid syntax. Rewrite
12665 GECOS field to match syntax.
12666 * pwd/Makefile (tests): Add tst-putpwent.
12667 * pwd/tst-putpwent.c: New file.
12668 * grp/putgrent.c (putgrent): Convert to ISO function definition.
12669 Check grName, grpasswd, gr_mem fields for valid syntax.
12670 Change loop variable i to size_t.
12671 * grp/Makefile (tests): Add tst-putgrent.
12672 * grp/tst-putgrent.c: New file.
12673 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12674 valid syntax.
12675 * shadow/Makefile (tests): Add tst-putspent.
12676 * shadow/tst-putspent.c: New file.
12677 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12678 sg_mem fields for valid syntax.
12679 * gshadow/Makefile (tests): Add tst-putsgent.
12680 * gshadow/tst-putsgent.c: New file.
12681
12682 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12683
12684 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12685 assembly instructions.
12686
12687 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12688
12689 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12690 prefix from operands.
12691
12692 2015-10-01 Joseph Myers <joseph@codesourcery.com>
12693
12694 [BZ #16347]
12695 [BZ #19046]
12696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12697 <libc-internal.h>.
12698 (MAXLGM): Do not use diagnostic control macros.
12699 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12700 threshold for ldbl-128ibm.
12701 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12702 instead of multiplying by log then subtracting.
12703 * math/auto-libm-test-in: Add more tests of lgamma.
12704 * math/auto-libm-test-out: Regenerated.
12705
12706 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12707 (TYPE_HEX_DIG): Likewise.
12708 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12709 precisions when printing floating-point numbers.
12710 (check_float_internal): Likewise.
12711
12712 2015-09-30 Joseph Myers <joseph@codesourcery.com>
12713
12714 [BZ #16620]
12715 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12716 of log (10) rounded downward to 48 bits.
12717 (log10_low): Use corresponding low part of log (10).
12718
12719 [BZ #19032]
12720 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12721 compute result as (x - x) / (x - x) not as 0 / 0.
12722 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12723 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12724
12725 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12726 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12727 and expm1.
12728 * math/auto-libm-test-out: Regenerated.
12729 * math/libm-test.inc (acos_test_data): Add more tests.
12730 (asin_test_data): Likewise.
12731 (asinh_test_data): Likewise.
12732 (atan_test_data): Likewise.
12733 (atanh_test_data): Likewise.
12734 (atan2_test_data): Likewise.
12735 (cbrt_test_data): Likewise.
12736 (ceil_test_data): Likewise.
12737 (copysign_test_data): Likewise.
12738 (cos_test_data): Likewise.
12739 (cosh_test_data): Likewise.
12740 (erf_test_data): Likewise.
12741 (erfc_test_data): Likewise.
12742 (exp_test_data): Likewise.
12743 (exp10_test_data): Likewise.
12744 (exp2_test_data): Likewise.
12745 (expm1_test_data): Likewise.
12746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12747
12748 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 [BZ #19006]
12751 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12752 to ...
12753 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12754 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12755 to ...
12756 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12757 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12758 to ...
12759 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12760 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12761 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12762 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12763 to ...
12764 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12765 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12766 Moved to ...
12767 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12768 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12769 Moved to ...
12770 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12771 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12772 to ...
12773 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12774 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12775 Moved to ...
12776 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12777 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12778 to ...
12779 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12780 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12781 Removed.
12782 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12783 Likewise.
12784 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12785 Likewise.
12786 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12787 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12788 Likewise.
12789 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12790 Likewise.
12791 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12792 Likewise.
12793 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12794 Likewise.
12795 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12796 Likewise.
12797 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12798 Likewise.
12799 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12800 Likewise.
12801 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12802 Likewise.
12803 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12804 Likewise.
12805 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12806 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12807 Likewise.
12808 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12809 Likewise.
12810 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12811 Likewise.
12812 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12813 Likewise.
12814 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12815 Likewise.
12816 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12817 Replace ../i486/pthread_cond_timedwait.S with
12818 ../pthread_cond_timedwait.S.
12819
12820 2015-09-30 Joseph Myers <joseph@codesourcery.com>
12821
12822 * math/libm-test.inc (acos_test_data): Refine expectations for
12823 errno and "inexact" exceptions.
12824 (acosh_test_data): Likewise.
12825 (asin_test_data): Likewise.
12826 (asinh_test_data): Likewise.
12827 (atan_test_data): Likewise.
12828 (atanh_test_data): Likewise.
12829 (atan2_test_data): Likewise.
12830 (cbrt_test_data): Likewise.
12831 (ceil_test_data): Likewise.
12832 (copysign_test_data): Likewise.
12833 (cosh_test_data): Likewise.
12834 (erf_test_data): Likewise.
12835 (erfc_test_data): Likewise.
12836 (exp_test_data): Likewise.
12837 (exp10_test_data): Likewise.
12838 (exp2_test_data): Likewise.
12839 (expm1_test_data): Likewise.
12840 (fabs_test_data): Likewise.
12841 (floor_test_data): Likewise.
12842 (fma_test_data): Likewise.
12843 (fmax_test_data): Likewise.
12844 (fmin_test_data): Likewise.
12845 (fmod_test_data): Likewise.
12846 (fpclassify_test_data): Likewise.
12847 (frexp_test_data): Likewise.
12848 (hypot_test_data): Likewise.
12849 (ilogb_test_data): Likewise.
12850 (isgreater_test_data): Likewise.
12851 (isgreaterequal_test_data): Likewise.
12852 (isinf_test_data): Likewise.
12853 (isless_test_data): Likewise.
12854 (islessequal_test_data): Likewise.
12855 (islessgreater_test_data): Likewise.
12856 (isnan_test_data): Likewise.
12857 (isnormal_test_data): Likewise.
12858 (issignaling_test_data): Likewise.
12859 (isunordered_test_data): Likewise.
12860 (j0_test_data): Likewise.
12861 (j1_test_data): Likewise.
12862 (jn_test_data): Likewise.
12863 (lgamma_test_data): Likewise.
12864 (lrint_test_data): Likewise.
12865 (llrint_test_data): Likewise.
12866 (log_test_data): Likewise.
12867 (log10_test_data): Likewise.
12868 (log1p_test_data): Likewise.
12869 (log2_test_data): Likewise.
12870 (logb_test_data): Likewise.
12871 (lround_test_data): Likewise.
12872 (llround_test_data): Likewise.
12873 (modf_test_data): Likewise.
12874 (nearbyint_test_data): Likewise.
12875 (nextafter_test_data): Likewise.
12876 (nexttoward_test_data): Likewise.
12877 (pow_test_data): Likewise.
12878 (remainder_test_data): Likewise.
12879 (remquo_test_data): Likewise.
12880 (rint_test_data): Likewise.
12881 (round_test_data): Likewise.
12882 (signbit_test_data): Likewise.
12883 (sinh_test_data): Likewise.
12884 (sqrt_test_data): Likewise.
12885 (tanh_test_data): Likewise.
12886 (tgamma_test_data): Likewise.
12887 (trunc_test_data): Likewise.
12888 (y0_test_data): Likewise.
12889 (y1_test_data): Likewise.
12890 (yn_test_data): Likewise.
12891 (significand_test_data): Likewise.
12892
12893 2015-09-29 Carlos O'Donell <carlos@redhat.com>
12894
12895 * manual/filesys.texi (Storage Allocation): Document that
12896 posix_fallocate emulation fails when fd is open with O_WRONLY.
12897
12898 2015-09-28 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #19016]
12901 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12902 allow more cases with X^2 + Y^2 >= 0.5.
12903 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
12904 normal element in sum instead of special-casing based on values of
12905 arguments.
12906 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12907 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
12908 -1 as normal element in sum instead of special-casing based on
12909 values of arguments.
12910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12911 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12912 (__x2y2m1): Update comment.
12913 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
12914 as normal element in sum instead of special-casing based on values
12915 of arguments.
12916 * math/s_clog.c (__clog): Handle more cases using log1p without
12917 hypot.
12918 * math/s_clog10.c (__clog10): Likewise.
12919 * math/s_clog10f.c (__clog10f): Likewise.
12920 * math/s_clog10l.c (__clog10l): Likewise.
12921 * math/s_clogf.c (__clogf): Likewise.
12922 * math/s_clogl.c (__clogl): Likewise.
12923 * math/auto-libm-test-in: Add more tests of clog and clog10.
12924 * math/auto-libm-test-out: Regenerated.
12925 * sysdeps/i386/fpu/libm-test-ulps: Update.
12926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12927
12928 2015-09-28 Martin Sebor <msebor@redhat.com>
12929
12930 [BZ #18969]
12931 * string/Makefile (LOCALES): Define.
12932 (gen-locales.mk): Include.
12933 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12934 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12935 * string/tst-strxfrm2.c (do_test): Print the name of the locale
12936 on setlocale failure.
12937
12938 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12939
12940 [BZ #18985]
12941 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12942 (__strftime_internal): Likewise.
12943 * time/tst-strftime.c (do_bz18985): New test.
12944 (do_test): Call it.
12945
12946 2015-09-26 Joseph Myers <joseph@codesourcery.com>
12947
12948 [BZ #18956]
12949 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12950 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
12951 extracting high part.
12952 * math/auto-libm-test-in: Add another test of pow.
12953 * math/auto-libm-test-out: Regenerated.
12954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12955
12956 2015-09-25 Joseph Myers <joseph@codesourcery.com>
12957
12958 [BZ #18825]
12959 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12960 New macro.
12961 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12962 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12963 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12964 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12965 DBL_NARROW_EVAL, reloading the PIC register as needed.
12966 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12967 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12968 FLT_NARROW_EVAL. Use separate return path for case when first
12969 argument is NaN.
12970 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
12971 DEFINE_LDBL_MIN.
12972 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12973 PIC register.
12974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12975 math_check_force_underflow_nonneg.
12976 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12977 underflow for subnormal result.
12978 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12979 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12980 math_check_force_underflow_nonneg.
12981 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12982 math_check_force_underflow.
12983 * sysdeps/x86_64/fpu/x86_64-math-asm.h
12984 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12985 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
12986 DEFINE_LDBL_MIN.
12987 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12988 * math/auto-libm-test-in: Add more tests of pow.
12989 * math/auto-libm-test-out: Regenerated.
12990
12991 2015-09-25 Florian Weimer <fweimer@redhat.com>
12992
12993 * nss/bug17079.c (init_test_items): Add diagnostic for
12994 inconsistent entries.
12995 (test_buffer_size): Skip inconsistent entries.
12996
12997 2015-09-25 Joseph Myers <joseph@codesourcery.com>
12998
12999 [BZ #13304]
13000 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13001 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13002 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13003
13004 [BZ #13304]
13005 * sysdeps/microblaze/s_fma.c: New file.
13006 * sysdeps/microblaze/s_fmaf.c: Likewise.
13007 * sysdeps/microblaze/sfp-machine.h: Likewise.
13008
13009 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
13010
13011 [BZ #17250]
13012 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13013 member.
13014
13015 2015-09-24 Joseph Myers <joseph@codesourcery.com>
13016
13017 [BZ #18803]
13018 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13019 (MO): New macro.
13020 (__ieee754_hypot) [PIC]: Load PIC register.
13021 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13022 DBL_NARROW_EVAL.
13023 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13024 math_check_force_underflow_nonneg in case where result might be
13025 tiny.
13026 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13027 Likewise.
13028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13029 Likewise.
13030 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13031 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13032 * math/auto-libm-test-in: Add more tests of hypot.
13033 * math/auto-libm-test-out: Regenerated.
13034
13035 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
13036
13037 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13038
13039 2015-09-24 Joseph Myers <joseph@codesourcery.com>
13040
13041 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13042 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13043 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13044 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13045 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13046 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13047 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13048
13049 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13050 LOAD_PIC_REG.
13051
13052 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13053 (FLT_CHECK_FORCE_UFLOW): Likewise.
13054 (DBL_CHECK_FORCE_UFLOW): Likewise.
13055 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13056 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13057 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13058 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13059 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13060 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13061 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13062 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13063 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13064 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13065 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13066 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13067 (flt_min): Replace with use of DEFINE_FLT_MIN.
13068 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13069 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13070 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13071 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13072 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13073 (flt_min): Replace with use of DEFINE_FLT_MIN.
13074 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13075 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13076 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13077 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13078 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13079 (flt_min): Replace with use of DEFINE_FLT_MIN.
13080 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13081 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13082 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13083 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13084 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13085 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13086 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13087 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13088 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13089 (__atan): Use DBL_CHECK_FORCE_UFLOW.
13090 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13091 (flt_min): Replace with use of DEFINE_FLT_MIN.
13092 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13093 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13094 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13095 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
13096 main computation.
13097 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13098 (flt_min): Replace with use of DEFINE_FLT_MIN.
13099 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
13100 main computation.
13101 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13102 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13103 (MO): New macro.
13104 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13105 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13106 (flt_min): Replace with use of DEFINE_FLT_MIN.
13107 (MO): New macro.
13108 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13109 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13110 (__log1pl): Use MO.
13111
13112 [BZ #19003]
13113 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13114 $(config-cflags-nofma).
13115
13116 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13117
13118 * sysdeps/aarch64/libm-test-ulps: Regenerated.
13119
13120 2015-09-23 Joseph Myers <joseph@codesourcery.com>
13121
13122 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13123 (TWO127): Likewise.
13124
13125 * sysdeps/generic/math_private.h (fabs_tg): New macro.
13126 (min_of_type): Likewise.
13127 (math_check_force_underflow): Likewise.
13128 (math_check_force_underflow_nonneg): Likewise.
13129 (math_check_force_underflow_complex): Likewise.
13130 * math/e_exp2l.c (__ieee754_exp2l): Use
13131 math_check_force_underflow_nonneg.
13132 * math/k_casinh.c (__kernel_casinh): Likewise.
13133 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13134 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13135 * math/s_catan.c (__catan): Use
13136 math_check_force_underflow_complex.
13137 * math/s_catanf.c (__catanf): Likewise.
13138 * math/s_catanh.c (__catanh): Likewise.
13139 * math/s_catanhf.c (__catanhf): Likewise.
13140 * math/s_catanhl.c (__catanhl): Likewise.
13141 * math/s_catanl.c (__catanl): Likewise.
13142 * math/s_ccosh.c (__ccosh): Likewise.
13143 * math/s_ccoshf.c (__ccoshf): Likewise.
13144 * math/s_ccoshl.c (__ccoshl): Likewise.
13145 * math/s_cexp.c (__cexp): Likewise.
13146 * math/s_cexpf.c (__cexpf): Likewise.
13147 * math/s_cexpl.c (__cexpl): Likewise.
13148 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13149 * math/s_clog10.c (__clog10): Likewise.
13150 * math/s_clog10f.c (__clog10f): Likewise.
13151 * math/s_clog10l.c (__clog10l): Likewise.
13152 * math/s_clogf.c (__clogf): Likewise.
13153 * math/s_clogl.c (__clogl): Likewise.
13154 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13155 * math/s_csinf.c (__csinf): Likewise.
13156 * math/s_csinh.c (__csinh): Likewise.
13157 * math/s_csinhf.c (__csinhf): Likewise.
13158 * math/s_csinhl.c (__csinhl): Likewise.
13159 * math/s_csinl.c (__csinl): Likewise.
13160 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13161 * math/s_csqrtf.c (__csqrtf): Likewise.
13162 * math/s_csqrtl.c (__csqrtl): Likewise.
13163 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13164 * math/s_ctanf.c (__ctanf): Likewise.
13165 * math/s_ctanh.c (__ctanh): Likewise.
13166 * math/s_ctanhf.c (__ctanhf): Likewise.
13167 * math/s_ctanhl.c (__ctanhl): Likewise.
13168 * math/s_ctanl.c (__ctanl): Likewise.
13169 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13170 instead of volatile.
13171 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13172 math_check_force_underflow.
13173 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13174 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13175 volatile when forcing underflow.
13176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13177 math_check_force_underflow_nonneg.
13178 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13179 Likewise.
13180 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13181 math_check_force_underflow.
13182 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13183 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13184 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13185 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13186 math_check_force_underflow_nonneg.
13187 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13188 math_check_force_underflow.
13189 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13191 instead of volatile.
13192 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13193 math_check_force_underflow.
13194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13195 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13196 math_check_force_underflow_nonneg.
13197 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13198 math_check_force_underflow.
13199 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13200 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13201 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13202 math_check_force_underflow_nonneg.
13203 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13204 Likewise.
13205 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13206 math_check_force_underflow.
13207 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13208 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13209 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13210 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13211 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13212 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13213 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13214 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13215 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13216 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13217 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13218 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13219 Likewise.
13220 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13221 math_check_force_underflow_nonneg.
13222 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13223 Likewise.
13224 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13225 math_check_force_underflow.
13226 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13227 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13228 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13229 Likewise.
13230 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13231 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13232 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13233 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13235 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13237 instead of volatile.
13238 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13239 math_check_force_underflow.
13240 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13242 math_check_force_underflow.
13243 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13244 Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13246 Use math_check_force_underflow_nonneg.
13247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13248 math_check_force_underflow.
13249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13250 Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13252 Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13259 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13260 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13261 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13262 math_check_force_underflow_nonneg.
13263 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13264 math_check_force_underflow.
13265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13266 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13267 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13268 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13269 math_check_force_underflow_nonneg.
13270 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13271 math_check_force_underflow.
13272 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13274 instead of volatile.
13275 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13276 math_check_force_underflow.
13277
13278 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13279 * stdlib/strtod_l.c: Include <math_private.h>.
13280 (overflow_value): Use math_narrow_eval.
13281 (underflow_value): Likewise.
13282 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13283 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13284 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13285 (__ieee754_gamma_r): Likewise.
13286 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13287 Likewise.
13288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13289 Likewise.
13290 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13291 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13292 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13293 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13294 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13295 (__ieee754_gammaf_r): Likewise.
13296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13297 Likewise.
13298 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13299 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13300 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13301 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13302 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13303 volatile.
13304 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13306 math_narrow_eval.
13307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13308 Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13310 Likewise.
13311 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13312 Likewise.
13313 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13314 volatile.
13315 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13317 math_narrow_eval.
13318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13319 Likewise.
13320 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13321 Likewise.
13322
13323 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 * nptl/Versions: Remove ignored symbols.
13326
13327 2015-09-22 Florian Weimer <fweimer@redhat.com>
13328
13329 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
13330 * nss/Makefile (tests): Update.
13331
13332 2015-09-22 Florian Weimer <fweimer@redhat.com>
13333
13334 * nss/bug18287.c: New file.
13335 * nss/Makefile (tests): Add bug18287.
13336
13337 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13338
13339 * mach/Versions (__mach_host_self_): Add symbol.
13340
13341 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13342
13343 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13344 vm_page_size.
13345
13346 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13347
13348 Really fix sysdeps/i386/fpu/s_scalbn.S build
13349
13350 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13351 (libc: GLIBC_2_22): Remove unused version set.
13352
13353 2015-09-18 Mike Frysinger <vapier@gentoo.org>
13354
13355 * config.make.in (enable-timezone-tools): New variable.
13356 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13357 (enable_timezone_tools): Export to generated files.
13358 * configure: Regenerate.
13359 * INSTALL: Regenerate.
13360 * manual/install.texi (--disable-timezone-tools): Document new flag.
13361 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13362 ifeq ($(enable-timezone-tools),yes) check.
13363
13364 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13365
13366 * timezone/Makefile: Revert previous change.
13367
13368 [BZ #18980]
13369 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13370 (DEFINE_DBL_MIN): Likewise.
13371 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13372 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13373 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13374 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13375 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13376 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13377 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13378 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13379 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13380 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13381 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13382 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13383 (flt_min): Replace with use of DEFINE_FLT_MIN.
13384 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13385 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13386 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13387 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13388 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13389 (flt_min): Replace with use of DEFINE_FLT_MIN.
13390 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13391 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13392 (flt_min): Replace with use of DEFINE_FLT_MIN.
13393 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13394 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13395 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13396 (__ieee754_hypot): Use DBL_NARROW_EVAL.
13397 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13398 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13399 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13400 (__ieee754_pow): Use DBL_NARROW_EVAL.
13401 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13402 (__ieee754_powf): Use FLT_NARROW_EVAL.
13403 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13404 (__ieee754_expf_sse2): Convert double-precision result to single
13405 precision.
13406 * sysdeps/i386/fpu/libm-test-ulps: Update.
13407
13408 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13409
13410 * timezone/Makefile: Ignore unused variable errors due to private.h
13411 (time_t_min) and (time_t_max).
13412 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
13413 Likewise.
13414
13415 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13416
13417 [BZ #18981]
13418 * sysdeps/i386/fpu/i386-math-asm.h: New file.
13419 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13420 (__ieee754_scalb): Use DBL_NARROW_EVAL.
13421 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13422 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13423 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13424 (__scalbn): Use DBL_NARROW_EVAL.
13425 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13426 (__scalbnf): Use FLT_NARROW_EVAL.
13427
13428 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13429
13430 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13431 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13432 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13433 * stdio-common/printf_fp.c (___printf_fp):
13434 Use signbit to get the sign. Use isinf macro to allow inlining.
13435 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13436 * stdio-common/printf_size.c (__printf_size): Likewise.
13437
13438 2015-09-18 Mike Frysinger <vapier@gentoo.org>
13439
13440 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13441
13442 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13443
13444 [BZ #18980]
13445 * sysdeps/generic/math_private.h: Include <float.h>.
13446 (math_narrow_eval): New macro.
13447 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13448 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13449 math_narrow_eval on overflowing return value.
13450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13451 Likewise.
13452 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13453 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13454 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13455 Likewise.
13456 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13457
13458 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13459
13460 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13461 * math/Makefile: Remove isinf_ns.c.
13462 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13463 * math/multc3.c (__multc3): Likewise.
13464 * math/s_casin.c (__casin): Likewise.
13465 * math/s_casinf.c (__casinf): Likewise.
13466 * math/s_casinl.c (__casinl): Likewise.
13467 * math/s_cproj.c (__cproj): Likewise.
13468 * math/s_cprojf.c (__cprojf): Likewise.
13469 * math/s_cprojl.c (__cprofl): Likewise.
13470 * math/s_ctan.c (__ctan): Likewise.
13471 * math/s_ctanf.c (__ctanf): Likewise.
13472 * math/s_ctanh.c (__ctanh): Likewise.
13473 * math/s_ctanhf.c (__ctanhf): Likewise.
13474 * math/s_ctanhl.c (__ctanhl): Likewise.
13475 * math/s_ctanl.c (__ctanl): Likewise.
13476 * math/w_fmod.c (__fmod): Likewise.
13477 * math/w_fmodf.c (__fmodf): Likewise.
13478 * math/w_fmodl.c (_fmodl): Likewise.
13479 * math/w_remainder.c (__remainder): Likewise.
13480 * math/w_remainderf.c (__remainderf): Likewise.
13481 * math/w_remainderl.c (__remainderl): Likewise.
13482 * math/w_scalb.c (__scalb): Likewise.
13483 * math/w_scalbf.c (__scalbf): Likewise.
13484 * math/w_scalbl.c (__scalbl): Likewise.
13485 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13486 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13487 with isinf.
13488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13490 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13491 __isinf_nsf with isinf.
13492 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13493 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13494 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13495 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13496 with isinf.
13497 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13498 __isinf_nsl with isinf.
13499 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13500 with isinf.
13501 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13502 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13503 __isinf_nsl with isinf.
13504 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13505 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13506 with isinf.
13507
13508 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13509
13510 * resolv/base64.c (rcsid): Remove unused static.
13511 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13512 static. (tqpi1): Likewise.
13513 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13514 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13515 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13516 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13518 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13519 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13520 * timezone/private.h (time_t_min): Likewise. (time_t_max):
13521 Likewise.
13522
13523 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
13524
13525 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13526 <nptl/pthreadP.h>.
13527 (_longjmp_unwind): Use __libc_ptf_call.
13528 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13529
13530 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
13531
13532 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13533 * sysdeps/arm/__longjmp.S: Likewise.
13534
13535 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13536
13537 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13538 Use __builtin_signbit.
13539 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13540 Use __builtin_signbitf.
13541 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13542 Use __builtin_signbitl.
13543 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13545
13546 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13547
13548 [BZ #15367]
13549 [BZ #17441]
13550
13551 * math/Makefile: Build test-snan.c with -fsignaling-nans.
13552 * math/math.h (fpclassify): Use __builtin_fpclassify when
13553 available. (signbit): Use __builtin_signbit(f/l).
13554 (isfinite): Use__builtin_isfinite. (isnormal): Use
13555 __builtin_isnormal. (isnan): Use __builtin_isnan.
13556 (isinf): Use __builtin_isinf_sign.
13557
13558 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13559
13560 * benchtests/Makefile: Add bench-math-inlines, link with libm.
13561 * benchtests/bench-math-inlines.c: New benchmark.
13562 * benchtests/bench-util.h: New file.
13563 * benchtests/bench-util.c: New file.
13564 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13565
13566 2015-09-18 Carlos O'Donell <carlos@redhat.com>
13567
13568 * elf/tst-dlmopen1.c: Define TEST_SO.
13569 (do_test): Use TEST_SO.
13570
13571 * elf/dl-load.c: Include libc-internal.h.
13572 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13573
13574 2015-09-18 Vincent Bernat <vincent@bernat.im>
13575
13576 [BZ #17887]
13577 * time/strptime_l.c (__strptime_internal): Make %z accept
13578 [+-]HH:MM time zones.
13579
13580 2015-09-18 Vincent Bernat <vincent@bernat.im>
13581
13582 [BZ #17886]
13583 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13584 valid time zone.
13585
13586 2015-09-17 Mike Frysinger <vapier@gentoo.org>
13587
13588 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13589 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13590 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13591 (__ASSUME_FDATASYNC): Delete.
13592
13593 2015-09-17 Joseph Myers <joseph@codesourcery.com>
13594
13595 * conform/linknamespace.pl: Require weak undefined symbols to be
13596 in the standard namespace.
13597 (%strong_syms): Rename to %seen_syms.
13598 (%strong_seen): Rename to %seen_where.
13599
13600 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
13601
13602 [BZ #18970]
13603 * misc/error.c (error): Replace pthread_setcancelstate with
13604 __pthread_setcancelstate.
13605 (error_at_line): Likewise.
13606 * posix/wordexp.c (parse_comm): Likewise.
13607 * stdlib/fmtmsg.c (fmtmsg): Likewise.
13608 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13609 (__pthread_setcancelstate): This.
13610 (pthread_setcancelstate): Add an alias.
13611 * nptl/nptl-init.c (pthread_functions): Replace
13612 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13613 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13614 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13615 hidden_proto.
13616 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13617 it with hidden_def.
13618 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13619 (pthread_setcancelstate): Renamed to ...
13620 (__pthread_setcancelstate): This.
13621 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13622 __libc_ptf_call with __pthread_setcancelstate.
13623
13624 2015-09-17 Joseph Myers <joseph@codesourcery.com>
13625 Andreas Schwab <schwab@suse.de>
13626
13627 [BZ #17118]
13628 * math/s_ctan.c (__ctan): Determine sign of zero real part of
13629 result when imaginary part of argument is infinite using sine and
13630 cosine.
13631 * math/s_ctanf.c (__ctanf): Likewise.
13632 * math/s_ctanl.c (__ctanl): Likewise.
13633 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13634 of result when real part of argument is infinite using sine and
13635 cosine.
13636 * math/s_ctanhf.c (__ctanhf): Likewise.
13637 * math/s_ctanhl.c (__ctanhl): Likewise.
13638 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13639 (ctanh_test_data): Add more tests of ctanh.
13640
13641 2015-09-17 Joseph Myers <joseph@codesourcery.com>
13642
13643 [BZ #15384]
13644 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13645 bit-mask as in subtraction.
13646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13647 Likewise.
13648 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13649 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13651
13652 [BZ #18951]
13653 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13654 underflow exception for small results.
13655 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13656 Likewise.
13657 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13658 Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13660 Likewise.
13661 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13662 Likewise.
13663 * math/auto-libm-test-in: Add more tests of tgamma.
13664 * math/auto-libm-test-out: Regenerated.
13665
13666 2015-09-17 Andreas Schwab <schwab@suse.de>
13667
13668 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13669
13670 2015-09-16 Joseph Myers <joseph@codesourcery.com>
13671
13672 [BZ #18977]
13673 * math/bits/mathcalls.h
13674 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13675 not declare.
13676 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13677 Likewise.
13678 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13679 Likewise.
13680 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13681 Likewise.
13682 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13683 Likewise.
13684 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13685 Likewise.
13686 * conform/data/math.h-data
13687 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13688 function.
13689 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13690 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13691 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13692 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13693 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13694 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13695 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13696 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13697 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13698 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13699 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13700
13701 [BZ #6803]
13702 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13703 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13704 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13705 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13706 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13707 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13708 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13709 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13710 [NO_LONG_DOUBLE] (scalbnl): Likewise.
13711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13712 Likewise.
13713 [NO_LONG_DOUBLE] (scalbnl): Likewise.
13714 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13717 long_double_symbol calls.
13718 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13719 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13720 strong alias of __ldexpl.
13721 (scalbnl): Define using long_double_symbol.
13722 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13723 Remove alias.
13724 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13725 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13726 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13727 (scalbln_test_data): Add more errno expectations.
13728
13729 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
13730
13731 Cache the host port like we cache the task port. This way we do not
13732 need to call the kernel just to get the port. Furthermore, we no
13733 longer increase the reference count on every invocation of
13734 `mach_host_self'.
13735
13736 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13737 Protect declarations against the macro expansion.
13738 * mach/mach_init.c (__mach_host_self_): New variable.
13739 (mach_init): Initialize `__mach_host_self_'.
13740 * mach/mach_init.h (__mach_host_self_): New declaration.
13741 (__mach_host_self, mach_host_self): New macros.
13742 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13743 Release reference.
13744
13745 2015-09-16 Joseph Myers <joseph@codesourcery.com>
13746
13747 [BZ #4404]
13748 * po/de.po: Update from Translation Project.
13749
13750 [BZ #16415]
13751 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13752 (__expm1l): Remove code to handle positive infinity and overflow.
13753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13754 variable.
13755 (__expm1l): Remove code to handle positive infinity and overflow.
13756
13757 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
13758 Paul Pluzhnikov <ppluzhnikov@google.com>
13759
13760 [BZ #18872]
13761 * stdio-common/Makefile (tst-printf-bz18872): New test.
13762 (tst-printf-bz18872-mem.out): Likewise.
13763 * stdio-common/tst-printf-bz18872.sh: Generate new test.
13764 * stdio-common/vfprintf.c: Fix memory leaks.
13765
13766 2015-09-16 Andreas Schwab <schwab@suse.de>
13767
13768 [BZ #17244]
13769 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13770 Remove extra va_start/va_end calls.
13771
13772 [BZ #17243]
13773 * posix/execl.c (execl): Add missing va_end.
13774 * posix/execle.c (execle): Likewise.
13775 * posix/execlp.c (execlp): Likewise.
13776
13777 2015-09-15 Roland McGrath <roland@hack.frob.com>
13778
13779 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13780 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13781
13782 2015-09-15 Joseph Myers <joseph@codesourcery.com>
13783
13784 [BZ #18967]
13785 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
13786 undefine around includes of <bits/mathcalls.h>.
13787 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13788 not declare function.
13789 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13790 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13791 (scalb): Likewise.
13792 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13793 not define macro.
13794 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13795 variable.
13796 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13797 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13798 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13799
13800 [BZ #18857]
13801 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13802 return non-finite argument without doing ordered comparisons on
13803 it.
13804
13805 [BZ #16296]
13806 * math/fenv.h (fegetround): Use __attribute_pure__.
13807 * include/fenv.h (__fegetround): Likewise.
13808
13809 [BZ #18595]
13810 * math/s_ctan.c (__ctan): Force underflow exception for results
13811 whose real or imaginary part has small absolute value.
13812 * math/s_ctanf.c (__ctanf): Likewise.
13813 * math/s_ctanh.c (__ctanh): Likewise.
13814 * math/s_ctanhf.c (__ctanhf): Likewise.
13815 * math/s_ctanhl.c (__ctanhl): Likewise.
13816 * math/s_ctanl.c (__ctanl): Likewise.
13817 * math/auto-libm-test-in: Do not allow missing underflow for ctan
13818 and ctanh. Add more tests of ctan and ctanh.
13819
13820 [BZ #15918]
13821 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13822 handling of cases where one argument is an infinity.
13823
13824 [BZ #18875]
13825 [BZ #18966]
13826 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13827 (MO): New macro.
13828 (__ieee754_exp10): For small results, force underflow exception
13829 and remove excess range and precision from return value.
13830 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13831 (MO): New macro.
13832 (__ieee754_exp10f): For small results, force underflow exception
13833 and remove excess range and precision from return value.
13834 * math/auto-libm-test-in: Add more tests of exp10.
13835 * math/auto-libm-test-out: Regenerated.
13836
13837 2015-09-14 Joseph Myers <joseph@codesourcery.com>
13838
13839 [BZ #18875]
13840 [BZ #18961]
13841 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13842 (MO): New macro.
13843 (__ieee754_exp): For small results, force underflow exception and
13844 remove excess range and precision from return value.
13845 (__exp_finite): Likewise.
13846 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13847 (MO): New macro.
13848 (__ieee754_expf): For small results, force underflow exception and
13849 remove excess range and precision from return value.
13850 (__expf_finite): Likewise.
13851 * math/auto-libm-test-in: Add more tests of exp.
13852 * math/auto-libm-test-out: Regenerated.
13853
13854 [BZ #16521]
13855 [BZ #18875]
13856 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13857 small results.
13858 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13859 (MO): New macro.
13860 (__ieee754_exp2): For small results, force underflow exception and
13861 remove excess range and precision from return value.
13862 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13863 (MO): New macro.
13864 (__ieee754_exp2f): For small results, force underflow exception
13865 and remove excess range and precision from return value.
13866 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13867 (MO): New macro.
13868 (__ieee754_exp2l): Force underflow exception for small results.
13869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13870 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13871 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13872 (MO): New macro.
13873 (__ieee754_exp2l): Force underflow exception for small results.
13874 * math/auto-libm-test-in: Add more tests or exp2.
13875 * math/auto-libm-test-out: Regenerated.
13876
13877 2015-09-14 Carlos O'Donell <carlos@redhat.com>
13878
13879 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13880
13881 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13882 /dev/null.
13883
13884 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13885
13886 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13887 io fs process)): Drop spurious backslash.
13888
13889 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13890
13891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13892 Use sysinfo system call instead of parsing /proc/meminfo.
13893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13894 Likewise.
13895
13896 2015-09-11 Mike Frysinger <vapier@gentoo.org>
13897
13898 [BZ #16985]
13899 * programs/localedef.c (main): Display argv[remaining] when
13900 output_path is NULL.
13901
13902 2015-09-11 Joseph Myers <joseph@codesourcery.com>
13903
13904 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13905 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13906 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13907 tanh.
13908 * math/auto-libm-test-out: Regenerated.
13909 * sysdeps/i386/fpu/libm-test-ulps: Update.
13910 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13911 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13913
13914 2015-09-11 Roland McGrath <roland@hack.frob.com>
13915
13916 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13917 Use 'override' keyword to freeze the value here, preventing
13918 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13919
13920 2015-09-11 Joseph Myers <joseph@codesourcery.com>
13921
13922 [BZ #14912]
13923 * sysdeps/aarch64/bits/atomic.h: Move to ...
13924 * sysdeps/aarch64/atomic-machine.h: ...here.
13925 (_AARCH64_BITS_ATOMIC_H): Rename macro to
13926 _AARCH64_ATOMIC_MACHINE_H.
13927 * sysdeps/alpha/bits/atomic.h: Move to ...
13928 * sysdeps/alpha/atomic-machine.h: ...here.
13929 * sysdeps/arm/bits/atomic.h: Move to ...
13930 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
13931 * bits/atomic.h: Move to ...
13932 * sysdeps/generic/atomic-machine.h: ...here.
13933 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13934 * sysdeps/i386/bits/atomic.h: Move to ...
13935 * sysdeps/i386/atomic-machine.h: ...here.
13936 * sysdeps/ia64/bits/atomic.h: Move to ...
13937 * sysdeps/ia64/atomic-machine.h: ...here.
13938 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13939 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13940 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13941 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13942 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13943 * sysdeps/microblaze/bits/atomic.h: Move to ...
13944 * sysdeps/microblaze/atomic-machine.h: ...here.
13945 * sysdeps/mips/bits/atomic.h: Move to ...
13946 * sysdeps/mips/atomic-machine.h: ...here.
13947 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13948 * sysdeps/powerpc/bits/atomic.h: Move to ...
13949 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
13950 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13951 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
13952 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
13953 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13954 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
13955 <atomic-machine.h> instead of <bits/atomic.h>.
13956 * sysdeps/s390/bits/atomic.h: Move to ...
13957 * sysdeps/s390/atomic-machine.h: ...here.
13958 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13959 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13960 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13961 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13962 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13963 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13964 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13965 * sysdeps/tile/bits/atomic.h: Move to ...
13966 * sysdeps/tile/atomic-machine.h: ...here.
13967 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13968 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
13969 <sysdeps/tile/atomic-machine.h> instead of
13970 <sysdeps/tile/bits/atomic.h>.
13971 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13972 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13973 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
13974 <sysdeps/tile/atomic-machine.h> instead of
13975 <sysdeps/tile/bits/atomic.h>.
13976 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13977 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13978 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
13979 <sysdeps/arm/atomic-machine.h> instead of
13980 <sysdeps/arm/bits/atomic.h>.
13981 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13982 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13983 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13984 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13985 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13986 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13987 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13988 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13989 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13990 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13991 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13992 * sysdeps/x86_64/bits/atomic.h: Move to ...
13993 * sysdeps/x86_64/atomic-machine.h: ...here.
13994 * include/atomic.h: Include <atomic-machine.h> instead of
13995 <bits/atomic.h>.
13996
13997 * sysdeps/mips/mips32/libm-test-ulps: Update.
13998 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13999
14000 [BZ #18952]
14001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14002 not convert non-integer negative arguments to int to determine the
14003 value of signgam.
14004 * math/auto-libm-test-in: Add more tests of lgamma.
14005 * math/auto-libm-test-out: Regenerated.
14006
14007 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14008 cosh, csqrt, erfc, expm1 and lgamma.
14009 * math/auto-libm-test-out: Regenerated.
14010 * sysdeps/i386/fpu/libm-test-ulps: Update.
14011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14012
14013 2015-09-10 Joseph Myers <joseph@codesourcery.com>
14014
14015 [BZ #2542]
14016 [BZ #2543]
14017 [BZ #2558]
14018 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14019 __lgamma_neg for arguments from -28.0 to -2.0.
14020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14021 __lgamma_negf for arguments from -15.0 to -2.0.
14022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14023 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14024 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14025 Call __lgamma_negl for arguments from -33.0 to -2.0.
14026 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14027 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14028 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14029 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14034 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14036 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14037 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14038 (__lgamma_neg): Likewise.
14039 (__lgamma_negl): Likewise.
14040 (__lgamma_product): Likewise.
14041 (__lgamma_productl): Likewise.
14042 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14043 * math/auto-libm-test-in: Add more tests of lgamma.
14044 * math/auto-libm-test-out: Regenerated.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047
14048 2015-09-09 Justin Maggard <jmaggard@netgear.com>
14049
14050 [BZ #18675]
14051 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14052
14053 2015-09-08 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #14912]
14056 * bits/libc-lock.h: Move to ...
14057 * sysdeps/generic/libc-lock.h: ...here.
14058 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14059 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14060 * sysdeps/mach/hurd/libc-lock.h: ...here.
14061 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14062 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14063 * sysdeps/mach/bits/libc-lock.h: Move to ...
14064 * sysdeps/mach/libc-lock.h: ...here.
14065 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14066 * sysdeps/nptl/bits/libc-lock.h: Move to ...
14067 * sysdeps/nptl/libc-lock.h: ...here.
14068 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14069 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14070 * sysdeps/nptl/libc-lockP.h: ...here.
14071 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14072 * crypt/crypt_util.c: Include <libc-lock.h> instead of
14073 <bits/libc-lock.h>.
14074 * dirent/scandir-tail.c: Likewise.
14075 * dlfcn/dlerror.c: Likewise.
14076 * elf/dl-close.c: Likewise.
14077 * elf/dl-iteratephdr.c: Likewise.
14078 * elf/dl-lookup.c: Likewise.
14079 * elf/dl-open.c: Likewise.
14080 * elf/dl-support.c: Likewise.
14081 * elf/dl-writev.h: Likewise.
14082 * elf/rtld.c: Likewise.
14083 * grp/fgetgrent.c: Likewise.
14084 * gshadow/fgetsgent.c: Likewise.
14085 * gshadow/sgetsgent.c: Likewise.
14086 * iconv/gconv_conf.c: Likewise.
14087 * iconv/gconv_db.c: Likewise.
14088 * iconv/gconv_dl.c: Likewise.
14089 * iconv/gconv_int.h: Likewise.
14090 * iconv/gconv_trans.c: Likewise.
14091 * include/link.h: Likewise.
14092 * inet/getnameinfo.c: Likewise.
14093 * inet/getnetgrent.c: Likewise.
14094 * inet/getnetgrent_r.c: Likewise.
14095 * intl/bindtextdom.c: Likewise.
14096 * intl/dcigettext.c: Likewise.
14097 * intl/finddomain.c: Likewise.
14098 * intl/gettextP.h: Likewise.
14099 * intl/loadmsgcat.c: Likewise.
14100 * intl/localealias.c: Likewise.
14101 * intl/textdomain.c: Likewise.
14102 * libidn/idn-stub.c: Likewise.
14103 * libio/libioP.h: Likewise.
14104 * locale/duplocale.c: Likewise.
14105 * locale/freelocale.c: Likewise.
14106 * locale/newlocale.c: Likewise.
14107 * locale/setlocale.c: Likewise.
14108 * login/getutent_r.c: Likewise.
14109 * login/getutid_r.c: Likewise.
14110 * login/getutline_r.c: Likewise.
14111 * login/utmp-private.h: Likewise.
14112 * login/utmpname.c: Likewise.
14113 * malloc/mtrace.c: Likewise.
14114 * misc/efgcvt.c: Likewise.
14115 * misc/error.c: Likewise.
14116 * misc/fstab.c: Likewise.
14117 * misc/getpass.c: Likewise.
14118 * misc/mntent.c: Likewise.
14119 * misc/syslog.c: Likewise.
14120 * nis/nis_call.c: Likewise.
14121 * nis/nis_callback.c: Likewise.
14122 * nis/nss-default.c: Likewise.
14123 * nis/nss_compat/compat-grp.c: Likewise.
14124 * nis/nss_compat/compat-initgroups.c: Likewise.
14125 * nis/nss_compat/compat-pwd.c: Likewise.
14126 * nis/nss_compat/compat-spwd.c: Likewise.
14127 * nis/nss_nis/nis-alias.c: Likewise.
14128 * nis/nss_nis/nis-ethers.c: Likewise.
14129 * nis/nss_nis/nis-grp.c: Likewise.
14130 * nis/nss_nis/nis-hosts.c: Likewise.
14131 * nis/nss_nis/nis-network.c: Likewise.
14132 * nis/nss_nis/nis-proto.c: Likewise.
14133 * nis/nss_nis/nis-pwd.c: Likewise.
14134 * nis/nss_nis/nis-rpc.c: Likewise.
14135 * nis/nss_nis/nis-service.c: Likewise.
14136 * nis/nss_nis/nis-spwd.c: Likewise.
14137 * nis/nss_nisplus/nisplus-alias.c: Likewise.
14138 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14139 * nis/nss_nisplus/nisplus-grp.c: Likewise.
14140 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14141 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14142 * nis/nss_nisplus/nisplus-network.c: Likewise.
14143 * nis/nss_nisplus/nisplus-proto.c: Likewise.
14144 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14145 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14146 * nis/nss_nisplus/nisplus-service.c: Likewise.
14147 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14148 * nis/ypclnt.c: Likewise.
14149 * nptl/libc_pthread_init.c: Likewise.
14150 * nss/getXXbyYY.c: Likewise.
14151 * nss/getXXent.c: Likewise.
14152 * nss/getXXent_r.c: Likewise.
14153 * nss/nss_db/db-XXX.c: Likewise.
14154 * nss/nss_db/db-netgrp.c: Likewise.
14155 * nss/nss_db/nss_db.h: Likewise.
14156 * nss/nss_files/files-XXX.c: Likewise.
14157 * nss/nss_files/files-alias.c: Likewise.
14158 * nss/nsswitch.c: Likewise.
14159 * posix/regex_internal.h: Likewise.
14160 * posix/wordexp.c: Likewise.
14161 * pwd/fgetpwent.c: Likewise.
14162 * resolv/res_hconf.c: Likewise.
14163 * resolv/res_libc.c: Likewise.
14164 * shadow/fgetspent.c: Likewise.
14165 * shadow/lckpwdf.c: Likewise.
14166 * shadow/sgetspent.c: Likewise.
14167 * socket/opensock.c: Likewise.
14168 * stdio-common/reg-modifier.c: Likewise.
14169 * stdio-common/reg-printf.c: Likewise.
14170 * stdio-common/reg-type.c: Likewise.
14171 * stdio-common/vfprintf.c: Likewise.
14172 * stdio-common/vfscanf.c: Likewise.
14173 * stdlib/abort.c: Likewise.
14174 * stdlib/cxa_atexit.c: Likewise.
14175 * stdlib/fmtmsg.c: Likewise.
14176 * stdlib/random.c: Likewise.
14177 * stdlib/setenv.c: Likewise.
14178 * string/strsignal.c: Likewise.
14179 * sunrpc/auth_none.c: Likewise.
14180 * sunrpc/bindrsvprt.c: Likewise.
14181 * sunrpc/create_xid.c: Likewise.
14182 * sunrpc/key_call.c: Likewise.
14183 * sunrpc/rpc_thread.c: Likewise.
14184 * sysdeps/arm/backtrace.c: Likewise.
14185 * sysdeps/generic/ldsodefs.h: Likewise.
14186 * sysdeps/generic/stdio-lock.h: Likewise.
14187 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14188 * sysdeps/i386/backtrace.c: Likewise.
14189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14190 * sysdeps/m68k/backtrace.c: Likewise.
14191 * sysdeps/mach/hurd/cthreads.c: Likewise.
14192 * sysdeps/mach/hurd/dirstream.h: Likewise.
14193 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14194 * sysdeps/nptl/malloc-machine.h: Likewise.
14195 * sysdeps/nptl/stdio-lock.h: Likewise.
14196 * sysdeps/posix/dirstream.h: Likewise.
14197 * sysdeps/posix/getaddrinfo.c: Likewise.
14198 * sysdeps/posix/system.c: Likewise.
14199 * sysdeps/pthread/aio_suspend.c: Likewise.
14200 * sysdeps/s390/s390-32/backtrace.c: Likewise.
14201 * sysdeps/s390/s390-64/backtrace.c: Likewise.
14202 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14203 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14204 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14205 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14207 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14208 * sysdeps/unix/sysv/linux/system.c: Likewise.
14209 * sysdeps/x86_64/backtrace.c: Likewise.
14210 * time/alt_digit.c: Likewise.
14211 * time/era.c: Likewise.
14212 * time/tzset.c: Likewise.
14213 * wcsmbs/wcsmbsload.c: Likewise.
14214 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14215 instead of <bits/libc-lock.h> in comment.
14216
14217 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
14218
14219 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14220 Only use .set mips2 if the current ISA is below mips2.
14221 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14222 Likewise.
14223 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14224 mips32r2 if the current ISA is below mips32r2.
14225 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14226 (TLS_IE): Updated to use the TLD_RDHWR macro.
14227 (TLS_LE): Likewise.
14228 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14229 __ASSEMBLER__ condition.
14230
14231 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14232
14233 Fix parallel build of before-compile targets.
14234
14235 * sysdeps/mach/Makefile ($(patsubst
14236 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14237 mach-before-compile target.
14238 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14239 io fs process)): Move rule to dedicated hurd-before-compile target.
14240
14241 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14242
14243 Fix rules generating headers in hurd/ and mach/ when initial make call
14244 has subdir= explicitly set.
14245
14246 * sysdeps/mach/Makefile ($(patsubst
14247 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14248 calling $(MAKE).
14249 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14250 io fs process)): Force subdir to hurd when calling $(MAKE).
14251 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14252 subdir to mach when calling $(MAKE).
14253
14254 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
14255
14256 Check sysheaders when looking for Mach and Hurd headers
14257
14258 * sysdeps/mach/configure.ac: Add sysheaders check.
14259 * sysdeps/mach/configure: Regenerate.
14260 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14261 * sysdeps/mach/hurd/configure: Regenerate.
14262
14263 2015-09-04 Roland McGrath <roland@hack.frob.com>
14264
14265 [BZ #18921]
14266 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14267 Fix inverted sense of test of 'o_directory_works' value.
14268 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14269 Bernhard Voelker <mail@bernhard-voelker.de>.
14270
14271 2015-09-04 Joseph Myers <joseph@codesourcery.com>
14272
14273 [BZ #14912]
14274 * bits/linkmap.h: Move to ...
14275 * sysdeps/generic/linkmap.h: ...here.
14276 * sysdeps/aarch64/bits/linkmap.h: Move to ...
14277 * sysdeps/aarch64/linkmap.h: ...here.
14278 * sysdeps/arm/bits/linkmap.h: Move to ...
14279 * sysdeps/arm/linkmap.h: ...here.
14280 * sysdeps/hppa/bits/linkmap.h: Move to ...
14281 * sysdeps/hppa/linkmap.h: ...here.
14282 * sysdeps/ia64/bits/linkmap.h: Move to ...
14283 * sysdeps/ia64/linkmap.h: ...here.
14284 * sysdeps/mips/bits/linkmap.h: Move to ...
14285 * sysdeps/mips/linkmap.h: ...here.
14286 * sysdeps/s390/bits/linkmap.h: Move to ...
14287 * sysdeps/s390/linkmap.h: ...here.
14288 * sysdeps/sh/bits/linkmap.h: Move to ...
14289 * sysdeps/sh/linkmap.h: ...here.
14290 * sysdeps/x86/bits/linkmap.h: Move to ...
14291 * sysdeps/x86/linkmap.h: ...here.
14292 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14293
14294 2015-09-04 Andreas Schwab <schwab@suse.de>
14295
14296 [BZ #18635]
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14298 (__makecontext): Terminate FDE before return label.
14299 (__novec_makecontext): Likewise.
14300
14301 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14302
14303 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14304 first member of struct sv in syscall macro.
14305
14306 2015-09-04 Joseph Myers <joseph@codesourcery.com>
14307
14308 [BZ #14912]
14309 * bits/stdio-lock.h: Move to ...
14310 * sysdeps/generic/stdio-lock.h: ...here.
14311 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14312 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14313 * sysdeps/nptl/stdio-lock.h: ...here.
14314 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14315 * include/libio.h: Include <stdio-lock.h> instead of
14316 <bits/stdio-lock.h>.
14317 * sysdeps/nptl/fork.c: Likewise.
14318 * sysdeps/pthread/flockfile.c: Likewise.
14319 * sysdeps/pthread/ftrylockfile.c: Likewise.
14320 * sysdeps/pthread/funlockfile.c: Likewise.
14321
14322 [BZ #14912]
14323 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14324 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14325 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14326 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14327 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14328 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14329 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14330
14331 2015-09-03 Roland McGrath <roland@hack.frob.com>
14332
14333 * elf/Makefile (test-xfail-tst-protected1a): New variable.
14334 (test-xfail-tst-protected1b): New variable.
14335
14336 2015-09-03 Joseph Myers <joseph@codesourcery.com>
14337
14338 [BZ #14912]
14339 * bits/libc-tsd.h: Move to ...
14340 * sysdeps/generic/libc-tsd.h: ...here.
14341 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14342 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14343 * sysdeps/mach/hurd/libc-tsd.h: ...here.
14344 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14345 * include/ctype.h: Include <libc-tsd.h> instead of
14346 <bits/libc-tsd.h>.
14347 * include/rpc/rpc.h: Likewise.
14348 * locale/localeinfo.h: Likewise.
14349 * sunrpc/rpc_thread.c: Likewise.
14350 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14351 * sysdeps/nptl/malloc-machine.h: Likewise.
14352
14353 * Makefile (headers): Remove bits/libc-lock.h.
14354 * libio/Makefile (headers): Remove bits/stdio-lock.h.
14355
14356 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14357 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14358 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14359 <bits/stdio-lock.h>.
14360 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14361 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14362
14363 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14364
14365 [BZ #18757]
14366 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14367 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14368 BZ #18757.
14369
14370 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14371
14372 * malloc/mtrace.pl: Filter out NULL entries.
14373
14374 2015-09-01 Joseph Myers <joseph@codesourcery.com>
14375
14376 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14377 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14378 macro.
14379
14380 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14381 (TCP_CC_INFO): Likewise.
14382 (TCP_SAVE_SYN): Likewise.
14383 (TCP_SAVED_SYN): Likewise.
14384
14385 2015-08-31 Brett Neumeier <brett@neumeier.us>
14386
14387 [BZ #18870]
14388 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14389
14390 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
14391
14392 [BZ #18873]
14393 Fix broken overflow check in posix_fallocate
14394 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14395 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14396 Fix parenthesization typo.
14397
14398 2015-08-28 Mike Frysinger <vapier@gentoo.org>
14399
14400 [BZ #18887]
14401 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14402 tst-mntent-blank-passno.
14403 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14404 * misc/tst-mntent-blank-corrupt.c: New test.
14405 * misc/tst-mntent-blank-passno.c: New test ripped from ...
14406 * misc/tst-mntent.c (do_test): ... here.
14407
14408 2015-08-29 Mike Frysinger <vapier@gentoo.org>
14409
14410 [BZ #4404]
14411 * po/de.po: Fix SIGALRM typo.
14412
14413 2015-08-28 James Perkins <james@loowit.net>
14414
14415 * time/tst-strptime2.c (tests): Replace short list of test
14416 strings for strptime %z specifier with code which exhaustively
14417 tests every combination of sign and 0 to 5 digits. Tests for
14418 rejection of invalid strings.
14419
14420 2015-08-28 James Perkins <james@loowit.net>
14421
14422 [BZ #16141]
14423 * time/strptime_l.c (__strptime_internal): Fix %z minutes
14424 calculation, removing incorrect decimal time rounding, so that
14425 all minute values result in a valid seconds value.
14426 * time/strptime_l.c (__strptime_internal): Extend %z time zone
14427 offset range limits to UTC-99:59 through UTC+99:59 to parse
14428 current and historical use cases.
14429 * time/tst-strptime2.c (tests): Modify and add tests for the
14430 strptime %z input field descriptor, specifically conversion of
14431 minutes to seconds and validating an offset range of -9959 to
14432 +9959.
14433
14434 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14435 Dmitry V. Levin <ldv@altlinux.org>
14436
14437 [BZ #18877]
14438 * posix/Makefile (tests): Add tst-mmap-offset.
14439 * posix/tst-mmap.c: New file.
14440 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14441 offset calculation for negative values.
14442
14443 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14444
14445 * sysdeps/i386/init-arch.h: New file.
14446 * sysdeps/i386/i586/init-arch.h: Likewise.
14447 * sysdeps/i386/i686/init-arch.h: Likewise.
14448 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14449 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
14450 * sysdeps/x86/cpu-features.h (bit_I586): New.
14451 (bit_I686): Likewise.
14452 (bit_CX8): Likewise.
14453 (bit_CMOV): Likewise.
14454 (index_CX8): Likewise.
14455 (index_CMOV): Likewise.
14456 (index_I586): Likewise.
14457 (index_I686): Likewise.
14458 (reg_CX8): Likewise.
14459 (reg_CMOV): Likewise.
14460 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14461 available at compile-time.
14462 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14463 available at compile-time.
14464 * sysdeps/x86/init-arch.h (USE_I586): New macro.
14465 (USE_I686): Likewise.
14466
14467 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14468
14469 * sysdeps/i386/bcopy.S: New file.
14470 * sysdeps/i386/bzero.S: Likewise.
14471 * sysdeps/i386/memcpy.S: Likewise.
14472 * sysdeps/i386/memmove.S: Likewise.
14473 * sysdeps/i386/mempcpy.S: Likewise.
14474 * sysdeps/i386/memset.S: Likewise.
14475 * sysdeps/i386/bzero.c: Removed.
14476 * sysdeps/i386/memset.c: Likewise.
14477 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14478 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14479 * sysdeps/i386/i586/memset_chk.S: Likewise.
14480 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14481 * sysdeps/i386/memcpy_chk.S: Here.
14482 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14483 * sysdeps/i386/memmove_chk.S: Here.
14484 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14485 * sysdeps/i386/mempcpy_chk.S: Likewise.
14486 * sysdeps/i386/i686/memset_chk.S: Moved to ...
14487 * sysdeps/i386/memset_chk.S: Likewise.
14488
14489 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
14490
14491 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14492 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14493 file, move DIAG_POP_NEEDS_COMMENT to end of file.
14494 * soft-fp/fmadf4.c: Ditto.
14495 * soft-fp/fmatf4.c: Ditto.
14496
14497 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14498
14499 * sysdeps/i386/i586/Implies: Removed.
14500 * sysdeps/i386/i686/Implies: Likewise.
14501
14502 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14503
14504 * sysdeps/i386/i486/strlen.S: Moved to ...
14505 * sysdeps/i386/strlen.S: Here.
14506
14507 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14508
14509 * sysdeps/i386/i486/strcat.S: Moved to ...
14510 * sysdeps/i386/strcat.S: Here.
14511
14512 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14513
14514 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14515 * sysdeps/i386/pthread_spin_trylock.S: Here.
14516 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14517 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14518
14519 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14520
14521 * sysdeps/i386/i486/string-inlines.c: Moved to ...
14522 * sysdeps/i386/string-inlines.c: Here.
14523
14524 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14525
14526 * sysdeps/i386/i486/htonl.S: Moved ...
14527 * sysdeps/i386/htonl.S: here.
14528
14529 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14530
14531 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14532 * sysdeps/i386/bits/atomic.h: Here.
14533
14534 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14535
14536 * sysdeps/i386/i486/Versions: Removed.
14537
14538 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14539
14540 [BZ #2898]
14541 * misc/mktemp.c: Add mkdtemp to the link_warning message.
14542 Based on patch by Aurelien Jarno.
14543
14544 2015-08-26 Stan Shebs <stanshebs@google.com>
14545
14546 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14547 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14548
14549 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14550
14551 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14552 * sysdeps/powerpc/dl-procinfo.c:
14553 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14554 feature so it shows when LD_SHOW_AUXV=1.
14555
14556 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14557
14558 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14559 (__arch_compare_and_exchange_val_32_acq): Remove and use common
14560 definition. ISA 2.07B no longer requires full sync.
14561
14562 2015-08-26 Mike Frysinger <vapier@gentoo.org>
14563
14564 [BZ #18863]
14565 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14566 (si_call_addr): Define.
14567 (si_syscall): Define.
14568 (si_arch): Define.
14569
14570 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
14571
14572 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14573 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14574 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14575 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14576 (__memset_zero_constant_len_parameter): New.
14577 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14578 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14579 (__memset_zero_constant_len_parameter): Don't define if
14580 __memset_chk or USE_AS_BZERO are defined.
14581
14582 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14583 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14584 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14585
14586 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14587 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14588 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14589 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
14590 comments.
14591 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14592 -mno-mmx for $(all-rtld-routines).
14593 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14594 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
14595 i386.
14596
14597 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14598
14599 * sysdeps/generic/unwind.h
14600 (_Unwind_Word): Use __mode__(__unwind_word__)
14601 instead of __mode__(__word__).
14602 (_Unwind_Sword): Likewise.
14603
14604 * sysdeps/s390/s390-64/utf8-utf16-z9.c
14605 (MAX_NEEDED_INPUT): New define.
14606 (MAX_NEEDED_OUTPUT): New define.
14607
14608 * NEWS: New item for IBM z13 string optimizations.
14609
14610 * sysdeps/s390/multiarch/memrchr-c.c: New File.
14611 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14612 * sysdeps/s390/multiarch/memrchr.c: Likewise.
14613 * sysdeps/s390/multiarch/Makefile
14614 (sysdep_routines): Add memrchr functions.
14615 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14616 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14617
14618 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14619 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14620 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14621 * sysdeps/s390/multiarch/Makefile
14622 (sysdep_routines): Add wmemcmp functions.
14623 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14624 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14625 * benchtests/bench-wmemcmp.c: New File.
14626 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14627
14628 * sysdeps/s390/multiarch/wmemset-c.c: New File.
14629 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14630 * sysdeps/s390/multiarch/wmemset.c: Likewise.
14631 * sysdeps/s390/multiarch/Makefile
14632 (sysdep_routines): Add wmemset functions.
14633 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14634 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14635 * wcsmbs/wmemset.c: Use WMEMSET if defined.
14636 * string/test-memset.c: Add wmemset support.
14637 * wcsmbs/test-wmemset.c: New File.
14638 * wcsmbs/Makefile (strop-tests): Add wmemset.
14639 * benchtests/bench-memset.c: Add wmemset support.
14640 * benchtests/bench-wmemset.c: New File.
14641 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14642
14643 * sysdeps/s390/multiarch/memccpy-c.c: New File.
14644 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14645 * sysdeps/s390/multiarch/memccpy.c: Likewise.
14646 * sysdeps/s390/multiarch/Makefile
14647 (sysdep_routines): Add memccpy functions.
14648 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14649 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14650 * string/memccpy.c: Use MEMCCPY if defined.
14651
14652 * sysdeps/s390/multiarch/memchr-vx.S: New File.
14653 * sysdeps/s390/multiarch/memchr.c: Likewise.
14654 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14655 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14656 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14657 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14658 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14659 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14660 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14661 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14662 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14663 and rawmemchr functions.
14664 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14665 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14666 and wmemchr.
14667 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14668 * string/test-memchr.c: Add wmemchr support.
14669 * wcsmbs/test-wmemchr.c: New File.
14670 * wcsmbs/Makefile (strop-tests): Add wmemchr.
14671 * benchtests/bench-memchr.c: Add wmemchr support.
14672 * benchtests/bench-wmemchr.c: New File.
14673 * benchtests/Makefile (wcsmbs-bench): wmemchr.
14674
14675 * sysdeps/s390/multiarch/strcspn-c.c: New File.
14676 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14677 * sysdeps/s390/multiarch/strcspn.c: Likewise.
14678 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14679 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14680 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14681 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14682 wcscspn functions.
14683 * sysdeps/s390/multiarch/ifunc-impl-list.c
14684 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14685 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14686 * string/test-strcspn.c: Add wcscspn support.
14687 * wcsmbs/test-wcscspn.c: New File.
14688 * wcsmbs/Makefile (strop-tests): Add wcscspn.
14689 * benchtests/bench-strcspn.c: Add wcscspn support.
14690 * benchtests/bench-wcscspn.c: New File.
14691 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14692
14693 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14694 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14695 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14696 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14697 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14698 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14699 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14700 wcspbrk functions.
14701 * sysdeps/s390/multiarch/ifunc-impl-list.c
14702 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14703 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14704 * string/test-strpbrk.c: Add wcspbrk support.
14705 * wcsmbs/test-wcspbrk.c: New File.
14706 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14707 * benchtests/bench-strpbrk.c: Add wcspbrk support.
14708 * benchtests/bench-wcspbrk.c: New File.
14709 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14710
14711 * sysdeps/s390/multiarch/strspn-c.c: New File.
14712 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14713 * sysdeps/s390/multiarch/strspn.c: Likewise.
14714 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14715 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14716 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14717 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14718 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14719 wcsspn functions.
14720 * sysdeps/s390/multiarch/ifunc-impl-list.c
14721 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14722 * string/test-strspn.c: Add wcsspn support.
14723 * wcsmbs/test-wcsspn.c: New File.
14724 * wcsmbs/Makefile (strop-tests): Add wcsspn.
14725 * benchtests/bench-strspn.c: Add wcsspn support.
14726 * benchtests/bench-wcsspn.c: New File.
14727 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14728
14729 * sysdeps/s390/multiarch/strrchr-c.c: New File.
14730 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14731 * sysdeps/s390/multiarch/strrchr.c: Likewise.
14732 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14733 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14734 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14735 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14736 wcsrchr functions.
14737 * sysdeps/s390/multiarch/ifunc-impl-list.c
14738 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14739 * benchtests/bench-wcsrchr.c: New File.
14740 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14741
14742 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14743 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14744 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14745 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14746 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14747 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14748 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14749 wcschrnul functions.
14750 * sysdeps/s390/multiarch/ifunc-impl-list.c
14751 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14752 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14753 * string/test-strchr.c: Add wcschrnul support.
14754 * wcsmbs/test-wcschrnul.c: New File.
14755 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14756 * benchtests/bench-strchr.c: Add wcschrnul support.
14757 * benchtests/bench-wcschrnul.c: New File.
14758 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14759
14760 * sysdeps/s390/multiarch/strchr-c.c: New File.
14761 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14762 * sysdeps/s390/multiarch/strchr.c: Likewise.
14763 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14764 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14765 * sysdeps/s390/multiarch/wcschr.c: Likewise.
14766 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14767 wcschr functions.
14768 * sysdeps/s390/multiarch/ifunc-impl-list.c
14769 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14770 * string/strchr.c (STRCHR): Define and use macro.
14771 * benchtests/bench-wcschr.c: New File.
14772 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14773
14774 * sysdeps/s390/multiarch/strncmp-c.c: New File.
14775 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14776 * sysdeps/s390/multiarch/strncmp.c: Likewise.
14777 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14778 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14779 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14780 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14781 wcsncmp functions.
14782 * sysdeps/s390/multiarch/ifunc-impl-list.c
14783 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14784 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14785 * benchtests/bench-strncmp.c: Add wcsncmp support.
14786 * benchtests/bench-wcsncmp.c: New File.
14787 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14788
14789 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14790 * sysdeps/s390/multiarch/strcmp.c: Likewise.
14791 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14792 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14793 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14794 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14795 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14796 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14797 wcscmp functions.
14798 * sysdeps/s390/multiarch/ifunc-impl-list.c
14799 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14800 * string/strcmp.c (STRCMP): Define and use macro.
14801 * benchtests/bench-wcscmp.c: New File.
14802 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14803 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14804 instead of _HAVE_STRING_ARCH_memchr.
14805
14806 * sysdeps/s390/multiarch/strncat-c.c: New File.
14807 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14808 * sysdeps/s390/multiarch/strncat.c: Likewise.
14809 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14810 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14811 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14812 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14813 wcsncat functions.
14814 * sysdeps/s390/multiarch/ifunc-impl-list.c
14815 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14816 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14817 * string/test-strncat.c: Add wcsncat support.
14818 * wcsmbs/test-wcsncat.c: New File.
14819 * wcsmbs/Makefile (strop-tests): Add wcsncat.
14820 * benchtests/bench-strncat.c: Add wcsncat support.
14821 * benchtests/bench-wcsncat.c: New File.
14822 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14823
14824 * sysdeps/s390/multiarch/strcat-c.c: New File.
14825 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14826 * sysdeps/s390/multiarch/strcat.c: Likewise.
14827 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14828 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14829 * sysdeps/s390/multiarch/wcscat.c: Likewise.
14830 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14831 wcscat functions.
14832 * sysdeps/s390/multiarch/ifunc-impl-list.c
14833 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14834 * string/strcat.c (STRCAT): Define and use macro.
14835 * wcsmbs/wcscat.c: Use WCSCAT if defined.
14836 * string/test-strcat.c: Add wcscat support.
14837 * wcsmbs/test-wcscat.c: New File.
14838 * wcsmbs/Makefile (strop-tests): Add wcscat.
14839 * benchtests/bench-strcat.c: Add wcscat support.
14840 * benchtests/bench-wcscat.c: New File.
14841 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14842
14843 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14844 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14845 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14846 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14847 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14848 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14849 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14850 wcpncpy functions.
14851 * sysdeps/s390/multiarch/ifunc-impl-list.c
14852 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14853 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14854 * string/test-stpncpy.c: Add wcpncpy support.
14855 * wcsmbs/test-wcpncpy.c: New File.
14856 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14857 * benchtests/bench-stpncpy.c: Add wcpncpy support.
14858 * benchtests/bench-wcpncpy.c: New File.
14859 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14860
14861 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14862 * sysdeps/s390/multiarch/strncpy.c: Likewise.
14863 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14864 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14865 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14866 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14867 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14868 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14869 wcsncpy functions.
14870 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14871 * sysdeps/s390/multiarch/ifunc-impl-list.c
14872 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14873 * string/test-strncpy.c: Add wcsncpy support.
14874 * wcsmbs/test-wcsncpy.c: New File.
14875 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14876 * benchtests/bench-strncpy.c: Add wcsncpy support.
14877 * benchtests/bench-wcsncpy.c: New File.
14878 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14879
14880 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14881 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14882 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14883 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14884 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14885 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14886 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14887 wcpcpy functions.
14888 * string/stpcpy.c: Use STPCPY if defined.
14889 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14890 * sysdeps/s390/multiarch/ifunc-impl-list.c
14891 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14892 * string/test-stpcpy.c: Add wcpcpy support.
14893 * wcsmbs/test-wcpcpy.c: New File.
14894 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14895 * benchtests/bench-stpcpy.c: Add wcpcpy support.
14896 * benchtests/bench-wcpcpy.c: New File.
14897 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14898
14899 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14900 * sysdeps/s390/multiarch/strcpy.c: Likewise.
14901 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14902 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14903 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14904 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14905 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14906 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14907 wcscpy functions.
14908 * sysdeps/s390/multiarch/ifunc-impl-list.c
14909 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14910 * benchtests/bench-wcscpy.c: New File.
14911 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14912
14913 * sysdeps/s390/multiarch/strnlen-c.c: New File.
14914 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14915 * sysdeps/s390/multiarch/strnlen.c: Likewise.
14916 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14917 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14918 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14919 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14920 wcsnlen functions.
14921 * sysdeps/s390/multiarch/ifunc-impl-list.c
14922 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14923 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14924 * string/test-strnlen.c: Add wcsnlen support.
14925 * wcsmbs/test-wcsnlen.c: New File.
14926 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14927 * benchtests/bench-strnlen.c: Add wcsnlen support.
14928 * benchtests/bench-wcsnlen.c: New File.
14929 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14930
14931 * sysdeps/s390/multiarch/Makefile: New File.
14932 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14933 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14934 * sysdeps/s390/multiarch/strlen.c: Likewise.
14935 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14936 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14937 * sysdeps/s390/multiarch/wcslen.c: Likewise.
14938 * string/strlen.c (STRLEN): Define and use macro.
14939 * sysdeps/s390/multiarch/ifunc-impl-list.c
14940 (IFUNC_VX_IMPL): New macro function.
14941 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14942 * benchtests/Makefile (wcsmbs-bench): New variable.
14943 (string-bench-all): Added wcsmbs-bench.
14944 * benchtests/bench-wcslen.c: New File.
14945
14946 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14947 s390_vx_libc_ifunc2): New macro function.
14948
14949 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14950 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14951 assembler support.
14952 * sysdeps/s390/configure: Regenerated.
14953
14954 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14955 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14956
14957 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14958 * sysdeps/s390/dl-procinfo.h: Add vector capability.
14959 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14960
14961 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14962 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14964 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14965 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14966 (memcmp, bcmp): Use __memcmp_default as alias source.
14967 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14968 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14969 Rename to __memcmp_default.
14970 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14971 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14972 (memcpy): Use __memcpy_default as alias source.
14973 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14974 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14975 Rename to __memcpy_default.
14976 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14977 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14978 (memset): Use __memset_default as alias source.
14979 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14980 * sysdeps/s390/s390-32/memset.S (__memset_g5):
14981 Rename to __memset_default.
14982 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14983 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14984 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14985 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14986 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14987 (memcmp, bcmp): Use __memcmp_default as alias source.
14988 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14989 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14990 Rename to __memcmp_default.
14991 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14992 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14993 (memcpy): Use __memcpy_default as alias source.
14994 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14995 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14996 Rename to __memcpy_default.
14997 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14998 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14999 (memset): Use __memset_default as alias source.
15000 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15001 * sysdeps/s390/s390-64/memset.S (__memset_z900):
15002 Rename to __memset_default.
15003 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15004 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15005
15006 [BZ #18610]
15007 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15008 __ieee_instruction_pointer to __unused.
15009 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15010 __ieee_instruction_pointer.
15011 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15012 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15013 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15014 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15015 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15016 Mark dxc-field as reserved.
15017
15018 2015-08-25 Roland McGrath <roland@hack.frob.com>
15019
15020 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15021 if the weak reference is not null.
15022
15023 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
15024
15025 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15026
15027 [BZ #11214]
15028 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15029
15030 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15031
15032 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15033 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15034 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15035 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15036 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15037 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15038 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15039 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15040 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15041 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15042 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15043 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15044 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15045 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15046 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15047 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15048 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15049 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15050
15051 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15052
15053 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15054 register other than r0 for tabort, it has special meaning.
15055 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15056 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15057 transaction before starting syscall.
15058
15059 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15060
15061 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15062
15063 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15066
15067 * sysdeps/x86_64/rtld-memcmp.c: Removed.
15068 * sysdeps/x86_64/rtld-memset.S: Likewise.
15069 * sysdeps/x86_64/rtld-strchr.S: Likewise.
15070 * sysdeps/x86_64/rtld-strlen.S: Likewise.
15071 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15072 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15073
15074 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15075
15076 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
15077
15078 * debug/strcpy_chk.c: Improve performance.
15079 * debug/stpcpy_chk.c: Likewise.
15080 * sysdeps/x86_64/strcpy_chk.S: Remove.
15081 * sysdeps/x86_64/stpcpy_chk.S: Remove.
15082
15083 [BZ #18240]
15084 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15085
15086 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
15087
15088 [BZ #15128]
15089 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15090 ifuncmain8.
15091 (modules-names): Add ifuncmod8.
15092 ($(objpfx)ifuncmain8): New rule.
15093 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15094 <cpuid.h>.
15095 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15096 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15097 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15098 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15099 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15100 * sysdeps/x86_64/dl-trampoline.h: Likewise.
15101 * sysdeps/x86_64/ifuncmain8.c: New file.
15102 * sysdeps/x86_64/ifuncmod8.c: Likewise.
15103 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15104 Removed.
15105 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15106 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15107 Change rtld_savespace_sse to __glibc_unused2.
15108 (RTLD_CHECK_FOREIGN_CALL): Removed.
15109 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15110 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15111 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15112
15113 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
15114
15115 * sysdeps/aarch64/bzero.S (__bzero): Remove.
15116
15117 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
15118
15119 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15120 Unconditionally set __fpcr to avoid uninialized warning.
15121 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15122
15123 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
15125 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15126 is corrupt.
15127
15128 * malloc/arena.c (arena_get2): Drop unused argument.
15129 (arena_lock): Adjust.
15130 (arena_get_retry): Likewise.
15131
15132 2015-08-24 Andreas Schwab <schwab@suse.de>
15133
15134 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15135 Don't define.
15136 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15137 (__ASSUME_IPC64): Don't undef.
15138 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15139 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15140 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15141 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15142 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15143 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15144 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15145 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15146 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15147 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15148 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15149 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15150 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15151 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15152 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15153 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15154 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15155 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15156 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15157 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15158 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15159
15160 2015-08-21 Mike Frysinger <vapier@gentoo.org>
15161
15162 * manual/Makefile (install): Only build manual when perl is available.
15163
15164 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15165
15166 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15167 '#undef memcpy' by '#undef memchr'.
15168
15169 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15170
15171 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15172 memchr not point to the internal __GI_memchr implementation.
15173
15174 2015-08-20 Joseph Myers <joseph@codesourcery.com>
15175
15176 * timezone/Makefile (CFLAGS-zdump.c): Remove
15177 -Wno-strict-prototypes.
15178 (CFLAGS-zic.c): Likewise.
15179 (CFLAGS-ialloc.c): Likewise.
15180 (CFLAGS-scheck.c): Likewise.
15181
15182 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15183 -Wno-error=undef.
15184
15185 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
15186
15187 * i386/i686/multiarch/strcasestr-c.c: Removed.
15188 * x86_64/multiarch/strcasestr.c: Likewise.
15189 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15190 Remove strcasestr.
15191
15192 2015-08-20 Joseph Myers <joseph@codesourcery.com>
15193
15194 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15195
15196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15197 variables for high and low parts before possibly modifying them.
15198
15199 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
15200
15201 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15202 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15203 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15204 of "multiarch/init-arch.h".
15205 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15206 * sysdeps/x86/init-arch.h: This.
15207
15208 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
15209
15210 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15211 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15212
15213 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
15214
15215 [BZ #17787]
15216 * manual/macros.texi: Add twoexp macro.
15217 * manual/filesys.texi: Fix exponents.
15218 * manual/llio.texi: Likewise.
15219 * manual/stdio.texi: Likewise.
15220
15221 2015-08-20 Florian Weimer <fweimer@redhat.com>
15222
15223 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15224 incorrect use.
15225
15226 2015-08-19 Joseph Myers <joseph@codesourcery.com>
15227
15228 [BZ #18370]
15229 * math/s_csqrt.c (__csqrt): Force underflow exception for results
15230 whose real or imaginary part has small absolute value.
15231 * math/s_csqrtf.c (__csqrtf): Likewise.
15232 * math/s_csqrtl.c (__csqrtl): Likewise.
15233 * math/auto-libm-test-in: Add more tests of csqrt.
15234 * math/auto-libm-test-out: Regenerated.
15235 * sysdeps/i386/fpu/libm-test-ulps: Update.
15236
15237 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15238
15239 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15240 __ppc_set_ppr_very_low): New functions.
15241 * manual/platform.texi: Add documentation about
15242 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15243
15244 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
15245
15246 * string/stpncpy.c (stpncpy): Improve performance using
15247 __strnlen/memcpy/memset.
15248
15249 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
15250
15251 [BZ #18796]
15252 * scripts/test-installation.pl: Don't add -lmvec to build options if
15253 libmvec wasn't built.
15254
15255 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
15256
15257 [BZ #14341]
15258 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15259 case when there is a gap between DT_REL and DT_JMPREL sections.
15260 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15261 (LDFLAGS-tst-split-dynreloc): New.
15262 (tst-split-dynreloc-ENV): Likewise.
15263 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15264 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15265
15266 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15267
15268 [BZ #18822]
15269 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15270 attribute_hidden.
15271 (__xstat64_conv): Likewise.
15272 (__xstat32_conv): Likewise.
15273
15274 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 [BZ #18822]
15277 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15278 Don't load %ebx when calling __setcontext. Call __setcontext
15279 with HIDDEN_JUMPTARGET.
15280 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15281 libc_hidden_def.
15282
15283 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15284
15285 * sysdeps/i386/i686/Makefile
15286 [$(subdir) == string] (sysdep_routines): Moved to ...
15287 * sysdeps/i386/Makefile: Here.
15288 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15289 * sysdeps/i386/cacheinfo.c: Here.
15290 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15291 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15292 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15293 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15294
15295 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15296
15297 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15298 __i586__ is defined.
15299 (HAS_I686): Defined to 1 if __i686__ is defined.
15300
15301 2015-08-19 Joseph Myers <joseph@codesourcery.com>
15302
15303 * elf/Makefile [$(have-z-execstack) = yes]
15304 (CPPFLAGS-tst-execstack.c): New variable.
15305
15306 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15307 conditional to [defined UTMPX || _HAVE_UT_TYPE].
15308 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15309 UTMPX || _HAVE_UT_TV].
15310 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15311 UTMPX || _HAVE_UT_TV - 0].
15312
15313 2015-08-18 Joseph Myers <joseph@codesourcery.com>
15314
15315 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15316 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15317 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15318
15319 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15320
15321 * sysdeps/powerpc/dl-procinfo.c:
15322 (_dl_powerpc_cap_flags): Added missing strings for some
15323 hwcap features.
15324 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15325
15326 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
15327
15328 Port the 0x7efe...feff pattern to GCC 6.
15329 See Steve Ellcey's bug report in:
15330 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15331 * string/memrchr.c (MEMRCHR):
15332 * string/rawmemchr.c (RAWMEMCHR):
15333 * string/strchr.c (strchr):
15334 * string/strchrnul.c (STRCHRNUL):
15335 Rewrite code to avoid issues with signed shift overflow.
15336
15337 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
15338
15339 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15340 whether cpuid is available only if HAS_CPUID is 0.
15341 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15342 (HAS_I586): Likewise.
15343 (HAS_I686): Likewise.
15344
15345 2015-08-18 Zack Weinberg <zackw@panix.com>
15346
15347 * misc/Versions (libc): Add GLIBC_2.23.
15348
15349 2015-08-18 Alan Modra <amodra@gmail.com>
15350
15351 [BZ #18421]
15352 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15353 .Lp__global.
15354 (_start): Load %dp via .Lp__global.
15355 [!SHARED]: Use .section .rodata.
15356
15357 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15358
15359 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15360 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15361
15362 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15363
15364 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15365 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15366
15367 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15368
15369 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15370 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15371
15372 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15373
15374 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15375 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15376
15377 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15378
15379 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15380 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15381
15382 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15383
15384 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15385 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15386
15387 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15388
15389 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15390
15391 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15392
15393 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15394 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
15395 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15396 (__ASSUME_LWS_CAS): Delete.
15397
15398 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15399
15400 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15401 * sysdeps/hppa/configure: Regenerated.
15402 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15403 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15404 * sysdeps/hppa/nptl/tls.h: Likewise.
15405
15406 2015-08-17 Joseph Myers <joseph@codesourcery.com>
15407
15408 [BZ #18823]
15409 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15410 for scaling up small arguments.
15411 * math/s_csqrtf.c (__csqrtf): Likewise.
15412 * math/s_csqrtl.c (__csqrtl): Likewise.
15413 * math/auto-libm-test-in: Add more tests of csqrt.
15414 * math/auto-libm-test-out: Regenerated.
15415
15416 2015-08-17 Andreas Schwab <schwab@suse.de>
15417
15418 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15419 version set GLIBC_2.19.
15420
15421 2015-08-16 Zack Weinberg <zackw@panix.com>
15422
15423 [BZ #18681]
15424 * misc/regexp.h: This interface is no longer supported.
15425 Remove all contents, leaving only an #error directive.
15426 * misc/regexp.c (loc1, loc2, locs, step, advance):
15427 Demote to compatibility symbols.
15428
15429 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15430
15431 [BZ #18084]
15432 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15433 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15434 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15435 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15436 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15437 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15438 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15439 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15440 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15441
15442 2015-08-15 Zack Weinberg <zackw@panix.com>
15443
15444 [BZ #18795]
15445 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15446 buffer length is known to be too large, not if it's known to be
15447 small enough.
15448 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15449 overflow at runtime, involving a length parameter, twice: once
15450 with a compile-time constant length parameter, once without.
15451
15452 2015-08-14 Joseph Myers <joseph@codesourcery.com>
15453
15454 [BZ #18824]
15455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15456 scaling x * y up instead of down.
15457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15459 * math/auto-libm-test-in: Add more tests of fma.
15460 * math/auto-libm-test-out: Regenerated.
15461
15462 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15463
15464 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15465
15466 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15467
15468 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15469 unnecessary movq.
15470 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15471 Likewise.
15472
15473 2015-08-13 Joseph Myers <joseph@codesourcery.com>
15474
15475 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15476 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15477 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15478 and tgamma.
15479 * math/auto-libm-test-out: Regenerated.
15480 * sysdeps/i386/fpu/libm-test-ulps: Update.
15481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15482
15483 [BZ #16520]
15484 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15485 (__tanh): Force underflow exception for arguments with small
15486 absolute value.
15487 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15488 (__tanhf): Force underflow exception for arguments with small
15489 absolute value.
15490 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15491 (__tanhl): Force underflow exception for arguments with small
15492 absolute value.
15493 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15494 (__tanhl): Force underflow exception for arguments with small
15495 absolute value.
15496 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15497 (__tanhl): Force underflow exception for arguments with small
15498 absolute value.
15499 * math/auto-libm-test-in: Add more tests of tanh.
15500 * math/auto-libm-test-out: Regenerated.
15501 * sysdeps/i386/fpu/libm-test-ulps: Update.
15502
15503 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15504
15505 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15506 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15507
15508 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15509
15510 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15511 <cpuid.h>.
15512
15513 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15514
15515 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15516 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15517
15518 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15519
15520 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15521 Remove $(objpfx)init-arch.o.
15522 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15523 init-arch.
15524 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15525 (INIT_ARCH_EXT): Defined as empty.
15526 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15528 __init_cpu_features call. Replace HAS_XXX with
15529 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15530 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15532 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15533 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15534 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15535 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15536 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15537 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15538 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15539 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15540 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15541 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15542 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15543 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15546 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15547 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15548 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15549 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15550 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15551 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15552 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15553 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15554 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15555 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15556 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15557 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15558 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15559 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15560 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15561 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15562 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15563 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15564 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15565
15566 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15567
15568 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15569 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15570 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15571 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15572 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15573 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15574 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15575 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15576 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15577 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15578 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15579 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
15580 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15581 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15610 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15611
15612 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15613
15614 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15615 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15619 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15621 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15622 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15623 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15625 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15626 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15627 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15628 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15629 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15630 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15632 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15633 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15635 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15636 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15637 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15638 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15639 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15640 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15641 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
15642 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15643 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15644 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15645 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15646 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15647 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15648 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15649 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15650 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15651 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15652 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15653 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15654 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15655 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15656 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15657
15658 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15659
15660 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15661 (dl_platform_init): Call init_cpu_features.
15662 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15663 * sysdeps/i386/i686/cacheinfo.c
15664 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15665 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15666 * sysdeps/i386/i686/multiarch/Versions: Removed.
15667 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15668 Removed.
15669 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15670 * sysdeps/unix/sysv/linux/x86/Makefile
15671 (libpthread-sysdep_routines): Remove init-arch.
15672 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15673 <sysdeps/x86_64/dl-procinfo.c> instead of
15674 sysdeps/generic/dl-procinfo.c>.
15675 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15676 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15677 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15678 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15679 [$(subdir) == elf] (tests-static): Add
15680 tst-get-cpu-features-static.
15681 * sysdeps/x86/Versions: New file.
15682 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15683 * sysdeps/x86/cpu-features.c: Likewise.
15684 * sysdeps/x86/cpu-features.h: Likewise.
15685 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15686 * sysdeps/x86/libc-start.c: Likewise.
15687 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15688 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15689 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15690 * sysdeps/x86_64/dl-procinfo.c: Likewise.
15691 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15692 Assume USE_MULTIARCH is defined and don't check it.
15693 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15694 (is_amd): Likewise.
15695 (max_cpuid): Likewise.
15696 (intel_check_word): Likewise.
15697 (__cache_sysconf): Don't call __init_cpu_features.
15698 (__x86_preferred_memory_instruction): Removed.
15699 (init_cacheinfo): Don't call __init_cpu_features. Replace
15700 __cpu_features with GLRO(dl_x86_cpu_features).
15701 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15702 (dl_platform_init): Call init_cpu_features.
15703 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15704 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15705 * sysdeps/x86_64/multiarch/Versions: Removed.
15706 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15707 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15708 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15709 Removed.
15710 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15711
15712 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15713
15714 [BZ #18820]
15715 * libio/Makefile (test-fmemopen-mem): New test.
15716 * libio/test-fmemopen.c (do_bz18820): New test.
15717 * libio/fmemopen.c (__fmemopen): Fix memory leak.
15718 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15719
15720 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15721
15722 [BZ #16734]
15723 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15724 (FREE_BUF): Delete.
15725 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15726 * libio/genops.c (_IO_setb): Use malloc and free directly.
15727 (_IO_default_doallocate, _IO_default_finish): Likewise.
15728 ( _IO_unbuffer_all): Likewise.
15729 ( libc_freeres_fn): Likewise.
15730 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15731 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15732 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15733 (_IO_wdefault_doallocate): Likewise.
15734
15735 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15736
15737 [BZ #18086]
15738 * sysdeps/posix/nice.c (nice): Restore old errno.
15739 * posix/tst-nice.c (do_test): Add test for BZ #18086.
15740
15741 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
15742
15743 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15744
15745 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15746
15747 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15748 __bcopy and add a weak_alias to bcopy.
15749 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15750 for static build.
15751
15752 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15753 cleanup macro usage.
15754 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15755 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15756 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15757 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15758 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15760 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15761 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15762 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15763 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15764 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15765 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15766 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15767 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15768 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15769 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15770 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15771 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15772 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15773
15774 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15775 libc_hidden_def.
15776 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15777
15778 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15779 (sysdep_routines): Add strstr-ppc64.
15780 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15781
15782 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
15783
15784 [BZ #18778]
15785 * elf/Makefile (tests): Add Add tst-nodelete2.
15786 (modules-names): Add tst-nodelete2mod.
15787 (tst-nodelete2mod.so-no-z-defs): New.
15788 ($(objpfx)tst-nodelete2): Likewise.
15789 ($(objpfx)tst-nodelete2.out): Likewise.
15790 (LDFLAGS-tst-nodelete2): Likewise.
15791 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15792 out of loop through all loaded libraries.
15793 * elf/tst-nodelete2.c: New file.
15794 * elf/tst-nodelete2mod.c: Likewise.
15795 * elf/tst-znodelete-zlib.cc: Delete.
15796
15797 2015-08-11 Andreas Schwab <schwab@suse.de>
15798
15799 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15800 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15801 (__openat64_nocancel): Likewise.
15802
15803 2015-08-11 Joseph Myers <joseph@codesourcery.com>
15804
15805 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15806 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15807 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15808 * math/auto-libm-test-out: Regenerated.
15809 * sysdeps/i386/fpu/libm-test-ulps: Update.
15810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811
15812 2015-08-10 Joseph Myers <joseph@codesourcery.com>
15813
15814 [BZ #18790]
15815 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15816 threshold for returning +/- 1.
15817 * math/auto-libm-test-in: Add more tests of tanh.
15818 * math/auto-libm-test-out: Regenerated.
15819 * sysdeps/i386/fpu/libm-test-ulps: Update.
15820
15821 2015-08-10 Andreas Schwab <schwab@suse.de>
15822
15823 [BZ #18781]
15824 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15825 MORE_OFLAGS to oflag.
15826 * io/test-lfs.c (do_test): Test openat64.
15827
15828 2015-08-10 Joseph Myers <joseph@codesourcery.com>
15829
15830 [BZ #18789]
15831 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15832 smaller threshold for returning the argument.
15833 * math/auto-libm-test-in: Add more tests of sinh.
15834 * math/auto-libm-test-out: Regenerated.
15835 * sysdeps/i386/fpu/libm-test-ulps: Update.
15836
15837 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
15838
15839 [BZ #18674]
15840 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15841 break.
15842
15843 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
15844
15845 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15846 (generated): Don't add $(addprefix z.,$(tzfiles)).
15847
15848 2015-08-09 Mike Frysinger <vapier@gentoo.org>
15849
15850 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15851 * scripts/sysd-rules.awk: Likewise.
15852
15853 2015-08-09 Mike Frysinger <vapier@gentoo.org>
15854
15855 * iconvdata/tst-tables.sh: Change echo -n to printf.
15856 * nss/db-Makefile: Likewise.
15857 * posix/tst-getconf.sh: Likewise.
15858 * stdio-common/tst-unbputc.sh: Likewise.
15859
15860 2015-08-09 Mike Frysinger <vapier@gentoo.org>
15861
15862 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15863 MADV_*_PAGES defines behind this feature check.
15864
15865 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
15866
15867 [BZ #18480]
15868 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15869 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15870 Define.
15871 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15872 LOAD_REGS_5, LOAD_REGS_6): Update.
15873 (INTERNAL_SYSCALL): Update using new LOAD defines.
15874 (INTERNAL_SYSCALL_NCS): Likewise.
15875 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15876
15877 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15878
15879 [BZ #16734]
15880 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15881
15882 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15883
15884 [BZ #17905]
15885 * catgets/Makefile (tst-catgets-mem): New test.
15886 * catgets/catgets.c (catopen): Don't use unbounded alloca.
15887 * catgets/open_catalog.c (__open_catalog): Likewise.
15888 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15889
15890 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
15891
15892 [BZ #18787]
15893 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15894 clobber registers.
15895 (atomic_compare_and_exchange_val_acq): Use register asms to assign
15896 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
15897 Cast return to __typeof (oldval).
15898
15899 2015-08-08 Mike Frysinger <vapier@gentoo.org>
15900
15901 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15902 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
15903 and delete sys/syscall.h include.
15904
15905 2015-08-07 Joseph Myers <joseph@codesourcery.com>
15906
15907 [BZ #16517]
15908 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15909 (tan): Force underflow exception for arguments with small absolute
15910 value.
15911 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15912 (__kernel_tanf): Force underflow exception for arguments with
15913 small absolute value.
15914 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15915 (__kernel_tanl): Force underflow exception for arguments with
15916 small absolute value.
15917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15918 (__kernel_tanl): Force underflow exception for arguments with
15919 small absolute value.
15920 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15921 (__kernel_tanl): Force underflow exception for arguments with
15922 small absolute value.
15923 * math/auto-libm-test-in: Add more tests of tan.
15924 * math/auto-libm-test-out: Regenerated.
15925
15926 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15927
15928 Fix sysdeps/i386/fpu/s_scalbn.S build
15929
15930 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15931
15932 2015-08-07 Mike Frysinger <vapier@gentoo.org>
15933
15934 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15935
15936 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15937
15938 Fix gcrt0.o compilation
15939
15940 When static-start-installed-name is different from
15941 start-installed-name, we must not use the shared objects.
15942
15943 * csu/Makefile
15944 (extra-objs): Add gmon-start.o when building shared library and
15945 $(static-start-installed-name) is different from
15946 $(start-installed-name).
15947 $(objpfx)g$(static-start-installed-name): When building shared
15948 library and $(static-start-installed-name) is different from
15949 $(static-start-installed-name), revert to non-shared rule,
15950 i.e. using $(objpfx)% and gmon-start.o.
15951
15952 2015-08-06 Joseph Myers <joseph@codesourcery.com>
15953
15954 [BZ #16519]
15955 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15956 (__ieee754_sinh): Force underflow exception for arguments with
15957 small absolute value.
15958 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15959 (__ieee754_sinhf): Force underflow exception for arguments with
15960 small absolute value.
15961 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15962 (__ieee754_sinhl): Force underflow exception for arguments with
15963 small absolute value.
15964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15965 (__ieee754_sinhl): Force underflow exception for arguments with
15966 small absolute value.
15967 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15968 (__ieee754_sinhl): Force underflow exception for arguments with
15969 small absolute value.
15970 * math/auto-libm-test-in: Add more tests of sinh.
15971 * math/auto-libm-test-out: Regenerated.
15972 * sysdeps/i386/fpu/libm-test-ulps: Update.
15973
15974 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15975
15976 * libio/oldfileops.c: Include unistd.h.
15977
15978 2015-08-06 Mike Frysinger <vapier@gentoo.org>
15979
15980 * stdlib/isomac.c: Include ctype.h.
15981
15982 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
15983
15984 * dirent/tst-seekdir.c (main): Converted to ...
15985 (do_test): ... this.
15986 (TEST_FUNCTION): New macro.
15987 Include test-skeleton.c.
15988 * elf/tst-dlmodcount.c (main): Converted to ...
15989 (do_test): ... this.
15990 (TEST_FUNCTION): New macro.
15991 Include test-skeleton.c.
15992 * elf/tst-order-main.c (main): Converted to ...
15993 (do_test): ... this.
15994 (TEST_FUNCTION): New macro.
15995 Include test-skeleton.c.
15996 * elf/tst-pie2.c (main): Converted to ...
15997 (do_test): ... this.
15998 (TEST_FUNCTION): New macro.
15999 Include test-skeleton.c.
16000 * inet/tst-ether_aton.c (main): Converted to ...
16001 (do_test): ... this.
16002 (TEST_FUNCTION): New macro.
16003 Include test-skeleton.c.
16004 * misc/tst-mntent.c (main): Converted to ...
16005 (do_test): ... this.
16006 (TEST_FUNCTION): New macro.
16007 Include test-skeleton.c.
16008 * misc/tst-tsearch.c (main): Converted to ...
16009 (do_test): ... this.
16010 (TEST_FUNCTION): New macro.
16011 Include test-skeleton.c.
16012 * posix/tst-regexloc.c (main): Converted to ...
16013 (do_test): ... this.
16014 (TEST_FUNCTION): New macro.
16015 Include test-skeleton.c.
16016 * resolv/tst-aton.c (main): Converted to ...
16017 (do_test): ... this.
16018 (TEST_FUNCTION): New macro.
16019 Include test-skeleton.c.
16020 * stdio-common/test-fwrite.c (main): Converted to ...
16021 (do_test): ... this.
16022 (TEST_FUNCTION): New macro.
16023 Include test-skeleton.c.
16024 * stdio-common/tst-ferror.c (main): Converted to ...
16025 (do_test): ... this.
16026 (TEST_FUNCTION): New macro.
16027 Include test-skeleton.c.
16028 * stdio-common/tst-printf.c (main): Converted to ...
16029 (do_test): ... this.
16030 (TEST_FUNCTION): New macro.
16031 Include test-skeleton.c.
16032 * stdio-common/tst-printfsz.c (main): Converted to ...
16033 (do_test): ... this.
16034 (TEST_FUNCTION): New macro.
16035 Include test-skeleton.c.
16036 * stdlib/tst-strtod.c (main): Converted to ...
16037 (do_test): ... this.
16038 (TEST_FUNCTION): New macro.
16039 Include test-skeleton.c.
16040 * string/tst-strlen.c (main): Converted to ...
16041 (do_test): ... this.
16042 (TEST_FUNCTION): New macro.
16043 Include test-skeleton.c.
16044 * string/tst-svc.c (main): Converted to ...
16045 (do_test): ... this.
16046 (TEST_FUNCTION): New macro.
16047 Include test-skeleton.c.
16048 * time/tst-strptime.c (main): Converted to ...
16049 (do_test): ... this.
16050 (TEST_FUNCTION): New macro.
16051 Include test-skeleton.c.
16052 * timezone/tst-timezone.c (main): Converted to ...
16053 (do_test): ... this.
16054 (TEST_FUNCTION): New macro.
16055 Include test-skeleton.c.
16056
16057 2015-08-05 Zack Weinberg <zackw@panix.com>
16058
16059 * misc/regexp.h: Update comments.
16060
16061 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
16062
16063 [BZ #18635]
16064 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16065 before return label.
16066
16067 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16068
16069 [BZ #18661]
16070 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16071 when calling __errno_location.
16072 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16073 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16074
16075 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 [BZ #18661]
16078 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16079 (__lll_timedwait_tid): Align stack to 16 bytes when calling
16080 __gettimeofday.
16081
16082 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16083
16084 [BZ #18661]
16085 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16086 (__start_context): Don't use pop to restore %rdi so that stack
16087 is aligned to 16 bytes when calling __setcontext.
16088
16089 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16092 only for libc.
16093 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16094
16095 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16096
16097 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16098 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
16099 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16100
16101 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16102
16103 * string/memccpy.c (memccpy):
16104 Improve performance by using memchr/memcpy/__mempcpy.
16105
16106 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16107
16108 * string/strncpy.c (strncpy):
16109 Improve performance by using __strnlen/memcpy.
16110
16111 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16112
16113 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16114 Optimize to avoid an unnecessary FPCR read.
16115
16116 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16117
16118 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16119 Optimize to reduce FPCR/FPSR accesses.
16120
16121 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16122
16123 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16124 dead->data[category] != NULL.
16125
16126 2015-08-05 Joseph Myers <joseph@codesourcery.com>
16127
16128 [BZ #18647]
16129 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16130 and |x| close to 1, use absolute value of x when computing log.
16131 * math/auto-libm-test-in: Add more tests of pow.
16132 * math/auto-libm-test-out: Regenerated.
16133
16134 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16135
16136 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16137 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16138 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16139
16140 2015-08-05 Marko Myllynen <myllynen@redhat.com>
16141
16142 [BZ #18525]
16143 * locales/km_KH: Remove timezone definition.
16144 * locales/lo_LA: Likewise.
16145 * locales/my_MM: Likewise.
16146 * locales/nan_TW@latin: Likewise.
16147 * locales/th_TH: Likewise.
16148 * locales/uk_UA: Likewise.
16149
16150 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
16151
16152 [BZ #18265]
16153 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16154 (wcsncat): Likewise.
16155 (wcscmp): Likewise.
16156 (wcsncmp): Likewise.
16157
16158 2015-08-05 Mike Frysinger <vapier@gentoo.org>
16159
16160 * test-skeleton.c (usage): New function.
16161 (main): Call usage when opt is '?'.
16162
16163 2015-08-05 Mike Frysinger <vapier@gentoo.org>
16164
16165 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16166 before first use.
16167
16168 2015-08-05 Mike Frysinger <vapier@gentoo.org>
16169
16170 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16171 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
16172 in there too.
16173
16174 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
16175
16176 * version.h (RELEASE): Set to "development".
16177 (VERSION): Set to "2.22.90"
16178
16179 * version.h (RELEASE): Set to "stable".
16180 (VERSION): Set to "2.22"
16181 * include/features.h (__GLIBC_MINOR__): Set to 22.
16182
16183 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
16184
16185 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16186 Restructure macro to avoid "value computed is not used" warning.
16187 (atomic_compare_and_exchange_val_acq): Likewise.
16188
16189 2015-08-04 Andreas Schwab <schwab@suse.de>
16190
16191 [BZ #18635]
16192 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16193 ret.
16194 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16195
16196 2015-08-01 Carlos O'Donell <carlos@redhat.com>
16197
16198 * po/pl.po: Updated translation.
16199 * po/uk.po: Likewise.
16200 * po/fi.po: Likewise.
16201 * po/ko.po: Likewise.
16202 * po/ru.po: Likewise.
16203 * po/vi.po: Likewise.
16204
16205 2015-07-31 Zack Weinberg <zackw@panix.com>
16206
16207 [BZ #18681]
16208 * regexp.h: Add unconditional #warning stating that this header
16209 will be removed soon. Revise banner comment to match.
16210 (compile): Consistently use ERROR instead of RETURN to report
16211 errors (partial fix for bz#18681).
16212 * regexp.c: Don't include regexp.h. Remove some unnecessary
16213 declarations.
16214
16215 2015-07-31 Carlos O'Donell <carlos@redhat.com>
16216
16217 * po/libc.pot: Regenerated.
16218
16219 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
16220
16221 [BZ #18740]
16222 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16223 float-vlen4-arch-ext-cflags): Removed.
16224 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16225 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16226
16227 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16228
16229 [BZ #14113]
16230 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16231 aligned to __aligned__.
16232 (pthread_cond_t, pthread_rwlock_t): Likewise.
16233
16234 2015-07-30 Torvald Riegel <triegel@redhat.com>
16235
16236 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16237
16238 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16239
16240 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16241 (struct sigaction): Change sa_flags from a long to an int, and add
16242 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16243
16244 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16245
16246 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16247 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16248 sysdeps/generic/sysdep.h include.
16249 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16250 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
16251 sysdeps/hppa/sysdep.h.
16252 (ENTRY, PSEUDO): Undefine before defining.
16253
16254 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16255
16256 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16257 from scratch to use INTERNAL_SYSCALL.
16258
16259 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
16260
16261 [BZ #18078]
16262 * scripts/check-localplt.awk: Support alternate relocations.
16263 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16264 sections.
16265 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16266 malloc entries with + REL R_386_GLOB_DAT.
16267 * sysdeps/x86_64/localplt.data: New file.
16268
16269 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
16270
16271 [BZ #18731]
16272 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16273 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16274 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16275
16276 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16277
16278 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16279
16280 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16281
16282 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16283 directly in terms of __sync_fetch_and_add and delete (int) cast.
16284
16285 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16286
16287 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16288 the -D_ASM_IA64_CURRENT_H flag.
16289
16290 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16291
16292 [BZ #18641]
16293 * pwd/pwd.h (putpwent): Delete __nonnull markings.
16294
16295 2015-07-27 Andreas Schwab <schwab@suse.de>
16296
16297 * conform/conformtest.pl (checknamespace): Filter out string
16298 literals while tokenizing.
16299
16300 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
16301
16302 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16303 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16304 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16305
16306 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
16307
16308 * nptl/tst-join7mod.c: Add #include <string.h>.
16309
16310 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
16311
16312 * sysdeps/nios2/libm-test-ulps: Update.
16313
16314 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
16315
16316 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16317 Fix order of arguments to the rt_sigprocmask syscall.
16318 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16319 Likewise.
16320
16321 2015-07-24 Roland McGrath <roland@hack.frob.com>
16322
16323 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16324
16325 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16326
16327 [BZ #18457]
16328 * nptl/Makefile (tests): New test case tst-join7.
16329 (modules-names): New test case module tst-join7mod.
16330 * nptl/tst-join7.c: New file.
16331 * nptl/tst-join7mod.c: New file.
16332 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16333 all translation units in libc.so, libpthread.so and rtld.
16334
16335 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16336
16337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16338
16339 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
16340
16341 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16342 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16343 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16344 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16345 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16346 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16347 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16348 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16349 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16350 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16352 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16353 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16354 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16355 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16356 implementation.
16357
16358 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16359
16360 [BZ #17711]
16361 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16362 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16363 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16364 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16365 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16366 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16367
16368 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16369
16370 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16371 instead of just saying load lock in the comments.
16372
16373 2015-07-23 Roland McGrath <roland@hack.frob.com>
16374
16375 * sysdeps/unix/Subdirs: Moved ...
16376 * sysdeps/posix/Subdirs: ... here.
16377 * login/pty.h (struct termios, struct winsize): Add forward decls.
16378 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16379 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16380 * sysdeps/arm/nacl/libc.abilist: Updated.
16381 * sysdeps/nacl/libutil.abilist: New file.
16382
16383 * bits/signum.h: Update comments to mention 1003.1-2013 too.
16384 (SIGWINCH): New macro.
16385
16386 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16387 * sysdeps/arm/nacl/libc.abilist: Add it.
16388
16389 2015-07-23 Mike Frysinger <vapier@gentoo.org>
16390
16391 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16392
16393 2015-07-23 Mike Frysinger <vapier@gentoo.org>
16394
16395 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16396 Swap __glibc_reserved0 and sa_flags order.
16397
16398 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16399
16400 [BZ #18657]
16401 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16402 are pending TLS destructor calls.
16403 * include/link.h (struct link_map): Add concurrency note for
16404 L_TLS_DTOR_COUNT.
16405 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16406 Don't touch the link map flag. Atomically increment
16407 l_tls_dtor_count.
16408 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16409 Avoid taking the load lock and don't touch the link map flag.
16410 * stdlib/tst-tls-atexit-nodelete.c: New test case.
16411 * stdlib/Makefile (tests): Use it.
16412 * stdlib/tst-tls-atexit.c (do_test): dlopen
16413 tst-tls-atexit-lib.so again before dlclose. Add conditionals
16414 to allow tst-tls-atexit-nodelete test case to use it.
16415
16416 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16417
16418 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16419 to bits/types.h.
16420 (msgqnum_t): New typedef.
16421 (msglen_t): Likewise.
16422 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
16423 and msg_qbytes type to msglen_t.
16424
16425 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16426
16427 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16428 pad0 to __glibc_reserved0.
16429 (struct stat64): Likewise.
16430
16431 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16432
16433 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16434 Change sa_flags from a long to an int and add __glibc_reserved0 before
16435 it for padding.
16436
16437 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16438
16439 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16440 anonymous by deleting "siginfo" name.
16441
16442 2015-07-21 Roland McGrath <roland@hack.frob.com>
16443
16444 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16445 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16446 rather than __nacl_irt_filename.
16447 * sysdeps/nacl/xstat.c (__xstat): Likewise.
16448
16449 * NEWS: New item for arm-nacl port.
16450 * sysdeps/arm/nacl/libc.abilist: New file.
16451 * sysdeps/nacl/ld.abilist: New file.
16452 * sysdeps/nacl/libBrokenLocale.abilist: New file.
16453 * sysdeps/nacl/libanl.abilist: New file.
16454 * sysdeps/nacl/libcrypt.abilist: New file.
16455 * sysdeps/nacl/libdl.abilist: New file.
16456 * sysdeps/nacl/libm.abilist: New file.
16457 * sysdeps/nacl/libpthread.abilist: New file.
16458 * sysdeps/nacl/libresolv.abilist: New file.
16459 * sysdeps/nacl/librt.abilist: New file.
16460
16461 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
16462
16463 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16464 __startcontext to initialize the new context.
16465 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16466 up CFI directive to forbid further backtracing.
16467
16468 2015-07-21 Marko Myllynen <myllynen@redhat.com>
16469
16470 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16471 reference.
16472 * charmaps/ANSI_X3.4-1968: Likewise.
16473 * charmaps/BS_4730: Likewise.
16474 * charmaps/BS_VIEWDATA: Likewise.
16475 * charmaps/CP1250: Likewise.
16476 * charmaps/CP1251: Likewise.
16477 * charmaps/CP1252: Likewise.
16478 * charmaps/CP1253: Likewise.
16479 * charmaps/CP1254: Likewise.
16480 * charmaps/CP1255: Likewise.
16481 * charmaps/CP1256: Likewise.
16482 * charmaps/CSN_369103: Likewise.
16483 * charmaps/EBCDIC-DK-NO: Likewise.
16484 * charmaps/GB_1988-80: Likewise.
16485 * charmaps/GREEK-CCITT: Likewise.
16486 * charmaps/GREEK7: Likewise.
16487 * charmaps/INIS-8: Likewise.
16488 * charmaps/ISIRI-3342: Likewise.
16489 * charmaps/ISO_2033-1983: Likewise.
16490 * charmaps/ISO_5427-EXT: Likewise.
16491 * locales/POSIX: Likewise.
16492 * locales/ar_SA: Likewise.
16493 * locales/be_BY: Likewise.
16494 * locales/be_BY@latin: Likewise.
16495 * locales/ca_ES: Likewise.
16496 * locales/cs_CZ: Likewise.
16497 * locales/da_DK: Likewise.
16498 * locales/de_BE: Likewise.
16499 * locales/de_CH: Likewise.
16500 * locales/de_LU: Likewise.
16501 * locales/en_AU: Likewise.
16502 * locales/en_BW: Likewise.
16503 * locales/en_CA: Likewise.
16504 * locales/en_DK: Likewise.
16505 * locales/en_GB: Likewise.
16506 * locales/en_IE: Likewise.
16507 * locales/en_NZ: Likewise.
16508 * locales/en_ZA: Likewise.
16509 * locales/en_ZW: Likewise.
16510 * locales/es_AR: Likewise.
16511 * locales/es_BO: Likewise.
16512 * locales/es_CL: Likewise.
16513 * locales/es_CO: Likewise.
16514 * locales/es_DO: Likewise.
16515 * locales/es_EC: Likewise.
16516 * locales/es_ES: Likewise.
16517 * locales/es_HN: Likewise.
16518 * locales/es_MX: Likewise.
16519 * locales/es_PA: Likewise.
16520 * locales/es_PE: Likewise.
16521 * locales/es_PY: Likewise.
16522 * locales/es_SV: Likewise.
16523 * locales/es_US: Likewise.
16524 * locales/es_UY: Likewise.
16525 * locales/es_VE: Likewise.
16526 * locales/et_EE: Likewise.
16527 * locales/fa_IR: Likewise.
16528 * locales/fo_FO: Likewise.
16529 * locales/fr_CA: Likewise.
16530 * locales/fr_CH: Likewise.
16531 * locales/gv_GB: Likewise.
16532 * locales/he_IL: Likewise.
16533 * locales/hr_HR: Likewise.
16534 * locales/id_ID: Likewise.
16535 * locales/is_IS: Likewise.
16536 * locales/it_CH: Likewise.
16537 * locales/iw_IL: Likewise.
16538 * locales/kl_GL: Likewise.
16539 * locales/ko_KR: Likewise.
16540 * locales/kw_GB: Likewise.
16541 * locales/lg_UG: Likewise.
16542 * locales/lt_LT: Likewise.
16543 * locales/lv_LV: Likewise.
16544 * locales/mi_NZ: Likewise.
16545 * locales/nhn_MX: Likewise.
16546 * locales/nl_BE: Likewise.
16547 * locales/pl_PL: Likewise.
16548 * locales/sk_SK: Likewise.
16549 * locales/sl_SI: Likewise.
16550 * locales/sv_FI: Likewise.
16551 * locales/tl_PH: Likewise.
16552 * locales/tr_TR: Likewise.
16553 * locales/vi_VN: Likewise.
16554
16555 2015-07-21 Khem Raj <raj.khem@gmail.com>
16556
16557 [BZ #17475]
16558 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16559 of tu_IN and bh_IN.
16560
16561 2015-07-21 Mike Frysinger <vapier@gentoo.org>
16562
16563 [BZ #18694]
16564 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16565 bits/wordsize.h.
16566 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16567
16568 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16569
16570 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16571 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16572 (spawn_thread): New function.
16573 (load): Rename to reg_dtor_and_close. Move dlopen to...
16574 (do_test): ... here. Use IS_LOADED to test for its
16575 availability.
16576
16577 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
16578
16579 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16580
16581 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
16582
16583 [BZ #18696]
16584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16585 si_addr_bnd.
16586 (si_lower): New.
16587 (si_upper): Likewise.
16588
16589 2015-07-16 David S. Miller <davem@davemloft.net>
16590
16591 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16592
16593 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16594
16595 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16596 buffer.
16597 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16598 fail output information.
16599
16600 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16601
16602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16603 and strstr-ppc64..
16604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16605 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16606 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16607 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16608 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16609
16610 2015-07-16 Mike Frysinger <vapier@gentoo.org>
16611
16612 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16613 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16614 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16615 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16616
16617 2015-07-16 Mike Frysinger <vapier@gentoo.org>
16618
16619 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16620 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16621 rtld_hidden_proto.
16622 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16623
16624 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16625
16626 * tst-nodelete-opened.c (do_test): Add comment to clarify how
16627 the test can fail.
16628
16629 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16630
16631 [BZ #18676]
16632 * elf/tst-nodelete-opened.c: New test case.
16633 * elf/tst-nodelete-opened-lib.c: New test case module.
16634 * elf/Makefile (tests, modules-names): Use them.
16635 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16636 early.
16637
16638 2015-07-15 David S. Miller <davem@davemloft.net>
16639
16640 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16641 futex-intenal.h
16642 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16643 * sysdeps/sparc/sparc64/Makefile: Likewise.
16644 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16645 Remove space from macro define.
16646 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16647
16648 2015-07-15 Pravin Satpute <psatpute@redhat.com>
16649
16650 [BZ #17475]
16651 * locale/iso-639.def: Update Bhili and Tulu language codes as
16652 per iso639-3.
16653
16654 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
16655
16656 * elf/tst-leaks1.c (main): Converted to ...
16657 (do_test): ... this.
16658 (TEST_FUNCTION): New macro.
16659 Include test-skeleton.c.
16660 * localedata/tst-langinfo.c (main): Converted to ...
16661 (do_test): ... this.
16662 (TEST_FUNCTION): New macro.
16663 Include test-skeleton.c.
16664 * math/test-fpucw.c (main): Converted to ...
16665 (do_test): ... this.
16666 (TEST_FUNCTION): New macro.
16667 Include test-skeleton.c.
16668 * math/test-tgmath.c (main): Converted to ...
16669 (do_test): ... this.
16670 (TEST_FUNCTION): New macro.
16671 Include test-skeleton.c.
16672 * math/test-tgmath2.c (main): Converted to ...
16673 (do_test): ... this.
16674 (TEST_FUNCTION): New macro.
16675 Include test-skeleton.c.
16676 * setjmp/tst-setjmp.c (main): Converted to ...
16677 (do_test): ... this.
16678 (TEST_FUNCTION): New macro.
16679 Include test-skeleton.c.
16680 * stdio-common/tst-sscanf.c (main): Converted to ...
16681 (do_test): ... this.
16682 (TEST_FUNCTION): New macro.
16683 Include test-skeleton.c.
16684 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16685 (do_test): ... this.
16686 (TEST_FUNCTION): New macro.
16687 Include test-skeleton.c.
16688
16689 * elf/tst-audit9.c (main): Converted to ...
16690 (do_test): ... this.
16691 (TEST_FUNCTION): New macro.
16692 Include test-skeleton.c.
16693
16694 2015-07-15 Mike Frysinger <vapier@gentoo.org>
16695
16696 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16697
16698 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16699
16700 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16701 New variable.
16702
16703 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16704
16705 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16706
16707 2015-07-14 Roland McGrath <roland@hack.frob.com>
16708
16709 * sysdeps/generic/dl-fileid.h: New file.
16710 * sysdeps/posix/dl-fileid.h: New file.
16711 * sysdeps/nacl/dl-fileid.h: New file.
16712 * include/link.h: Include <dl-fileid.h>.
16713 (struct link_map): Replace l_dev and l_ino with l_file_id.
16714 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16715 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
16716 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
16717
16718 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16719
16720 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16721
16722 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16723
16724 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16725 Add iff $CXX is set.
16726 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16727 Likewise.
16728 (tst-nodelete-zmodiff): Likewise.
16729 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16730
16731 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16732
16733 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16734
16735 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
16736
16737 * sysdeps/aarch64/fpu/math_private.h
16738 (define math_opt_barrier): Add AArch64 version.
16739 (math_force_eval): Likewise.
16740
16741 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
16742
16743 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16744
16745 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
16746
16747 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16748 %ld with %jd and cast to intmax_t.
16749 (do_test_length_zero): Likewise.
16750
16751 2015-07-10 Roland McGrath <roland@hack.frob.com>
16752
16753 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16754
16755 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
16756
16757 * sysdeps/tile/libm-test-ulps: Regenerated.
16758
16759 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16760 Comment out the whole function, not just its body.
16761
16762 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16763
16764 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16765 locks.
16766
16767 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16768
16769 2015-07-10 Torvald Riegel <triegel@redhat.com>
16770
16771 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16772 (sem_assume_only_signals_cause_futex_EINTR): Remove.
16773
16774 2015-07-10 Torvald Riegel <triegel@redhat.com>
16775
16776 * sysdeps/nptl/futex-internal.h: New file.
16777 * sysdeps/nacl/futex-internal.h: New file.
16778 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16779 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16780 error checking.
16781 (setxid_unmark_thread): Likewise.
16782 (__nptl_setxid): Likewise.
16783 (__wait_lookup_done): Likewise.
16784 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16785 * nptl/nptl-init.c (sighandler_setxid): Likewise.
16786 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16787 * nptl/pthread_once.c (clear_once_control): Likewise.
16788 (__pthread_once_slow): Likewise.
16789 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16790 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16791 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16792 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16793 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16794 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16795 Likewise.
16796 (__pthread_rwlock_rdlock): Likewise.
16797 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16798 Likewise.
16799 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16800 Likewise.
16801 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16802 Likewise.
16803 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16804 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16805 Likewise.
16806 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16807 __ASSUME_PRIVATE_FUTEX check.
16808 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16809 Check that shared futexes are supported.
16810 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16811 wrappers with error checking.
16812 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16813 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16814 * nptl/pthread_barrierattr_setpshared.c
16815 (pthread_barrierattr_setpshared): Check that shared futexes are
16816 supported.
16817 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16818 Likewise.
16819 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16820 Likewise.
16821 * nptl/sem_init.c (futex_private_if_supported): Remove.
16822 (__new_sem_init): Adapt and check that shared futexes are supported.
16823 * nptl/sem_open.c (sem_open): Likewise.
16824 * nptl/sem_post.c (futex_wake): Remove.
16825 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16826 (do_futex_wait): Use futex wrappers with error checking.
16827 * nptl/sem_wait.c: Include lowlevellock.h.
16828 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16829 Use futex_supports_pshared.
16830 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16831 Use futex wrappers with error checking.
16832 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16833 Likewise.
16834 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16835 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16836 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16837 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16838 (futex_wake): Likewise.
16839 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16840 (do_futex_wait): Use futex wrappers with error checking.
16841 (__new_sem_wait_slow): Update EINTR handling.
16842 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16843
16844 2015-07-09 Martin Sebor <msebor@redhat.com>
16845
16846 [BZ #18435]
16847 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16848 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16849 * nptl/Makefile (test-xfail-tst-once5): Define.
16850
16851 2015-07-09 Roland McGrath <roland@hack.frob.com>
16852
16853 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16854 * elf/dl-minimal.c: For readability, reorder some definitions and
16855 introduce more page breaks. Include <stdio.h>.
16856 (__libc_fatal): New function.
16857
16858 * include/unistd.h: Add rtld_hidden_proto for _exit.
16859 * posix/_exit.c: Add rtld_hidden_def.
16860 * sysdeps/mach/hurd/_exit.c: Likewise.
16861 * sysdeps/nacl/_exit.c: Likewise.
16862 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16863 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16864
16865 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
16866
16867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16868 bndmov encoding with zero displacement.
16869
16870 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
16871 H.J. Lu <hongjiu.lu@intel.com>
16872
16873 [BZ #18134]
16874 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16875 * sysdeps/i386/configure: Regenerated.
16876 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16877 (_dl_runtime_profile): Save and restore Intel MPX return bound
16878 registers when calling _dl_call_pltexit. Add
16879 PRESERVE_BND_REGS_PREFIX before return.
16880 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16881 (LRV_BND1_OFFSET): Likewise.
16882 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16883 lrv_bnd1.
16884 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16885 typo in bndmov encoding.
16886 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16887 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
16888 branch instructions to preserve bounds.
16889
16890 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16891
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16893 [GLIBC_2.22]: Add fmemopen.
16894
16895 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
16896
16897 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16898 returns an error, also try to use host port from __mach_host_self for
16899 the __vm_wire call.
16900 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16901
16902 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
16903
16904 [BZ #18400]
16905 [BZ #18648]
16906 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16907 Fix pr_uid and pr_gid members.
16908 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16909 definition to elf_greg_t.
16910
16911 2015-07-08 Roland McGrath <roland@hack.frob.com>
16912
16913 [BZ #18383]
16914 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16915 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16916 * sysdeps/arm/configure: Regenerated.
16917 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16918 (test-xfail-tst-tlsalign-static): Variable removed.
16919
16920 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16921 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16922 rather than explicit 'ln -s'.
16923
16924 * resolv/rpc/netdb.h: New file.
16925 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16926
16927 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16928
16929 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16930 length buffers.
16931 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16932 test-skeleton.c.
16933
16934 [BZ #6544]
16935 [BZ #11216]
16936 [BZ #12836]
16937 [BZ #13151]
16938 [BZ #13152]
16939 [BZ #14292]
16940 * include/stdio.h (fmemopen): Remove hidden prototype.
16941 (__fmemopen): Add new hidden prototype.
16942 * libio/Makefile: Add oldfmemopen object.
16943 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16944 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16945 compliance.
16946 * libio/oldfmemopen.c: New file: old fmemopen implementation for
16947 symbol compatibility.
16948 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16949 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16950 fmemopen.
16951 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16952 on append and read mode.
16953 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16954 fmemopen.
16955 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16956 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16957 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16958 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16959 Likewise.
16960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16961 [GLIBC_2.22]: Likewise.
16962 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16963 Likewise.
16964 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16965 Likewise.
16966 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16967 [GLIBC_2.22]: Likewise.
16968 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16969 [GLIBC_2.22]: Likewise.
16970 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16971 [GLIBC_2.22]: Likewise.
16972 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16973 [GLIBC_2.22]: Likewise.
16974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16975 [GLIBC_2.22]: Likewise.
16976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16977 [GLIBC_2.22]: Likewise.
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16979 [GLIBC_2.22]: Likewise.
16980 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16981 Likewise.
16982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16983 Likewise.
16984 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16985 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16986 [GLIBC_2.22]: Likewise.
16987 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16988 [GLIBC_2.22]: Likewise.
16989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16990 [GLIBC_2.22]: Likewise.
16991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16992 [GLIBC_2.22]: Likewise.
16993 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16994 Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16998 Likewise.
16999 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17000 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17001
17002 2015-07-08 Carlos O'Donell <carlos@redhat.com>
17003
17004 [BZ #18643]
17005 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17006 IPV6_PATHMTU, and IPV6_DONTFRAG.
17007
17008 2015-07-08 Feng Gao <gfree.wind@gmail.com>
17009
17010 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17011 and _IO_UNBUFFERED.
17012 * libio/oldfileops.c: Likewise.
17013 * libio/wfileops.c: Likewise.
17014
17015 2015-07-08 Mike Frysinger <vapier@gentoo.org>
17016
17017 * nscd/selinux.c: Delete selinux/flask.h include.
17018
17019 2015-07-08 Mike Frysinger <vapier@gentoo.org>
17020
17021 [BZ #18641]
17022 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17023 (putpwent): Likewise.
17024 (getpwnam): Likewise.
17025 (getpwent_r): Likewise.
17026 (getpwuid_r): Likewise.
17027 (getpwnam_r): Likewise.
17028 (fgetpwent_r): Likewise.
17029
17030 2015-07-08 Carlos O'Donell <carlos@redhat.com>
17031
17032 [BZ #18557]
17033 * inet/rcmd.c (__validuser2_sa): Check user first to
17034 short-circuit host check.
17035
17036 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
17037 Mikhail Ilin <m.ilin@samsung.com>
17038
17039 [BZ #17833]
17040 * elf/Makefile (tests): Add tst-nodelete.
17041 (modules-names): Add tst-nodelete-uniquemod.
17042 (tst-nodelete-uniquemod.so-no-z-defs): New.
17043 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17044 (tst-nodelete-zmod.so-no-z-defs): Likewise.
17045 ($(objpfx)tst-nodelete): Likewise.
17046 ($(objpfx)tst-nodelete.out): Likewise.
17047 (LDFLAGS-tst-nodelete): Likewise.
17048 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17049 * elf/dl-close.c (_dl_close_worker): Add a parameter to
17050 implement forced object deletion.
17051 (_dl_close): Pass false to _dl_close_worker.
17052 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17053 * elf/tst-nodelete.cc: New file.
17054 * elf/tst-nodeletelib.cc: Likewise.
17055 * elf/tst-znodeletelib.cc: Likewise.
17056 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17057
17058 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
17059
17060 [BZ #18508]
17061 * stdlib/Makefile ($(objpfx)tst-makecontext3):
17062 Depend on $(libdl).
17063 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17064 is not called infinitely times.
17065 (backtrace_helper): New function.
17066 (trace_arg): New struct.
17067 (st1): Enlarge stack size.
17068 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17069 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17070 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17071 Likewise.
17072
17073 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
17074
17075 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17076
17077 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
17078
17079 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17080 Include sys/types.h instead of bits/types.h.
17081 Remove inclusion of bits/wordsize.h.
17082
17083 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
17084
17085 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17086 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17087 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17088 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17089 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17090 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17091
17092 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
17093
17094 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17095 link-defines.sym.
17096 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17097 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17098 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17099 and LR_SIZE.
17100 * sysdeps/i386/link-defines.sym: New file.
17101
17102 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
17103
17104 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17105 (modules-names): Add tst-auditmod3a tst-auditmod3b.
17106 ($(objpfx)tst-audit3): New rule.
17107 ($(objpfx)tst-audit3.out): Likewise.
17108 * sysdeps/i386/tst-audit3.c: New file.
17109 * sysdeps/i386/tst-audit3.h: Likewise.
17110 * sysdeps/i386/tst-auditmod3a.c: Likewise.
17111 * sysdeps/i386/tst-auditmod3b.c: Likewise.
17112
17113 2015-07-07 Torvald Riegel <triegel@redhat.com>
17114
17115 [BZ #18633]
17116 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17117 pointer in C code.
17118 (__strcat_c): Likewise.
17119 (__strcat_g): Likewise.
17120
17121 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
17122
17123 [BZ #18592]
17124 * misc/sbrk.c: Set errno to ENOMEM on overflow.
17125
17126 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
17127
17128 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17129 New function. (__ieee754_sqrtf): New function.
17130 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17131 New function.
17132 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17133 New function.
17134
17135 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
17136
17137 * sysdeps/ieee754/support.c: Remove unused file.
17138
17139 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
17140
17141 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17142 registers instead of d ones so the layout is kernel abi compatible.
17143 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17144 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17145 Likewise.
17146
17147 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
17148
17149 * sysdeps/aarch64/libm-test-ulps: Regenerated.
17150
17151 2015-07-01 Joseph Myers <joseph@codesourcery.com>
17152
17153 [BZ #18619]
17154 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17155 and return argument in case of subnormal argument.
17156
17157 2015-07-01 Martin Sebor <msebor@redhat.com>
17158
17159 [BZ #18435]
17160 * nptl/Makefile: Add tst-once5.cc.
17161 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17162 Remove macro redefinitions.
17163 * nptl/tst-once5.cc: New test.
17164
17165 2015-07-01 Joseph Myers <joseph@codesourcery.com>
17166
17167 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17168
17169 * sysdeps/arm/libm-test-ulps: Regenerated.
17170
17171 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17172 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17173
17174 2015-06-30 Torvald Riegel <triegel@redhat.com>
17175
17176 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17177 lll_lock_wait_private and lll_futex_wake probes.
17178
17179 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17180 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17181 Likewise.
17182 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17183 atomic_spin_nop.
17184 * sysdeps/x86_64/bits/atomic.h: Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17186 to atomic_spin_nop and move ...
17187 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17188 ... here and ...
17189 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17190 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17191 atomic_spin_nop instead of BUSY_WAIT_NOP.
17192 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17193 Likewise.
17194 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17195 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17196 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17197 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17198 instead of atomic_delay.
17199
17200 2015-06-29 Joseph Myers <joseph@codesourcery.com>
17201
17202 [BZ #18613]
17203 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17204 X_ADJ not X when adjusting exponent.
17205 (__ieee754_gamma_r): Do intermediate computations in
17206 round-to-nearest then adjust overflowing and underflowing results
17207 as needed.
17208 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17209 of X_ADJ not X when adjusting exponent.
17210 (__ieee754_gammaf_r): Do intermediate computations in
17211 round-to-nearest then adjust overflowing and underflowing results
17212 as needed.
17213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17214 log of X_ADJ not X when adjusting exponent.
17215 (__ieee754_gammal_r): Do intermediate computations in
17216 round-to-nearest then adjust overflowing and underflowing results
17217 as needed. Use 1.0L not 1.0f as numerator of division.
17218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17219 log of X_ADJ not X when adjusting exponent.
17220 (__ieee754_gammal_r): Do intermediate computations in
17221 round-to-nearest then adjust overflowing and underflowing results
17222 as needed. Use 1.0L not 1.0f as numerator of division.
17223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17224 of X_ADJ not X when adjusting exponent.
17225 (__ieee754_gammal_r): Do intermediate computations in
17226 round-to-nearest then adjust overflowing and underflowing results
17227 as needed. Use 1.0L not 1.0f as numerator of division.
17228 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
17229 to auto-libm-test-in.
17230 (tgamma_test): Use ALL_RM_TEST.
17231 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
17232 tests of tgamma with spurious-overflow.
17233 * math/auto-libm-test-out: Regenerated.
17234 * math/gen-libm-have-vector-test.sh: Do not check for START.
17235 * sysdeps/i386/fpu/libm-test-ulps: Update.
17236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17237
17238 [BZ #18612]
17239 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17240 arguments, just return 0.5 times the argument, with underflow
17241 forced as needed.
17242 * math/auto-libm-test-in: Add more tests of j1.
17243 * math/auto-libm-test-out: Regenerated.
17244
17245 [BZ #16559]
17246 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17247 (__ieee754_j1): Force underflow exception for small results.
17248 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17249 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17250 (__ieee754_j1f): Force underflow exception for small results.
17251 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17252 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17254 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17255 (__ieee754_j1l): Force underflow exception for small results.
17256 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17257 * math/auto-libm-test-in: Add more tests of j1 and jn.
17258 * math/auto-libm-test-out: Regenerated.
17259
17260 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17261 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17262 (PF_MPLS): Likewise.
17263 (AF_IB): Likewise.
17264 (AF_MPLS): Likewise.
17265 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17266 value and macro.
17267 (MS_RMT_MASK): Include MS_LAZYTIME.
17268
17269 2015-06-26 Mel Gorman <mgorman@suse.de>
17270
17271 [BZ #18502]
17272 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17273 already minimal.
17274
17275 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
17276
17277 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17278 (DT_MIPS_NUM): Update.
17279 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17280 DT_MIPS_RLD_MAP_REL.
17281
17282 2015-06-25 Joseph Myers <joseph@codesourcery.com>
17283
17284 [BZ #16559]
17285 [BZ #18602]
17286 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17287 round-to-nearest internally then recompute results that
17288 underflowed to zero in the original rounding mode.
17289 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17290 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17292 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17293 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17294 * sysdeps/i386/fpu/libm-test-ulps: Update.
17295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17296
17297 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
17298
17299 * NEWS: Fixed description of link with vector math library.
17300
17301 2015-06-25 Andreas Schwab <schwab@suse.de>
17302
17303 [BZ #18549]
17304 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17305 * libio/test-fmemopen.c (do_test): Add test for it.
17306
17307 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
17308
17309 [BZ #17841]
17310 * Makeconfig (no-pie-ldflag): New.
17311 (+link): Set to $(+link-pie) if default to PIE.
17312 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17313 * config.make.in (build-pie-default): New.
17314 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
17315 is default. AC_SUBST.
17316 * configure: Regenerated.
17317 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17318
17319 2015-06-24 Roland McGrath <roland@hack.frob.com>
17320
17321 * nptl/descr.h (struct pthread): Change type of field setxid_futex
17322 to 'unsigned int'.
17323
17324 * resolv/gai_misc.h (struct waitlist): Change type of field
17325 counterp to 'volatile unsigned int *'.
17326 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17327 FUTEXADDR and OLDVAL.
17328 * resolv/getaddrinfo_a.c (getaddrinfo_a):
17329 Give local variable TOTAL type 'volatile unsigned int'.
17330 (struct async_waitlist): Change type of field counter to 'unsigned int'.
17331 * resolv/gai_suspend.c (gai_suspend):
17332 Give local variable CNTR type 'unsigned int'.
17333
17334 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17335 counterp to 'volatile unsigned int *'.
17336 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17337 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17338 (aio_suspend): Give local variable CNTR type 'unsigned int'.
17339 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17340 Give local variable TOTAL type 'volatile unsigned int'.
17341 (struct async_waitlist): Change type of field counter to 'unsigned int'.
17342
17343 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 [BZ #18383]
17346 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17347 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
17348 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17349 comment for i386/x86-64.
17350 (test-xfail-tst-tlsalign-extern-static): Removed.
17351
17352 2015-06-24 Joseph Myers <joseph@codesourcery.com>
17353
17354 * math/test-double.h: New file.
17355 * math/test-float.h: Likewise.
17356 * math/test-ldouble.h: Likewise.
17357 * math/test-math-inline.h: Likewise.
17358 * math/test-math-no-inline.h: Likewise.
17359 * math/test-math-scalar.h: Likewise.
17360 * math/test-math-vector.h: Likewise.
17361 * math/test-vec-loop.h: Remove file. Contents moved into
17362 test-math-vector.h.
17363 * math/libm-test.inc (MATHCONST): Do not document macro.
17364 * math/test-double.c: Include test-double.h, test-math-no-inline.h
17365 and test-math-scalar.h.
17366 (FUNC): Remove macro.
17367 (FUNC_TEST): Likewise.
17368 (FLOAT): Likewise.
17369 (MATHCONST): Likewise.
17370 (PRINTF_EXPR): Likewise.
17371 (PRINTF_XEXPR): Likewise.
17372 (PRINTF_NEXPR): Likewise.
17373 (TEST_DOUBLE): Likewise.
17374 (TEST_MATHVEC): Likewise.
17375 (__NO_MATH_INLINES): Likewise.
17376 * math/test-float.c: Include test-float.h, test-math-no-inline.h
17377 and test-math-scalar.h.
17378 (FUNC): Remove macro.
17379 (FUNC_TEST): Likewise.
17380 (FLOAT): Likewise.
17381 (MATHCONST): Likewise.
17382 (PRINTF_EXPR): Likewise.
17383 (PRINTF_XEXPR): Likewise.
17384 (PRINTF_NEXPR): Likewise.
17385 (TEST_FLOAT): Likewise.
17386 (TEST_MATHVEC): Likewise.
17387 (__NO_MATH_INLINES): Likewise.
17388 * math/test-idouble.c: Include test-double.h, test-math-inline.h
17389 and test-math-scalar.h.
17390 (FUNC): Remove macro.
17391 (FUNC_TEST): Likewise.
17392 (FLOAT): Likewise.
17393 (MATHCONST): Likewise.
17394 (PRINTF_EXPR): Likewise.
17395 (PRINTF_XEXPR): Likewise.
17396 (PRINTF_NEXPR): Likewise.
17397 (TEST_DOUBLE): Likewise.
17398 (TEST_MATHVEC): Likewise.
17399 (TEST_INLINE): Likewise.
17400 (__NO_MATH_INLINES): Likewise.
17401 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17402 test-math-scalar.h.
17403 (FUNC): Remove macro.
17404 (FUNC_TEST): Likewise.
17405 (FLOAT): Likewise.
17406 (MATHCONST): Likewise.
17407 (PRINTF_EXPR): Likewise.
17408 (PRINTF_XEXPR): Likewise.
17409 (PRINTF_NEXPR): Likewise.
17410 (TEST_FLOAT): Likewise.
17411 (TEST_MATHVEC): Likewise.
17412 (TEST_INLINE): Likewise.
17413 (__NO_MATH_INLINES): Likewise.
17414 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17415 and test-math-scalar.h.
17416 (FUNC): Remove macro.
17417 (FUNC_TEST): Likewise.
17418 (FLOAT): Likewise.
17419 (MATHCONST): Likewise.
17420 (PRINTF_EXPR): Likewise.
17421 (PRINTF_XEXPR): Likewise.
17422 (PRINTF_NEXPR): Likewise.
17423 (TEST_LDOUBLE): Likewise.
17424 (TEST_MATHVEC): Likewise.
17425 (TEST_INLINE): Likewise.
17426 (__NO_MATH_INLINES): Likewise.
17427 * math/test-ldouble.c: Include test-ldouble.h,
17428 test-math-no-inline.h and test-math-scalar.h.
17429 (FUNC): Remove macro.
17430 (FUNC_TEST): Likewise.
17431 (FLOAT): Likewise.
17432 (MATHCONST): Likewise.
17433 (PRINTF_EXPR): Likewise.
17434 (PRINTF_XEXPR): Likewise.
17435 (PRINTF_NEXPR): Likewise.
17436 (TEST_LDOUBLE): Likewise.
17437 (TEST_MATHVEC): Likewise.
17438 (__NO_MATH_INLINES): Likewise.
17439 * math/test-double-vlen2.h: Include test-double.h,
17440 test-math-no-inline.h and test-math-vector.h.
17441 (FLOAT): Remove macro.
17442 (FUNC): Likewise.
17443 (MATHCONST): Likewise.
17444 (PRINTF_EXPR): Likewise.
17445 (PRINTF_XEXPR): Likewise.
17446 (PRINTF_NEXPR): Likewise.
17447 (TEST_DOUBLE): Likewise.
17448 (TEST_MATHVEC): Likewise.
17449 (__NO_MATH_INLINES): Likewise.
17450 (CNCT): Likewise.
17451 (CONCAT): Likewise.
17452 (WRAPPER_NAME): Likewise.
17453 (WRAPPER_DECL): Likewise.
17454 (WRAPPER_DECL_ff): Likewise.
17455 (WRAPPER_DECL_fFF): Likewise.
17456 (VECTOR_WRAPPER): Likewise.
17457 (VECTOR_WRAPPER_ff): Likewise.
17458 (VECTOR_WRAPPER_fFF): Likewise.
17459 (VEC_LEN): New macro.
17460 * math/test-double-vlen4.h: Include test-double.h,
17461 test-math-no-inline.h and test-math-vector.h.
17462 (FLOAT): Remove macro.
17463 (FUNC): Likewise.
17464 (MATHCONST): Likewise.
17465 (PRINTF_EXPR): Likewise.
17466 (PRINTF_XEXPR): Likewise.
17467 (PRINTF_NEXPR): Likewise.
17468 (TEST_DOUBLE): Likewise.
17469 (TEST_MATHVEC): Likewise.
17470 (__NO_MATH_INLINES): Likewise.
17471 (CNCT): Likewise.
17472 (CONCAT): Likewise.
17473 (WRAPPER_NAME): Likewise.
17474 (WRAPPER_DECL): Likewise.
17475 (WRAPPER_DECL_ff): Likewise.
17476 (WRAPPER_DECL_fFF): Likewise.
17477 (VECTOR_WRAPPER): Likewise.
17478 (VECTOR_WRAPPER_ff): Likewise.
17479 (VECTOR_WRAPPER_fFF): Likewise.
17480 (VEC_LEN): New macro.
17481 * math/test-double-vlen8.h: Include test-double.h,
17482 test-math-no-inline.h and test-math-vector.h.
17483 (FLOAT): Remove macro.
17484 (FUNC): Likewise.
17485 (MATHCONST): Likewise.
17486 (PRINTF_EXPR): Likewise.
17487 (PRINTF_XEXPR): Likewise.
17488 (PRINTF_NEXPR): Likewise.
17489 (TEST_DOUBLE): Likewise.
17490 (TEST_MATHVEC): Likewise.
17491 (__NO_MATH_INLINES): Likewise.
17492 (CNCT): Likewise.
17493 (CONCAT): Likewise.
17494 (WRAPPER_NAME): Likewise.
17495 (WRAPPER_DECL): Likewise.
17496 (WRAPPER_DECL_ff): Likewise.
17497 (WRAPPER_DECL_fFF): Likewise.
17498 (VECTOR_WRAPPER): Likewise.
17499 (VECTOR_WRAPPER_ff): Likewise.
17500 (VECTOR_WRAPPER_fFF): Likewise.
17501 (VEC_LEN): New macro.
17502 * math/test-float-vlen4.h: Include test-float.h,
17503 test-math-no-inline.h and test-math-vector.h.
17504 (FLOAT): Remove macro.
17505 (FUNC): Likewise.
17506 (MATHCONST): Likewise.
17507 (PRINTF_EXPR): Likewise.
17508 (PRINTF_XEXPR): Likewise.
17509 (PRINTF_NEXPR): Likewise.
17510 (TEST_FLOAT): Likewise.
17511 (TEST_MATHVEC): Likewise.
17512 (__NO_MATH_INLINES): Likewise.
17513 (CNCT): Likewise.
17514 (CONCAT): Likewise.
17515 (WRAPPER_NAME): Likewise.
17516 (WRAPPER_DECL): Likewise.
17517 (WRAPPER_DECL_ff): Likewise.
17518 (WRAPPER_DECL_fFF): Likewise.
17519 (VECTOR_WRAPPER): Likewise.
17520 (VECTOR_WRAPPER_ff): Likewise.
17521 (VECTOR_WRAPPER_fFF): Likewise.
17522 (VEC_LEN): New macro.
17523 * math/test-float-vlen8.h: Include test-float.h,
17524 test-math-no-inline.h and test-math-vector.h.
17525 (FLOAT): Remove macro.
17526 (FUNC): Likewise.
17527 (MATHCONST): Likewise.
17528 (PRINTF_EXPR): Likewise.
17529 (PRINTF_XEXPR): Likewise.
17530 (PRINTF_NEXPR): Likewise.
17531 (TEST_FLOAT): Likewise.
17532 (TEST_MATHVEC): Likewise.
17533 (__NO_MATH_INLINES): Likewise.
17534 (CNCT): Likewise.
17535 (CONCAT): Likewise.
17536 (WRAPPER_NAME): Likewise.
17537 (WRAPPER_DECL): Likewise.
17538 (WRAPPER_DECL_ff): Likewise.
17539 (WRAPPER_DECL_fFF): Likewise.
17540 (VECTOR_WRAPPER): Likewise.
17541 (VECTOR_WRAPPER_ff): Likewise.
17542 (VECTOR_WRAPPER_fFF): Likewise.
17543 (VEC_LEN): New macro.
17544 * math/test-float-vlen16.h: Include test-float.h,
17545 test-math-no-inline.h and test-math-vector.h.
17546 (FLOAT): Remove macro.
17547 (FUNC): Likewise.
17548 (MATHCONST): Likewise.
17549 (PRINTF_EXPR): Likewise.
17550 (PRINTF_XEXPR): Likewise.
17551 (PRINTF_NEXPR): Likewise.
17552 (TEST_FLOAT): Likewise.
17553 (TEST_MATHVEC): Likewise.
17554 (__NO_MATH_INLINES): Likewise.
17555 (CNCT): Likewise.
17556 (CONCAT): Likewise.
17557 (WRAPPER_NAME): Likewise.
17558 (WRAPPER_DECL): Likewise.
17559 (WRAPPER_DECL_ff): Likewise.
17560 (WRAPPER_DECL_fFF): Likewise.
17561 (VECTOR_WRAPPER): Likewise.
17562 (VECTOR_WRAPPER_ff): Likewise.
17563 (VECTOR_WRAPPER_fFF): Likewise.
17564 (VEC_LEN): New macro.
17565 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17566 test-vec-loop.h.
17567 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17568 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17569 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17570 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17571 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17572 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17573 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17574
17575 2015-06-24 Roland McGrath <roland@hack.frob.com>
17576
17577 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17578 (__getlogin_r): ... this.
17579
17580 2015-06-24 Joseph Myers <joseph@codesourcery.com>
17581
17582 [BZ #18594]
17583 * math/s_ccosh.c (__ccosh): Compare with least normal value
17584 instead of comparing class with FP_SUBNORMAL.
17585 * math/s_ccoshf.c (__ccoshf): Likewise.
17586 * math/s_ccoshl.c (__ccoshl): Likewise.
17587 * math/s_cexp.c (__cexp): Likewise.
17588 * math/s_cexpf.c (__cexpf): Likewise.
17589 * math/s_cexpl.c (__cexpl): Likewise.
17590 * math/s_csin.c (__csin): Likewise.
17591 * math/s_csinf.c (__csinf): Likewise.
17592 * math/s_csinh.c (__csinh): Likewise.
17593 * math/s_csinhf.c (__csinhf): Likewise.
17594 * math/s_csinhl.c (__csinhl): Likewise.
17595 * math/s_csinl.c (__csinl): Likewise.
17596 * math/s_ctan.c (__ctan): Likewise.
17597 * math/s_ctanf.c (__ctanf): Likewise.
17598 * math/s_ctanh.c (__ctanh): Likewise.
17599 * math/s_ctanhf.c (__ctanhf): Likewise.
17600 * math/s_ctanhl.c (__ctanhl): Likewise.
17601 * math/s_ctanl.c (__ctanl): Likewise.
17602 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17603 csin, csinh, ctan and ctanh.
17604 * math/auto-libm-test-out: Regenerated.
17605 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17606 * sysdeps/i386/fpu/libm-test-ulps: Update.
17607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17608
17609 2015-06-24 Roland McGrath <roland@hack.frob.com>
17610
17611 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17612 return value is wrong, print the expected value too.
17613
17614 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
17615
17616 [BZ #18585]
17617 * elf/readlib.c (is_gdb_python_file): New.
17618 (process_file): Don't issue errors on filenames with -gdb.py
17619 suffix.
17620
17621 2015-06-24 Joseph Myers <joseph@codesourcery.com>
17622
17623 * math/auto-libm-test-in: Add more tests of csin and csinh.
17624 * math/auto-libm-test-out: Regenerated.
17625 * math/libm-test.inc (csin_test_data): Remove tests moved to
17626 auto-libm-test-in.
17627 (csinh_test_data): Likewise.
17628
17629 [BZ #18593]
17630 * math/s_csin.c (__csin): Negate before rather than after possibly
17631 overflowing multiplication.
17632 * math/s_csinf.c (__csinf): Likewise.
17633 * math/s_csinh.c (__csinh): Likewise.
17634 * math/s_csinhf.c (__csinhf): Likewise.
17635 * math/s_csinhl.c (__csinhl): Likewise.
17636 * math/s_csinl.c (__csinl): Likewise.
17637 * math/auto-libm-test-in: Add some tests of csin and csinh.
17638 * math/auto-libm-test-out: Regenerated.
17639 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17640 (csinh_test_data): Likewise.
17641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17642
17643 [BZ #18586]
17644 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17645 underflow exception for small results.
17646
17647 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
17648
17649 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17650 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17651 variable and included header.
17652 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17653 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17654 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17655 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17656 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17657 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17658 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17659 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17660 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17661 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17662 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17663 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17664 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17665 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17666 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17667 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17668
17669 2015-06-23 Joseph Myers <joseph@codesourcery.com>
17670
17671 [BZ #16526]
17672 [BZ #16538]
17673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17674 (__sin): Force underflow exception for arguments with small
17675 absolute value.
17676 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17677 (__kernel_sinf): Force underflow exception for arguments with
17678 small absolute value.
17679 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17680 (__kernel_sincosl): Force underflow exception for arguments with
17681 small absolute value.
17682 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17683 (__kernel_sinl): Force underflow exception for arguments with
17684 small absolute value.
17685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17686 (__kernel_sincosl): Force underflow exception for arguments with
17687 small absolute value.
17688 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17689 (__kernel_sinl): Force underflow exception for arguments with
17690 small absolute value.
17691 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17692 (__kernel_sinl): Force underflow exception for arguments with
17693 small absolute value.
17694 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17695 (__kernel_sinf): Force underflow exception for arguments with
17696 small absolute value.
17697 * math/auto-libm-test-in: Add more tests of sin and sincos.
17698 * math/auto-libm-test-out: Regenerated.
17699
17700 [BZ #18245]
17701 [BZ #18583]
17702 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17703 (__kernel_standard_l): Use feholdexcept and fesetenv around
17704 conversion to double instead of special-casing overflow and
17705 underflow.
17706 * math/libm-test.inc (fmod_test_data): Add more tests.
17707 (remainder_test_data): Likewise.
17708 (sqrt_test_data): Likewise.
17709
17710 2015-06-23 Torvald Riegel <triegel@redhat.com>
17711
17712 [BZ #17403]
17713 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17714 atomic_read_barrier, atomic_write_barrier): Define.
17715 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17716 atomic_read_barrier, atomic_write_barrier): Define.
17717
17718 2015-06-23 Joseph Myers <joseph@codesourcery.com>
17719
17720 * math/Makefile [$(PERL) != no]
17721 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17722 dependency on libm-test.stmp below the inclusion of Rules.
17723
17724 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
17725
17726 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17727 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17728 and included header.
17729 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17730 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17731 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17732 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17733 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17735 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17736 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17737 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17738 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17739 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17740 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17741 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17742 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17743 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17744 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17745 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17746 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17747 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17748
17749 2015-06-23 Joseph Myers <joseph@codesourcery.com>
17750
17751 [BZ #18371]
17752 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17753 intermediate but not final result might underflow.
17754 * math/s_csqrtf.c (__csqrtf): Likewise.
17755 * math/s_csqrtl.c (__csqrtl): Likewise.
17756 * math/auto-libm-test-in: Add more tests of csqrt.
17757 * math/auto-libm-test-out: Regenerated.
17758 * sysdeps/i386/fpu/libm-test-ulps: Update.
17759
17760 [BZ #18219]
17761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17762 threshold on absolute value of exponent for which scaling is used.
17763 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17764 * math/auto-libm-test-in: Add more tests of exp2.
17765 * math/auto-libm-test-out: Regenerated.
17766
17767 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
17768
17769 [BZ #17977]
17770 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17771 when initializing interface list, based on the bug analysis
17772 and the patch proposed by Eric Newton.
17773 * resolv/tst-res_hconf_reorder.c: New test.
17774 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17775 tst-res_hconf_reorder.
17776 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17777 and $(shared-thread-library).
17778 (tst-res_hconf_reorder-ENV): New variable.
17779
17780 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17781 in comment.
17782
17783 2015-06-22 Joseph Myers <joseph@codesourcery.com>
17784
17785 [BZ #16353]
17786 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17787 (__expm1): Force underflow exception for arguments with small
17788 absolute value.
17789 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17790 (__expm1f): Force underflow exception for arguments with small
17791 absolute value.
17792 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17793 (__expm1): Force underflow exception for arguments with small
17794 absolute value.
17795 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17796 (__expm1f): Force underflow exception for arguments with small
17797 absolute value.
17798 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17799 Check for small arguments before calling __expm1.
17800 * math/auto-libm-test-in: Do not mark underflow exceptions as
17801 possibly missing for bug 16353.
17802 * math/auto-libm-test-out: Regenerated.
17803
17804 2015-06-22 Andreas Schwab <schwab@suse.de>
17805
17806 [BZ #18513]
17807 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17808 PTR queries.
17809
17810 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
17811
17812 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17813
17814 * string/strcoll_l.c: Remove unused struct element idxnow.
17815
17816 2015-06-21 Joseph Myers <joseph@codesourcery.com>
17817
17818 [BZ #18569]
17819 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17820 underflow and return argument in case of subnormal argument.
17821 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17822 Likewise.
17823 * math/auto-libm-test-in: Add more tests of expm1.
17824 * math/auto-libm-test-out: Regenerated.
17825
17826 [BZ #16361]
17827 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17828 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17829 tiny results.
17830 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17831 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17832 tiny results.
17833 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
17834 mark underflow exceptions as possibly missing for bug 16361.
17835 * math/auto-libm-test-out: Regenerated.
17836
17837 2015-06-19 Joseph Myers <joseph@codesourcery.com>
17838
17839 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17840 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17841 Remove variable.
17842 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17843 (test-xfail-XOPEN2K8/utmpx.h/conform).
17844
17845 * conform/conformtest.pl ($xerrors): New variable.
17846 (note_error): New function.
17847 (compiletest): New argument $xfail. Use not_error.
17848 (runtest): Likewise.
17849 (top level): Handle xfail- lines. Update calls to compiletest and
17850 runtest. Handle xfail- and optional- in headers listed with
17851 allow-header.
17852 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17853 (O_EXEC): Likewise.
17854 (O_SEARCH): Likewise.
17855 * conform/data/stropts.h-data (ioctl): Likewise.
17856 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17857 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17858 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17859 (msghdr.msg_controllen): Likewise.
17860 (cmsghdr.cmsg_len): Likewise.
17861 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17862 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17863 variable.
17864 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17865 (test-xfail-XPG4/stropts.h/conform): Likewise.
17866 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17867 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17868 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17869 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17870 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17871 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17872 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17873 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17874 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17875 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17876 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17877 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17878 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17879 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17880 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17881 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17882 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17883 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17884 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17885
17886 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
17887
17888 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17889 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17890 definitions for proper unfolding of __MATHDECL_VEC.
17891
17892 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17893
17894 * benchtests/bench-strcoll.c:
17895 Include string.h.
17896 (main): Remove unused variable res.
17897
17898 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17899
17900 * timezone/Makefile (%/UTC %/Universal):
17901 Generate test-result files for UTC and Universal.
17902
17903 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17904
17905 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17906
17907 2015-06-18 Joseph Myers <joseph@codesourcery.com>
17908
17909 [BZ #16350]
17910 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17911 for arguments with small absolute value.
17912 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17913 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17914 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17915 (__asinh): Force underflow exception for arguments with small
17916 absolute value.
17917 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17918 (__asinhf): Force underflow exception for arguments with small
17919 absolute value.
17920 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17921 (__asinhl): Force underflow exception for arguments with small
17922 absolute value.
17923 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17924 (__asinhl): Force underflow exception for arguments with small
17925 absolute value.
17926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17927 (__asinhl): Force underflow exception for arguments with small
17928 absolute value.
17929 * math/auto-libm-test-in: Do not mark underflow exceptions as
17930 possibly missing for bug 16350.
17931 * math/auto-libm-test-out: Regenerated.
17932
17933 * include/bits/ipc.h: Remove file.
17934 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17935 variable.
17936 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17937 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17938 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17939 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17940 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17941 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17942 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17943 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17944 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17945
17946 * math/auto-libm-test-in: Remove spurious underflow allowance for
17947 tests of cexp.
17948 * math/auto-libm-test-out: Regenerated.
17949
17950 [BZ #18558]
17951 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17952 unconditional definition.
17953 (MCAST_BLOCK_SOURCE): Likewise.
17954 (MCAST_UNBLOCK_SOURCE): Likewise.
17955 (MCAST_LEAVE_GROUP): Likewise.
17956 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17957 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17958 (MCAST_MSFILTER): Likewise.
17959 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17960 Remove variable.
17961 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17962 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17963 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17964 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17965 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17966
17967 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
17968
17969 * NEWS: Mention addition of x86_64 vector sincosf.
17970 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17971 * math/test-float-vlen4.h: Likewise.
17972 * math/test-float-vlen8.h: Likewise.
17973 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17974 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17975 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17976 * sysdeps/x86_64/fpu/Versions: New versions added.
17977 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17978 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17979 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17980 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17981 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17982 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17983 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17984 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17985 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17986 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17987 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17988 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17989 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17990 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17991 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17992 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17993 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17994 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17995 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17996 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17997 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17998 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17999 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18000 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18001
18002 * NEWS: Mention addition of x86_64 vector sincos.
18003 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18004 * math/math.h (__MATHDECL_VEC): New macro.
18005 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18006 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18007 declaration under condition.
18008 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18009 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18010 TEST_VEC_LOOP change.
18011 * math/test-double-vlen4.h: Likewise.
18012 * math/test-double-vlen8.h: Likewise.
18013 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18014 * math/test-float-vlen4.h: Likewise.
18015 * math/test-float-vlen8.h: Likewise.
18016 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18017 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18018 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18019 * sysdeps/x86_64/fpu/Versions: New versions added.
18020 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18021 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18022 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18023 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18028 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18029 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18030 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18031 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18032 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18033 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18034 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18035 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18036 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18037 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18038 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18039 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18040 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18041 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18042 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18043 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18044
18045 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18046 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18047 redirections for powf.
18048 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18049 * sysdeps/x86_64/fpu/Versions: New versions added.
18050 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18051 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18052 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18053 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18054 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18055 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18056 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18057 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18058 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18059 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18060 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18061 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18062 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18063 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18064 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18065 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18066 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18067 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18068 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18069 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18070 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18071 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18072 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18073 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18074 * math/test-float-vlen16.h: Fixed 2 argument macro.
18075 * math/test-float-vlen4.h: Likewise.
18076 * math/test-float-vlen8.h: Likewise.
18077 * NEWS: Mention addition of x86_64 vector powf.
18078
18079 2015-06-17 Joseph Myers <joseph@codesourcery.com>
18080
18081 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18082 and redefine.
18083 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18084 and redefine.
18085 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18086 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18088
18089 [BZ #18553]
18090 * resource/getpriority.c (getpriority): Rename to __getpriority
18091 and define as weak alias of __getpriority.
18092 * resource/setpriority.c (setpriority): Rename to __setpriority
18093 and define as weak alias of __setpriority.
18094 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18095 __getpriority and define as weak alias of __getpriority.
18096 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18097 __setpriority and define as weak alias of __setpriority.
18098 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18099 strong name.
18100 (setpriority): Use __setpriority as strong name.
18101 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18102 __getpriority and define as weak alias of __getpriority.
18103 * include/sys/resource.h (__getpriority): Declare. Use
18104 libc_hidden_proto.
18105 (__setpriority): Likewise.
18106 (getpriority): Don't use libc_hidden_proto.
18107 (setpriority): Likewise.
18108 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18109 getpriority. Call __setpriority instead of setpriority.
18110 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18111 Remove variable.
18112
18113 [BZ #18547]
18114 * misc/getttyent.c (getttynam): Rename to __getttynam and define
18115 as weak alias of __getttynam. Use prototype function definition.
18116 Call __setttyent, __getttyent and __endttyent instead of
18117 setttyent, getttyent and endttyent.
18118 (getttyent): Rename to __getttyent and define as weak alias of
18119 __getttyent. Call __setttyent instead of setttyent. Call
18120 __fgets_unlocked instead of fgets_unlocked.
18121 (setttyent): Rename to __setttyent and define as weak alias of
18122 __setttyent.
18123 (endttyent): Rename to __endttyent and define as weak alias of
18124 __endttyent.
18125 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
18126 (__setttyent): Likewise.
18127 (__endttyent): Likewise.
18128 (getttyent): Don't use libc_hidden_proto.
18129 (setttyent): Likewise.
18130 (endttyent): Likewise.
18131 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18132 __endttyent instead of setttyent, getttyent and endttyent.
18133 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18134 Remove variable.
18135
18136 [BZ #18546]
18137 * socket/recv.c (__recv): Use libc_hidden_def.
18138 * socket/socket.c (__socket): Likewise.
18139 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18140 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18141 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18142 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18143 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18144 libc_hidden_def.
18145 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18146 libc_hidden_weak.
18147 * include/sys/socket.h (__socket): Do not use attribute_hidden.
18148 Use libc_hidden_proto.
18149 (__recv): Likewise.
18150 * socket/Versions (libc): Export __recv and __socket at version
18151 GLIBC_PRIVATE.
18152 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18153 instead of recv.
18154 (init_mq_netlink): Call __socket instead of socket.
18155 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18156 Remove variable.
18157
18158 [BZ #18545]
18159 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18160 __mq_timedreceive and define as alias of __mq_timedreceive. Use
18161 hidden_weak.
18162 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18163 define as alias of __mq_timedsend. Use hidden_weak.
18164 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18165 __mq_timedsend as strong name.
18166 (mq_timedreceive): Use __mq_timedreceive as strong name.
18167 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
18168 (__mq_timedreceive): Likewise.
18169 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18170 __mq_timedreceive instead of mq_timedreceive.
18171 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18172 instead of mq_timedsend.
18173 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18174 Remove variable.
18175
18176 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18177 hidden_def and hidden_weak instead of libc_hidden_def and
18178 libc_hidden_weak.
18179 (top level): Refer to hidden_def in comment.
18180 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18181 macro. Use it instead of libc_hidden_def.
18182 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18183 specify __GI_* name explicitly.
18184 (mq_timedreceive): Likewise.
18185 (mq_setattr): Likewise.
18186
18187 [BZ #18544]
18188 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18189 __pthread_barrier_init and define as weak alias of
18190 __pthread_barrier_init.
18191 * sysdeps/sparc/nptl/pthread_barrier_init.c
18192 (pthread_barrier_init): Likewise.
18193 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18194 __pthread_barrier_wait and define as weak alias of
18195 __pthread_barrier_wait.
18196 * sysdeps/sparc/nptl/pthread_barrier_wait.c
18197 (pthread_barrier_wait): Likewise.
18198 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18199 (pthread_barrier_wait): Likewise.
18200 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18201 (pthread_barrier_wait): Likewise.
18202 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18203 (pthread_barrier_wait): Likewise.
18204 * nptl/Versions (libpthread): Export __pthread_barrier_init and
18205 __pthread_barrier_wait at version GLIBC_PRIVATE.
18206 * include/pthread.h (__pthread_barrier_init): Declare.
18207 (__pthread_barrier_wait): Likewise.
18208 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18209 Call __pthread_barrier_wait instead of pthread_barrier_wait.
18210 (helper_thread): Likewise.
18211 (init_mq_netlink): Call __pthread_barrier_init instead of
18212 pthread_barrier_init.
18213
18214 [BZ #18542]
18215 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18216 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18217 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
18218 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18219 vswscanf.
18220 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18221 Remove variable.
18222
18223 [BZ #18540]
18224 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18225 strong alias of _IO_fflush. Use libc_hidden_def.
18226 * libio/iofflush_u.c (fflush_unlocked): Rename to
18227 __fflush_unlocked and define as weak alias of __fflush_unlocked.
18228 Use libc_hidden_weak.
18229 * include/stdio.h (__fflush_unlocked): Declare. Use
18230 libc_hidden_proto.
18231 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18232 fflush_unlocked.
18233 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18234 Remove variable.
18235
18236 [BZ #18539]
18237 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18238 define as weak alias of __addseverity.
18239 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18240 Remove variable.
18241 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18242 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18243 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18244
18245 [BZ #18536]
18246 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18247 (__tfind): Likewise.
18248 (__tdelete): Likewise.
18249 (__twalk): Likewise.
18250 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18251 __twalk to GLIBC_PRIVATE.
18252 * include/search.h (__tsearch): Use libc_hidden_proto.
18253 (__tfind): Likewise.
18254 (__tdelete): Likewise.
18255 (__twalk): Likewise.
18256 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18257 Call __tdelete instead of tdelete.
18258 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18259 tfind. Call __tsearch instead of tsearch.
18260 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18261 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18262 Remove variable.
18263 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18264
18265 [BZ #18534]
18266 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18267 (dprintf): Define as a weak alias of __dprintf, not a strong
18268 alias.
18269 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
18270 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18271 dprintf.
18272 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18273 Remove variable.
18274 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18275 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18276
18277 [BZ #18533]
18278 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18279 not a strong alias.
18280 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18281 Remove variable.
18282
18283 [BZ #18532]
18284 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18285 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
18286 (in6addr_loopback): Rename to __in6addr_loopback and define as
18287 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
18288 * include/netinet/in.h (__in6addr_loopback): Declare. Use
18289 libc_hidden_proto.
18290 (__in6addr_any): Likewise.
18291 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18292 in6addr_any.
18293 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18294 variable.
18295 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18296
18297 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
18298
18299 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18300 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18301 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18302 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18303 redirections for pow.
18304 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18305 * sysdeps/x86_64/fpu/Versions: New versions added.
18306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18307 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18308 build of SSE, AVX2 and AVX512 IFUNC versions.
18309 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18310 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18311 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18312 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18313 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18314 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18315 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18316 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18317 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18318 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18319 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18320 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18321 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18322 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18323 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18324 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18325 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18326 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18327 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18328 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18329 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18330 * NEWS: Mention addition of x86_64 vector pow.
18331
18332 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18333 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18334 redirections for expf.
18335 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18336 * sysdeps/x86_64/fpu/Versions: New versions added.
18337 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18338 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18339 build of SSE, AVX2 and AVX512 IFUNC versions.
18340 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18341 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18342 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18343 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18344 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18345 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18346 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18347 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18348 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18349 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18350 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18351 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18352 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18353 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18354 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18355 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18356 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18357 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18358 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18359 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18360 * NEWS: Mention addition of x86_64 vector expf.
18361
18362 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18363 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18364 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18365 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18366 redirections for exp.
18367 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18368 * sysdeps/x86_64/fpu/Versions: New versions added.
18369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18370 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18371 build of SSE, AVX2 and AVX512 IFUNC versions.
18372 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18373 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18374 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18375 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18376 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18377 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18378 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18379 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18380 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18381 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18382 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18383 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18384 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18385 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18386 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18387 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18388 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18389 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18390 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18391 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18392 * NEWS: Mention addition of x86_64 vector exp.
18393
18394 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18395 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18396 redirections for logf.
18397 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18398 * sysdeps/x86_64/fpu/Versions: New versions added.
18399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18400 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18401 build of SSE, AVX2 and AVX512 IFUNC versions.
18402 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18403 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18404 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18405 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18406 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18407 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18408 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18409 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18410 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18411 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18412 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18413 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18414 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18415 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18416 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18417 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18418 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18419 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18420 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18421 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18422 * NEWS: Mention addition of x86_64 vector logf.
18423
18424 * bits/libm-simd-decl-stubs.h: Added stubs for log.
18425 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18426 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18427 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18428 redirections for log.
18429 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18430 * sysdeps/x86_64/fpu/Versions: New versions added.
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18432 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18433 build of SSE, AVX2 and AVX512 IFUNC versions.
18434 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18435 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18436 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18437 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18438 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18439 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18440 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18441 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18442 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18443 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18444 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18445 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18446 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18447 test.
18448 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18449 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18450 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18451 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18452 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18453 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18454 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18455 * NEWS: Mention addition of x86_64 vector log.
18456
18457 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
18458
18459 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18460 cfi_adjust_cfa_offset argument.
18461 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18462 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18463
18464 [BZ #18034]
18465 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18466 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18467 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18468 ordering using ldar.
18469 (_dl_tlsdesc_dynamic): Likewise.
18470 (_dl_tlsdesc_return_lazy): Likewise.
18471 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18472 relaxed atomics instead of volatile and synchronize with release store.
18473 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18474 volatile.
18475 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18476
18477 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
18478
18479 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18480 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18481 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18482 * sysdeps/x86_64/fpu/Versions: New versions added.
18483 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18484 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18485 build of SSE, AVX2 and AVX512 IFUNC versions.
18486 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18487 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18488 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18489 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18490 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18491 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18492 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18493 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18494 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18495 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18496 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18497 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18498 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18499 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18500 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18501 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18502 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18503 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18504 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18505 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18506 * NEWS: Mention addition of x86_64 vector sinf.
18507
18508 2015-06-14 Joseph Myers <joseph@codesourcery.com>
18509
18510 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18511 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18512 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18513 Remove variable.
18514 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18515 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18516
18517 2015-06-12 Joseph Myers <joseph@codesourcery.com>
18518
18519 [BZ #18530]
18520 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18521 strong alias of _IO_fputs. Use libc_hidden_def.
18522 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18523 and define as weak alias of __fputs_unlocked. Use
18524 libc_hidden_weak.
18525 * include/stdio.h (__fputs_unlocked): Declare. Use
18526 libc_hidden_proto.
18527 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18528 fputs_unlocked.
18529
18530 [BZ #18529]
18531 * resolv/netdb.h [__USE_POSIX]: Change condition to
18532 [__USE_XOPEN2K].
18533 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18534 not expect.
18535 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18536 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18537 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18538 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18539 [XPG4 || UNIX98] (AI_ALL): Likewise.
18540 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18541 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18542 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18543 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18544 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18545 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18546 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18547 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18548 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18549 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18550 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18551 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18552 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18553 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18554 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18555 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18556 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18557 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18558 [XPG4 || UNIX98] (gai_strerror): Likewise.
18559 [XPG4 || UNIX98] (getaddrinfo): Likewise.
18560 [XPG4 || UNIX98] (getnameinfo): Likewise.
18561
18562 [BZ #18528]
18563 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18564 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18565 __USE_XOPEN2K8].
18566 (getgrent): Likewise.
18567 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18568 expect.
18569 [XPG3 || POSIX2008] (endgrent): Likewise.
18570 [XPG3] (setgrent): Likewise.
18571 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18572 variable.
18573 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18574
18575 [BZ #18527]
18576 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18577 define as weak alias of __getlogin_r. Use libc_hidden_weak.
18578 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18579 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18580 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18581 * include/unistd.h (__getlogin_r): Declare. Use
18582 libc_hidden_proto.
18583 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18584 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18585 variable.
18586 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18587 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18588 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18589
18590 2015-06-12 Martin Sebor <msebor@redhat.com>
18591
18592 [BZ #18512]
18593 * Makerules (check-install-supported): New target.
18594 (install): Add check-install-supported as a dependency.
18595 * manual/install.texi (Installing the C Library): Document
18596 that overriding prefix and exec_prefix is not supported.
18597 Mention DESTDIR.
18598 * INSTALL: Regenerate from the above.
18599
18600 2015-06-12 Joseph Myers <joseph@codesourcery.com>
18601
18602 [BZ #18519]
18603 * posix/Versions (libc): Export __libc_pread at version
18604 GLIBC_PRIVATE.
18605 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18606 instead of pread.
18607 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18608 variable.
18609
18610 [BZ #18522]
18611 * misc/efgcvt_r.c
18612 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18613 (cvt_symbol): Use weak_alias instead of strong_alias.
18614 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18615 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18616 Remove variable.
18617 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18618 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18619
18620 [BZ #18520]
18621 * inet/herrno.c (h_errno): Rename to __h_errno.
18622 (__libc_h_errno): Define as alias of __h_errno not h_errno.
18623 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18624 to __h_errno instead of h_errno.
18625 * nptl/herrno.c (h_errno): Rename to __h_errno.
18626 (__h_errno_location): Refer to __h_errno not h_errno.
18627 * resolv/Versions (h_errno): Rename to __h_errno.
18628 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18629 Remove variable.
18630 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18631
18632 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
18633
18634 * configure.ac: More strict check for AVX512 assembler support.
18635 * configure: Regenerated.
18636
18637 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18638 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18639 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18640 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18641 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18642 * sysdeps/x86_64/fpu/Versions: New versions added.
18643 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18644 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18645 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18646 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18647 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18648 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18649 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18650 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18651 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18652 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18653 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18654 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18655 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18656 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18657 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18658 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18659 test.
18660 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18661 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18662 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18663 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18664 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18665 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18666 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18667 * NEWS: Mention addition of x86_64 vector sin.
18668
18669 2015-06-11 Florian Weimer <fweimer@redhat.com>
18670
18671 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18672 comment.
18673
18674 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
18675
18676 [BZ #18479]
18677 * nptl/pt-interp.c: New file.
18678 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18679 Add pt-interp.
18680 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18681 $(common-objpfx)runtime-linker.h.
18682
18683 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
18684
18685 * Makeconfig (+interp): Remove unused variable.
18686 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18687 only. Depend on $(common-objpfx)runtime-linker.h instead of
18688 $(elf-objpfx)runtime-linker.h.
18689 ($(elf-objpfx)runtime-linker.h): Rename to
18690 $(common-objpfx)runtime-linker.h and move ...
18691 * Makerules [$(build-shared) = yes]: ... here.
18692 * elf/interp.c: Include <runtime-linker.h> instead of
18693 <elf/runtime-linker.h>.
18694
18695 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18696
18697 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18698 (__gettimeofday_syscall): Remove vsyscall fallback.
18699 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18700 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18701 Add syscall fallback function.
18702 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18703 if vDSO is not present.
18704 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18705 fallback function.
18706 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18707 present.
18708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18709 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18710
18711 2015-06-09 Joseph Myers <joseph@codesourcery.com>
18712
18713 [BZ #18497]
18714 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18715 of wcscmp.
18716 (wcscmp): Define as weak alias of WCSCMP.
18717 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18718 wcscoll.
18719 (USE_HIDDEN_DEF): Define.
18720 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18721 __wcscoll. Don't use libc_hidden_weak.
18722 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18723 wcscmp.
18724 * sysdeps/i386/i686/multiarch/wcscmp-c.c
18725 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18726 __GI_wcscmp.
18727 (weak_alias): Undefine and redefine.
18728 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18729 __wcscmp and define as weak alias of __wcscmp.
18730 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18731 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
18732 (__wcscoll): Likewise.
18733 (wcscmp): Don't use libc_hidden_proto.
18734 (wcscoll): Likewise.
18735 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18736 wcscoll.
18737 * posix/regexec.c (check_node_accept_bytes): Likewise.
18738 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18739 variable.
18740 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18741 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18742
18743 [BZ #18507]
18744 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18745 __fstatvfs and define as weak alias of __fstatvfs. Use
18746 libc_hidden_weak.
18747 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18748 and define as weak alias of __statvfs. Use libc_hidden_weak.
18749 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18750 Define as alias of __fstatvfs, not fstatvfs.
18751 (fstatvfs64): Likewise.
18752 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18753 Define as alias of __statvfs, not statvfs.
18754 (statvfs64): Likewise.
18755 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18756 Remove variable.
18757
18758 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18759
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18761 (HAVE_GETCPU_VSYSCALL): Define.
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18763 (HAVE_GETCPU_VSYSCALL): Likewise.
18764 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18765 * sysdeps/unix/sysv/linux/sched_getcpu.c
18766 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18767 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18768 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18769 prototype.
18770 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18771 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18774 Define.
18775 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18779
18780 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
18781
18782 * sysdeps/x86_64/fpu/Makefile: New file.
18783 * sysdeps/x86_64/fpu/Versions: New file.
18784 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18785 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18786 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18787 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18788 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18789 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18790 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18791 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18792 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18793 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18794 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18795 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18796 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18797 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18798 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18799 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18800 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18801 * sysdeps/x86_64/configure.ac: Options for libmvec build.
18802 * sysdeps/x86_64/configure: Regenerated.
18803 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18804 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18805 * manual/install.texi (Configuring and compiling): Document
18806 --disable-mathvec.
18807 * INSTALL: Regenerated.
18808 * NEWS: Mention addition of libmvec and x86_64 vector cos.
18809
18810 * math/Makefile: Added rules for vector tests.
18811 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18812 declaration under condition.
18813 * math/test-double-vlen2.h: New file.
18814 * math/test-double-vlen4.h: New file.
18815 * math/test-double-vlen8.h: New file.
18816 * math/test-vec-loop.h: Added initialization macro.
18817 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18818 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18819 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18820 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18821 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18822 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18823 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18824 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18825 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18826 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18827 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18828
18829 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18830 * sysdeps/x86_64/fpu/Versions: New versions added.
18831 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18832 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18833 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18834 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18835 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18836 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18837 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18838 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18839 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18840 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18841 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18842 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18843 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18844 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18845 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18846 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18847 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18848 * NEWS: Mention addition of x86_64 vector cosf.
18849
18850 * math/Makefile: Added CFLAGS for new tests.
18851 * math/test-float-vlen16.h: New file.
18852 * math/test-float-vlen4.h: New file.
18853 * math/test-float-vlen8.h: New file.
18854 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18855 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18856 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18857 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18858 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18859 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18860 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18861 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18862 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18863 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18864 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18865
18866 2015-06-09 Marko Myllynen <myllynen@redhat.com>
18867
18868 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18869 * locale/programs/ld-ctype.c: Likewise.
18870
18871 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
18872
18873 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18874 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18875 bit_ZMM16_31_state): New macro.
18876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18877 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18878
18879 2015-06-08 Joseph Myers <joseph@codesourcery.com>
18880
18881 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18882
18883 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
18884
18885 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18886
18887 2015-06-05 Joseph Myers <joseph@codesourcery.com>
18888
18889 [BZ #18498]
18890 * libio/memstream.c (open_memstream): Rename to __open_memstream
18891 and define as weak alias of __open_memstream.
18892 * include/stdio.h (__open_memstream): Declare. Use
18893 libc_hidden_proto.
18894 (open_memstream): Don't use libc_hidden_proto.
18895 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18896 open_memstream.
18897 * posix/getopt.c (_getopt_internal_r): Likewise.
18898 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18899 variable.
18900 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18901 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18902 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18903
18904 [BZ #18496]
18905 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18906 instead of wcrtomb.
18907
18908 [BZ #18483]
18909 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18910 [__USE_XOPEN2K8]. Remove redundant #endif.
18911 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18912 Remove redundant #if.
18913 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18914 Remove variable.
18915 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18916 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18917
18918 [BZ #18495]
18919 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18920 (__iswlower): Likewise.
18921 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
18922 (__iswlower): Likewise.
18923 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18924 instead of towlower.
18925 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18926 instead of iswlower. Call __towupper instead of towupper.
18927 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18928 instead of iswalnum.
18929
18930 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18931
18932 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18933 errors to stderr.
18934
18935 2015-06-05 Florian Weimer <fweimer@redhat.com>
18936
18937 [BZ #15661]
18938 [BZ #17322]
18939 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18940 Check for overflow properly. Check for O_APPEND. Ignore large
18941 file system block sizes. Add comments about problems.
18942 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18943 * manual/filesys.texi (Storage Allocation): New node.
18944
18945 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18946
18947 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18948 cancellable syscalls.
18949 (SYS_ify): Add guard to no redefine it.
18950 (INLINE_SYSCALL): Likewise.
18951 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18952 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18953 SYSCALL_CANCEL instead.
18954 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18955 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18956 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18957 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18958 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18959 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18960 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18961 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18962 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18963 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18964 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18965 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18966 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18967 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18968 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18969 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18970 Likewise.
18971 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18972 (__libc_pread64): Likewise.
18973 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18974 (__libc_preadv): Likewise.
18975 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18976 (__libc_readv64): Likewise.
18977 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18978 (__libc_pwrite): Likewise.
18979 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18980 (__libc_pwrite64): Likewise.
18981 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18982 (__libc_pwritev): Likewise.
18983 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18984 (__libc_pwritev64): Likewise.
18985 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18986 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18987 (sync_file_range): Likewise.
18988 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18989 Likewise.
18990 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18991 Likewise.
18992 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18993 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18994 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18995 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18996 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18997 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18998 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18999 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19001 Likewise.
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19003 (__libc_read64): Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19005 Likewise.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19007 Likewise.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19009 Likewise.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19011 Likewise.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19013 (__libc_pread64): Likewise.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19015 Likewise.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19017 (__libc_pwrite64): Likewise.
19018 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19019 (sync_file_range): Likewise.
19020 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19021 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19022 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19023 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19024 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19025 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19026 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19027 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19028 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19029 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19030 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19031 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19032 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19033 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19034 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19035 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19036 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19037 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19038 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19039 Likewise.
19040 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19041 Likewise.
19042 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19043 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19044 Likewise.
19045 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19046 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19047 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19048 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19049 Likewise.
19050 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19051 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19052 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19053 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19054 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19055
19056 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
19057
19058 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19059 Include dl-vdso.
19060 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19061 Use VDSO routines for gettimeofday, clock_gettime if
19062 available.
19063 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19064 Declare VDSO symbols.
19065 * sysdeps/unix/sysv/linux/arm/sysdep.h:
19066 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19067 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19068 * sysdeps/unix/sysv/linux/arm/Versions: Add
19069 __vdso_clock_gettime.
19070
19071 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19072
19073 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19074 be an inline implementation regardless of library is built within.
19075 (open_not_cancel_2): Likewise.
19076 (__read_nocancel): Likewise.
19077 (__write_nocancel): Likewise.
19078 (openat_not_cancel): Likewise.
19079 (openat_not_cancel_3): Likewise.
19080 (openat64_not_cancel): Likewise.
19081 (openat64_not_cancel_3): Likewise.
19082 (__close_nocancel): Likewise.
19083 (pause_not_cancel): Likewise.
19084 (nanosleep_not_cancel): Likewise.
19085 (sigsuspend_not_cancel): Likewise.
19086
19087 2015-06-04 Torvald Riegel <triegel@redhat.com>
19088
19089 [BZ #14958]
19090 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19091 wake-up.
19092 (__pthread_rwlock_rdlock_slow): Likewise.
19093 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19094 Likewise.
19095 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19096 Likewise.
19097 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19098 * nptl/tst-rwlock16.c: New file.
19099 * nptl/Makefile (tests): Add new test.
19100
19101 2015-06-04 Torvald Riegel <triegel@redhat.com>
19102
19103 [BZ #18324]
19104 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19105 missing wake-up of readers.
19106 * nptl/tst-rwlock15.c: New file.
19107 * nptl/Makefile (tests): Add new test.
19108
19109 2015-06-03 Roland McGrath <roland@hack.frob.com>
19110
19111 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19112 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19113 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19114 and __nacl_supply_interface_rtld.
19115 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19116 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19117 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19118 Add __nacl_supply_interface_rtld.
19119 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19120
19121 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
19122
19123 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19124 isfinite.
19125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19126 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19127
19128 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
19129
19130 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19131 __signbit* with standard C99 macros.
19132 * math/e_exp10l.c: Likewise.
19133 * math/e_exp2l.c: Likewise.
19134 * math/e_scalb.c: Likewise.
19135 * math/e_scalbf.c: Likewise.
19136 * math/e_scalbl.c: Likewise.
19137 * math/s_ldexp.c: Likewise.
19138 * math/s_ldexpf.c: Likewise.
19139 * math/s_ldexpl.c: Likewise.
19140 * math/w_atan2.c: Likewise.
19141 * math/w_atan2f.c: Likewise.
19142 * math/w_atan2l.c: Likewise.
19143 * math/w_cosh.c: Likewise.
19144 * math/w_coshf.c: Likewise.
19145 * math/w_coshl.c: Likewise.
19146 * math/w_exp10.c: Likewise.
19147 * math/w_exp10f.c: Likewise.
19148 * math/w_exp10l.c: Likewise.
19149 * math/w_exp2.c: Likewise.
19150 * math/w_exp2f.c: Likewise.
19151 * math/w_exp2l.c: Likewise.
19152 * math/w_fmod.c: Likewise.
19153 * math/w_fmodf.c: Likewise.
19154 * math/w_fmodl.c: Likewise.
19155 * math/w_hypot.c: Likewise.
19156 * math/w_hypotf.c: Likewise.
19157 * math/w_hypotl.c: Likewise.
19158 * math/w_jnl.c: Likewise.
19159 * math/w_lgamma.c: Likewise.
19160 * math/w_lgamma_r.c: Likewise.
19161 * math/w_lgammaf.c: Likewise.
19162 * math/w_lgammaf_r.c: Likewise.
19163 * math/w_lgammal.c: Likewise.
19164 * math/w_lgammal_r.c: Likewise.
19165 * math/w_pow.c: Likewise.
19166 * math/w_powf.c: Likewise.
19167 * math/w_powl.c: Likewise.
19168 * math/w_remainder.c: Likewise.
19169 * math/w_remainderf.c: Likewise.
19170 * math/w_remainderl.c: Likewise.
19171 * math/w_scalb.c: Likewise.
19172 * math/w_scalbf.c: Likewise.
19173 * math/w_scalbl.c: Likewise.
19174 * math/w_scalbln.c: Likewise.
19175 * math/w_scalblnf.c: Likewise.
19176 * math/w_scalblnl.c: Likewise.
19177 * math/w_sinh.c: Likewise.
19178 * math/w_sinhf.c: Likewise.
19179 * math/w_sinhl.c: Likewise.
19180 * math/w_tgamma.c: Likewise.
19181 * math/w_tgammaf.c: Likewise.
19182 * math/w_tgammal.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19193 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19194 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19197 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19214 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19215 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19216 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19217 * stdio-common/printf_fp.c: Likewise.
19218 * stdio-common/printf_fphex.c: Likewise.
19219 * stdio-common/printf_size.c: Likewise.
19220
19221 2015-06-03 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #18470]
19224 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19225 strnlen.
19226 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19227 Remove variable.
19228 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19229 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19230 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19231 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19232 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19233 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19234 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19235 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19236 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19237 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19238
19239 [BZ #18468]
19240 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19241 weak alias of __wmemchr. Use libc_hidden_weak.
19242 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
19243 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19244 instead of wmemchr.
19245
19246 2015-06-02 Roland McGrath <roland@hack.frob.com>
19247
19248 [BZ #18383]
19249 * elf/tst-tlsalign-extern.c: New file.
19250 * elf/tst-tlsalign-extern-static.c: New file.
19251 * elf/tst-tlsalign-vars.c: New file.
19252 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19253 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19254 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19255 ($(objpfx)tst-tlsalign-extern-static): Likewise.
19256 (test-xfail-tst-tlsalign-extern-static): New variable.
19257
19258 2015-06-02 Joseph Myers <joseph@codesourcery.com>
19259
19260 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19261 Use variable name _sc_err instead of err.
19262 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19263 instead of ret.
19264 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19265 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19266 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19267 (INLINE_SYSCALL): Likewise.
19268
19269 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19270 * include/string.h (__strnlen): Use libc_hidden_proto.
19271 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19272 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19273 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19274 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19275 (libc_hidden_def): Undefine and redefine.
19276 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19277 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19278 __GI_strnlen.
19279 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19280 libc_hidden_def.
19281 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19282
19283 [BZ #18469]
19284 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19285 weak alias of __towlower. Use libc_hidden_weak.
19286 (towupper): Rename to __towupper and define as weak alias of
19287 __towupper. Use libc_hidden_weak.
19288 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
19289 (__towupper): Likewise.
19290 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19291 __towlower instead of towlower.
19292
19293 2015-06-02 Roland McGrath <roland@hack.frob.com>
19294
19295 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19296 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19297
19298 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
19299
19300 * sysdeps/aarch64/libm-test-ulps: Update.
19301
19302 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19303
19304 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19305 Define.
19306 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19308 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19309 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19310 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19311 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19312 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19313
19314 2015-06-01 Martin Sebor <msebor@redhat.com>
19315
19316 [BZ #18116]
19317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19318 (__setcontext): Use extended four-operand version of mtsf whenever
19319 possible.
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19321 (__novec_swapcontext): Likewise.
19322
19323 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19324
19325 * benchtests/scripts/compare_bench.py: New file.
19326 * benchtests/scripts/import_bench.py (mean): New function.
19327 (split_list): Likewise.
19328 (do_for_all_timings): Likewise.
19329 (compress_timings): Likewise.
19330
19331 * benchtests/scripts/import_bench.py: New file.
19332 * benchtests/scripts/validate_benchout.py: Import import_bench
19333 instead of jsonschema.
19334 (validate_bench): Remove function.
19335 (main): Use import_bench.
19336
19337 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
19338
19339 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19340 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19341
19342 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19343
19344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19345
19346 2015-05-28 Roland McGrath <roland@hack.frob.com>
19347
19348 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19349 set THREAD_SELF->tid to a magic value and futex-wake it.
19350 Pass its address to the thread_exit system call.
19351 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19352 bit is clear.
19353 * sysdeps/nacl/lowlevellock.h: New file.
19354 * sysdeps/nacl/lll_timedwait_tid.c: New file.
19355
19356 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19357 Add TIMEOUT to current time, don't subtract it.
19358
19359 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
19360
19361 [BZ #2981]
19362 [BZ #18422]
19363 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19364 ($(objpfx)tst-audit2.out): Also depend on
19365 $(objpfx)tst-auditmod9b.so.
19366 * elf/tst-audit2.c: Include <dlfcn.h>.
19367 (calloc_called): New.
19368 (calloc): Allow to be called more than once.
19369 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19370
19371 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
19372
19373 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19374 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19375
19376 2015-05-27 Marko Myllynen <myllynen@redhat.com>
19377
19378 * stdlib/monetary.h: Fix comment.
19379
19380 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
19381
19382 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19383 Avoid using variables in #defines that might cause shadowing.
19384 (INTERNAL_VSYSCALL_CALL): Likewise.
19385
19386 2015-05-26 Roland McGrath <roland@hack.frob.com>
19387
19388 * sysdeps/nacl/lll_timedlock_wait.c: New file.
19389
19390 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19391 * nptl/lll_timedlock_wait.c: ... to this new file.
19392 * nptl/Makefile (libpthread-routines): Add it.
19393 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19394 * nptl/lll_timedwait_tid.c: ... to this new file.
19395 * nptl/Makefile (libpthread-routines): Add it.
19396 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19397 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19398 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19399 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19400 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19401 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19402 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19403 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19404 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19405 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19406
19407 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19408
19409 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19410 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19411 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19412 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19413 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19414 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19415 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19417 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19418 * sysdeps/unix/sysv/linux/tile/sysdep.h
19419 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19420 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19421 using vDSO syscall macro.
19422
19423 2015-05-26 Andriy Rysin <arysin@gmail.com>
19424
19425 [BZ #17293]
19426 * uk_UA: Fix sorting order for Ukrainian locale
19427
19428 2015-05-26 Marko Myllynen <myllynen@redhat.com>
19429
19430 * stdlib/monetary.h: Fix comment.
19431
19432 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
19433
19434 [BZ #18234]
19435 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19436 st_mtim and st_ctim members.
19437 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19438 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19439 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19440 (struct stat64): Likewise.
19441 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19442 (struct stat64): Likewise.
19443 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19444 (struct stat64): Likewise.
19445
19446 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19447
19448 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19449 Define and include sysdep-vdso.h.
19450 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19451 Likewise.
19452 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19453 Likewise.
19454 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19455 Define with VDSO_SYMBOL and use PTR_MANGLE.
19456 (__vdso_clock_gettime): Likewise.
19457 (__vdso_clock_getres): Likewise.
19458 (_libc_vdso_platform_setup): Likewise.
19459 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19460 Likewise.
19461 (_libc_vdso_platform_setup): Likewise.
19462 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19463 Likewise.
19464 (__vdso_clock_gettime): Likewise.
19465 (__vdso_clock_getres): Likewise.
19466 (__vdso_get_tbfreq): Likewise.
19467 (__vdso_getcpu): Likewise.
19468 (__vdso_time): Likewise.
19469 (__vdso_sigtramp_rt64): Likewise.
19470 (__vdso_signtramp32): Likewise.
19471 (__vdso_sigtramp_rt32): Likewise.
19472 (_libc_vdso_platform_setup): Likewise.
19473 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19474 Likewise.
19475 (__vdso_clock_gettime): Likewise.
19476 (__vdso_clock_getres): Likewise.
19477 (_libc_vdso_platform_setup): Likewise.
19478 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19479 Likewise.
19480 (__vdso_clock_gettime): Likewise.
19481 (_libc_vdso_platform_setup): Likewise.
19482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19483 Likewise.
19484 (__vdso_getcpu): Likewise.
19485 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19486 Use VDSO_SYMBOL macro to define.
19487 (__vdso_clock_gettime): Likewise.
19488 (__vdso_clock_getres): Likewise.
19489 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19490 Likewise.
19491 (__vdso_clock_gettime): Likewise.
19492 (__vdso_clock_getres): Likewise.
19493 (__vdso_get_tbfreq): Likewise.
19494 (__vdso_getcpu): Likewise.
19495 (__vdso_time): Likewise.
19496 (__vdso_sigtramp_rt64): Likewise.
19497 (__vdso_signtramp32): Likewise.
19498 (__vdso_sigtramp_rt32): Likewise.
19499 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19500 Likewise.
19501 (__vdso_clock_gettime): Likewise.
19502 (__vdso_clock_getres): Likewise.
19503 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19504 Likewise.
19505 (__vdso_clock_gettime): Likewise.
19506 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19507 Likewise.
19508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
19509 macro.
19510 (INTERNAL_VSYSCALL): Likewise.
19511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19512 Remove macro.
19513 (INTERNAL_VSYSCALL): Likewise.
19514 (INTERNAL_VSYSCALL_NCS): Likewise.
19515 (INTERNAL_VSYSCALL_CALL): New macro.
19516 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19518 Likewise.
19519 (INTERNAL_VSYSCALL): Likewise.
19520 (INTERNAL_VSYSCALL_NCS): Likewise.
19521 (INTERNAL_VSYSCALL_CALL): New macro.
19522 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19524 (INLINE_VSYSCALL): Remove macro.
19525 (INTERNAL_VSYSCALL): Remove macro.
19526 (INTERNAL_VSYSCALL_NCS): Remove macro.
19527 (INTERNAL_VSYSCALL_CALL): New macro.
19528 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19529 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19530 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19531 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19532 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19534 (INLINE_VSYSCALL): Remove macro.
19535 (INTERNAL_VSYSCALL): Likewise.
19536 (INTERNAL_VSYSCALL_NCS): Likewise.
19537 (INTERNAL_VSYSCALL_CALL): New macro.
19538 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19539 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19540 PTR_DEMANGLE on vDSO pointer.
19541 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19542 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19543 macro.
19544 (INTERNAL_SYSCALL): Likewise.
19545 (INTERNAL_VSYSCALL_NCS): Remove macro.
19546 (INTERNAL_VSYSCALL_CALL): New macro.
19547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19548 Remove macro.
19549 (INTERNAL_VSYSCALL): Likewise.
19550 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19551 sysdep-vdso.h instead of libc-vdso.h.
19552 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19553 definition.
19554 (INLINE_VSYSCALL): Likewise.
19555 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19556 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19557 definition.
19558 (INLINE_VSYSCALL): Likewise.
19559 (INTERNAL_VSYSCALL): Likewise.
19560 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19561 * sysdeps/unix/sysv/linux/timespec_get.c
19562 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19563 (timespec_get): Use ANSI prototype.
19564 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19565 and definition for Linux.
19566
19567 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
19568
19569 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19570 * include/libc-symbols.h: libmvec_hidden_* macro series added.
19571
19572 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
19573
19574 [BZ #2981]
19575 [BZ #18410]
19576 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19577 for missing DT_PLTRELSZ.
19578
19579 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
19580
19581 Remove obsolete aliases that broke 'locale -a'
19582 [BZ #18412]
19583 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19584 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19585 breaking some applications that use 'locale -a' output.
19586 Change the encoding of this file from Latin-1 to ASCII to avoid
19587 other potential problems with people grepping this file.
19588
19589 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19590
19591 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19592 -fasynchronous-unwind-tables.
19593 (CFLAGS-sendto.c): Likewise.
19594 (CFLAGS-sendmsg.c): Likewise.
19595 (CFLAGS-connect.c): Likewise.
19596 (CFLAGS-recvmsg.c): Likewise.
19597 (CFLAGS-recvfrom.c): Likewise.
19598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19599 (SOCKETCALL): New macro: non-cancellable socketcall.
19600 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19601 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19602 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19603 * sysdeps/unix/sysv/linux/accept.c: New file.
19604 * sysdeps/unix/sysv/linux/bind.c: Likewise.
19605 * sysdeps/unix/sysv/linux/connect.c: Likewise.
19606 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19607 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19608 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19609 * sysdeps/unix/sysv/linux/listen.c: Likewise.
19610 * sysdeps/unix/sysv/linux/recv.c: Likewise.
19611 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19612 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19613 * sysdeps/unix/sysv/linux/send.c: Likewise.
19614 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19615 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19616 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19617 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19618 * sysdeps/unix/sysv/linux/socket.c: Likewise.
19619 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19620 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19621 prototype.
19622 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19623 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19624 instead of __internal_xxx function.
19625 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19626 prototype.
19627 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19628 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19629 instead of __internal_xxx function.
19630 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19631 prototype.
19632 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19633 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19634 instead of __internal_xxx function.
19635 * sysdeps/unix/sysv/linux/accept.S: Remove file.
19636 * sysdeps/unix/sysv/linux/bind.S: Likewise.
19637 * sysdeps/unix/sysv/linux/connect.S: Likewise.
19638 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19639 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19640 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19641 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19642 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19643 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19644 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19645 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19646 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19647 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19648 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19649 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19650 * sysdeps/unix/sysv/linux/listen.S: Likewise.
19651 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19652 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19653 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19654 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19657 * sysdeps/unix/sysv/linux/recv.S: Likewise.
19658 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19659 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19660 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19661 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19662 * sysdeps/unix/sysv/linux/send.S: Likewise.
19663 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19664 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19665 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19666 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19667 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19668 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19669 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19670 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19671 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19672 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19673 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19674 socketcall is implemented in GLIBC.
19675
19676 2015-05-22 Joseph Myers <joseph@codesourcery.com>
19677
19678 * soft-fp/fmadf4.c: Include <libc-internal.h>.
19679 (__fma): Ignore uninitialized warnings around packing.
19680 * soft-fp/fmasf4.c: Include <libc-internal.h>.
19681 (__fmaf): Ignore uninitialized warnings around packing.
19682 * soft-fp/fmatf4.c: Include <libc-internal.h>.
19683 (__fmal): Ignore uninitialized warnings around packing.
19684
19685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19686 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19688 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19689
19690 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19691 switch statement into default case.
19692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19693
19694 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19695 a conditional in forcing "inexact".
19696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19697 Likewise.
19698
19699 2015-05-22 Roland McGrath <roland@hack.frob.com>
19700
19701 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19702 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19703 for each INTERNAL_SYSCALL use.
19704
19705 2015-05-22 Joseph Myers <joseph@codesourcery.com>
19706
19707 [BZ #438]
19708 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19709 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19710 variable.
19711
19712 [BZ #18444]
19713 * string/basename.c (basename): Rename to __basename and define as
19714 weak alias of __basename. Use libc_hidden_weak.
19715 * include/string.h (__basename): Declare. Use libc_hidden_proto.
19716 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19717 __basename instead of basename.
19718 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19719 Remove variable.
19720 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19721
19722 2015-05-18 Florian Weimer <fweimer@redhat.com>
19723
19724 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19725 (_IO_JUMPS_FILE_plus): New.
19726 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19727 _IO_CAST_FIELD_ACCESS.
19728 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19729 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19730 * libio/freopen.c (freopen): Likewise.
19731 * libio/freopen64.c (freopen64): Likewise.
19732 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19733 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19734 * libio/iofwide.c (_IO_fwide): Likewise.
19735 * libio/memstream.c (open_memstream): Likewise.
19736 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19737 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19738 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19739
19740 2015-05-21 Joseph Myers <joseph@codesourcery.com>
19741
19742 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19743 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19744 NADJ.
19745 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19746 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19747 NADJ.
19748 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19749 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19750 NADJ.
19751
19752 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19753 (p == 4) case.
19754
19755 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19756 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19757 Remove variable.
19758 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19759 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19760 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19761
19762 2015-05-21 Florian Weimer <fweimer@redhat.com>
19763
19764 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19765 Adjust jump table label generation macros.
19766
19767 2015-05-21 Florian Weimer <fweimer@redhat.com>
19768
19769 * stdio-common/vfprintf.c (vfprintf): Move local variables
19770 args_malloced, specs, specs_malloced, and the code after
19771 do_positional to the printf_positional function.
19772 (printf_positional): New function.
19773
19774 2015-05-21 Florian Weimer <fweimer@redhat.com>
19775
19776 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19777 function.
19778 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19779 STEP4_TABLE, process_arg): Move macro definitions
19780 out of the vfprintf function. (Cosmetic change only.)
19781
19782 2015-05-21 Carlos O'Donell <carlos@redhat.com>
19783
19784 * benchtests/Makefile (stdio-common-bench): Define.
19785 (benchset): Add stdio-common-bench.
19786 * sprintf-inputs: New file.
19787 * sprintf-source.c: New file.
19788
19789 2015-05-21 Andreas Schwab <schwab@suse.de>
19790
19791 [BZ #13028]
19792 [BZ #17053]
19793 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19794 of struct __res_state.
19795 * resolv/res_send.c (__libc_res_nsend): Likewise.
19796 (get_nsaddr): New function.
19797 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19798 statp directly.
19799
19800 2015-05-20 Joseph Myers <joseph@codesourcery.com>
19801
19802 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19803 -D_POSIX_C_SOURCE=199506L.
19804
19805 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19806
19807 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19808 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19809 Do not mention otherwise.
19810 [POSIX] (_XOPEN_VERSION): Do not expect.
19811 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19812 [POSIX] (_POSIX2_C_BIND): Likewise.
19813 [POSIX] (_POSIX2_VERSION): Likewise.
19814 [POSIX] (_XOPEN_XPG2): Likewise.
19815 [POSIX] (_XOPEN_XPG3): Likewise.
19816 [POSIX] (_XOPEN_XPG4): Likewise.
19817 [POSIX] (_XOPEN_UNIX): Likewise.
19818 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19819 [POSIX] (_POSIX_BARRIERS): Likewise.
19820 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19821 [POSIX] (_POSIX_CPUTIME): Likewise.
19822 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19823 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19824 [POSIX] (_POSIX_SHELL): Likewise.
19825 [POSIX] (_POSIX_SPAWN): Likewise.
19826 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19827 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19828 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19829 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19830 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19831 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19832 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19833 [POSIX] (_XBS5_LP64_OFF64): Likewise.
19834 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19835 [POSIX] (_POSIX_TIMEOUTS): Likewise.
19836 [POSIX] (_POSIX2_PBS): Likewise.
19837 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19838 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19839 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19840 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19841 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19842 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19843 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19844 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19845 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19846 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19847 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19848 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19849 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19850 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19851 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19852 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19853 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19854 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19855 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19856 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19857 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19858 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19859 [POSIX] (_SC_2_C_BIND): Likewise.
19860 [POSIX] (_SC_2_C_VERSION): Likewise.
19861 [POSIX] (_SC_2_PBS): Likewise.
19862 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19863 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19864 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19865 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19866 [POSIX] (_SC_2_PBS_TRACK): Likewise.
19867 [POSIX] (_SC_ATEXIT_MAX): Likewise.
19868 [POSIX] (_SC_BARRIERS): Likewise.
19869 [POSIX] (_SC_BASE): Likewise.
19870 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19871 [POSIX] (_SC_DEVICE_IO): Likewise.
19872 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19873 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19874 [POSIX] (_SC_FD_MGMT): Likewise.
19875 [POSIX] (_SC_FIFO): Likewise.
19876 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19877 [POSIX] (_SC_FILE_LOCKING): Likewise.
19878 [POSIX] (_SC_FILE_SYSTEM): Likewise.
19879 [POSIX] (_SC_IOV_MAX): Likewise.
19880 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19881 [POSIX] (_SC_NETWORKING): Likewise.
19882 [POSIX] (_SC_PAGE_SIZE): Likewise.
19883 [POSIX] (_SC_PASS_MAX): Likewise.
19884 [POSIX] (_SC_PIPE): Likewise.
19885 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19886 [POSIX] (_SC_REGEXP): Likewise.
19887 [POSIX] (_SC_SHELL): Likewise.
19888 [POSIX] (_SC_SIGNALS): Likewise.
19889 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19890 [POSIX] (_SC_SPIN_LOCKS): Likewise.
19891 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19892 [POSIX] (_SC_USER_GROUPS): Likewise.
19893 [POSIX] (_SC_USER_GROUPS_R): Likewise.
19894 [POSIX] (_SC_STREAMS): Likewise.
19895 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19896 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19897 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19898 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19899 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19900 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19901 [POSIX] (_PC_FILESIZEBITS): Likewise.
19902 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19903 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19904 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19905 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19906 [POSIX] (uid_t): Likewise.
19907 [POSIX] (gid_t): Likewise.
19908 [POSIX] (off_t): Likewise.
19909 [POSIX] (pid_t): Likewise.
19910 [POSIX] (cuserid): Allow.
19911 (_SC_2_CHAR_TERM): Require constant.
19912 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19913 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19914 variable.
19915
19916 2015-05-20 Roland McGrath <roland@hack.frob.com>
19917
19918 * sysdeps/nacl/pthread-pids.h: New file.
19919 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19920 (create_thread): Use __nacl_get_tid to initialize PD->tid.
19921
19922 * nptl/pthread-pids.h: New file.
19923 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19924 * nptl/nptl-init.c: Include <pthread-pids.h>.
19925 (__pthread_initialize_minimal_internal):
19926 Call __pthread_initialize_pids instead of set_tid_address syscall.
19927
19928 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19929 * sysdeps/posix/usleep.c: ... here.
19930
19931 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19932
19933 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19934 call_pselect6 object.
19935 [$(subdir) = io]: Remove call_sync_file_range object.
19936 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19937 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19938 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19939 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19940
19941 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
19942
19943 * math/s_cproj.c: Add include "math_private.h".
19944 * math/s_cprojf.c: Likewise.
19945 * math/s_cprojl.c: Likewise.
19946
19947 2015-05-19 Joseph Myers <joseph@codesourcery.com>
19948
19949 [BZ #18244]
19950 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19951 high mantissa bit when testing whether P is a NaN.
19952 * math/libm-test.inc (remainder_test_data): Add more tests.
19953 (remquo_test_data): Likewise.
19954
19955 [BZ #18049]
19956 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19957 below -32, return the argument, with underflow if subnormal.
19958 * math/auto-libm-test-in: Add more tests of atanh.
19959 * math/auto-libm-test-out: Regenerated.
19960
19961 2015-05-19 Roland McGrath <roland@hack.frob.com>
19962
19963 [BZ #18434]
19964 * nptl/tst-sem15.c: New file.
19965 * nptl/Makefile (tests): Add it.
19966 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19967 s/<</>>/ to fix typo in EOVERFLOW check.
19968 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19969
19970 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19971
19972 * manual/strings.texi (envz_remove): Fix typo in safety
19973 annotations.
19974
19975 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
19976 Steve Ellcey <sellcey@imgtec.com>
19977
19978 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19979 in order to avoid strict alias warnings.
19980 (iruserok_af): Ditto for ra.
19981
19982 2015-05-19 James Lemke <jwlemke@codesourcery.com>
19983
19984 [BZ #17581]
19985 * malloc/hooks.c
19986 (magicbyte): Convert to a function and avoid returning 0x01.
19987 (mem2mem_check): Avoid using a length byte equal to the magic byte.
19988 (mem2chunk_check): Fix unsigned comparisons to zero.
19989 Hoist defs of sz and magic.
19990
19991 2015-05-19 Richard Henderson <rth@redhat.com>
19992
19993 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19994
19995 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19996
19997 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19998
19999 [BZ #16159]
20000 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20001 * malloc/arena.c (arena_lock): Check if arena is corrupt.
20002 (reused_arena): Find a non-corrupt arena.
20003 (heap_trim): Pass arena to unlink.
20004 * malloc/hooks.c (malloc_check_get_size): Pass arena to
20005 malloc_printerr.
20006 (top_check): Likewise.
20007 (free_check): Likewise.
20008 (realloc_check): Likewise.
20009 * malloc/malloc.c (malloc_printerr): Add arena argument.
20010 (unlink): Likewise.
20011 (munmap_chunk): Adjust.
20012 (ARENA_CORRUPTION_BIT): New macro.
20013 (arena_is_corrupt): Likewise.
20014 (set_arena_corrupt): Likewise.
20015 (sysmalloc): Use mmap if there are no usable arenas.
20016 (_int_malloc): Likewise.
20017 (__libc_malloc): Don't fail if arena_get returns NULL.
20018 (_mid_memalign): Likewise.
20019 (__libc_calloc): Likewise.
20020 (__libc_realloc): Adjust for additional argument to
20021 malloc_printerr.
20022 (_int_free): Likewise.
20023 (malloc_consolidate): Likewise.
20024 (_int_realloc): Likewise.
20025 (_int_memalign): Don't touch corrupt arenas.
20026 * malloc/tst-malloc-backtrace.c: New test case.
20027
20028 * Makefile (summarize-tests): Fix return value on success.
20029
20030 * manual/string.texi (Envz Functions): Add envz_remove.
20031
20032 2015-05-18 Roland McGrath <roland@hack.frob.com>
20033
20034 * sysdeps/posix/opendir.c: Include <stdbool.h>.
20035 (invalid_name): New function, broken out of ...
20036 (__opendirat): ... here. Call it.
20037 (need_isdir_precheck): New function, broken out of ...
20038 (__opendirat): ... here. Call it.
20039 Use __fxstatat64, not __xstatat64.
20040 (opendir_oflags): New function, broken out of ...
20041 (__opendirat): ... here. Call it.
20042 (opendir_tail): New function, broken out of ...
20043 (__opendirat): ... here. Call it.
20044 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20045 opendir_tail, rather than punting to __opendirat.
20046 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20047
20048 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20049
20050 * .gitignore: Ignore generated *.pyc.
20051
20052 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
20053
20054 * include/stdio.h: Define __need_wint_t.
20055 * test-skeleton.c: Avoid `for' loop initial declaration.
20056 * nptl/tst-initializers1.c: Use test-skeleton.c.
20057
20058 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20059
20060 [BZ #18418]
20061 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20062
20063 2015-05-15 Joseph Myers <joseph@codesourcery.com>
20064
20065 [BZ #16352]
20066 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20067 (__ieee754_atanh): Force underflow exception for results with
20068 small absolute value.
20069 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20070 (__ieee754_atanhf): Force underflow exception for results with
20071 small absolute value.
20072 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20073 (__ieee754_atanh): Force underflow exception for results with
20074 small absolute value.
20075 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20076 (__ieee754_atanhf): Force underflow exception for results with
20077 small absolute value.
20078 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20079 (__ieee754_atanhl): Force underflow exception for results with
20080 small absolute value.
20081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20082 (__ieee754_atanhl): Force underflow exception for results with
20083 small absolute value.
20084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20085 (__ieee754_atanhl): Force underflow exception for results with
20086 small absolute value.
20087 * math/auto-libm-test-in: Do not allow missing underflow
20088 exceptions from atanh.
20089 * math/auto-libm-test-out: Regenerated.
20090
20091 [BZ #18221]
20092 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20093 2**-28 as threshold for returning x or +/- 1/x.
20094 * math/auto-libm-test-in: Add more tests of tan.
20095 * math/auto-libm-test-out: Regenerated.
20096
20097 [BZ #18220]
20098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20099 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20100 * math/auto-libm-test-in: Add another test of lgamma.
20101 * math/auto-libm-test-out: Regenerated.
20102
20103 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
20104
20105 * stdio-common/printf_fp.c (___printf_fp): Use abs.
20106 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
20107 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20108 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20109 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
20110 (ADD2A): Use fabs. (SUB2A): Use fabs.
20111 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20112 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20114 (log1): Use fabs. (my_log2): Use fabs.
20115 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20116 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20118 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20119 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20120 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
20121 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
20122 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
20123 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
20124 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20125 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20126
20127 2015-05-15 Joseph Myers <joseph@codesourcery.com>
20128
20129 [BZ #18217]
20130 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20131 as threshold for returning 1 - x.
20132 * math/auto-libm-test-in: Add more tests of erfc.
20133 * math/auto-libm-test-out: Regenerated.
20134
20135 2015-05-14 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #18196]
20138 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20139 threshold for large arguments.
20140 * math/auto-libm-test-in: Add another test of atan.
20141 * math/auto-libm-test-out: Regenerated.
20142
20143 [BZ #16339]
20144 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20145 (__log1p): Force underflow exception for results with small
20146 absolute value.
20147 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20148 (__log1pf): Force underflow exception for results with small
20149 absolute value.
20150 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20151 (__log1p): Force underflow exception for results with small
20152 absolute value.
20153 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20154 (__log1pf): Force underflow exception for results with small
20155 absolute value.
20156 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20157 (__log1pl): Force underflow exception for results with small
20158 absolute value.
20159 * math/auto-libm-test-in: Do not allow missing underflow
20160 exceptions from log1p.
20161 * math/auto-libm-test-out: Regenerated.
20162
20163 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
20164 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20165
20166 [BZ #16704]
20167 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20168
20169 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
20170
20171 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20172 (libmvec): New variable.
20173 * configure.ac: Added option for mathvec build.
20174 * configure: Regenerated.
20175 * mathvec/Depend: New file.
20176 * mathvec/Makefile: New file.
20177 * shlib-versions: Added libmvec.
20178 * math/Makefile: Added rule for libm.so installation.
20179
20180 * bits/math-vector.h: New file.
20181 * bits/libm-simd-decl-stubs.h: New header.
20182 * math/Makefile (headers): Added new header
20183 libm-simd-decl-stubs.h.
20184 * math/math.h (__MATHCALL_VEC): New macro.
20185
20186 * math/gen-libm-have-vector-test.sh: Script generates series of macros
20187 for conditions in testing functions.
20188 * math/Makefile: Added call of libm-have-vector-test.sh.
20189 * math/libm-test.inc (HAVE_VECTOR): New macros.
20190
20191 * math/libm-test.inc: START refactored.
20192 * math/test-double.c (TEST_MATHVEC): Add define.
20193 * math/test-float.c: Likewise.
20194 * math/test-idouble.c: Likewise.
20195 * math/test-ifloat.c: Likewise.
20196 * math/test-ildoubl.c: Likewise.
20197 * math/test-ldouble.c: Likewise.
20198 * sysdeps/generic/math-tests-arch.h
20199 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20200 architecture check.
20201
20202 * math/test-double.c (FUNC_TEST): New macro.
20203 * math/test-float.c: Likewise.
20204 * math/test-idouble.c: Likewise.
20205 * math/test-ifloat.c: Likewise.
20206 * math/test-ildoubl.c: Likewise.
20207 * math/test-ldouble.c: Likewise.
20208 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20209
20210 2015-05-13 Roland McGrath <roland@hack.frob.com>
20211
20212 * sysdeps/nacl/fdopendir.c: New file.
20213
20214 * dirent/scandir-tail.c: New file.
20215 * dirent/scandir64-tail.c: New file.
20216 * dirent/Makefile (routines): Add them.
20217 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20218 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20219 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20220 [!SCANDIR] (SCANDIR_TAIL): New macro.
20221 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20222 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20223 (SCANDIRAT): Macro removed.
20224 (SCANDIR_TAIL): New macro.
20225 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20226 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20227 (SCANDIRAT): Just call __opendirat and __scandir_tail.
20228 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20229 (READDIR): Macro removed.
20230 (SCANDIR_TAIL): New macro.
20231 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20232 (SCANDIR_TAIL): New macro.
20233
20234 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20235 * dirent/scandir-cancel.c: ... to this new file.
20236 * dirent/Makefile (routines): Add it.
20237 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20238 * sysdeps/unix/sysv/linux/i386/scandir64.c
20239 (SKIP_SCANDIR_CANCEL): Macro removed.
20240 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20241
20242 * dirent/tst-scandir.c: New file.
20243 * dirent/tst-scandir64.c: New file.
20244 * dirent/Makefile (tests): Add them.
20245
20246 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
20247
20248 [BZ #18409]
20249 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20250
20251 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
20252
20253 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20254 list.
20255
20256 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
20257
20258 * benchtests/bench-strcoll.c: New benchmark.
20259 * benchtests/Makefile: Generate locales and run benchmark.
20260 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20261 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20262 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20263 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20264 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20265 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20266 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20267 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20268 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20269 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20270 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20271 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20272 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20273 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20274 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20275 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20276 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20277 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20278 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20279 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20280 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20281 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20282 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20283 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20284
20285 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
20286
20287 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20288 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20289
20290 2015-05-12 Roland McGrath <roland@hack.frob.com>
20291
20292 * posix/uname-values.h: New file.
20293 * posix/uname.c: Include that instead of <config-name.h>.
20294 * sysdeps/nacl/uname-values.h: New file.
20295 * sysdeps/arm/nacl/uname-values.h: New file.
20296
20297 2015-05-12 Joseph Myers <joseph@codesourcery.com>
20298
20299 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20300 splitting into fields.
20301
20302 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
20303
20304 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20305 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20306 * locale/localeinfo.h: Add enum collation_encoding_type.
20307 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20308 * programs/ld-collate.c (collate_output): Add encoding type info.
20309 * string/strcoll_l.c (STRDIFF): New function.
20310 * (STRCOLL): Use STRDIFF to skip over equal prefix.
20311 * wcsmbs/wcscoll_l.c: Define STRDIFF.
20312
20313 2015-05-11 Joseph Myers <joseph@codesourcery.com>
20314
20315 [BZ #18397]
20316 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20317 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
20318 <fpu_control.h> instead of <math/fpu_control.c>.
20319 * sysdeps/mips/mips32/fpu/Makefile: New file.
20320
20321 2015-05-11 Andreas Schwab <schwab@suse.de>
20322
20323 [BZ #18007]
20324 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20325 nss_endgrent.
20326 (_nss_compat_endgrent): Call nss_endgrent.
20327 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20328 nss_endpwent.
20329 (_nss_compat_endpwent): Call nss_endpwent.
20330 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20331 needent, call nss_setspent only if non-zero.
20332 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20333 (internal_endspent): Don't call nss_endspent.
20334 (_nss_compat_endspent): Call nss_endspent.
20335 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20336 Remove. All uses removed.
20337 (internal_setent): Remove parameter stayopen, add parameter
20338 stream. Use it instead of global variable.
20339 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20340 (internal_endent, internal_getent): Add parameter stream. Use it
20341 instead of global variable.
20342 (CONCAT(_nss_files_end,ENTNAME))
20343 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20344 (_nss_files_get##name##_r): Pass local stream. Remove locking.
20345 * nss/nss_files/files-alias.c (position, last_use): Remove. All
20346 uses removed.
20347 (internal_setent, internal_endent): Add parameter stream. Use it
20348 instead of global variable.
20349 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20350 stream.
20351 (get_next_alias): Add parameter stream.
20352 (_nss_files_getaliasent_r): Pass global stream.
20353 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
20354 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20355 (_nss_files_gethostbyname4_r): Pass local stream to
20356 internal_setent, internal_getent and internal_endent. Remove
20357 locking.
20358
20359 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20360
20361 * tst-strfmon1.c (tests): Update expected currency symbol.
20362
20363 2015-05-08 Roland McGrath <roland@hack.frob.com>
20364
20365 * sysdeps/nacl/gethostname.c: New file.
20366
20367 2015-05-08 Joseph Myers <joseph@codesourcery.com>
20368
20369 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20370 and sinh.
20371 * math/auto-libm-test-out: Regenerated.
20372 * sysdeps/i386/fpu/libm-test-ulps: Update.
20373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374
20375 2015-05-08 Carlos O'Donell <carlos@redhat.com>
20376
20377 [BZ #18125]
20378 * stdlib/tst-setcontext3.c: New file.
20379 * stdlib/tst-setcontext3.sh: New file.
20380 * stdlib/Makefile (tests): Add tst-setcontext3.
20381 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20382 to verify test program created output file.
20383 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20384 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20385 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20386 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20387
20388 2015-05-06 Roland McGrath <roland@hack.frob.com>
20389
20390 [BZ #18383]
20391 * elf/tst-tlsalign.c: New file.
20392 * elf/tst-tlsalign-static.c: New file.
20393 * elf/tst-tlsalign-lib.c: New file.
20394 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20395 (tests-static): Add tst-tlsalign-static.
20396 (modules-names): Add tst-tlsalign-lib.
20397 (test-xfail-tst-tlsalign): New variable.
20398 (test-xfail-tst-tlsalign-static): New variable.
20399
20400 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20401 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20402
20403 2015-05-06 Joseph Myers <joseph@codesourcery.com>
20404
20405 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20406 csqrt, erfc, sin and sincos.
20407 * math/auto-libm-test-out: Regenerated.
20408 * sysdeps/i386/fpu/libm-test-ulps: Update.
20409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20410
20411 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
20412
20413 * sysdeps/aarch64/libm-test-ulps: Update.
20414
20415 2015-05-05 Joseph Myers <joseph@codesourcery.com>
20416
20417 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20418 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20419 * math/auto-libm-test-out: Regenerated.
20420 * sysdeps/i386/fpu/libm-test-ulps: Update.
20421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422
20423 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
20424
20425 [BZ #18265]
20426 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20427 (wcsncpy): Likewise.
20428
20429 2015-05-05 Florian Weimer <fweimer@redhat.com>
20430
20431 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20432 Assume __ASSUME_FALLOCATE is always true.
20433 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20434 (__posix_fallocate64_l64): Likweise.
20435 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20436 (posix_fallocate): Likewise.
20437 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20438 (__posix_fallocate64_l64): Likewise.
20439 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20440 [!__ASSUME_FALLOCATE]: Add comment.
20441
20442 2015-05-05 Florian Weimer <fweimer@redhat.com>
20443
20444 * sysdeps/unix/sysv/linux/i386/Makefile
20445 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20446 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20447 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20448 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20449 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20450 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20451 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20452
20453 2015-05-02 Joseph Myers <joseph@codesourcery.com>
20454
20455 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20456 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20457 tgamma.
20458 * math/auto-libm-test-out: Regenerated.
20459 * sysdeps/i386/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20461
20462 2015-05-01 Joseph Myers <joseph@codesourcery.com>
20463
20464 * math/auto-libm-test-in: Add more tests of tgamma.
20465 * math/auto-libm-test-out: Regenerated.
20466 * sysdeps/i386/fpu/libm-test-ulps: Update.
20467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20468
20469 * math/auto-libm-test-in: Add more tests of tanh.
20470 * math/auto-libm-test-out: Regenerated.
20471 * sysdeps/i386/fpu/libm-test-ulps: Update.
20472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20473
20474 * math/auto-libm-test-in: Add more tests of tan.
20475 * math/auto-libm-test-out: Regenerated.
20476 * sysdeps/i386/fpu/libm-test-ulps: Update.
20477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20478
20479 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20480 * math/auto-libm-test-out: Regenerated.
20481 * sysdeps/i386/fpu/libm-test-ulps: Update.
20482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483
20484 * math/auto-libm-test-in: Add another test of pow.
20485 * math/auto-libm-test-out: Regenerated.
20486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20487
20488 * math/auto-libm-test-in: Add more tests of lgamma.
20489 * math/auto-libm-test-out: Regenerated.
20490 * sysdeps/i386/fpu/libm-test-ulps: Update.
20491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20492
20493 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20494 log1p.
20495 * math/auto-libm-test-out: Regenerated.
20496 * sysdeps/i386/fpu/libm-test-ulps: Update.
20497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20498
20499 2015-05-01 Mark Wielaard <mjw@redhat.com>
20500
20501 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20502 Elf64_Chdr structs and ELFCOMPRESS constants.
20503
20504 2015-05-01 Joseph Myers <joseph@codesourcery.com>
20505
20506 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20507 expm1.
20508 * math/auto-libm-test-out: Regenerated.
20509 * sysdeps/i386/fpu/libm-test-ulps: Update.
20510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20511
20512 * math/auto-libm-test-in: Add more tests of erf and erfc.
20513 * math/auto-libm-test-out: Regenerated.
20514 * sysdeps/i386/fpu/libm-test-ulps: Update.
20515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20516
20517 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
20518
20519 * config.h.in (HAVE_AARCH64_BE): Add.
20520
20521 2015-04-30 Joseph Myers <joseph@codesourcery.com>
20522
20523 * math/auto-libm-test-in: Add more tests of csqrt.
20524 * math/auto-libm-test-out: Regenerated.
20525 * sysdeps/i386/fpu/libm-test-ulps: Update.
20526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20527
20528 * math/auto-libm-test-in: Add more tests of cosh and sinh.
20529 * math/auto-libm-test-out: Regenerated.
20530 * sysdeps/i386/fpu/libm-test-ulps: Update.
20531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20532
20533 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20534
20535 2015-04-29 Roland McGrath <roland@hack.frob.com>
20536
20537 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20538 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20539
20540 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20541 (euidaccess, eaccess): Define as weak aliases.
20542
20543 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20544 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
20545 but __suseconds_t is often 'long int' so some sources assume that
20546 type is being used (e.g. they use %ld to print tv_usec).
20547
20548 2015-04-29 Florian Weimer <fweimer@redhat.com>
20549
20550 [BZ #18007]
20551 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20552 (CVE-2014-8121)
20553 * nss/tst-nss-getpwent.c: New file.
20554 * nss/Makefile (tests): Add new test.
20555
20556 2015-04-28 Joseph Myers <joseph@codesourcery.com>
20557
20558 [BZ #18346]
20559 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20560 exponents less than 48 as cases where high part of mantissa needs
20561 examining to determine whether argument is integral.
20562 * math/libm-test.inc (round_test_data): Add more tests.
20563
20564 2015-04-28 Mark Wielaard <mjw@redhat.com>
20565
20566 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20567
20568 2015-04-27 David S. Miller <davem@davemloft.net>
20569
20570 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20571 __tls_get_addr.
20572 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20573
20574 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
20575
20576 [BZ#18333]
20577 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20578
20579 2015-04-27 Florian Weimer <fweimer@redhat.com>
20580
20581 [BZ#18333]
20582 * time/tzset.c (parse_tzname): Return error on memory allocation
20583 failure.
20584 * test-skeleton.c (struct temp_name_list): Change type of name
20585 member to non-const.
20586 (add_temp_file): Create a copy of the file name.
20587 (delete_temp_files): Deallocate memory.
20588 (create_temp_file): Add comment.
20589
20590 2015-04-24 Florian Weimer <fweimer@redhat.com>
20591
20592 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20593 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20594
20595 2015-04-24 Roland McGrath <roland@hack.frob.com>
20596
20597 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20598 * sysdeps/arm/configure: Regenerated.
20599
20600 2015-04-24 Florian Weimer <fweimer@redhat.com>
20601
20602 [BZ #17715]
20603 * time/tzfile.c (__tzfile_read): Check for large values of
20604 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
20605 * time/tzset.c (__tzstring_len): New function, based on the old
20606 __tzstring function.
20607 (__tzstring): Call __tzstring_len.
20608 (parse_tzname): New helper function extracted from
20609 __tzset_parse_tz. Call __tzstring_len, without making a copy of
20610 the input string.
20611 (parse_offset): New helper function extracted from
20612 __tzset_parse_tz. Replace switch with fallthrough with
20613 initialization before sscanf.
20614 (parse_rule): Likewise.
20615 (__tzset_parse_tz): Rewrite using the new helper functions. Use
20616 new-style function definition.
20617 * timezone/Makefile (tests): Add tst-tzset.
20618 (tst-tzset.out): Dependencies on time zone files.
20619 (tst-tzset-ENV): Set TZDIR.
20620 (testdata/XT%): Copy crafted time zone files.
20621 * timezone/README: Mention crafted time zone files.
20622 * timezone/testdata/XT1, timezone/testdata/XT2,
20623 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20624 files.
20625 * timezone/tst-tzset.c: New test.
20626
20627 2015-04-24 Florian Weimer <fweimer@redhat.com>
20628
20629 * Makeconfig (+gccwarn): Remove -Winline.
20630
20631 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20632
20633 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20634
20635 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20636
20637 * NEWS: Mention sysconf() cache information support for s390.
20638 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20639
20640 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
20641
20642 * math/k_casinh.c (__kernel_casinh): Use __copysign.
20643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20644 (__nearbyint): Likewise.
20645 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20646 (copysignl): Likewise.
20647
20648 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
20649
20650 [BZ #18287]
20651 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20652 based on padding. (CVE-2015-1781)
20653
20654 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20655
20656 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20657 libc-vdso.h.
20658 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20659 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20660 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20661 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20662 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20663 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20664 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20665 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20667 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20668 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20669 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20670 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20671 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20672 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20673 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20674 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20676 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20677 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20678 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20679 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20680 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20681
20682 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
20683
20684 * stdlib/setenv.c (__add_to_environ):
20685 Dump core quickly if setenv (..., NULL, ...) is called.
20686 This time, do it the right way, and pacify GCC with a pragma.
20687
20688 2015-04-17 Roland McGrath <roland@hack.frob.com>
20689
20690 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20691 IMAP->l_prev cannot be null, and #if out the code for the contrary
20692 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20693 believe that NS (&_dl_ns[NSID]) could point outside the array.
20694
20695 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20696 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20697 before using NSID as an index.
20698
20699 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
20700
20701 [BZ #17825]
20702 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20703 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20704 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20705
20706 2015-04-17 Roland McGrath <roland@hack.frob.com>
20707
20708 Add preliminary port to Google Native Client on ARM.
20709 * abi-tags (.*-.*-nacl.*): New entry.
20710 * sysdeps/arm/nacl: New directory.
20711 * sysdeps/nacl: New directory.
20712
20713 2015-04-16 David S. Miller <davem@davemloft.net>
20714
20715 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20716 lowlevellock-futex.h
20717
20718 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
20719
20720 * sysdeps/tile/configure.ac: New file.
20721 * sysdeps/tile/configure: Regenerated.
20722
20723 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20724
20725 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
20726 conditionals for weak_alias and libc_hidden_weak.
20727 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20728 libc_hidden_weak and weak_alias.
20729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20730 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20731 and weak_alias for static one.
20732
20733 2015-04-15 David S. Miller <davem@davemloft.net>
20734
20735 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20736
20737 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20738
20739 [BZ #18206]
20740 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20741 Use signed comparision instead of substraction to avoid
20742 overflow bug.
20743 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20744 Take the sign of ret.
20745 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20746 Do not expect precise return values. Only the sign matters.
20747 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20748 * wcsmbs/test-wcsncmp.c: New File.
20749 * string/test-strncmp.c: Add wcsncmp support.
20750
20751 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20752
20753 [BZ #6792]
20754 * math/w_log1p.c: New file.
20755 * math/w_log1pf.c: Likewise.
20756 * math/w_log1pl.c: Likewise.
20757 * math/Makefile (libm-calls): Add w_log1p.
20758 * math/s_log1pl.c (log1pl): Remove weak_alias.
20759 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20760 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20761 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20762 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20763 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20764 [NO_LONG_DOUBLE] (log1pl): Likewise.
20765 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20766 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20767 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20768 (log1p): Remove long_double_symbol.
20769 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20770 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20771 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20772 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20773 remove weak_alias for corresponding log1p function.
20774 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20775 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20776 * sysdeps/ia64/fpu/w_log1p.c: New file.
20777 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20778 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20779 * math/libm-test.inc (log1p_test_data): Add errno expectations.
20780
20781 2015-04-10 Joseph Myers <joseph@codesourcery.com>
20782
20783 [BZ #18247]
20784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20785 decimal exponent by 1.
20786 * stdlib/tst-strtod-round-data: Add more tests.
20787 * stdlib/tst-strtod-round.c (tests): Regenerated.
20788
20789 2015-04-09 Joseph Myers <joseph@codesourcery.com>
20790
20791 * math/auto-libm-test-in: Add more tests of clog and clog10.
20792 * math/auto-libm-test-out: Regenerated.
20793 * sysdeps/i386/fpu/libm-test-ulps: Update.
20794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20795
20796 2015-04-09 Roland McGrath <roland@hack.frob.com>
20797
20798 * Makeconfig (module-cppflags): Exclude all .v.i files.
20799 (skip-module-cppflags): Variable removed.
20800
20801 * configure.ac (libc_config_ok): Initialize before reading
20802 preconfigure scripts, not after.
20803 * configure: Regenerated.
20804
20805 * test-skeleton.c (TIMEOUT): Move #define to top level.
20806 (main): Grok environment variable TEST_DIRECT. If set, print
20807 test expectation details into that file and then behave as if
20808 given --direct.
20809
20810 2015-04-09 Florian Weimer <fweimer@redhat.com>
20811
20812 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20813 warning on 32-bit.
20814
20815 2015-04-08 David S. Miller <davem@davemloft.net>
20816
20817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20818
20819 2015-04-08 Joseph Myers <joseph@codesourcery.com>
20820
20821 * math/auto-libm-test-in: Add more tests of atanh.
20822 * math/auto-libm-test-out: Regenerated.
20823 * sysdeps/i386/fpu/libm-test-ulps: Update.
20824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20825
20826 * math/auto-libm-test-in: Add more tests of atan.
20827 * math/auto-libm-test-out: Regenerated.
20828 * sysdeps/i386/fpu/libm-test-ulps: Update.
20829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20830
20831 2015-04-08 Florian Weimer <fweimer@redhat.com>
20832
20833 * elf/pldd.c (main): Rewrite to use struct
20834 scratch_buffer instead of extend_alloca.
20835 * elf/pldd-xx.c (find_maps): Likewise.
20836 * grp/initgroups.c: Include <scratch_buffer.h> instead of
20837 <alloca.h>.
20838 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20839 scratch_buffer instead of extend_alloca.
20840 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20841 grp/compat-initgroups.c.
20842 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20843 Rewrite to use struct scratch_buffer instead of extend_alloca.
20844 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20845 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20846
20847 2015-04-08 Joseph Myers <joseph@codesourcery.com>
20848
20849 * math/auto-libm-test-in: Add more tests of cbrt.
20850 * math/auto-libm-test-out: Regenerated.
20851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20852
20853 * math/auto-libm-test-in: Add more tests of cabs.
20854 * math/auto-libm-test-out: Regenerated.
20855 * sysdeps/i386/fpu/libm-test-ulps: Update.
20856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20857
20858 [BZ #18210]
20859 [BZ #18211]
20860 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20861 (__ieee754_atan2): Set FE_TONEAREST mode for internal
20862 computations.
20863 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20864 clog10.
20865 * math/auto-libm-test-out: Regenerated.
20866 * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868
20869 [BZ #18197]
20870 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20871 (atan): Set FE_TONEAREST mode for internal computations.
20872 * math/auto-libm-test-in: Add more tests of atan.
20873 * math/auto-libm-test-out: Regenerated.
20874
20875 2015-04-07 James Cowgill <james410@cowgill.org.uk>
20876
20877 [BZ #17930]
20878 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20879
20880 2015-04-07 Florian Weimer <fweimer@redhat.com>
20881
20882 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20883
20884 2015-04-07 Florian Weimer <fweimer@redhat.com>
20885
20886 * include/scratch_buffer.h: New file.
20887 * malloc/scratch_buffer_grow.c: Likewise.
20888 * malloc/scratch_buffer_grow_preserve.c: Likewise.
20889 * malloc/scratch_buffer_set_array_size.c: Likewise.
20890 * malloc/tst-scratch_buffer.c: Likewise.
20891 * malloc/Makefile (routines): Add scratch_buffer_grow.
20892 (tests): Add test case.
20893 * malloc/Versions (GLIBC_PRIVATE): Export
20894 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20895 __libc_scratch_buffer_set_array_size.
20896
20897 2015-04-06 Richard Henderson <rth@redhat.com>
20898
20899 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20900 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20901
20902 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20903 unsigned int before printing.
20904
20905 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20906
20907 [BZ #17596]
20908 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20909 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20910
20911 2015-04-02 Florian Weimer <fweimer@redhat.com>
20912
20913 * include/libc-internal.h (libc_max_align_t): Define.
20914
20915 2015-04-02 Andreas Schwab <schwab@suse.de>
20916
20917 [BZ #16850]
20918 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20919
20920 2015-04-02 Mel Gorman <mgorman@suse.de>
20921
20922 [BZ #17195]
20923 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20924 as well as the main arena.
20925
20926 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20927
20928 [BZ #18185]
20929 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20930 sharing L2 cache to 2 for Silvermont/Knights Landing.
20931
20932 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20933
20934 [BZ #17711]
20935 * config.make.in (have-protected-data): New.
20936 * configure.ac: Check linker support for protected data symbol.
20937 * configure: Regenerated.
20938 * elf/Makefile (modules-names): Add tst-protected1moda and
20939 tst-protected1modb if $(have-protected-data) is yes.
20940 (tests): Add tst-protected1a and tst-protected1b if
20941 $(have-protected-data) is yes.
20942 ($(objpfx)tst-protected1a): New.
20943 ($(objpfx)tst-protected1b): Likewise.
20944 (tst-protected1modb.so-no-z-defs): Likewise.
20945 * elf/tst-protected1a.c: New file.
20946 * elf/tst-protected1b.c: Likewise.
20947 * elf/tst-protected1mod.h: Likewise.
20948 * elf/tst-protected1moda.c: Likewise.
20949 * elf/tst-protected1modb.c: Likewise.
20950
20951 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20952
20953 [BZ #17711]
20954 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20955 indicates it is called from do_lookup_x on relocation against
20956 protected data, skip the data definion in the executable from
20957 copy reloc.
20958 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20959 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20960 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20961 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20962 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20963 otherwise to 0.
20964 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20965 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20966 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20967 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20968 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20969 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20970
20971 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
20972
20973 * sysdeps/nptl/pthread.h: Remove duplicate definition of
20974 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20975
20976 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
20977
20978 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20979 THREAD_SETMEM_NC.
20980 * sysdeps/x86_64/nptl/tls.h: Ditto.
20981
20982 2015-03-27 Roland McGrath <roland@hack.frob.com>
20983
20984 * dlfcn/tststatic.c (main): Converted to ...
20985 (do_test): ... this.
20986 (TEST_FUNCTION): New macro.
20987 Include test-skeleton.c.
20988
20989 2015-03-26 Alan Modra <amodra@gmail.com>
20990
20991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20992 Don't segfault if ifunc resolver returns a NULL. Do set plt to
20993 zero for undefined weak.
20994 (elf_machine_plt_conflict): Similarly.
20995
20996 2015-03-25 Joseph Myers <joseph@codesourcery.com>
20997
20998 * math/auto-libm-test-in: Add more tests of acosh, asinh and
20999 atanh.
21000 * math/auto-libm-test-out: Regenerated.
21001 * sysdeps/i386/fpu/libm-test-ulps: Update.
21002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21003
21004 * math/auto-libm-test-in: Add another test of asin.
21005 * math/auto-libm-test-out: Regenerated.
21006 * sysdeps/i386/fpu/libm-test-ulps: Update.
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21008
21009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21010 Remove macro.
21011 (LLL_EBX_REG): Likewise.
21012 (LLL_ENTER_KERNEL): Likewise.
21013
21014 * math/auto-libm-test-in: Add more tests of asin.
21015 * math/auto-libm-test-out: Regenerated.
21016 * sysdeps/i386/fpu/libm-test-ulps: Update.
21017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018
21019 [BZ #18138]
21020 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21021 libc_do_syscall_args): New structure.
21022 (INTERNAL_SYSCALL_MAIN_0): New macro.
21023 (INTERNAL_SYSCALL_MAIN_1): Likewise.
21024 (INTERNAL_SYSCALL_MAIN_2): Likewise.
21025 (INTERNAL_SYSCALL_MAIN_3): Likewise.
21026 (INTERNAL_SYSCALL_MAIN_4): Likewise.
21027 (INTERNAL_SYSCALL_MAIN_5): Likewise.
21028 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
21029 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21030 Replace conditional definitions by conditional definitions of ....
21031 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
21032 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21033 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21034 (libpthread-sysdep_routines): Add libc-do-syscall.
21035 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21036 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21037 to __NR_futex not 240.
21038
21039 2015-03-25 Alan Modra <amodra@gmail.com>
21040
21041 * NEWS: Advertise TLS optimization.
21042 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21043 (DT_PPC_NUM): Increment.
21044 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21045 (CHECK_STATIC_TLS): Use here.
21046 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21047 TLS descriptors.
21048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21049 * sysdeps/powerpc/dl-tls.c: New file.
21050 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21051 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21052 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21053 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21057
21058 2015-03-25 Alan Modra <amodra@gmail.com>
21059
21060 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21061 for overlapping .opd entries" to "support...".
21062 * sysdeps/powerpc/powerpc64/configure: Regenerate
21063
21064 2015-03-25 Joseph Myers <joseph@codesourcery.com>
21065
21066 * math/auto-libm-test-in: Add more tests of acos.
21067 * math/auto-libm-test-out: Regenerated.
21068 * sysdeps/i386/fpu/libm-test-ulps: Update.
21069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21070
21071 * math/auto-libm-test-in: Add more tests of expm1.
21072 * math/auto-libm-test-out: Regenerated.
21073 * sysdeps/i386/fpu/libm-test-ulps: Update.
21074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21075
21076 2015-03-24 Joseph Myers <joseph@codesourcery.com>
21077
21078 * math/auto-libm-test-in: Add more tests of cosh and sinh.
21079 * math/auto-libm-test-out: Regenerated.
21080 * sysdeps/i386/fpu/libm-test-ulps: Update.
21081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21082
21083 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21085
21086 * math/auto-libm-test-in: Add more tests of log2.
21087 * math/auto-libm-test-out: Regenerated.
21088 * sysdeps/i386/fpu/libm-test-ulps: Update.
21089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21090
21091 2015-03-23 Roland McGrath <roland@hack.frob.com>
21092
21093 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21094 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
21095 _IO_IS_APPENDING bit in READ_WRITE instead.
21096
21097 2015-03-23 Florian Weimer <fweimer@redhat.com>
21098
21099 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21100 (__determine_cpumask_size): Replace extend_alloca with a
21101 variable-length array. Do not treat res == 0 as an error.
21102
21103 2015-03-23 Florian Weimer <fweimer@redhat.com>
21104
21105 [BZ #18100]
21106 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21107 and integer overflow.
21108 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21109 (main): Add integer overflow tests.
21110 * manual/pattern.texi (Calling Wordexp): Document additional use
21111 for WRDE_SYNTAX.
21112
21113 2015-03-23 Alan Modra <amodra@gmail.com>
21114
21115 * config.h.in: Remove HAVE_ASM_PPC_REL16.
21116 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21117 and false branch of conditional.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21119 Likewise.
21120
21121 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
21122
21123 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21124 libc-modules.h
21125 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21126 unused declaration of _hurd_intr_rpc_msg_in_trap.
21127 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21128 defined instead of whether it is non-zero.
21129 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21130 input constraint instead of both input and output constraint. Use ecx
21131 clobber instead of %ecx.
21132 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21133 mutex_unlock): Use a statement expression instead of an expression list.
21134 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21135 type to vm_size_t instead of vm_address_t.
21136 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21137 defined instead of whether it is non-zero.
21138 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21139 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21140 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21141 comparisons with mapaddr.
21142 * nscd/nscd-client.h: Include <time.h>.
21143 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21144 9th parameter to __vm_region instead of int.
21145 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21146 * scripts/check-local-headers.sh (exclude): Add device/,
21147 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21148 cthreads.h.
21149
21150 2015-03-19 Roland McGrath <roland@hack.frob.com>
21151
21152 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21153 to account for alignment padding.
21154 * sysdeps/arm/memmove.S: Likewise.
21155
21156 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
21157
21158 * sysdeps/unix/sysv/linux/generic/README: New file.
21159
21160 2015-03-18 Joseph Myers <joseph@codesourcery.com>
21161
21162 [BZ #18138]
21163 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21164 (futex_abstimed_wait)
21165 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21166 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21167 of lll_futex_timed_wait.
21168
21169 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
21170
21171 [BZ #17542]
21172 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21173
21174 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
21175
21176 [BZ #17090]
21177 [BZ #17620]
21178 [BZ #17621]
21179 [BZ #17628]
21180 * NEWS: Update.
21181 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21182 entries with Static TLS too. Skip entries past the end of the
21183 allocated DTV, from Alan Modra.
21184 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
21185 Static TLS DTV entry set up from...
21186 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21187 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21188 * nptl/allocatestack.c (init_one_static_tls): ... and here...
21189 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21190 for Static TLS.
21191 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
21192 that the slot we find is associated with the given map before
21193 using its generation count.
21194 * nptl_db/db_info.c: Include ldsodefs.h.
21195 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21196 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21197 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21198 (link_map::l_tls_offset): New struct field.
21199 (dtv_t::counter): Likewise.
21200 (rtld_global): New struct.
21201 (_rtld_global): New rtld variable.
21202 (dl_tls_dtv_slotinfo_list): New rtld global field.
21203 (dtv_slotinfo_list): New struct.
21204 (dtv_slotinfo): Likewise.
21205 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21206 (td_lookup): Rename to...
21207 (td_mod_lookup): ... this. Use new mod parameter instead of
21208 LIBPTHREAD_SO.
21209 * nptl_db/td_thr_tlsbase.c: Include link.h.
21210 (dtv_slotinfo_list, dtv_slotinfo): New functions.
21211 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
21212 addresses even if the DTV is out of date or missing them.
21213 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21214 index zero-length arrays.
21215 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21216 (td_lookup): Make it a macro implemented in terms of...
21217 (td_mod_lookup): ... this declaration.
21218 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21219 (DB_MAIN_VARIABLE): Likewise.
21220
21221 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 [BZ #18134]
21224 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21225
21226 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
21227
21228 * stdlib/setenv.c (__add_to_environ): Revert previous change.
21229
21230 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
21231
21232 [BZ #18128]
21233 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21234 (atomic_add, atomic_increment_and_test)
21235 (atomic_decrement_and_test): Fix 64-bit arithmetic.
21236
21237 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
21238
21239 * stdlib/setenv.c (__add_to_environ):
21240 Dump core quickly if setenv (..., NULL, ...) is called.
21241
21242 2015-03-13 Roland McGrath <roland@hack.frob.com>
21243
21244 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21245 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21246 all the necessary asm magic in one place.
21247 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21248 using those.
21249
21250 2015-03-13 Carlos O'Donell <carlos@redhat.com>
21251
21252 [BZ #14906]
21253 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21254 traced file mtime. Use consistent log message.
21255 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21256 (register_traced_file): Call install_watches. Always set mtime.
21257 (invalidate_cache): Iterate over all trace files. Call install_watches.
21258 (inotify_check_files): Don't inline. Handle watching parent
21259 directories and configuration file movement in and out.
21260 (handle_inotify_events): New function.
21261 (main_loop_poll): Call handle_inotify_events.
21262 (main_loop_epoll): Likewise.
21263 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21264 (struct traced_file): Use array of inotify fds. Add parent directory,
21265 and basename.
21266 (struct database_dyn): Remove unused file_mtime.
21267 (init_traced_file): New inline function.
21268 (define_traced_file): New macro.
21269 * nss/nss_db/db-init.c: Use define_traced_file.
21270 (_nss_db_init): Use init_traced_file.
21271 * nss/nss_files/files-init.c: Use define_traced_file.
21272 (_nss_files_init): Use init_traced_file.
21273
21274 2015-03-12 Joseph Myers <joseph@codesourcery.com>
21275
21276 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21277 [_LIBC]: Do not include <stdlib.h>.
21278 [!_LIBC] (abort): Remove declaration.
21279 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21280 _FP_STATIC_ASSERT instead of conditionally calling abort.
21281 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21282 (_FP_EXTEND_CNAN): Likewise.
21283 (FP_TRUNC): Likewise.
21284 (__FP_CLZ): Likewise.
21285 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21286
21287 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
21288
21289 * manual/string.texi (XPG basename): Fix prototype.
21290
21291 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
21292
21293 [BZ #18080]
21294 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21295 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21296 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21297 (__setcontext): Likewise.
21298 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21299 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21300 Call rt_sigprocmask syscall one time to set new signal mask
21301 and retrieve the current signal mask instead of two calls.
21302 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21303 (__swapcontext): Likewise.
21304 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21305 * stdlib/tst-setcontext2.c: New file.
21306
21307 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
21308
21309 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21310
21311 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
21312
21313 [BZ #18093]
21314 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21315 the wrong size.
21316
21317 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21318
21319 [BZ #18043]
21320 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21321
21322 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21323
21324 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21325 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21326 Remove define.
21327 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21328 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21329 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21330 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21331 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21332 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21333 define.
21334 * nptl_db/td_symbol_list.c (td_lookup): Remove
21335 HAVE_ASM_GLOBAL_DOT_NAME code.
21336 * sysdeps/powerpc/powerpc64/configure.ac: Remove
21337 HAVE_ASM_GLOBAL_DOT_NAME check.
21338 * sysdeps/powerpc/powerpc64/configure: Regenerate.
21339 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21340 (DOT_LABEL): Remove define.
21341 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21342 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21343 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21344 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21345 (__TLS_GET_ADDR): Likewise.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21347 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21348
21349 2015-03-11 Carlos O'Donell <carlos@redhat.com>
21350
21351 [BZ #18111]
21352 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21353 (_FPU_SETCW): Initialize cw from fpsr before storing.
21354 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21355 (fesetexceptflag): Rewrite using fpu_control.h.
21356 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21357
21358 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
21359
21360 [BZ #18110]
21361 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21362 asms.
21363 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21364
21365 2015-03-11 Joseph Myers <joseph@codesourcery.com>
21366
21367 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21368 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21369 abort.
21370 (_FP_FMA): Likewise.
21371 (_FP_DIV): Likewise.
21372
21373 2015-03-10 Roland McGrath <roland@hack.frob.com>
21374
21375 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21376 with 0 in that case.
21377 * Makefile (summarize-tests): New canned sequence, factored out of
21378 commands for targets tests and xtests. Display summary lines that
21379 don't start with PASS: or XFAIL: rather than ones that do start with
21380 ERROR: or FAIL:. Make the commands fail if any summary lines fail
21381 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21382 do start with ERROR: or FAIL:.
21383 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21384 (except for [$(build-shared) = yes]).
21385 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21386 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21387 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21388 * nptl/Makefile: Revert 2015-03-04 changes.
21389 [$(CXX) empty] (tests-unsupported): New variable.
21390 * debug/Makefile: Likewise.
21391
21392 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21393 gnulib file. Replace __attribute with __attribute__ throughout.
21394
21395 2015-03-10 Carlos O'Donell <carlos@redhat.com>
21396
21397 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21398
21399 2015-03-10 Joseph Myers <joseph@codesourcery.com>
21400
21401 [BZ #18104]
21402 * math/auto-libm-test-in: Add another test of pow.
21403 * math/auto-libm-test-out: Regenerated.
21404
21405 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21406
21407 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21408 $(config-cflags-nofma).
21409
21410 2015-03-10 Joseph Myers <joseph@codesourcery.com>
21411
21412 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21413 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21414 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21415 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21416 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21417 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21418 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21419 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21420 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21421 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21422 Add comment on closing #endif.
21423
21424 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21425
21426 * posix/wordexp.c (CHAR_IN_SET): New macro.
21427 (parse_param): Use it.
21428
21429 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21430
21431 * sysdeps/powerpc/fpu/libm-test-ulps: update.
21432
21433 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21434
21435 [BZ #18043]
21436 * posix/wordexp.c (parse_param): Fix buffer overflow.
21437 * posix/wordexp-test.c (test_case): Add test case.
21438
21439 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21440
21441 [BZ #18042]
21442 * posix/wordexp.c (parse_backtick): Fix off-by-one.
21443 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21444
21445 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21446
21447 [BZ #18043]
21448 * posix/wordexp-test.c (test_case): Add test for BZ #18043
21449 (do_bz18043): Delete.
21450 (at_page_end): New.
21451 (testit): Refactor to have words at the edge of unreadable page.
21452
21453 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21454
21455 [BZ #16734]
21456 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21457 Cleanup read-only streams as well.
21458 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21459
21460 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21461
21462 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21463 <bits/libc-lockP.h>
21464
21465 2015-03-07 Joseph Myers <joseph@codesourcery.com>
21466
21467 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
21468 on [__KERNEL__].
21469 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21470 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21471 * soft-fp/op-common.h (_FP_DECL): Likewise.
21472
21473 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * elf/ifuncdep2.c (global): Replace
21476 __attribute__((visibility("protected"))) with
21477 asm (".protected global").
21478 * elf/ifuncmod1.c (global): Likewise.
21479 * elf/ifuncmod5.c (global): Likewise.
21480
21481 2015-03-06 Joseph Myers <joseph@codesourcery.com>
21482
21483 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21484 <asm/sfp-machine.h> instead of <sfp-machine.h>.
21485
21486 2015-03-06 Roland McGrath <roland@hack.frob.com>
21487
21488 * manual/install.texi (Configuring and compiling):
21489 Document test-wrapper-env-only.
21490 * INSTALL: Regenerated.
21491
21492 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21493
21494 [BZ #18043]
21495 * posix/wordexp.c (parse_param): Fix buffer overflow.
21496 * posix/wordexp-test.c (do_bz18043): Add test case.
21497
21498 2015-03-06 Vincent Bernat <vincent@bernat.im>
21499
21500 * time/tst-strptime2.c (do_test): Ensure failing tests are
21501 reported correctly.
21502 * time/tst-strptime3.c (do_test): Likewise.
21503
21504 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
21505
21506 Fix aio_error thread-safety.
21507 * sysdeps/pthread/aio_error.c: New file
21508 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21509 synchronization.
21510
21511 2015-03-06 Florian Weimer <fweimer@redhat.com>
21512
21513 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21514 (group_number, vfprintf): Use it.
21515 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21516 (JUMP, REF): Use it.
21517 (WORK_BUFFER_SIZE): New enum constant.
21518 (process_arg, vfprintf): Use it.
21519
21520 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
21521
21522 * manual/errno.texi (Error Messages): Complete example function
21523 by adding missing #define.
21524 (program_invocation_name): Add statement indicating GNU
21525 extension and reference which header file declares the variable.
21526 (program_invocation_short_name): Likewise.
21527
21528 2015-03-06 Mike Frysinger <vapier@gentoo.org>
21529
21530 * manual/errno.texi (Error Messages): Delete strerror ISO C89
21531 compatibility note.
21532
21533 2015-03-05 Roland McGrath <roland@hack.frob.com>
21534
21535 * Makeconfig (test-wrapper-env-only): New variable.
21536 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21537 then use that with $(test-wrapper-env-only) rather than using
21538 $(test-wrapper-env) $(run-program-env) $($*-ENV).
21539
21540 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
21541
21542 [BZ #18082]
21543 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21544 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21545 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21546 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21547 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21548 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21549 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21550 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21551 Likewise.
21552 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21553 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21554 Likewise.
21555 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21556 Likewise.
21557 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21558 Likewise.
21559 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21560 Likewise.
21561 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21563 Likewise.
21564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21565 Likewise.
21566 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21567 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21568
21569 2015-03-04 Roland McGrath <roland@hack.frob.com>
21570
21571 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21572 (ETH_ALEN): New macro.
21573 (struct ether_addr): Use it for length of ether_addr_octet.
21574
21575 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21576 (setdb): Don't call __nss_configure_lookup for "rpc".
21577 (do_test): Don't call test_rpc.
21578 (output_rpcent, test_rpc): Functions moved ...
21579 * sunrpc/test-rpcent.c: ... to this new file.
21580 * sunrpc/Makefile (tests): Add it.
21581
21582 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21583 __xpg_sigpause.
21584 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21585 * nptl/tst-signal6.c: Likewise.
21586 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21587 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21588
21589 * configure.ac (libc_cv_cxx_link_ok): New check.
21590 Reset CXX to empty if it fails to link.
21591 * configure: Regenerated.
21592 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21593 bug-atexit3-lib only if $(CXX) is nonempty.
21594 * nptl/Makefile (tests): Likewise for tst-cancel24.
21595 (tests, tests-static): Likewise for tst-cancel24-static.
21596 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21597 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21598 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21599 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21600
21601 2015-03-04 Andreas Schwab <schwab@suse.de>
21602
21603 [BZ #17631]
21604 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21605 for non-GCC compilers.
21606 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21607 Likewise.
21608
21609 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21610
21611 [BZ #17776]
21612 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21613 integer before bitwise and assembly operations.
21614 (feclearexcept): Likewise.
21615 * math/test-fenvinline.c: New file.
21616 * math/Makefile: Add test-fenvinline test.
21617
21618 2015-03-03 Alan Modra <amodra@gmail.com>
21619
21620 [BZ #16512]
21621 * scripts/localplt.awk: Strip off symbol version.
21622 * NEWS: Mention bug fix.
21623
21624 2015-03-02 Roland McGrath <roland@hack.frob.com>
21625
21626 * sysdeps/pthread/timer_routines.c
21627 (timer_free_list, thread_free_list, thread_active_list): Make static.
21628
21629 2015-03-02 Joseph Myers <joseph@codesourcery.com>
21630
21631 [BZ #17779]
21632 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21633 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21634 Undefine.
21635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21636 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21637 Likewise.
21638 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21639 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21640 Likewise.
21641
21642 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21643
21644 [BZ #18036]
21645 * posix/fnmatch_loop.c (END): Detect invalid pattern.
21646 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21647
21648 2015-03-02 Andreas Schwab <schwab@suse.de>
21649
21650 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21651 variable name.
21652
21653 2015-03-02 Florian Weimer <fweimer@redhat.com>
21654
21655 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21656 Return error status.
21657
21658 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
21659
21660 [BZ #15969]
21661 * locale/findlocale.c (_nl_find_locale): Introduce const
21662 version of loc_name and drop unsafe type casts.
21663
21664 2015-02-27 Roland McGrath <roland@hack.frob.com>
21665
21666 * dlfcn/tststatic2.c (main): Converted to ...
21667 (do_test): ... this.
21668 (TEST_FUNCTION): New macro.
21669 Include test-skeleton.c.
21670
21671 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
21672
21673 [BZ #17711]
21674 * elf/Makefile (tests): Add vismain only if PIE is enabled.
21675 (tests-pie): Add vismain.
21676 (CFLAGS-vismain.c): New.
21677 * elf/vismain.c: Add comments for PIE requirement.
21678
21679 2015-02-27 Joseph Myers <joseph@codesourcery.com>
21680
21681 [BZ #18046]
21682 [BZ #18047]
21683 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21684 0x1p-56L as threshold for just returning the argument.
21685 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21686 0x1p-32L as threshold for just returning the argument.
21687 * math/auto-libm-test-in: Add more tests of atanh.
21688 * math/auto-libm-test-out: Regenerated.
21689 * sysdeps/i386/fpu/libm-test-ulps: Update.
21690 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21691
21692 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
21693
21694 * string/bcopy.c (bcopy): Call memmove for performance.
21695
21696 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
21697
21698 * string/bzero.c (__bzero): Call memset for performance.
21699
21700 2015-02-27 John David Anglin <dave.anglin@bell.net>
21701
21702 [BZ #18068]
21703 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21704 to 00100000.
21705
21706 2015-02-27 Joseph Myers <joseph@codesourcery.com>
21707
21708 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21709
21710 2015-02-26 Joseph Myers <joseph@codesourcery.com>
21711
21712 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21713 (__kernel_standard): Use CSTR macro when setting exc.name.
21714 * sysdeps/ieee754/Makefile [$(subdir) = math]
21715 (CFLAGS-k_standard.c): Remove variable.
21716
21717 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21718 setting p and q from "else if" to "else".
21719 (qzero): Likewise.
21720 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21721 (qone): Likewise.
21722 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21723 (qzerof): Likewise.
21724 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21725 (qonef): Likewise.
21726 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21727 (qzero): Likewise.
21728 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21729 (qone): Likewise.
21730
21731 [BZ #18038]
21732 [BZ #18039]
21733 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21734 return pi/2 for arguments below 0x1p-113L.
21735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21736 return pi/2 for arguments below 0x1p-106L.
21737 * math/auto-libm-test-in: Add more tests of acos.
21738 * math/auto-libm-test-out: Regenerated.
21739
21740 [BZ #16351]
21741 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21742 (MO): New macro.
21743 (__ieee754_asin): Force underflow exception for results with small
21744 absolute value.
21745 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21746 (MO): New macro.
21747 (__ieee754_asinf): Force underflow exception for results with
21748 small absolute value.
21749 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21750 (__ieee754_asin): Force underflow exception for results with small
21751 absolute value.
21752 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21753 (__ieee754_asinf): Force underflow exception for results with
21754 small absolute value.
21755 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21756 (__ieee754_asinl): Force underflow exception for results with
21757 small absolute value.
21758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21759 (__ieee754_asinl): Force underflow exception for results with
21760 small absolute value.
21761 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21762 (__ieee754_asinl): Force underflow exception for results with
21763 small absolute value.
21764 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21765 Include <math.h>.
21766 * math/auto-libm-test-in: Do not mark underflow exceptions as
21767 possibly missing for bug 16351.
21768 * math/auto-libm-test-out: Regenerated.
21769
21770 [BZ #18030]
21771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21772 of power of 2 down when low part has opposite sign.
21773 * math/libm-test.inc (logb_test_data): Add more tests.
21774
21775 2015-02-26 Andreas Schwab <schwab@suse.de>
21776
21777 [BZ #18032]
21778 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21779 over collating symbol inside a bracket expression. Minor cleanup.
21780 * posix/tst-fnmatch3.c (do_test): Add test case.
21781
21782 2015-02-26 Joseph Myers <joseph@codesourcery.com>
21783
21784 [BZ #18029]
21785 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21786 Adjust exponent of power of 2 down when low part has opposite
21787 sign.
21788 * math/libm-test.inc (ilogb_test_data): Add more tests.
21789
21790 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
21791
21792 [BZ #15969]
21793 * locale/findlocale.c (_nl_find_locale): Fix constness error in
21794 the previous change.
21795
21796 [BZ #15969]
21797 * locale/findlocale.c (_nl_find_locale): Retry archive search
21798 after alias expansion.
21799
21800 2015-02-25 Roland McGrath <roland@hack.frob.com>
21801
21802 * iconv/tst-iconv3.c (main): Converted to ...
21803 (do_test): ... this.
21804 (TEST_FUNCTION): New macro.
21805 Include test-skeleton.c.
21806
21807 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21808 (convert): Make function static.
21809 (test_unalign): Likewise. Add const to argument pointee types.
21810 (main): Replace with static function do_test.
21811 Print "Succeeded." only if RET is zero.
21812 (TEST_FUNCTION): New macro.
21813 Include test-skeleton.c.
21814
21815 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21816 returns a null pointer.
21817
21818 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21819
21820 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21821 to __memcpy_ppc only for static builds.
21822
21823 2015-02-25 Joseph Myers <joseph@codesourcery.com>
21824
21825 [BZ #18020]
21826 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21827 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21828 * math/auto-libm-test-in: Add more tests of asinh.
21829 * math/auto-libm-test-out: Regenerated.
21830 * sysdeps/i386/fpu/libm-test-ulps: Update.
21831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21832
21833 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
21834
21835 [BZ #15850]
21836 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21837 and ip6_mtuinfo definitions here.
21838 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21839 in this define too. Update comment.
21840
21841 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
21842
21843 * elf/sprof.c (load_shobj): Tweak error message to match others.
21844
21845 2015-02-24 Kevin Easton <kevin@guarana.org>
21846
21847 [BZ #16145] (partial fix)
21848 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21849 to reduce lock contention.
21850
21851 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
21852
21853 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21854 (struct timex): Update time comment.
21855 (ADJ_SETOFFSET): Define.
21856
21857 2015-02-24 Joseph Myers <joseph@codesourcery.com>
21858
21859 [BZ #18019]
21860 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21861 2**56 not 2**28 as threshold for log (2x) formula.
21862 * math/auto-libm-test-in: Add more tests of acosh.
21863 * math/auto-libm-test-out: Regenerated.
21864 * sysdeps/i386/fpu/libm-test-ulps: Update.
21865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21866
21867 2015-02-24 Mike Frysinger <vapier@gentoo.org>
21868
21869 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21870 parenthesis around the buf assignment.
21871 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21872
21873 2015-02-24 Joseph Myers <joseph@codesourcery.com>
21874
21875 [BZ #16783]
21876 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21877 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21878 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21879 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21880 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21881 * math/libm-test.inc (scalb_test_data): Add more tests.
21882
21883 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21884
21885 [BZ #17916]
21886 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21887 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21888
21889 2015-02-24 Eric Rannaud <e@nanocritical.com>
21890
21891 [BZ #17523]
21892 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21893 * io/bits/fcntl2.h (open): Use it.
21894 (openat): Likewise.
21895 * io/open.c (__libc_open): Likewise.
21896 * io/open64.c (__libc_open64): Likewise.
21897 * io/open64_2.c (__open64_2): Likewise.
21898 * io/open_2.c (__open_2): Likewise.
21899 * io/openat.c (__openat): Likewise.
21900 * io/openat64.c (__openat64): Likewise.
21901 * io/openat64_2.c (__openat64_2): Likewise.
21902 * io/openat_2.c (__openat_2): Likewise.
21903 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21904 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21905 * sysdeps/posix/open64.c (__libc_open64): Likewise.
21906 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21907 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21908 (__open_nocancel): Likewise.
21909 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21910 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21911 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21912
21913 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21914
21915 [BZ #14841]
21916 * resolv/gethnamaddr.c (getanswer): Skip logging if
21917 RES_USE_DNSSEC is set.
21918 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21919
21920 2015-02-24 Mike Frysinger <vapier@gentoo.org>
21921
21922 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21923
21924 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
21925
21926 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21927 201304L, for Unicode 7.
21928
21929 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
21930
21931 [BZ #17836]
21932 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21933 shared library. Add gmon-start.os otherwise.
21934 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21935 $(objpfx)gmon-start.os if builing shared library.
21936 ($(objpfx)g$(static-start-installed-name)): Likewise.
21937
21938 2015-02-23 Andreas Schwab <schwab@suse.de>
21939
21940 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21941
21942 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21943
21944 [BZ #17269]
21945 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21946 (enlarge_userbuf): Likewise.
21947
21948 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
21949
21950 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21951 * math/atest-exp.c (TIMEOUT): Adjust to 200.
21952 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21953 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21954
21955 2015-02-20 Joseph Myers <joseph@codesourcery.com>
21956
21957 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21958 expression inside statement expression.
21959
21960 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
21961
21962 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21963 <sysdeps/nptl/lowlevellock.h> and remove macros and
21964 functions that are now defined there.
21965 (SYS_futex): Remove.
21966 (lll_compare_and_swap): Remove.
21967 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21968
21969 2015-02-19 Joseph Myers <joseph@codesourcery.com>
21970
21971 [BZ #17999]
21972 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21973 instead of scandirat.
21974 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21975 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21976 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21977 __scandirat.
21978 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21979 (__scandirat): Declare. Use libc_hidden_proto.
21980 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21981 Remove variable.
21982 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21983
21984 2015-02-18 Joseph Myers <joseph@codesourcery.com>
21985
21986 [BZ #15319]
21987 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21988 (MO): New macro.
21989 (__ieee754_atan2): For results with small absolute value, force
21990 underflow exception and remove excess range and precision from
21991 return value.
21992 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21993 (MO): New macro.
21994 (__ieee754_atan2f): For results with small absolute value, force
21995 underflow exception and remove excess range and precision from
21996 return value.
21997 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21998 (MO): New macro.
21999 (__atan): For results with small absolute value, force underflow
22000 exception and remove excess range and precision from return value.
22001 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22002 (MO): New macro.
22003 (__atanf): For results with small absolute value, force underflow
22004 exception and remove excess range and precision from return value.
22005 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22006 <math.h>.
22007 (__ieee754_atan2): Force underflow exception for results with
22008 small absolute value.
22009 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22010 <math_private.h>.
22011 (atan): Force underflow exception for results with small absolute
22012 value.
22013 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22014 (__atanf): Force underflow exception for results with small
22015 absolute value.
22016 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22017 <math.h>.
22018 (__atanl): Force underflow exception for results with small
22019 absolute value.
22020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22021 (__atanl): Force underflow exception for results with small
22022 absolute value.
22023 * sysdeps/x86/fpu/bits/mathinline.h
22024 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22025 (__ieee754_atan2): Only define inline for long double.
22026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22027 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22028 * math/auto-libm-test-in: Do not mark underflow exceptions as
22029 possibly missing for bug 15319. Add more tests of atan2.
22030 * math/auto-libm-test-out: Regenerated.
22031 * math/libm-test.inc (casin_test_data): Do not mark underflow
22032 exceptions as possibly missing for bug 15319.
22033 (casinh_test_data): Likewise.
22034 * sysdeps/i386/fpu/libm-test-ulps: Update.
22035
22036 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
22037
22038 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22039 * sysdeps/mips/bits/endian.h: Fix comments.
22040
22041 2015-02-18 Joseph Myers <joseph@codesourcery.com>
22042
22043 [BZ #17996]
22044 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22045 (hdestroy_r): Likewise.
22046 (hsearch_r): Likewise.
22047 (__hcreate_r): Declare and use libc_hidden_proto.
22048 (__hdestroy_r): Likewise.
22049 (__hsearch_r): Likewise.
22050 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22051 (hcreate): Call __hcreate_r instead of hcreate_r.
22052 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22053 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22054 as weak alias of __hcreate_r.
22055 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22056 __hdestroy_r.
22057 (hsearch_r): Rename to __hsearch_r and define as weak alias of
22058 __hsearch_r.
22059 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22060 Remove variable.
22061 (test-xfail-XPG4/search.h/linknamespace): Likewise.
22062 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22063 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22064 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22065
22066 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22067
22068 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22069 arena_lock into a single arena_get.
22070
22071 2015-02-17 Carlos O'Donell <carlos@redhat.com>
22072
22073 * dl-reloc.c: Inlucde libc-internal.h.
22074 (_dl_try_allocate_static_tls): Call ALIGN_UP.
22075 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22076 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22077 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22078 (grow_heap): Likewise.
22079 * malloc/malloc.c: Include libc-internal.h.
22080 (do_check_malloc): Call powerof2.
22081 (sysmalloc): Use pagesize. Call ALIGN_UP.
22082 (systrim): Use pagesize.
22083 (mremap_chunk): Use pagesize. Call ALIGN_UP.
22084 (__libc_valloc): Use pagesize.
22085 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22086
22087 2015-02-17 Joseph Myers <joseph@codesourcery.com>
22088
22089 [BZ #17991]
22090 * include/sys/resource.h (__getrlimit64): Declare. Use
22091 libc_hidden_proto.
22092 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22093 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
22094 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22095 getrlimit64.
22096 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22097 __getrlimit64.
22098 [!getrlimit64] (getrlimit64): Define as weak alias of
22099 __getrlimit64. Use libc_hidden_weak.
22100 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22101 using __getrlimit64 not __new_getrlimit64.
22102 (__GI_getrlimit64): Likewise.
22103 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22104 Likewise.
22105 (__GI_getrlimit64): Likewise.
22106 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22108 (getrlimit): Add __getrlimit64 alias.
22109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22110 Likewise.
22111 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22112 Remove variable.
22113 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22114 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22115
22116 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
22117
22118 * libio/fileops.c: Add missing sys/mman.h
22119 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22120
22121 2015-02-17 Joseph Myers <joseph@codesourcery.com>
22122
22123 * manual/math.texi (Errors in Math Functions): Clarify goals
22124 regarding inexact and underflow exceptions.
22125
22126 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
22127
22128 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22129 * sysdeps/mips/memset.S: Ditto.
22130
22131 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
22132
22133 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22134
22135 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22136
22137 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22138 (__v1longjmp): Remove versioned symbol.
22139 (__v1siglongjmp): Remove alias and versioned symbol.
22140 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22141 (__v2siglongjmp): Likewise.
22142
22143 2015-02-16 Torvald Riegel <triegel@redhat.com>
22144
22145 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22146
22147 2015-02-16 Mike Frysinger <vapier@gentoo.org>
22148
22149 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22150
22151 2015-02-16 Joseph Myers <joseph@codesourcery.com>
22152
22153 [BZ #17987]
22154 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22155 zero result does not depend on the sign resulting from
22156 subtraction.
22157 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22158 Likewise.
22159 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22160 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22161 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22162 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22163 * math/libm-test.inc (remquo_test_data): Add more tests.
22164
22165 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
22166
22167 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22168 Problem reported by J William Piggott.
22169
22170 2015-02-16 Joseph Myers <joseph@codesourcery.com>
22171
22172 [BZ #17978]
22173 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22174 products 4 * y and 2 * y where those would overflow.
22175 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22176 Likewise.
22177 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22178 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22179 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22180 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22181 * math/libm-test.inc (remquo_test_data): Add more tests.
22182
22183 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22184
22185 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22186 [defined _COMPILING_NEWLIB].
22187 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22188 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22189
22190 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22191 [!defined __mips_isa_rev || __mips_isa_rev < 6].
22192
22193 2015-02-16 Torvald Riegel <triegel@redhat.com>
22194
22195 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22196 acquired.
22197
22198 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
22199
22200 [BZ #17792]
22201 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22202 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22203 HOST_STACK_END_ADDR): Likewise.
22204
22205 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
22206
22207 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22208 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22209 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22210
22211 2015-02-13 Roland McGrath <roland@hack.frob.com>
22212
22213 * sysdeps/generic/c++-types.data: New file.
22214 * sysdeps/generic/ld.abilist: New file.
22215 * sysdeps/generic/libBrokenLocale.abilist: New file.
22216 * sysdeps/generic/libanl.abilist: New file.
22217 * sysdeps/generic/libc.abilist: New file.
22218 * sysdeps/generic/libcrypt.abilist: New file.
22219 * sysdeps/generic/libdl.abilist: New file.
22220 * sysdeps/generic/libm.abilist: New file.
22221 * sysdeps/generic/libpthread.abilist: New file.
22222 * sysdeps/generic/libresolv.abilist: New file.
22223 * sysdeps/generic/librt.abilist: New file.
22224
22225 2015-02-13 Joseph Myers <joseph@codesourcery.com>
22226
22227 [BZ #17569]
22228 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22229 Compute absolute value of x as modified by fmod, not original
22230 value of x.
22231 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22232 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
22233 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
22234 RUN_TEST_ffI_f1_mod8.
22235 (remquo_test_data): Add more tests.
22236
22237 2015-02-13 Roland McGrath <roland@hack.frob.com>
22238
22239 * sysdeps/init_array/pt-crti.S: New file.
22240
22241 2015-02-13 Joseph Myers <joseph@codesourcery.com>
22242
22243 [BZ #17967]
22244 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22245 __builtin_fmaf instead of relying on contraction of a * b + c.
22246
22247 2015-02-12 J William Piggott <elseifthen@gmx.com>
22248
22249 [BZ #17969]
22250 * manual/time.texi: correct the zoneinfo path in the TZ Variable
22251 node.
22252
22253 2015-02-12 Joseph Myers <joseph@codesourcery.com>
22254
22255 [BZ #17964]
22256 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22257 __builtin_fma instead of relying on contraction of a * b + c.
22258
22259 2015-02-12 Roland McGrath <roland@hack.frob.com>
22260
22261 * Makeconfig (ASFLAGS): Add -Werror=undef.
22262 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22263 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22264 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22265
22266 * Makeconfig (after-link): New variable.
22267 (+link-pie, +link-pie-tests): Use it.
22268 (+link-static, +link-static-tests): Likewise.
22269 (+link, +link-tests): Likewise.
22270 * Makerules (build-module, build-module-asneeded): Likewise.
22271 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22272 Likewise.
22273 * elf/Makefile ($(objpfx)ld.so): Likewise.
22274
22275 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
22276
22277 [BZ #17965]
22278 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22279 both struct timeval and struct timespec.
22280
22281 2015-02-12 Joseph Myers <joseph@codesourcery.com>
22282
22283 [BZ #16560]
22284 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22285 and redefine.
22286 (__ieee754_exp2l): Do not multiply small fractional parts by
22287 M_LN2l.
22288 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22289 small argument.
22290 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22291 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22292 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22293 * math/auto-libm-test-in: Add more tests of exp2.
22294 * math/auto-libm-test-out: Regenerated.
22295
22296 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22297
22298 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22299 unaligned path.
22300
22301 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22302
22303 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22304 little endian.
22305
22306 2015-02-12 Andreas Schwab <schwab@suse.de>
22307
22308 [BZ #15790]
22309 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22310 Filter out elision flags from value returned in kind.
22311 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22312 * nptl/tst-pthread-mutexattr.c: New file.
22313
22314 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
22315
22316 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22317 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22318 into gnu-gnu, and update comment to refer to abi-tags.
22319
22320 2015-02-11 Joseph Myers <joseph@codesourcery.com>
22321
22322 [BZ #15467]
22323 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22324 (__sincos): Set errno to EDOM for infinite argument.
22325 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22326 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22327 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22328 (__sincosl): Set errno to EDOM for infinite argument.
22329 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22330 (__sincosl): Set errno to EDOM for infinite argument.
22331 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22332 (__sincosl): Set errno to EDOM for infinite argument.
22333 * math/libm-test.inc (sincos_test_data): Test errno setting.
22334
22335 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
22336
22337 * string/strxfrm_l.c: Remove #define STRCMP.
22338 * string/strcoll_l.c: Remove #define STRLEN.
22339 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22340 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22341
22342 2015-02-10 Joseph Myers <joseph@codesourcery.com>
22343
22344 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22345 * sysdeps/mips/mips32/sfp-machine.h: ... here.
22346 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22347 * sysdeps/mips/mips64/Makefile: ... here.
22348 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22349 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22350 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22351 * sysdeps/mips/mips64/sfp-machine.h: ... here.
22352 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22353 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22354 * sysdeps/mips/mips64/n64/Implies: Likewise.
22355
22356 2015-02-10 Roland McGrath <roland@hack.frob.com>
22357
22358 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22359 <sys/time.h>, <string.h>, and <errno.h>.
22360 (dest_offset, dest_address, value, zero): Remove unused variables.
22361 (ldouble): Remove typedef.
22362 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22363 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
22364 1). Fix code style.
22365 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22366 (check): Function removed.
22367 (CHECK): New macro.
22368 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
22369 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22370 Don't call set_sigaction_FP and remove_sigaction_FP here.
22371 (ldouble_test): Just use 'long double' as macro argument, no need for
22372 the 'ldouble' typedef.
22373 (do_test): Set up SIGFPE handler at start, using plain signal rather
22374 than sigaction. Fix code style.
22375
22376 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
22377
22378 [BZ #17949]
22379 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22380 jump label.
22381
22382 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22383
22384 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22385 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22386
22387 * sysdeps/powerpc/configure.ac: Remove file.
22388 * sysdeps/powerpc/configure: Likewise.
22389
22390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22391 [sysdep_routines]: Remove wordcopy-power6 object.
22392 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22393 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22395 (__memmove_ppc32): Likewise.
22396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22397 file.
22398 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22399 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22400 Remove preprocessor.
22401
22402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22403 [sysdep_routines]: Remove wide chars objects.
22404 [wcsmbs]: New rule for wide char objects.
22405
22406 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22407 Remove wordcopy-power6 obejct.
22408 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22409 Use local call for wordcopy and memcpy symbols.
22410 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22411 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22412 implementation for loader.
22413 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22414
22415 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22416 Remove wordcopy-power7 object.
22417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22418 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22419 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22420 (_wordcopy_fwd_dest_aligned): Likewise.
22421 (_wordcopy_bwd_aligned): Likewise.
22422 (_wordcopy_bwd_dest_aligned): Likewise.
22423
22424 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22425 Rewrite to call __memmove_ppc instead of include default
22426 implementation.
22427
22428 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22429 Remove wide chars objects.
22430 [wcsmbs]: New rule for wide char objects.
22431
22432 2015-02-09 Andreas Schwab <schwab@suse.de>
22433
22434 [BZ #17912]
22435 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22436 in terms of __O_DIRECTORY.
22437
22438 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
22439
22440 * time/getdate.c: Include <stdbool.h>.
22441 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22442 call PTR_MANGLE.
22443 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22444 PTR_DEMANGLE.
22445
22446 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
22447
22448 Add ersatz _Static_assert on older C hosts
22449 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22450 pre-C11 C platform that is not known to support _Static_assert.
22451
22452 2015-02-07 Richard Braun <rbraun@sceen.net>
22453
22454 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22455 sigstate.
22456 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22457
22458 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22459
22460 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22461 priority against unexistent AIO_PRIO_DELTA_MAX.
22462 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22463 instead of int.
22464 * misc/fchflags.c (fchflags): Likewise.
22465 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22466 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22467 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22468 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22469 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22470 Declare macros.
22471 [__USE_MISC] (chflags, fchflags): Declare functions.
22472 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22473 EINVAL when nfds is greater than FD_SETSIZE.
22474 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22475 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22476 45.
22477 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22478 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22479 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22480 MACH_RCV_TIMED_OUT.
22481 * hurd/hurd/signal.h (_hurd_self_sigstate,
22482 _hurd_critical_section_lock, _hurd_critical_section_unlock):
22483 Explicit casts from void *.
22484 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22485 * abi-tags: Rename gnu-gnu os into gnu.
22486
22487 [BZ #4719]
22488 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22489 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22490 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22491 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22492 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22493 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22494
22495 [BZ #17944]
22496 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22497 duplicates ADDR->sun_path with sockaddr LEN limitation.
22498 * sysdeps/mach/hurd/connect.c: Include <string.h>
22499 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22500 * sysdeps/mach/hurd/sendmsg.c: Likewise.
22501 * sysdeps/mach/hurd/sendto.c: Likewise.
22502 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22503 implementing it by hand.
22504
22505 2015-02-06 Roland McGrath <roland@hack.frob.com>
22506
22507 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22508 Use sfi_breg on ldr.
22509 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22510 Likewise.
22511
22512 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22513 it's defined.
22514 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22515 Test SIGSETXID only if it's defined.
22516
22517 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22518
22519 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22520 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
22521
22522 * nptl/tst-align2.c: Moved ...
22523 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22524 * nptl/Makefile (tests): Remove tst-align2.
22525 * sysdeps/unix/sysv/linux/Makefile
22526 [$(subdir) = nptl] (tests): Add tst-align-clone.
22527 * nptl/tst-getpid1.c: Moved ...
22528 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22529 * nptl/tst-getpid2.c: Moved ...
22530 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22531 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22532 * sysdeps/unix/sysv/linux/Makefile
22533 [$(subdir) = nptl] (tests): ... here.
22534 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22535 * sysdeps/unix/sysv/linux/Makefile
22536 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22537
22538 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22539 Drop trailing \n from perror argument. Use return rather than exit.
22540
22541 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22542 on [SA_SIGINFO].
22543 * nptl/tst-cancel21.c (do_test): Likewise.
22544 * debug/tst-backtrace6.c: Include <signal.h> first thing.
22545 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22546 [!SA_SIGINFO]: Make it a stub test.
22547
22548 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22549 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22550
22551 * posix/tst-getlogin.c: Move to ...
22552 * login/tst-getlogin.c: ... here.
22553 * posix/Makefile (tests): Move tst-getlogin to ...
22554 * login/Makefile (tests): ... here.
22555
22556 * libio/tst-atime.c (do_test): Move local variables SV and E
22557 inside [ST_NOATIME] conditional.
22558
22559 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22560
22561 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22562
22563 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22564 (wait_code): New function replaces macro.
22565 Call nanosleep rather than syscall.
22566
22567 * nptl/pt-system.c: Rewritten. Put everything under
22568 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22569 Use IFUNC to redirect when possible.
22570
22571 * nptl/pt-longjmp.c: Rewritten. Put everything under
22572 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22573 Use IFUNC to redirect when possible.
22574
22575 * nptl/pt-fork.c: Rewritten. Put everything under
22576 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22577 Use IFUNC to redirect when possible.
22578 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22579
22580 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22581 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22582 unconditionally nowadays. This included the only reference to
22583 __vdso_clock_gettime that appears outside libc proper.
22584 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22585 Remove version set (containing only __vdso_clock_gettime).
22586 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22587 Add attribute_hidden.
22588 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22589 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22590 libc_hidden_data_def.
22591 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22592 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22593
22594 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22595 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22596 setrpcent, and getrpcport to ...
22597 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22598 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22599 getrpcbynumber_r, and getrpcent_r to ...
22600 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22601 * inet/getrpcbyname.c: Moved ...
22602 * sunrpc/getrpcbyname.c: ... here.
22603 * inet/getrpcbyname_r.c: Moved ...
22604 * sunrpc/getrpcbyname_r.c: ... here.
22605 * inet/getrpcbynumber.c: Moved ...
22606 * sunrpc/getrpcbynumber.c: ... here.
22607 * inet/getrpcbynumber_r.c: Moved ...
22608 * sunrpc/getrpcbynumber_r.c: ... here.
22609 * inet/getrpcent.c: Moved ...
22610 * sunrpc/getrpcent.c: ... here.
22611 * inet/getrpcent_r.c: Moved ...
22612 * sunrpc/getrpcent_r.c: ... here.
22613 * inet/Makefile (routines): Move those to ...
22614 * sunrpc/Makefile (routines): ... here.
22615 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22616 the $(subdirs) list.
22617 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
22618 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22619 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22620 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22621
22622 * elf/Makefile (routines): Include $(all-dl-routines), not just
22623 $(dl-routines).
22624 (rtld-routines): Likewise. Use = rather than :=.
22625 * sysdeps/aarch64/Makefile [$(subdir) = elf]
22626 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22627 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22628 * sysdeps/arm/Makefile: Likewise.
22629 * sysdeps/i386/Makefile: Likewise.
22630 * sysdeps/x86_64/Makefile: Likewise.
22631 * sysdeps/hppa/Makefile [$(subdir) = elf]
22632 (sysdep_routines, sysdep-rtld-routines): Don't add
22633 $(sysdep-dl-routines) to these.
22634 * sysdeps/ia64/Makefile: Likewise.
22635 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22636 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22637 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22638 Don't add dl-static to these; sysdep-dl-routines alone is enough.
22639 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22640 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22641 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22642 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22643 * sysdeps/powerpc/Makefile [$(subdir) = elf]
22644 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22645 these; sysdep-dl-routines alone is enough.
22646
22647 2015-02-06 Joseph Myers <joseph@codesourcery.com>
22648
22649 [BZ #17932]
22650 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22651 where multiplication results in zero and third argument is finite
22652 and nonzero.
22653 * math/auto-libm-test-in: Add more tests of fma.
22654 * math/auto-libm-test-out: Regenerated.
22655
22656 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22657 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22658 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22659 (_FP_CMP_EQ): Likewise.
22660 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22661
22662 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22663 extra argument CHECK_NAN. Redefine as wrapper around
22664 _FP_EXTEND_CNAN.
22665
22666 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
22667
22668 * version.h (RELEASE): Set to "stable".
22669 (VERSION): Set to "2.21"
22670 * include/features.h (__GLIBC_MINOR__): Set to 21.
22671
22672 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22673
22674 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22675 Paul Eggert <eggert@cs.ucla.edu>
22676
22677 [BZ #16618]
22678 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22679 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22680 size in bytes. Store needed elements in wpmax. Use needed size
22681 in bytes for extend_alloca.
22682
22683 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
22684
22685 * manual/install.texi: Latest tested versions are GCC 4.9.2,
22686 binutls 2.25, and texinfo 5.2.
22687 * INSTALL: Regenerate.
22688 * sysdeps/nios2/configure: Regenerate.
22689 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22690 * manual/contrib.texi: Update.
22691 * po/be.po: Update.
22692 * po/bg.po: Update.
22693 * po/ca.po: Update.
22694 * po/cs.po: Update.
22695 * po/da.po: Update.
22696 * po/de.po: Update.
22697 * po/el.po: Update.
22698 * po/eo.po: Update.
22699 * po/es.po: Update.
22700 * po/fi.po: Update.
22701 * po/fr.po: Update.
22702 * po/gl.po: Update.
22703 * po/hr.po: Update.
22704 * po/hu.po: Update.
22705 * po/ia.po: Update.
22706 * po/id.po: Update.
22707 * po/it.po: Update.
22708 * po/ja.po: Update.
22709 * po/ko.po: Update.
22710 * po/lt.po: Update.
22711 * po/nb.po: Update.
22712 * po/nl.po: Update.
22713 * po/pl.po: Update.
22714 * po/pt_BR.po: Update.
22715 * po/ru.po: Update.
22716 * po/rw.po: Update.
22717 * po/sk.po: Update.
22718 * po/sl.po: Update.
22719 * po/sv.po: Update.
22720 * po/tr.po: Update.
22721 * po/uk.po: Update.
22722 * po/vi.po: Update.
22723 * po/zh_CN.po: Update.
22724 * po/zh_TW.po: Update.
22725
22726 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22727 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22728 * sysdeps/hppa/dl-irel.h: Remove #warning.
22729 * sysdeps/hppa/entry.h: Provide prototype for
22730 __canonicalize_funcptr_for_compare and cast argument.
22731 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22732 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22733 * sysdeps/hppa/sotruss-lib.c: New file.
22734 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22735 (atomic_compare_and_exchange_val_acq): Use __typeof__.
22736 (atomic_compare_and_exchange_bool_acq): Likewise.
22737 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22738 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22739
22740 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22741 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22742 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22743
22744 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
22745
22746 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22747 called function in non-PIC case.
22748
22749 2015-01-31 David S. Miller <davem@davemloft.net>
22750
22751 * sysdeps/sparc/sparc32/bits/atomic.h
22752 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22753 unlock not after it.
22754 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22755 volatile register usage warnings from the compiler.
22756
22757 * sysdeps/sparc/nptl/sem_init.c: Delete.
22758 * sysdeps/sparc/nptl/sem_post.c: Delete.
22759 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22760 * sysdeps/sparc/nptl/sem_wait.c: Delete.
22761 * sysdeps/sparc/sparc32/sem_init.c: New file.
22762 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22763 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22764 padding explicitly initialized.
22765 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22766 padding for in-semaphore spinlock.
22767 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22768 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22769 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22770 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22771 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22772 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22773 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22774 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22775 version.
22776 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22777 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22778
22779 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 [BZ #17801]
22782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22783 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22784 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22785 New.
22786 (index_AVX_Fast_Unaligned_Load): Likewise.
22787 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22788 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22789 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22790 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22791 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22792 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22793 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22794 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22795 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22796
22797 2015-01-29 Andreas Schwab <schwab@suse.de>
22798
22799 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22800
22801 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22802
22803 [BZ #17892]
22804 * nscd/nscd_stat.c (send_stats): Initialize DATA.
22805
22806 2015-01-28 Martin Sebor <msebor@redhat.com>
22807
22808 * math/README.libm-test: Clarify. Add "How to read the test output."
22809
22810 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
22811
22812 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22813 Define to 0.
22814
22815 2015-01-28 Joseph Myers <joseph@codesourcery.com>
22816
22817 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22818 (__HAVE_64B_ATOMICS): Define to 0.
22819
22820 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22821
22822 [BZ #17885]
22823 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22824 value to set as new flag.
22825
22826 [BZ #16576]
22827 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22828 and use _ARCH_PPCSQ instead.
22829 (__ieee754_sqrt): Likewise.
22830 (__ieee754_sqrtf): Likewise.
22831 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22832 _ARCH_PPCSQ is defined.
22833 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22834 fsqrt instruction.
22835 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22836 _ARCH_PPCSQ is defined.
22837 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22838 fsqrts instruction.
22839 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22840
22841 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22842
22843 * iconv/loop.c: Suppress array out of bound warning caused by GCC
22844 bug (GCC BZ #64739).
22845
22846 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
22847
22848 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22849 Mark _retval as used.
22850 (lll_futex_wake_unlock): Likewise.
22851 (lll_futex_timed_wait_requeue_pi): Likewise.
22852
22853 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22854 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22855 register variables.
22856
22857 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22858 libm_hidden_def.
22859
22860 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22861 (__bswap_64): Mark as __always_inline.
22862
22863 2015-01-25 Bram <bug_rh@spam.wizbit.be>
22864
22865 [BZ #15378]
22866 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22867 when none of the search directories exist.
22868
22869 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22870
22871 [BZ #17869]
22872 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22873 power8 in .machine directive.
22874
22875 [BZ #17868]
22876 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22877 set dependency from opd value.
22878
22879 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
22880
22881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22882 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22883 architecture.
22884
22885 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
22886
22887 [BZ #17870]
22888 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22889 with uint64_t.
22890 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22891 (uint64_t) 1.
22892 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22893 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22894 Replace 1UL with (uint64_t) 1.
22895 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22896 int with uint64_t.
22897
22898 2015-01-23 Roland McGrath <roland@hack.frob.com>
22899
22900 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22901 (if_freenameindex): Likewise.
22902
22903 * resource/getrlimit64.c: Add missing libc_hidden_def.
22904
22905 2015-01-22 Joseph Myers <joseph@codesourcery.com>
22906
22907 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22908 __label__.
22909 (_FP_FMA): Likewise.
22910 (_FP_TO_INT_ROUND): Likewise.
22911 (_FP_FROM_INT): Likewise.
22912
22913 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22914
22915 [BZ #16418]
22916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22917 Make code racy and cancel safe.
22918
22919 2015-01-21 Carlos O'Donell <carlos@redhat.com>
22920
22921 * sysdeps/arm/unwind-resume.h: Fix copyright year.
22922 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22923 attribution.
22924
22925 * pwd/tst-getpw.c: Rewrite.
22926
22927 [BZ #17702]
22928 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22929 (modules-names): Add moddummy1 and moddummy2.
22930 ($(objpfx)tst-rec-dlopen): Define.
22931 * dlfcn/moddummy1.c: New file.
22932 * dlfcn/moddummy2.c: New file.
22933 * dlfcn/tst-rec-dlopen.c: New file.
22934 * elf/dl-cache.c (_dl_load_cache_lookup):
22935 Return char*. Copy result with alloca/strcpy/strdup.
22936 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22937 returns char*. Free cached. If not saving realname
22938 free cached.
22939 * elf/dl-open.c (dl_open_worker): Do not assert that
22940 _r_debug->r_state is RT_CONSISTENT.
22941 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22942 returns char*.
22943
22944 2015-01-21 Torvald Riegel <triegel@redhat.com>
22945 Carlos O'Donell <carlos@redhat.com>
22946
22947 [BZ #12674]
22948 * nptl/sem_waitcommon.c: New file.
22949 * nptl/sem_wait.c: Include sem_waitcommon.c.
22950 (__sem_wait_cleanup, do_futex_wait): Remove.
22951 (__new_sem_wait): Adapt.
22952 (__new_sem_trywait): New function.
22953 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22954 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22955 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22956 (sem_timedwait): Adapt.
22957 * nptl/sem_post.c (__new_sem_post): Adapt.
22958 (futex_wake): New function.
22959 (__old_sem_post): Add release MO fence.
22960 * nptl/sem_open.c (sem_open): Adapt.
22961 * nptl/sem_init.c (__new_sem_init): Adapt.
22962 (futex_private_if_supported): New function.
22963 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22964 (__old_sem_getvalue): Add using previous code.
22965 * sysdeps/nptl/internaltypes.h: Adapt.
22966 * nptl/tst-sem13.c (do_test): Adapt.
22967 * nptl/tst-sem11.c (main): Adapt.
22968 * nptl/sem_trywait.c: Remove.
22969 * nptl/DESIGN-sem.txt: Remove.
22970 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22971 (gen-as-const-headers): Remove structsem.sym.
22972 * nptl/structsem.sym: Remove.
22973 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22974 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22975 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22976 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22977 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22978 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22979 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22980 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22981 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22982 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22983 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22984 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22985 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22986 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22987 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22988 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22989 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22990 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22991 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22992 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22993 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22994 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22995
22996 2015-01-20 Carlos O'Donell <carlos@redhat.com>
22997
22998 * INSTALL: Regenerated.
22999
23000 * po/libc.pot: Regenerated.
23001
23002 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
23003 Sandra Loosemore <sandra@codesourcery.com>
23004 Andrew Jenner <andrew@codesourcery.com>
23005 Joseph Myers <joseph@codesourcery.com>
23006 Nathan Sidwell <nathan@codesourcery.com>
23007
23008 * NEWS: Mention new Nios II port.
23009 * sysdeps/nios2/Implies: New file.
23010 * sysdeps/nios2/Makefile: New file.
23011 * sysdeps/nios2/Subdirs: New file.
23012 * sysdeps/nios2/Versions: New file.
23013 * sysdeps/nios2/__longjmp.S: New file.
23014 * sysdeps/nios2/abort-instr.h: New file.
23015 * sysdeps/nios2/backtrace.c: New file.
23016 * sysdeps/nios2/bits/endian.h: New file.
23017 * sysdeps/nios2/bits/fenv.h: New file.
23018 * sysdeps/nios2/bits/link.h: New file.
23019 * sysdeps/nios2/bits/setjmp.h: New file.
23020 * sysdeps/nios2/bsd-_setjmp.S: New file.
23021 * sysdeps/nios2/bsd-setjmp.S: New file.
23022 * sysdeps/nios2/configure: New generated file.
23023 * sysdeps/nios2/configure.ac: New file.
23024 * sysdeps/nios2/crti.S: New file.
23025 * sysdeps/nios2/crtn.S: New file.
23026 * sysdeps/nios2/dl-init.c: New file.
23027 * sysdeps/nios2/dl-machine.h: New file.
23028 * sysdeps/nios2/dl-sysdep.h: New file.
23029 * sysdeps/nios2/dl-tls.h: New file.
23030 * sysdeps/nios2/dl-trampoline.S: New file.
23031 * sysdeps/nios2/gccframe.h: New file.
23032 * sysdeps/nios2/gmp-mparam.h: New file.
23033 * sysdeps/nios2/jmpbuf-offsets.h: New file.
23034 * sysdeps/nios2/jmpbuf-unwind.h: New file.
23035 * sysdeps/nios2/ldsodefs.h: New file.
23036 * sysdeps/nios2/libc-tls.c: New file.
23037 * sysdeps/nios2/libm-test-ulps: New file.
23038 * sysdeps/nios2/machine-gmon.h: New file.
23039 * sysdeps/nios2/math-tests.h: New file.
23040 * sysdeps/nios2/math_private.h: New file.
23041 * sysdeps/nios2/memusage.h: New file.
23042 * sysdeps/nios2/nptl/Makefile: New file.
23043 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23044 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23045 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23046 * sysdeps/nios2/nptl/pthreaddef.h: New file.
23047 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23048 * sysdeps/nios2/nptl/tls.h: New file.
23049 * sysdeps/nios2/preconfigure: New file.
23050 * sysdeps/nios2/s_fma.c: New file.
23051 * sysdeps/nios2/s_fmaf.c: New file.
23052 * sysdeps/nios2/setjmp.S: New file.
23053 * sysdeps/nios2/sfp-machine.h: New file.
23054 * sysdeps/nios2/sotruss-lib.c: New file.
23055 * sysdeps/nios2/stackguard-macros.h: New file.
23056 * sysdeps/nios2/stackinfo.h: New file.
23057 * sysdeps/nios2/start.S: New file.
23058 * sysdeps/nios2/sysdep.h: New file.
23059 * sysdeps/nios2/tls-macros.h: New file.
23060 * sysdeps/nios2/tst-audit.h: New file.
23061 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23062 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23063 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23064 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23065 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23066 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23067 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23068 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23069 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23070 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23071 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23072 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23073 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23074 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23075 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23076 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23077 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23078 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23079 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23080 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23081 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23082 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23083 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23084 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23085 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23086 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23087 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23088 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23089 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23090 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23091 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23092 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23093 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23094 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23095 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23096 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23098 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23099 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23100 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23101 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23102 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23103 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23104 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23105
23106 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23107
23108 [BZ #17844]
23109 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23110 (getutent): Use weak_alias in non SHARED case
23111 and default_symbol_version in SHARED case.
23112 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23113 (getutent_r, pututline): Likewise.
23114 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23115 (getutid): Likewise.
23116 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23117 (getutid_r): Likewise.
23118 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23119 (getutline): Likewise.
23120 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23121 (getutline_r): Likewise.
23122 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23123 (updwtmp): Likewise.
23124
23125 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23126
23127 [BZ #17848]
23128 * sysdeps/s390/s390-32/memcmp.S
23129 (memcmp_g5): Rename to __memcmp_g5.
23130 * sysdeps/s390/s390-32/memcpy.S
23131 (memcpy_g5): Rename to __memcpy_g5.
23132 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23133 (memcpy_mvcle) Rename to __memcpy_mvcle.
23134 * sysdeps/s390/s390-32/memset.S
23135 (memset_g5): Rename to __memset_g5.
23136 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23137 (IFUNC_RESOLVE): Prefix ifunc-resolve function
23138 and use prefixed functions.
23139 * sysdeps/s390/s390-32/multiarch/memcmp.S
23140 (memcmp_z196): Rename to __memcmp_z196.
23141 (memcmp_z10): Rename to __memcmp_z10.
23142 (memcmp): Set alias to __memcmp_g5.
23143 (bcmp): Set alias to __memcmp_g5.
23144 * sysdeps/s390/s390-32/multiarch/memcpy.S
23145 (memcpy_z196): Rename to __memcpy_z196.
23146 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23147 (memcpy_z10): Rename to __memcpy_z10.
23148 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23149 (memcpy): Set alias to __memcpy_g5.
23150 * sysdeps/s390/s390-32/multiarch/memset.S
23151 (memset_z196): Rename to __memset_z196.
23152 Jump to __memset_mvcle instead of memset_mvcle.
23153 (memset_z10): Rename to __memset_z10.
23154 Jump to __memset_mvcle instead of memset_mvcle.
23155 (memset_mvcle) Rename to __memset_mvcle.
23156 (memset): Set alias to __memset_g5.
23157 * sysdeps/s390/s390-64/memcmp.S
23158 (memcmp_z900): Rename to __memcmp_z900.
23159 * sysdeps/s390/s390-64/memcpy.S
23160 (memcpy_z900): Rename to __memcpy_z900.
23161 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23162 (memcpy_mvcle) Rename to __memcpy_mvcle.
23163 * sysdeps/s390/s390-64/memset.S
23164 (memset_z900): Rename to __memset_z900.
23165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23166 (IFUNC_RESOLVE): Prefix ifunc-resolve function
23167 and use prefixed functions.
23168 * sysdeps/s390/s390-64/multiarch/memcmp.S
23169 (memcmp_z196): Rename to __memcmp_z196.
23170 (memcmp_z10): Rename to __memcmp_z10.
23171 (memcmp): Set alias to __memcmp_z900.
23172 (bcmp): Set alias to __memcmp_z900.
23173 * sysdeps/s390/s390-64/multiarch/memcpy.S
23174 (memcpy_z196): Rename to __memcpy_z196.
23175 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23176 (memcpy_z10): Rename to __memcpy_z10.
23177 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23178 (memcpy): Set alias to __memcpy_z900.
23179 * sysdeps/s390/s390-64/multiarch/memset.S
23180 (memset_z196): Rename to __memset_z196.
23181 Jump to __memset_mvcle instead of memset_mvcle.
23182 (memset_z10): Rename to __memset_z10.
23183 Jump to __memset_mvcle instead of memset_mvcle.
23184 (memset_mvcle) Rename to __memset_mvcle.
23185 (memset): Set alias to __memset_z900.
23186
23187 2015-01-14 Joseph Myers <joseph@codesourcery.com>
23188
23189 [BZ #17748]
23190 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23191 __fesetenv instead of fesetenv.
23192
23193 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23194
23195 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23196 macro.
23197
23198 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23199
23200 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23201 regression on LE.
23202
23203 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23204 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23205 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23206 strncmp-power8 object.
23207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23208 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23209 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23210 * NEWS: Update.
23211
23212 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23213 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23214
23215 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23216 trailing byte check.
23217
23218 2015-01-13 David S. Miller <davem@davemloft.net>
23219
23220 * include/signal.h (__sigreturn): Guard with __USE_MISC.
23221
23222 2015-01-13 Roland McGrath <roland@hack.frob.com>
23223
23224 * login/logout.c (logout): Use memset rather than bzero.
23225 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23226 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23227 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23228 (_gethtbyaddr): Likewise.
23229 * locale/programs/simple-hash.c (bcopy): Macro removed.
23230
23231 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23232
23233 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23234 Add strcmp-power8 object.
23235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23236 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23237 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23238 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23239 __strcmp_power8 implementation.
23240 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23241 * NEWS: Update.
23242
23243 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23244 Add strncpy-power8 and stpncpy-power8 objects.
23245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23246 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23247 implementations.
23248 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23249 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23250 __stpncpy_power8 implementation.
23251 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23252 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23253 __strncpy_power8 implementation.
23254 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23255 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23256 * NEWS: Update.
23257
23258 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23259 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23260 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23261
23262 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23263 strncat-power8 object.
23264 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23265 __strcat_power8 implementation.
23266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23267 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23268 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23269 optimized strcat for power8.
23270
23271 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23272 strcpy-power8 and stpcpy-power8 objects.
23273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23274 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23275 implementations.
23276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23277 multiarch stpcpy implementation for POWER8.
23278 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23279 multiarch strcpy implementation for POWER8.
23280 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23281 __strcpy_power8 function.
23282 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23283 stpcpy for POWER8.
23284 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23285 strcpy for POWER8.
23286 * NEWS: Update.
23287
23288 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
23289
23290 [BZ #16009]
23291 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23292 weights and rules. Use do_xfrm_cached if data fits in cache,
23293 do_xfrm otherwise. Moved former main loop to...
23294 * (do_xfrm_cached): New function.
23295 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23296 find_idx, find_position and stack_push.
23297 * (find_idx): New function.
23298 * (find_position): Likewise.
23299 * localedata/sort-test.sh: Added test run for do_xfrm.
23300 * localedata/xfrm-test.c (main): Added command line option
23301 -nocache to run the test with strings that are too large for
23302 the STRXFRM cache.
23303
23304 2015-01-13 Torvald Riegel <triegel@redhat.com>
23305
23306 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23307 variable to lll_futex_wake call, not the value itself.
23308
23309 2015-01-12 Joseph Myers <joseph@codesourcery.com>
23310
23311 [BZ #17803]
23312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23313 twom64. Adjust value to 0x1p-64L.
23314 (__scalblnl): Only return standard underflowing result for K <=
23315 -64 not K <= -63; adjust exponent for underflowing result by 64
23316 not 63.
23317 * math/libm-test.inc (scalbn_test_data): Add more tests.
23318 (scalbln_test_data): Likewise.
23319
23320 [BZ #17834]
23321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23322 0x1p63L.
23323 (__scalblnl): Get new exponent of adjusted subnormal value from ES
23324 not HX.
23325 * math/libm-test.inc (scalbn_test_data): Add more tests.
23326 (scalbln_test_data): Likewise.
23327
23328 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23329 Stefani Seibold <stefani@seibold.net>
23330
23331 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23332 (sysdep_routines): Add dl-vdso here, ...
23333 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23334 (sysdep_routines): ... not here.
23335 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23336 fallback when vDSO is not presented.
23337 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23338 Define with libc_hidden_proto/libc_hidden_data_def definitions.
23339 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23340 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23341 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23343 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23344 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23345 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23347 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
23348 fallback configurable symbol when vDSO is not available.
23349 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23350 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
23351 be able to redefine fallback symbol when vDSO is not available.
23352 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23353 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23354
23355 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23356
23357 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23358 (TLS_INIT_TP): Add tm_capable initialization.
23359 (TLS_DEFINE_INIT_TP): Likewise.
23360 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23361 TCB.
23362 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23363 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23364 calculation.
23365 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23366 transactoion is lock elision is built and TCB tm_capable is set.
23367 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23369 (INTERNAL_SYSCALL_NCS): Likewise.
23370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23371 (INTERNAL_SYSCALL_NCS): Likewise.
23372 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23373
23374 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23375 for powerpc.
23376 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23377 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23378 and remove it for 32 bits case.
23379 [pthread_rwlock_t] (__rwelision): New field for lock elision.
23380 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23381 initialization.
23382 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23383 Disable lock elision with rdlocks if elision is not available.
23384
23385 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23386 (sysdep_routines): Add lock elision objects.
23387 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23388 [pthread_mutex_t] (__spins): Rework to add lock elision field.
23389 [pthread_mutex_t] (__elision): Add field.
23390 [__PTHREAD_SPINS]: Adjust to init lock elision field.
23391 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23392 elision definitions for powerpc.
23393 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23394 implementation of lock elision for powerpc.
23395 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23396 implementation of timed lock elision for powerpc.
23397 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23398 implementation of trylock with lock elision for powerpc.
23399 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23400 implementaion of unlock for lock elision for powerpc.
23401 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23402 automatic enable lock elision for mutexes.
23403 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23404 transaction execution definitions for powerpc.
23405 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23406 definitions.
23407 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23408 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23409 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23410 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23411 * NEWS: Update.
23412
23413 2015-01-09 Roland McGrath <roland@hack.frob.com>
23414
23415 * sysdeps/posix/shm-directory.c: Use <> rather than ""
23416 for #include of <shm-directory.h>.
23417
23418 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
23419
23420 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23421 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23422
23423 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
23424
23425 [BZ #17791]
23426 * NEWS: Mention bug fix.
23427 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23428 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23429 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23430
23431 2015-01-09 Torvald Riegel <triegel@redhat.com>
23432
23433 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23434
23435 2015-01-09 Torvald Riegel <triegel@redhat.com>
23436
23437 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23438
23439 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
23440
23441 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23442 pointer and cast to uintptr_t.
23443
23444 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
23445
23446 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23447 removed.
23448 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23449
23450 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
23451
23452 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23453 of 0.
23454
23455 2015-01-08 Roland McGrath <roland@hack.frob.com>
23456
23457 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23458 <nptl/pthreadP.h> instead.
23459 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23460
23461 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23462 already defined.
23463 [__SIGRTMIN] (init): Function removed.
23464 [__SIGRTMIN] (initialized): Variable removed.
23465 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23466 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23467 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23468 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23469 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23470 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23471 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23472 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23473 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23474 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23475 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23476 * sysdeps/nptl/allocrtsig.c: New file.
23477 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23478 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23479 * sysdeps/generic/testrtsig.h: File removed.
23480
23481 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23482 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23483
23484 * nptl/nptl-init.c (pthread_functions): Conditionalize
23485 .ptr__nptl_setxid initialization on [SIGSETXID].
23486
23487 * sysdeps/nptl/sys/procfs.h: New file.
23488 * nptl_db/Makefile (headers): Add it.
23489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23490
23491 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23492 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23493 * nptl/pthread_attr_setaffinity.c: Include it.
23494 * nptl/pthread_setattr_default_np.c: Likewise.
23495 * nptl/check-cpuset.h: New file.
23496
23497 2015-01-08 Richard Henderson <rth@redhat.com>
23498
23499 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23500 (CFLAGS-tst-execstack-prog.c): Likewise.
23501 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23502
23503 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
23504 Sandra Loosemore <sandra@codesourcery.com>
23505 Andrew Jenner <andrew@codesourcery.com>
23506 Joseph Myers <joseph@codesourcery.com>
23507 Nathan Sidwell <nathan@codesourcery.com>
23508
23509 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23510 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23511 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23512 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23513 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23514 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23515 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23516 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23517 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23518 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23519 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23520 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23521 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23522 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23523 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23524 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23525 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23526
23527 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23528
23529 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23530 timespec struct member in syscall macro.
23531 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23532 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23533 first timeval struct member in syscall macro.
23534 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23535
23536 2015-01-07 Joseph Myers <joseph@codesourcery.com>
23537
23538 [BZ #17748]
23539 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23540 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23541 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23542 __feupdateenv and define as weak alias of __feupdateenv. Use
23543 libm_hidden_weak.
23544 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23545 libm_hidden_def.
23546 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23547 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
23548 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23549 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23550 libm_hidden_def.
23551 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23552 __feupdateenv and define as weak alias of __feupdateenv. Use
23553 libm_hidden_weak.
23554 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23555 libm_hidden_def.
23556 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23557 __feupdateenv and define as weak alias of __feupdateenv. Use
23558 libm_hidden_weak.
23559 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23560 libm_hidden_def.
23561 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23562 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23563 (__feupdateenv): Likewise.
23564 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23565 __feupdateenv and define as weak alias of __feupdateenv. Use
23566 libm_hidden_weak.
23567 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23568 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23569 libm_hidden_def.
23570 * sysdeps/tile/math_private.h (__feupdateenv): New inline
23571 function.
23572 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23573 libm_hidden_def.
23574 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23575 __feupdateenv instead of feupdateenv.
23576 (default_libc_feupdateenv_test): Likewise.
23577 (libc_feresetround_ctx): Likewise.
23578
23579 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23580
23581 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23582 prototype.
23583
23584 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
23585
23586 * posix/regcomp.c (parse_bracket_exp): Initialize type to
23587 COLL_SYM in a couple of places to avoid uninitialized variable
23588 wanings on tilegx gcc 4.8.2.
23589
23590 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
23591
23592 * sysdeps/aarch64/strcpy.S: New file.
23593 * sysdeps/aarch64/stpcpy.S: New file.
23594 * NEWS: Updated.
23595
23596 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
23597
23598 * sysdeps/aarch64/strrchr.S: New file.
23599 * NEWS: Updated.
23600
23601 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
23602
23603 [BZ #17658]
23604 * stdlib/setenv.c: Fix memory leak when setting large,
23605 duplicate string.
23606
23607 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
23608
23609 [BZ #17273]
23610 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23611 and tabs from buffer before parsing fstab entry.
23612 * misc/tst-mntent.c (main): Add test for mount entry with
23613 trailing spaces and tabs.
23614
23615 2015-01-06 Joseph Myers <joseph@codesourcery.com>
23616
23617 [BZ #17748]
23618 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
23619 * math/fesetround.c (fesetround): Rename to __fesetround and
23620 define as weak alias of __fesetround. Use libm_hidden_weak.
23621 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23622 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23623 * sysdeps/arm/fesetround.c (fesetround): Likewise.
23624 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23625 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23626 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23627 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23628 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23629 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23630 __fesetround_inline.
23631 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23632 __fesetround_inline instead of __fesetround.
23633 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23634 __fesetround and define as weak alias of __fesetround. Use
23635 libm_hidden_weak. Call __fesetround_inline instead of
23636 __fesetround.
23637 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23638 __fesetround and define as weak alias of __fesetround. Use
23639 libm_hidden_weak.
23640 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23641 Likewise.
23642 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23643 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23644 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23645 * sysdeps/tile/math_private.h (__fesetround): New inline function.
23646 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23647 __fesetround and define as weak alias of __fesetround. Use
23648 libm_hidden_weak.
23649 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23650 __fesetround instead of fesetround.
23651 (default_libc_feholdexcept_setround): Likewise.
23652 (libc_feholdsetround_ctx): Likewise.
23653 (libc_feholdsetround_noex_ctx): Likewise.
23654
23655 [BZ #17748]
23656 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23657 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23658 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23659 and define as weak alias of __fesetenv. Use libm_hidden_weak.
23660 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23661 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23662 define as weak alias of __fesetenv. Use libm_hidden_weak.
23663 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23664 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23665 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23666 define as weak alias of __fesetenv. Use libm_hidden_weak.
23667 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23668 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23669 define as weak alias of __fesetenv. Use libm_hidden_weak.
23670 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23671 libm_hidden_def.
23672 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23673 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23674 Likewise.
23675 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23676 define as weak alias of __fesetenv. Use libm_hidden_weak.
23677 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23678 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23679 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23680 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23681 and define as weak alias of __fesetenv. Use libm_hidden_weak.
23682 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23683 __fesetenv instead of fesetenv.
23684 (libc_feresetround_noex_ctx): Likewise.
23685 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23686 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23687 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23688 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23689 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23690 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23691 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23692 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23693 (__feupdateenv): Likewise.
23694 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23695 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23696 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23697 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23698
23699 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
23700
23701 [BZ #17806]
23702 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23703 addresses have been freed.
23704
23705 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
23706
23707 * resolv/res_init.c (__res_vinit): Improve comments about nserv
23708 and nservall.
23709
23710 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
23711
23712 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23713 Clean up check_pf allocation pattern. addresses
23714
23715 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23716
23717 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23718 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23719 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23720 * nptl/pthread_exit.c (__pthread_exit): Likewise.
23721 * nptl/pthread_join.c (pthread_join): Likewise.
23722 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23723 * sysdeps/posix/waitid.c (__waitid): Likewise.
23724 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23725 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23726 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23727 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23728 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23729 Likewise.
23730 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23731 (__libc_pread64): Likewise.
23732 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23733 (__libc_pwrite): Likewise.
23734 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23735 (__libc_pwrite64): Likewsie.
23736 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23737 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23738 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23739 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23740 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23741 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23742 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23744 Likewise.
23745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23746 (__libc_pread64): Likewise.
23747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23748 Likewise.
23749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23750 (__libc_pwrite64): Likewise.
23751 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23752 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23753 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23754 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23755 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23756 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23757 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23758 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23759 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23760 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23761 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23762 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23763 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23764 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23765 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23766 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23767 Likewise.
23768
23769 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
23770
23771 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23772 (CFLAGS-test-double.c): Likewise.
23773 (CFLAGS-test-ldouble.c): Likewise.
23774 (CPPFLAGS-test-ifloat.c): Likewise.
23775 (CPPFLAGS-test-idouble.c): Likewise.
23776 (CPPFLAGS-test-ildoubl.c): Likewise.
23777 (CFLAGS-test-test-fenv.c): Remove variable.
23778 (CFLAGS-test-misc.c): Likewise.
23779
23780 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
23781
23782 [BZ #17797]
23783 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23784 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23785 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23786 CLOCKS_PER_SEC == 1000000.
23787 * time/clocktest.c (main): Replace %ld with %jd and cast to
23788 intmax_t.
23789
23790 2015-01-05 Roland McGrath <roland@hack.frob.com>
23791
23792 * sysdeps/generic/unwind-resume.h: New file.
23793 * sysdeps/gnu/unwind-resume.c: Include it.
23794 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23795 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23796 argument list.
23797 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23798 global rather than static.
23799 (_Unwind_Resume): Update user.
23800 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23801 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
23802 rather than static. Add __attribute__ ((cold)).
23803 (_Unwind_Resume, __gcc_personality_v0): Update callers.
23804 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23805 * sysdeps/arm/arm-unwind-resume.S: New file.
23806 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23807 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23808 * sysdeps/arm/Makefile [$(subdir) = csu]
23809 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23810 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23811 Add rt-arm-unwind-resume.
23812 [$(subdir) = nptl]
23813 (libpthread-sysdep_routines, libpthread-shared-only-routines):
23814 Add pt-arm-unwind-resume.
23815 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23816 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23817
23818 2015-01-05 Joseph Myers <joseph@codesourcery.com>
23819
23820 [BZ #17748]
23821 * include/fenv.h (__feholdexcept): Declare. Use
23822 libm_hidden_proto.
23823 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23824 define as weak alias of __feholdexcept. Use libm_hidden_weak.
23825 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23826 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23827 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23828 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23829 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23830 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23831 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23832 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23833 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23834 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23835 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23836 (feholdexcept): Likewise.
23837 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23838 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23839 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23840 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23841 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23842 __feholdexcept instead of feholdexcept.
23843 (default_libc_feholdexcept_setround): Likewise.
23844
23845 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
23846
23847 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23848 to avoid using stl/str to align destination.
23849
23850 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
23851
23852 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23853
23854 2015-01-05 Joseph Myers <joseph@codesourcery.com>
23855
23856 [BZ #17796]
23857 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23858 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23859 Define as weak alias not strong alias.
23860
23861 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
23862
23863 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23864 bltzal with addiupc.
23865 (RTLD_START): Ditto.
23866
23867 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
23868
23869 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23870 for __vdso_* functions in declarations.
23871 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23872 definitions.
23873 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23874 INTERNAL_VSYSCALL): Use struct return types to check for error.
23875
23876 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23877 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23878 function with cast from llround().
23879 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23880 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23881 Define.
23882
23883 2015-01-05 Joseph Myers <joseph@codesourcery.com>
23884
23885 [BZ #17793]
23886 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23887 Define as weak alias not strong alias.
23888
23889 [BZ #17635]
23890 * ctype/ctype-c99.c: New file. isblank implementation moved from
23891 ...
23892 * ctype/ctype-extn.c: ... here.
23893 (__isblank_l): Move to ...
23894 * ctype/ctype-c99_l.c: ... here. New file.
23895 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23896 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23897 Remove variable.
23898 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23899 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23900 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23901 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23902 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23903
23904 [BZ #17777]
23905 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23906 (posix_fadvise64): Define as weak alias not strong alias.
23907 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23908 (posix_fallocate64): Likewise.
23909 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23910 Remove variable.
23911 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23912 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23913 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23914 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23915 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23916
23917 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
23918
23919 [BZ #16191]
23920 * NEWS: Mention bug fix.
23921 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23922 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23923 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23924 (HOST_STACK_END_ADDR): Likewise.
23925
23926 2015-01-02 Joseph Myers <joseph@codesourcery.com>
23927
23928 [BZ #17748]
23929 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
23930 * math/fegetround.c (fegetround): Rename to __fegetround and
23931 define as weak alias of __fegetround. Use libm_hidden_weak.
23932 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23933 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23934 * sysdeps/arm/fegetround.c (fegetround): Likewise.
23935 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23936 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23937 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23938 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23939 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23940 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23941 Undefine after rather than before function definition; use
23942 parentheses around function name in definition.
23943 (__fegetround): Also undefine macro after function definition.
23944 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23945 __fegetround and define as weak alias of __fegetround. Use
23946 libm_hidden_weak. Do not undefine as macro.
23947 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23948 Likewise.
23949 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23950 __fegetround and define as weak alias of __fegetround. Use
23951 libm_hidden_weak.
23952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23953 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23954 * sysdeps/tile/math_private.h (__fegetround): New inline function.
23955 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23956 __fegetround and define as weak alias of __fegetround. Use
23957 libm_hidden_weak.
23958 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23959 __fegetround instead of fegetround.
23960
23961 [BZ #17782]
23962 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23963 Condition macro definition on [__USE_MISC].
23964
23965 [BZ #17781]
23966 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23967 (struct sigaction): Change type of sa_flags field to int.
23968
23969 [BZ #17780]
23970 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23971 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23972 __glibc_reserved0.
23973
23974 * nptl/version.c (banner): Use single year in copyright notice.
23975
23976 * NEWS: Update copyright dates.
23977 * catgets/gencat.c (print_version): Likewise.
23978 * csu/version.c (banner): Likewise.
23979 * debug/catchsegv.sh: Likewise.
23980 * debug/pcprofiledump.c (print_version): Likewise.
23981 * debug/xtrace.sh (do_version): Likewise.
23982 * elf/ldconfig.c (print_version): Likewise.
23983 * elf/ldd.bash.in: Likewise.
23984 * elf/pldd.c (print_version): Likewise.
23985 * elf/sotruss.sh: Likewise.
23986 * elf/sprof.c (print_version): Likewise.
23987 * iconv/iconv_prog.c (print_version): Likewise.
23988 * iconv/iconvconfig.c (print_version): Likewise.
23989 * locale/programs/locale.c (print_version): Likewise.
23990 * locale/programs/localedef.c (print_version): Likewise.
23991 * login/programs/pt_chown.c (print_version): Likewise.
23992 * malloc/memusage.sh (do_version): Likewise.
23993 * malloc/memusagestat.c (print_version): Likewise.
23994 * malloc/mtrace.pl: Likewise.
23995 * manual/libc.texinfo: Likewise.
23996 * nptl/version.c (banner): Likewise.
23997 * nscd/nscd.c (print_version): Likewise.
23998 * nss/getent.c (print_version): Likewise.
23999 * nss/makedb.c (print_version): Likewise.
24000 * posix/getconf.c (main): Likewise.
24001 * scripts/test-installation.pl: Likewise.
24002 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24003
24004 2015-01-02 Will Newton <will.newton@linaro.org>
24005
24006 * sysdeps/arm/armv7/configure: Removed.
24007 * sysdeps/arm/armv7/configure.ac: Likewise.
24008
24009 2015-01-02 Joseph Myers <joseph@codesourcery.com>
24010
24011 * All files with FSF copyright notices: Update copyright dates
24012 using scripts/update-copyrights.
24013 * intl/plural.c: Regenerated.
24014 * locale/programs/charmap-kw.h: Likewise.
24015 * locale/programs/locfile-kw.h: Likewise.
24016
24017 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24018
24019 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24020
24021 2014-12-31 Joseph Myers <joseph@codesourcery.com>
24022
24023 [BZ #17748]
24024 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24025 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24026 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24027 and define as weak alias of __fegetenv. Use libm_hidden_weak.
24028 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24029 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24030 define as weak alias of __fegetenv. Use libm_hidden_weak.
24031 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24032 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24033 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24034 define as weak alias of __fegetenv. Use libm_hidden_weak.
24035 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24036 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24037 define as weak alias of __fegetenv. Use libm_hidden_weak.
24038 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24039 libm_hidden_def.
24040 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24042 Likewise.
24043 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24044 define as weak alias of __fegetenv. Use libm_hidden_weak.
24045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24046 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24047 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24048 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24049 and define as weak alias of __fegetenv. Use libm_hidden_weak.
24050 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24051 __fegetenv instead of fegetenv.
24052 (libc_feholdsetround_noex_ctx): Likewise.
24053
24054 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
24055
24056 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24057 (Elf_MIPS_ABIFlags_v0): New structure.
24058 (EF_MIPS_FP64): Define.
24059 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24060 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24061 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24062 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24063 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24064 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24065 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24066 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24067 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24068 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24069 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24070 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24071 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24072 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24073 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24074 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24075 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24076 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24077 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24078 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24079 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24080 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24081 field.
24082 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24083 EF_MIPS_FP64.
24084 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24085 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24086 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24087 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24088 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24089 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24090 * sysdeps/mips/tst-abi-interlink.c: Likewise.
24091 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24092 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24093 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24094 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24095 record the current FP ABI extension.
24096 (mips-mode-switch): Define to show if kernel headers support mode
24097 switching.
24098 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24099 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24100 supported SYSV ABI version to 3.
24101 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24102 feature.
24103
24104 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24105 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24106
24107 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24108 path.
24109 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24110
24111 2014-12-31 Joseph Myers <joseph@codesourcery.com>
24112
24113 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24114 __fegetround and redefine to call __fegetround. Remove condition
24115 on [!__NO_MATH_INLINES].
24116 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24117 function.
24118 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24119 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24120 Remove macro.
24121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24122 instead of <fenv_libc.h>.
24123 (__llrintl): Call fegetround instead of __fegetround.
24124 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24125 instead of <fenv_libc.h>.
24126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24127 (__lrintl): Call fegetround instead of __fegetround.
24128 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24129 instead of <fenv_libc.h>.
24130 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24131 (__rintl): Call fegetround instead of __fegetround.
24132
24133 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24134
24135 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24136 arrays.
24137
24138 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
24139
24140 [BZ #17775]
24141 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24142 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24143 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24144
24145 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
24146
24147 * sysdeps/i386/tls-macros.h: Include <features.h>.
24148 (TLS_LE): Use non-PIC version for GCC >= 5.0.
24149 (TLS_IE): Likewise.
24150 (TLS_LD): Likewise.
24151 (TLS_GD): Likewise.
24152 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24153 define for GCC >= 5.0.
24154
24155 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
24156
24157 * math/test-fenv.c (test_single_exception, set_single_exc,
24158 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24159 feexcp_mask_test, feenable_test, fe_single_test): Add
24160 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24161 case where they are not used.
24162 * math/libm-test.inc: Likewise.
24163 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24164 unused in the absence of FP rounding/exception support.
24165 * stdio-common/tst-printf-round.c: Likewise.
24166 * stdlib/tst-strtod-round.c: Likewise.
24167 * stdlib/tst-strtod-underflow.c: Likewise.
24168
24169 2014-12-30 Joseph Myers <joseph@codesourcery.com>
24170
24171 [BZ #17723]
24172 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24173 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24174 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24175 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24176 libm_hidden_weak.
24177 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24178 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24179 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24180 libm_hidden_def.
24181 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24182 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24183 libm_hidden_weak.
24184 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24185 Likewise.
24186 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24187 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24188 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24189 libm_hidden_weak.
24190 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24191 libm_hidden_def.
24192 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24193 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24194 (__feraiseexcept): Likewise.
24195 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24196 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24197 libm_hidden_weak.
24198 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24199 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24200 libm_hidden_def.
24201 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24202 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24203 Use libm_hidden_def.
24204 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24205 libm_hidden_def.
24206 (feraiseexcept): Define as weak not strong alias. Use
24207 libm_hidden_weak.
24208 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24209 New inline function. Factored out of ...
24210 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
24211 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24212 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24213 feraiseexcept.
24214 * math/w_acos.c (__acos): Likewise.
24215 * math/w_asin.c (__asin): Likewise.
24216 * math/w_ilogb.c (__ilogb): Likewise.
24217 * math/w_j0.c (y0): Likewise.
24218 * math/w_j1.c (y1): Likewise.
24219 * math/w_jn.c (yn): Likewise.
24220 * math/w_log.c (__log): Likewise.
24221 * math/w_log10.c (__log10): Likewise.
24222 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24223 * sysdeps/aarch64/fpu/math_private.h
24224 (libc_feupdateenv_test_aarch64): Likewise.
24225 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24226 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24227 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24228 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24229 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24230 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24233 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24234 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24235
24236 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 [BZ #17732]
24239 * io/test-utime.c (main): Replace %ld with %jd and cast to
24240 intmax_t.
24241 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24242 * nptl/tst-mutex5.c: Include <stdint.h>.
24243 (do_test): Replace %ld with %jd and cast to intmax_t.
24244 * posix/tst-regex.c (run_test): Likewise.
24245 (run_test_backwards): Likewise.
24246 * rt/tst-clock.c: Include <stdint.h>.
24247 (clock_test): Replace %ld with %jd and cast to intmax_t.
24248 * rt/tst-cpuclock1.c: Include <stdint.h>.
24249 (do_test): Replace %lu with %ju and cast to uintmax_t.
24250 * rt/tst-cpuclock2.c: Include <stdint.h>.
24251 (do_test): Replace %lu with %ju and cast to uintmax_t.
24252 * rt/tst-mqueue1.c: Include <stdint.h>.
24253 (check_attrs): Replace %ld with %jd and cast to intmax_t.
24254 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24255 intmax_t.
24256 * rt/tst-mqueue4.c (do_test): Likewise.
24257 * rt/tst-timer4.c: Include <stdint.h>.
24258 (check_ts): Replace %ld with %jd and cast to intmax_t.
24259 (do_test): Likewise.
24260 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24261 and cast to intmax_t.
24262 * sysdeps/pthread/tst-timer.c (main): Likewise.
24263 * time/clocktest.c (main): Likewise.
24264 * time/tst-posixtz.c (do_test): Likewise.
24265 * timezone/tst-timezone.c (main): Likewise.
24266
24267 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
24268 H.J. Lu <hongjiu.lu@intel.com>
24269
24270 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24271 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24272 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24273 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24274 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24275 version if bit_Fast_Unaligned_Load is set.
24276 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24277 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24278 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24279 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24280 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24281 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24283 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24284 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24285 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24286 to 4.
24287 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24288 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24289 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24290 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24291
24292 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
24293
24294 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24295 instead of #if to avoid a Wundef warning.
24296 * stdlib/tst-limits.c (do_test): Likewise.
24297
24298 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24299 parallel other exception macros.
24300 (fegetenv): Convert from macro to extern inline so that it applies
24301 retroactively to inline functions already seen by the compiler.
24302 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24303
24304 * posix/Makefile (before-compile): Use $(objpfx) for
24305 posix-conf-vars-def.h.
24306
24307 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24308
24309 * posix/getconf.c (main): Use size_t for type of I.
24310 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24311 NSPEC.
24312
24313 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24314 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24315 * posix/posix-envs.def: Likewise.
24316 * sysdeps/posix/sysconf.c: Likewise.
24317 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24318 (specs): Remove array.
24319 * scripts/gen-posix-conf-vars.awk: Support generation of specs
24320 array.
24321
24322 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24323 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24324 (__sysconf): Use CONF_IS_* macros.
24325
24326 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24327 ($(objpfx)posix-conf-vars-def.h): New target.
24328 * posix/posix-conf-vars.list: New file.
24329 * posix/posix-conf-vars.h: New file.
24330 * posix/confstr.c: Include posix-conf-vars.h.
24331 (confstr): Use CONF_IS_* macros.
24332 * posix/posix-envs.def: Include posix-conf-vars.h. Use
24333 CONF_IS_* macros.
24334 * scripts/gen-posix-conf-vars.awk: New file.
24335
24336 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
24337
24338 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24339 fegetround): Add no-op macros to avoid linknamespace issues.
24340
24341 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24342 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24343
24344 * sysdeps/unix/sysv/linux/tile/sysdep.h
24345 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24346 assembly-specific section to avoid a redefinition warning.
24347
24348 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24349 long before casting to pointer to avoid a cast warning.
24350
24351 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
24352
24353 * sysdeps/tile/tilegx/Implies: New file.
24354
24355 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
24356
24357 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24358
24359 2014-12-23 Florian Weimer <fweimer@redhat.com>
24360
24361 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24362
24363 2014-12-22 Joseph Myers <joseph@codesourcery.com>
24364
24365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24366 not define.
24367 * sysdeps/unix/sysv/linux/utimes.c: Do not include
24368 <kernel-features.h>.
24369 (__utimes) [__NR_utimes]: Make code unconditional.
24370 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24371 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24372 (__ASSUME_UTIMES): Do not undefine.
24373 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24374 (__ASSUME_UTIMES): Likewise.
24375 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24376 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24377 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24378 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24379
24380 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
24381
24382 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24383
24384 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
24385
24386 [BZ #17747]
24387 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24388 alias to weak alias for j0l, y0l.
24389 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24390 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24391
24392 [BZ #17746]
24393 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24394 conversion.
24395
24396 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
24397
24398 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24399 to zero if not already defined.
24400
24401 2014-12-22 Joseph Myers <joseph@codesourcery.com>
24402
24403 [BZ #17724]
24404 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24405 (__kernel_standard_f): Remove. Moved to k_standardf.c.
24406 (__kernel_standard_l): Remove. Moved to k_standardl.c with
24407 (char *) casts added.
24408 * sysdeps/ieee754/k_standardf.c: New file.
24409 * sysdeps/ieee754/k_standardl.c: Likewise.
24410 * math/Makefile (libm-support): Remove k_standard.
24411 (libm-calls): Add k_standard.
24412
24413 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24414
24415 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24416 Optimize to avoid an unnecessary FPCR read.
24417
24418 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24419
24420 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24421 Optimize to reduce FPCR/FPSR accesses.
24422
24423 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24424
24425 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24426 Call libc_fetestexcept_aarch64.
24427
24428 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24429
24430 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24431 Call libc_fesetround_aarch64.
24432
24433 2014-12-22 Joseph Myers <joseph@codesourcery.com>
24434
24435 [BZ #17733]
24436 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24437 (__bind): Do not define as weak alias.
24438 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24439 define.
24440 (__getsockname): Do not define as weak alias.
24441
24442 2014-12-22 Will Newton <will.newton@linaro.org>
24443
24444 * manual/install.texi: Document that we require bison 2.7
24445 or above.
24446 * INSTALL: Regenerate.
24447 * configure.ac: Use AC_CHECK_PROG_VER instead of
24448 AC_PATH_PROG when checking for bison and check for
24449 version 2.7 or above.
24450 * configure: Regenerate.
24451
24452 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
24453
24454 [BZ #17745]
24455 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24456 * sysdeps/tile/ffsll.c (ffsll): To here.
24457
24458 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24459
24460 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
24461
24462 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24463 if not defined.
24464 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24465 definition.
24466 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24467 hidden ___tls_get_addr.
24468 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24469 hidden __tls_get_addr.
24470 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24471 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24472 Likewise.
24473
24474 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
24475
24476 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24477 _dl_init call.
24478
24479 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
24480
24481 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24482 from "call _dl_init@PLT".
24483 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24484
24485 2014-12-21 Anders Kaseorg <andersk@mit.edu>
24486
24487 * manual/search.texi: (Array Sort Function): Clarify stable sorting
24488 guarantees.
24489
24490 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
24491
24492 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24493
24494 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
24495
24496 [BZ #17744]
24497 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24498 strnlen.
24499
24500 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
24501
24502 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24503 of multu on MIPSr6.
24504 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24505 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24506 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24507 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24508 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24509
24510 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
24511
24512 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24513 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24514 (PTR_SUBU): Use subu for mips32r6/mips64r6.
24515 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24516 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24517 mips32r6/mips64r6.
24518 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24519
24520 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
24521
24522 * string/strncat.c (STRNCAT): Simplify implementation.
24523
24524 2014-12-19 David S. Miller <davem@davemloft.net>
24525
24526 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24527 access the quad as both a long double and as a series of 4 words.
24528
24529 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24530 link_map->l_info array access.
24531
24532 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
24533
24534 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24535
24536 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24537 * math/atest-exp2.c (TIMEOUT): Likewise.
24538 * math/atest-sincos.c (TIMEOUT): Likewise.
24539
24540 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
24541
24542 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24543 -Wno-error with -fno-builtin-lround.
24544
24545 2014-12-19 Torvald Riegel <triegel@redhat.com>
24546
24547 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24548 Contains futex constants and functions moved over from ...
24549 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
24550 <lowlevellock-futex.h>.
24551 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24552 (lll_timedwait_tid): Add comments and parentheses around macro
24553 arguments.
24554
24555 2014-12-19 Torvald Riegel <triegel@redhat.com>
24556
24557 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24558 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
24559 (__lll_private_flag): Remove.
24560 (lll_futex_wait): Likewise.
24561 (lll_futex_timed_wait): Likewise.
24562 (lll_futex_wake): Likewise.
24563 (lll_futex_requeue): Likewise.
24564 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24565 (__lll_timedwait_tid): Spell out argument names.
24566 (lll_timedwait_tid): Add comments and parentheses around macro
24567 arguments.
24568 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24569 LLL_SHARED and LLL_PRIVATE usable from assembly code.
24570
24571 2014-12-19 Torvald Riegel <triegel@redhat.com>
24572
24573 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24574 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24575 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24576 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24577 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24578 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24579 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24580 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24581 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24582 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24583 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24585 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24586 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24587 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24588 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24589 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24590 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24591 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24592
24593 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
24594
24595 * sysdeps/x86_64/x32/Makefile: New file.
24596
24597 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
24598
24599 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24600 1L with (mp_limb_t) 1.
24601
24602 2014-12-17 Roland McGrath <roland@hack.frob.com>
24603
24604 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24605 * nptl/libc_pthread_init.c: ... here.
24606 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24607 * nptl/register-atfork.c: ... here.
24608
24609 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24610 Use pthread_sigmask rather than INTERNAL_SYSCALL.
24611 Use assert_perror to check its return value.
24612 (__gai_create_helper_thread): Likewise.
24613
24614 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24615
24616 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24617
24618 2014-12-17 Joseph Myers <joseph@codesourcery.com>
24619
24620 [BZ #17725]
24621 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24622 __profil_counter.
24623 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24624 Likewise.
24625 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24626 Likewise.
24627 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24628 Likewise.
24629 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24630 (profil_counter): Likewise.
24631 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24632 (profil_counter): Likewise.
24633 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24634 Likewise.
24635 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24636 Likewise.
24637 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24638 (profil_counter): Likewise.
24639 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24640 Likewise.
24641 [!__profil_counter] (profil_counter): Define as weak alias of
24642 __profil_counter.
24643 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24644 (profil_counter): Rename to __profil_counter.
24645 [!__profil_counter] (profil_counter): Define as weak alias of
24646 __profil_counter.
24647 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24648 (profil_counter): Rename to __profil_counter.
24649 [!__profil_counter] (profil_counter): Define as weak alias of
24650 __profil_counter.
24651 * sysdeps/posix/profil.c: Update comment referring to
24652 profil_counter.
24653 (__profil): Use __profil_counter instead of profil_counter.
24654 * sysdeps/posix/sprofil.c (profil_counter): Rename to
24655 __profil_counter. Use __profil_counter_ushort and
24656 __profil_counter_uint in definitions.
24657 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24658 instead of profil_counter_uint and profil_counter_ushort.
24659
24660 [BZ #17722]
24661 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24662 define as weak alias of __inet_makeaddr.
24663 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24664 as weak alias of __inet_addr.
24665 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24666 as weak alias of __inet_pton. Use libc_hidden_weak.
24667 * include/arpa/inet.h (__inet_pton): Declare. Use
24668 libc_hidden_proto.
24669 (inet_makeaddr): Don't use libc_hidden_proto.
24670 (__inet_makeaddr): Declare. Use libc_hidden_proto.
24671 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24672 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
24673 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24674 Remove variable.
24675 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24676 (test-xfail-POSIX/time.h/linknamespace): Likewise.
24677
24678 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
24679
24680 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24681
24682 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
24683
24684 * stdio-common/bug-vfprintf-nargs.c (do_test):
24685 Cast value to intptr_t to avoid format warning
24686 for usage with PRIdPTR printing macro.
24687
24688 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
24689
24690 * libio/tst-widetext.c (do_test):
24691 Use format type %td instead of %Zd for ptrdiff_t
24692 in order to avoid format warning.
24693
24694 2014-12-17 Andreas Schwab <schwab@suse.de>
24695
24696 * nscd/mem.c (gc): Add size_t cast to match printf format.
24697
24698 2014-12-16 Roland McGrath <roland@hack.frob.com>
24699
24700 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24701 (init): Apply PTR_MANGLE to pointers before storing them.
24702 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24703 before using them.
24704
24705 2014-12-16 Joseph Myers <joseph@codesourcery.com>
24706
24707 [BZ #17719]
24708 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24709 define as weak alias of __memrchr.
24710 (__memrchr): Do not define as strong alias of memrchr.
24711 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24712 Remove variable.
24713 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24714 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24715 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24716
24717 [BZ #17717]
24718 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24719 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
24720 (if_indextoname): Rename to __if_indextoname and define as weak
24721 alias of __if_indextoname. Use libc_hidden_weak.
24722 (if_freenameindex): Rename to __if_freenameindex and define as
24723 weak alias of __if_freenameindex.
24724 (if_nameindex): Rename to __if_nameindex and define as weak alias
24725 of __if_nameindex.
24726 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24727 __if_nametoindex and define as weak alias of __if_nametoindex.
24728 Use libc_hidden_weak.
24729 (if_freenameindex): Rename to __if_freenameindex and define as
24730 weak alias of __if_freenameindex.
24731 (if_nameindex): Rename to __if_nameindex and define as weak alias
24732 of __if_nameindex.
24733 (if_indextoname): Rename to __if_indextoname and define as weak
24734 alias of __if_indextoname. Use libc_hidden_weak.
24735 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24736 __if_nametoindex and define as weak alias of __if_nametoindex.
24737 Use libc_hidden_weak.
24738 (if_freenameindex): Rename to __if_freenameindex and define as
24739 weak alias of __if_freenameindex. Use libc_hidden_weak.
24740 (if_nameindex_netlink): Use __if_freenameindex instead of
24741 if_freenameindex.
24742 (if_nameindex): Rename to __if_nameindex and define as weak alias
24743 of __if_nameindex. Use libc_hidden_weak.
24744 (if_indextoname): Rename to __if_indextoname and define as weak
24745 alias of __if_indextoname. Use libc_hidden_weak.
24746 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24747 libc_hidden_proto.
24748 [!_ISOMAC] (__if_freenameindex): Likewise.
24749 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24750 if_nametoindex.
24751 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24752 variable.
24753 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24754 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24755 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24756 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24757 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24758 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24759 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24760
24761 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24762 Remove variable.
24763 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24764 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24765
24766 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24767
24768 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24769 subscript above bounds'
24770
24771 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24772 bounds.
24773
24774 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
24775
24776 * libio/tst-fopenloc.c: Use test-skeleton.c.
24777
24778 * stdlib/tst-bsearch.c: Use test-skeleton.c.
24779 (entry): Rename to ITEM.
24780 (do_test, comp): Adjust.
24781
24782 * stdio-common/tst-fseek.c: Use test-skeleton.c.
24783
24784 2014-12-16 Torvald Riegel <triegel@redhat.com>
24785
24786 * string/tester.c: Include <libc-internal.h>.
24787 (test_memset): Ignore -Wmemset-transposed-args.
24788
24789 2014-12-16 Torvald Riegel <triegel@redhat.com>
24790
24791 * misc/tst-mntent2.c (do_test): Fix warning.
24792
24793 2014-12-16 Torvald Riegel <triegel@redhat.com>
24794
24795 * elf/tst-unique4lib.cc(a): Mark as used.
24796
24797 2014-12-16 Florian Weimer <fweimer@redhat.com>
24798
24799 [BZ #17630]
24800 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24801 names.
24802
24803 2014-12-16 Allan McRae <allan@archlinux.org>
24804
24805 * stdio-common/Makefile (tests): Re-add bug26.
24806
24807 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
24808
24809 [BZ #17657]
24810 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24811 static array.
24812
24813 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
24814
24815 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24816 (__lll_lock_wait): Likewise.
24817 (__lll_timedlock_wait): Likewise.
24818 (__lll_timedwait_tid): Likewise.
24819 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24820 (__lll_robust_timedlock_wait): Likewise.
24821 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24822 (lll_cond_trylock): Likewise.
24823 (__lll_lock): Likewise.
24824 (__lll_robust_lock): Likewise.
24825 (__lll_cond_lock): Likewise.
24826 (lll_robust_cond_lock): Likewise.
24827 (__lll_timedlock): Likewise.
24828 (__lll_robust_timedlock): Likewise.
24829 (__lll_unlock): Likewise.
24830 (__lll_robust_unlock): Likewise.
24831 (lll_wait_tid): Likewise.
24832 (lll_timedwait_tid): Likewise.
24833
24834 2014-12-15 Torvald Riegel <triegel@redhat.com>
24835
24836 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24837
24838 2014-12-15 Torvald Riegel <triegel@redhat.com>
24839
24840 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24841
24842 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
24843
24844 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24845 * stdio-common/tst-sprintf.c: Likewise.
24846
24847 2014-12-15 Torvald Riegel <triegel@redhat.com>
24848
24849 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24850
24851 2014-12-15 Jeff Law <law@redhat.com>
24852
24853 [BZ #16617]
24854 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24855 on the heap. (CVE-2012-3406)
24856 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24857 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
24858 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24859
24860 2014-12-15 Will Newton <will.newton@linaro.org>
24861
24862 * manual/install.texi: Bump required version of texinfo
24863 to 4.7 from 4.5.
24864 * INSTALL: Regenerated.
24865 * configure.ac: Check for makeinfo version 4.7 and above.
24866 * configure: Regenerated.
24867
24868 2014-12-12 Roland McGrath <roland@hack.frob.com>
24869
24870 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24871 PREFIX, string constant to insert between directory and name.
24872 * sysdeps/posix/shm_open.c: Update caller.
24873 * sysdeps/posix/shm_unlink.c: Likewise.
24874 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24875 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24876 (SEM_SHM_PREFIX): New macro.
24877 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24878 [$(have-thread-library) = no].
24879 * nptl/Makefile (libpthread-routines): Add shm-directory.
24880 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24881 * sysdeps/nptl/shm-directory.h: New file.
24882 * sysdeps/posix/shm-directory.c
24883 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24884 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24885 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24886 INTERNAL_SYSCALL.
24887 (__where_is_shmfs): Function removed.
24888 (mountpoint, defaultmount, defaultdir, __namedsem_once):
24889 Variables removed.
24890 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24891 Use SHM_GET_NAME.
24892 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
24893
24894 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24895 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24896 unconditional for use inside libpthread.
24897 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24898
24899 2014-12-12 Roland McGrath <roland@hack.frob.com>
24900
24901 * nptl/pthread_getaffinity.c: New file.
24902 * nptl/pthread_setaffinity.c: New file.
24903 * nptl/pthread_getname.c: New file.
24904 * nptl/pthread_setname.c: New file.
24905
24906 * nptl/pthread_create.c (START_THREAD_DEFN)
24907 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24908
24909 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
24910 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24911
24912 * resolv/res_send.c (send_vc): Disable warning resplen may
24913 be used uninitialized.
24914
24915 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
24916
24917 * nptl/tst-mutex6.c
24918 (ATTR_NULL): New define checks ATTR against NULL.
24919 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24920 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24921
24922 2014-12-11 James Lemke <jwlemke@codesourcery.com>
24923
24924 [BZ #17581]
24925 * malloc/hooks.c
24926 (mem2mem_check): Revert my previous change.
24927 (malloc_check_get_size): Revert my previous change.
24928 (mem2chunk_check): Revert my previous change.
24929
24930 2014-12-11 Roland McGrath <roland@hack.frob.com>
24931
24932 * sysdeps/posix/shm-directory.c: New file.
24933 * sysdeps/posix/shm-directory.h: New file.
24934 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24935 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24936 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
24937 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24938 Transmute EPERM to EACCES.
24939 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24940 from ...
24941 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
24942 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24943
24944 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24945
24946 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24947 pointer and cast to uintptr_t.
24948 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24949 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24950 Add cast to avoid warning.
24951 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24952
24953 2014-12-11 Joseph Myers <joseph@codesourcery.com>
24954
24955 * nptl/semaphore.h: Move to ...
24956 * sysdeps/pthread/semaphore.h: ... here.
24957 * Makefile (installed-headers): Change nptl/semaphore.h to
24958 sysdeps/pthread/semaphore.h.
24959
24960 2014-12-11 Roland McGrath <roland@hack.frob.com>
24961
24962 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24963 generated error format strings.
24964
24965 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24966 -Wformat-extra-args warnings for scanf formats.
24967 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24968 test of zero-length format (duh).
24969 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24970 corner-case scanf format test.
24971 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24972 generated fprintf format string.
24973 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24974 corner-case sprintf format tests.
24975 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24976 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24977 -Wformat-extra-args warnings throughout.
24978 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24979 (CFLAGS-scanf4.c): Likewise.
24980 (CFLAGS-scanf7.c): Likewise.
24981 (CFLAGS-tst-sprintf.c): Likewise.
24982 (CFLAGS-tst-printf.c): Likewise.
24983 (CFLAGS-tst-printfsz.c): Likewise.
24984
24985 2014-12-11 Joseph Myers <joseph@codesourcery.com>
24986
24987 * include/cpio.h: New file.
24988 * include/fmtmsg.h: Likewise.
24989
24990 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
24991 corresponding format argument to size_t.
24992 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
24993 arguments.
24994 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
24995 corresponding format argument to size_t.
24996 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
24997 arguments.
24998 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
24999 corresponding format argument to size_t.
25000 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25001 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25002 (CFLAGS-tst-mbswcs2.c): Likewise.
25003 (CFLAGS-tst-mbswcs3.c): Likewise.
25004 (CFLAGS-tst-mbswcs4.c): Likewise.
25005 (CFLAGS-tst-mbswcs5.c): Likewise.
25006 (CFLAGS-tst-trans.c): Likewise.
25007
25008 2014-12-11 Roland McGrath <roland@hack.frob.com>
25009
25010 * posix/regexbug1.c (main): Use "%s" format with regerror results,
25011 rather than assuming they won't contain any '%'s.
25012
25013 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
25014
25015 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25016 inhibit_loop_to_libcall to avoid recursive calls.
25017 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25018 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25019
25020 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
25021
25022 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25023 prototype.
25024
25025 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
25026
25027 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25028 integer value instead of boolean.
25029
25030 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
25031
25032 * malloc/malloc.c: Fix powerof2 check.
25033
25034 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25035
25036 * locale/programs/locfile.h (maybe_swap_uint32):
25037 Remove inline and add unused attribute.
25038
25039 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25040
25041 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25042 Truncating assembler expression to a .long expression.
25043
25044 2014-12-11 Andreas Schwab <schwab@suse.de>
25045
25046 * elf/rtld.c (struct map_args): Constify str member.
25047 (do_preload): Constify fname argument.
25048
25049 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25050
25051 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25052 constants definition.
25053
25054 2014-12-11 Andreas Schwab <schwab@suse.de>
25055
25056 [BZ #16657]
25057 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25058 FORCE_ELISION instead of DO_ELISION.
25059 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25060 Remove.
25061 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25062 Likewise.
25063
25064 * iconvdata/gconv-modules: Remove duplicate entry.
25065
25066 2014-12-11 Will Newton <will.newton@linaro.org>
25067
25068 Merge gettext 0.19.3 into intl/.
25069
25070 This involves a number of cosmetic changes to comments
25071 and ANSI function definitions and prototypes throughout
25072 all the files. The gettext copyright header is used but
25073 with the date ranges taken from the glibc copy.
25074
25075 * NEWS: Add gettext merge to 2.21.
25076 * intl/bindtextdom.c: Switch to gettext copyright.
25077 Use ANSI definitions and prototypes.
25078 Use gl_* locking primitives rather than __libc_* ones.
25079 Use __builtin_expect rather than __glibc_likely/unlikely.
25080 * intl/dcgettext.c: Switch to gettext copyright.
25081 Use ANSI definitions and prototypes.
25082 * intl/dcigettext.c: Switch to gettext copyright.
25083 Use ANSI definitions and prototypes.
25084 (INTDIV0_RAISES_SIGFPE): New define.
25085 Use gl_* locking primitives rather than __libc_* ones.
25086 Include eval-plural.h instead of plural-eval.c.
25087 Use __builtin_expect rather than __glibc_likely/unlikely.
25088 * intl/dcngettext.c: Switch to gettext copyright.
25089 Use ANSI definitions and prototypes.
25090 * intl/dgettext.c: Likewise.
25091 * intl/dngettext.c: Likewise.
25092 * intl/plural-eval.c: Renamed to...
25093 * intl/eval-plural.h: ...this.
25094 * intl/explodename.c: Switch to gettext copyright.
25095 Use ANSI definitions and prototypes.
25096 (_nl_explode_name): Use strchr instead of __rawmemchr.
25097 * intl/finddomain.c: Switch to gettext copyright.
25098 Use ANSI definitions and prototypes.
25099 Use gl_* locking primitives rather than __libc_* ones.
25100 (_nl_find_domain): Use malloc rather than alloca for
25101 allocation of temporary locale name.
25102 * intl/gettext.c: Switch to gettext copyright.
25103 Use ANSI definitions and prototypes.
25104 * intl/gettextP.h: Switch to gettext copyright.
25105 Use ANSI definitions and prototypes.
25106 Use gl_* locking primitives rather than __libc_* ones.
25107 * intl/gmo.h: Switch to gettext copyright.
25108 (struct sysdep_string): Move struct segment_pair outside of
25109 struct definition.
25110 * intl/hash-string.c: Use ANSI definitions and prototypes.
25111 * intl/hash-string.h: Switch to gettext copyright.
25112 Use ANSI definitions and prototypes.
25113 * intl/l10nflist.c: Switch to gettext copyright.
25114 Use ANSI definitions and prototypes.
25115 (_nl_normalize_codeset): Avoid integer overflow.
25116 * intl/loadinfo.h: Switch to gettext copyright.
25117 Use ANSI definitions and prototypes.
25118 (LIBINTL_DLL_EXPORTED): New define.
25119 (PATH_SEPARATOR): New define.
25120 * intl/loadmsgcat.c: Switch to gettext copyright.
25121 * intl/localealias.c: Switch to gettext copyright.
25122 Use ANSI definitions and prototypes.
25123 (_nl_expand_alias): Use PATH_SEPARATOR.
25124 * intl/ngettext.c: Switch to gettext copyright.
25125 Use ANSI definitions and prototypes.
25126 * intl/plural-exp.c: Likewise.
25127 * intl/plural-exp.h: Switch to gettext copyright.
25128 Use ANSI definitions and prototypes.
25129 (struct expression): Move definition of enum operator outside
25130 of struct definition.
25131 * intl/plural.c: Regenerate.
25132 * intl/plural.y: Switch to gettext copyright.
25133 Use ANSI definitions and prototypes.
25134 Port to bison 3.0.
25135 * intl/textdomain.c: Switch to gettext copyright.
25136 Use ANSI definitions and prototypes.
25137 Use gl_* locking primitives rather than __libc_* ones.
25138
25139 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
25140
25141 * debug/warning-nop.c: Add used atrribute.
25142
25143 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25144
25145 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25146
25147 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25148 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25149 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25150
25151 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25152 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25153
25154 [BZ #17634]
25155 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25156 Undefine after defining function. Define as weak alias of
25157 __wcschr. Use libc_hidden_weak.
25158 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
25159 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25160 (libc_hidden_def): Also define __GI___wcschr alias.
25161 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25162 __wcschr and define as weak alias of __wcschr.
25163 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25164 __wcschr.
25165 [!WCSCHR] (DEFAULT_WCSCHR): Define.
25166 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25167 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
25168 libc_hidden_weak. Do not use libc_hidden_def.
25169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25170 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25171 __GI___wcschr alias.
25172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25173 [IS_IN (libc)] (wcschr): Define as macro expanding to
25174 __redirect_wcschr.
25175 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25176 [IS_IN (libc)] (__wcschr_power6): Likewise.
25177 [IS_IN (libc)] (__wcschr_power7): Likewise.
25178 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
25179 instead of wcschr.
25180 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25181 __libc_wcschr.
25182 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25183 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25184 __wcschr and define as weak alias of __wcschr. Use
25185 libc_hidden_builtin_def.
25186 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25187 as weak alias of __wcschr. Use libc_hidden_weak.
25188 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25189 wcschr.
25190 * time/era.c (_nl_init_era_entries): Likewise.
25191 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25192 variable.
25193 (test-xfail-XPG3/time.h/linknamespace): Likewise.
25194 (test-xfail-XPG4/time.h/linknamespace): Likewise.
25195
25196 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25197
25198 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25199 format for long int variable.
25200
25201 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
25202
25203 [BZ #10672]
25204 * manual/search.texi: (Array Sort Function): Remove claim how to make
25205 qsort stable.
25206
25207 2014-12-10 Andreas Schwab <schwab@suse.de>
25208
25209 [BZ #12847]
25210 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25211 user-controlled locks.
25212
25213 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
25214
25215 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25216 register.
25217
25218 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25219
25220 * configure.ac (--disable-werror): New configure option.
25221 (enable_werror): New AC_SUBST.
25222 * configure: Regenerated.
25223 * config.make.in (enable-werror): New variable.
25224 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25225 -Wno-error=undef.
25226 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25227 * manual/install.texi (Configuring and compiling): Document
25228 --disable-werror.
25229 * INSTALL: Regenerated.
25230 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25231 (CFLAGS-tst-chk2.c): Likewise.
25232 (CFLAGS-tst-chk3.c): Likewise.
25233 (CFLAGS-tst-chk4.cc): Likewise.
25234 (CFLAGS-tst-chk5.cc): Likewise.
25235 (CFLAGS-tst-chk6.cc): Likewise.
25236 (CFLAGS-tst-lfschk1.c): Likewise.
25237 (CFLAGS-tst-lfschk2.c): Likewise.
25238 (CFLAGS-tst-lfschk3.c): Likewise.
25239 (CFLAGS-tst-lfschk4.cc): Likewise.
25240 (CFLAGS-tst-lfschk5.cc): Likewise.
25241 (CFLAGS-tst-lfschk6.cc): Likewise.
25242
25243 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25244 (main): Disable -Wdeprecated-declarations around calls to
25245 register_printf_function.
25246
25247 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25248 (do_test): Disable -Wdiv-by-zero around some calls to
25249 fwrite_unlocked and fread_unlocked.
25250
25251 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25252 (DIAG_POP_NEEDS_COMMENT): Likewise.
25253 (_DIAG_STR1): Likewise.
25254 (_DIAG_STR): Likewise.
25255 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25256 * stdio-common/bug21.c: Include <libc-internal.h>.
25257 (do_test): Disable -Wformat around call to sscanf.
25258 * stdio-common/scanf14.c: Include <libc-internal.h>.
25259 (main): Disable -Wformat around some calls to scanf functions.
25260
25261 2014-12-09 Torvald Riegel <triegel@redhat.com>
25262
25263 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25264
25265 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25266
25267 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25268 stack variable alignment.
25269
25270 2014-12-06 Joseph Myers <joseph@codesourcery.com>
25271
25272 [BZ #17682]
25273 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25274 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25275 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25276 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25277 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25278 __getrlimit instead of getrlimit.
25279 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25280 __gettimeofday instead of gettimeofday.
25281 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25282 Likewise.
25283 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25284 Likewise.
25285 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25286 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25287 Remove variable.
25288 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25289 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25290
25291 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25292
25293 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25294 for wide-character tests.
25295
25296 2014-12-04 Roland McGrath <roland@hack.frob.com>
25297
25298 * io/openat64.c: #include <libc-internal.h>
25299 (__openat64): Prototypify. Use ignore_value on MODE.
25300 * io/openat.c: Likewise.
25301 * misc/reboot.c: #include <libc-internal.h>
25302 (reboot): Prototypify. Use ignore_value on HOWTO.
25303 * misc/ptrace.c: #include <libc-internal.h>
25304 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
25305
25306 2014-12-04 Joseph Myers <joseph@codesourcery.com>
25307
25308 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25309 XPG4, UNIX98 and XOPEN2K.
25310 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25311 Remove variable.
25312 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25313
25314 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25315
25316 * libio/fileops.c: Use ISO C style for function definitions.
25317 * libio/iofopen.c: Likewise.
25318 * libio/wfileops.c: Likewise.
25319
25320 [BZ #17653]
25321 * libio/fileops.c (_IO_new_file_underflow): Unset cached
25322 offset on EOF.
25323 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25324 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25325 (fgets_func): Function pointer to fgets and fgetws.
25326 (do_ftell_test): Add test to verify ftell value after read
25327 EOF.
25328 (do_test): Set fgets_func.
25329
25330 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25331 O_TRUNC flag for w and w+ modes.
25332 (do_rewind_test): Likewise.
25333 (do_ftell_test): Likewise.
25334 (do_write_test): Likewise.
25335
25336 [BZ #17647]
25337 * libio/fileops.c (do_ftell): Seek only when there are
25338 unflushed writes.
25339 * libio/wfileops.c (do_ftell_wide): Likewise.
25340 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25341 test case.
25342 (do_one_test): Call it.
25343
25344 2014-12-03 Joseph Myers <joseph@codesourcery.com>
25345
25346 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25347 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25348 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25349 Remove variable.
25350 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25351 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25352 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25353
25354 2014-12-02 Joseph Myers <joseph@codesourcery.com>
25355
25356 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25357 Remove variable.
25358 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25359
25360 [BZ #17668]
25361 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25362 as weak alias of __getifaddrs. Use libc_hidden_weak.
25363 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25364 __freeifaddrs. Use libc_hidden_weak.
25365 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25366 define as weak alias of __getifaddrs. Use libc_hidden_weak.
25367 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25368 __freeifaddrs. Use libc_hidden_weak.
25369 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25370 __getifaddrs and define as weak alias of __getifaddrs. Use
25371 libc_hidden_weak.
25372 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25373 __freeifaddrs. Use libc_hidden_weak.
25374 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25375 Remove variable.
25376 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25377 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25378
25379 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
25380
25381 [BZ #17601]
25382 * sysdeps/mips/start.S (__start): Use indirect jump to call
25383 __libc_start_main.
25384
25385 2014-12-02 Joseph Myers <joseph@codesourcery.com>
25386
25387 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25388
25389 * nptl/tst-mutex1.c: Include <stdbool.h>.
25390 [!ATTR] (ATTR_NULL): New macro.
25391 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25392 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25393 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25394
25395 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25396 to char *.
25397
25398 [BZ #17665]
25399 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25400 Change conditional to [__USE_MISC].
25401
25402 [BZ #17664]
25403 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25404 fgets_unlocked.
25405 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25406 __fgets_unlocked.
25407 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25408 fgets_unlocked.
25409 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25410 Remove variable.
25411 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25412 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25413 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25414 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25415 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25416 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25417 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25418 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25419 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25420
25421 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25422
25423 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25424
25425 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25426 Remove strpbrk objects.
25427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25428 (__libc_ifunc_impl_list): Remove strpbrk implementation.
25429 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25430 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25431 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25432 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25433
25434 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25435 Remove strcspn objects.
25436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25437 (__libc_ifunc_impl_list): Remove strcspn implementation.
25438 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25439 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25440 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25441 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25442
25443 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25444 Remove strspn objetcs.
25445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25446 (__libc_ifunc_impl_list): Remove strspn implementation.
25447 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25448 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25449 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25450 * sysdeps/powerpc/powerpc64/strspn.S: New file.
25451
25452 2014-12-01 James Lemke <jwlemke@codesourcery.com>
25453
25454 [BZ #17581]
25455 * malloc/hooks.c
25456 (mem2mem_check): Add a terminator to the chain of checking blocks.
25457 (malloc_check_get_size): Use it here.
25458 (mem2chunk_check): Ditto.
25459
25460 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25461
25462 * sysdeps/powerpc/powerpc64/strtok.S: New file.
25463 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25464
25465 2014-11-29 Carlos O'Donell <carlos@redhat.com>
25466
25467 * bits/ioctl-types.h: Indent preprocessor directives correctly.
25468
25469 * nptl/nptl-init.c: Include libc-internal.h.
25470 (__pthread_initialize_minimal_internal): Use ROUND_UP.
25471
25472 * elf/ldconfig.c (search_dir): Expand comment.
25473
25474 2014-11-29 Joseph Myers <joseph@codesourcery.com>
25475
25476 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25477 variable.
25478 (linknamespace-symlist-stdlibs-tests): Likewise.
25479 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25480 instead of $(objpfx)symlist-stdlibs.
25481 (linknamespace-libs-isoc): New variable.
25482 (linknamespace-libs): Use $(linknamespace-libs-isoc).
25483 (linknamespace-libs-ISO): New variable.
25484 (linknamespace-libs-ISO99): Likewise.
25485 (linknamespace-libs-ISO11): Likewise.
25486 (linknamespace-libs-XPG3): Likewise.
25487 (linknamespace-libs-XPG4): Likewise.
25488 (linknamespace-libs-POSIX): Likewise.
25489 (linknamespace-libs-UNIX98): Likewise.
25490 (linknamespace-libs-XOPEN2K): Likewise.
25491 (linknamespace-libs-POSIX2008): Likewise.
25492 (linknamespace-libs-XOPEN2K8): Likewise.
25493 ($(objpfx)symlist-stdlibs): Replace by
25494 $(linknamespace-symlist-stdlibs-tests). Use
25495 $(linknamespace-libs-$*) as set of libraries.
25496 ($(linknamespace-header-tests)): Update dependencies. Use
25497 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25498 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25499 * conform/linknamespace.pl: Remove comment about considering
25500 definitions of symbols from irrelevant libraries.
25501
25502 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
25503
25504 [BZ #13862]
25505 * elf/dl-tls.c: Include <atomic.h>.
25506 (oom): Remove #ifdef SHARED/#endif.
25507 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25508 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
25509 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25510 big enough.
25511 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25512 * nptl/Makefile (tests): Add tst-stack4.
25513 (modules-names): Add tst-stack4mod.
25514 ($(objpfx)tst-stack4): New.
25515 (tst-stack4mod.sos): Likewise.
25516 ($(objpfx)tst-stack4.out): Likewise.
25517 ($(tst-stack4mod.sos)): Likewise.
25518 (clean): Likewise.
25519 * nptl/tst-stack4.c: New file.
25520 * nptl/tst-stack4mod.c: Likewise.
25521
25522 2014-11-27 J. Brown <jb999@gmx.de>
25523
25524 * sysdeps/x86/bits/string.h: Add recent CPUs.
25525
25526 2014-11-27 Joseph Myers <joseph@codesourcery.com>
25527
25528 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25529 sigblock.
25530
25531 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25532 feof.
25533
25534 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25535 variable.
25536
25537 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
25538
25539 * nscd/connections.c: Include libc-internal.h because of macro
25540 usage ignore_value.
25541
25542 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25543
25544 * string/bits/string3.h (__warn_memset_zero_len): Don't
25545 declare for gcc newer than 5.0.
25546 (memset): Don't test for zero-length __LEN for gcc newer than
25547 5.0.
25548
25549 2014-11-27 Joseph Myers <joseph@codesourcery.com>
25550
25551 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25552 size_t for %zu format.
25553
25554 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25555 difference, not %ju.
25556
25557 2014-11-26 Joseph Myers <joseph@codesourcery.com>
25558
25559 * include/libc-internal.h (ignore_value): New macro.
25560 * nscd/connections.c (restart): Wrap calls to setuid and setgid
25561 with ignore_value.
25562
25563 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25564 definition.
25565
25566 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25567 pthread_cleanup_push to void *.
25568
25569 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25570 Undefine.
25571
25572 [BZ #16619]
25573 [BZ #16740]
25574 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25575 instead of 1L << 52.
25576
25577 * libio/bug-rewind.c (do_test): Check fwscanf return values.
25578 * libio/bug-rewind2.c (do_test): Likewise.
25579
25580 * debug/test-stpcpy_chk-ifunc.c: Remove file.
25581 * debug/test-strcpy_chk-ifunc.c: Likewise.
25582 * wcsmbs/test-wcschr-ifunc.c: Likewise.
25583 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25584 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25585 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25586 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25587 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25588 * Rules [$(multi-arch) = no] (tests): Do not filter out
25589 $(tests-ifunc).
25590 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25591 * debug/Makefile (tests-ifunc): Remove variable.
25592 (tests): Do not add $(tests-ifunc).
25593 * wcsmbs/Makefile (tests-ifunc): Remove variable.
25594 (tests): Do not add $(tests-ifunc).
25595 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25596 [TEST_IFUNC]: Remove conditionals.
25597 * string/test-string.h (TEST_IFUNC): Remove macro.
25598 [TEST_IFUNC]: Remove conditionals.
25599
25600 * string/test-strchr.c [!WIDE] (L): New macro.
25601 [WIDE] (L): Likewise.
25602 (check1): Use CHAR instead of char. Use L on string and character
25603 constants.
25604
25605 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
25606
25607 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25608 tests.
25609 * sysdeps/powerpc/bits/atomic.h
25610 (__arch_atomic_exchange_and_add_32_acq): Add definition.
25611 (__arch_atomic_exchange_and_add_32_rel): Likewise.
25612 (atomic_exchange_and_add_acq): Likewise.
25613 (atomic_exchange_and_add_rel): Likewise.
25614 * sysdeps/powerpc/powerpc32/bits/atomic.h
25615 (__arch_atomic_exchange_and_add_64_acq): Add definition.
25616 (__arch_atomic_exchange_and_add_64_rel): Likewise.
25617 * sysdeps/powerpc/powerpc64/bits/atomic.h
25618 (__arch_atomic_exchange_and_add_64_acq): Add definition.
25619 (__arch_atomic_exchange_and_add_64_rel): Likewise.
25620
25621 2014-11-26 Torvald Riegel <triegel@redhat.com>
25622
25623 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25624 Change synchronization of __sched_fifo_min_prio and
25625 __sched_fifo_max_prio.
25626 * nptl/pthread_mutexattr_getprioceiling.c
25627 (pthread_mutexattr_getprioceiling): Likewise.
25628 * nptl/pthread_mutexattr_setprioceiling.c
25629 (pthread_mutexattr_setprioceiling): Likewise.
25630 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25631 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25632 Likewise.
25633
25634 2014-11-26 Joseph Myers <joseph@codesourcery.com>
25635
25636 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25637 void.
25638
25639 2014-11-25 Joseph Myers <joseph@codesourcery.com>
25640
25641 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25642 third argument const.
25643
25644 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
25645
25646 fnmatch: work around GCC compiler warning bug with uninit var
25647 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25648 This works around a bug with x86-64 GCC 4.9.2 and earlier
25649 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25650 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25651 used uninitialized in this function [-Wmaybe-uninitialized]".
25652
25653 2014-11-25 Joseph Myers <joseph@codesourcery.com>
25654
25655 * posix/bug-regex31.c (main): Return RES not 0.
25656
25657 2014-11-25 Anton Blanchard <anton@samba.org>
25658
25659 * sysdeps/powerpc/bits/atomic.h
25660 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25661
25662 2014-11-24 Sterling Augustine <saugustine@google.com>
25663
25664 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25665
25666 2014-11-24 Ryan Cumming <etaoins@gmail.com>
25667
25668 [BZ #17608]
25669 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25670
25671 2014-11-24 Joseph Myers <joseph@codesourcery.com>
25672
25673 [BZ #17633]
25674 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25675 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25676 variable.
25677 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25678 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25679
25680 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
25681
25682 * string/strncpy.c (strncpy): Improve performance by using memset.
25683
25684 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
25685
25686 * string/strcpy.c (strcpy):
25687 Improve performance by using strlen and memcpy.
25688
25689 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
25690
25691 * string/strcoll_l.c (get_next_seq): __always_inline.
25692 * string/strcoll_l.c (do_compare): __always_inline.
25693
25694 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25695
25696 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25697 defined.
25698 * include/mqueue.h: Likewise.
25699 * include/stdlib.h: Likewise.
25700
25701 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25702 (get_null_defines): Adjust.
25703 * sunrpc/Makefile: Adjust comment.
25704 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25705 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25706 (CFLAGS-interp.c): Likewise.
25707 (CFLAGS-ldconfig.c): Likewise.
25708 (CPPFLAGS-.os): Likewise.
25709 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25710 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25711 * extra-modules.mk (extra-modules.mk): Likewise.
25712 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25713 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25714 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25715 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25716 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25717 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25718 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25719 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25720 * iconvdata/Makefile (CPPFLAGS): Likewise.
25721 (cpp-srcs-left): Add libof for all iconvdata routines.
25722 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25723 * include/assert.h: Likewise.
25724 * include/ctype.h: Likewise.
25725 * include/errno.h: Likewise.
25726 * include/libc-symbols.h: Likewise.
25727 * include/math.h: Likewise.
25728 * include/netdb.h: Likewise.
25729 * include/resolv.h: Likewise.
25730 * include/stdio.h: Likewise.
25731 * include/stdlib.h: Likewise.
25732 * include/string.h: Likewise.
25733 * include/sys/stat.h: Likewise.
25734 * include/wctype.h: Likewise.
25735 * intl/l10nflist.c: Likewise.
25736 * libidn/idn-stub.c: Likewise.
25737 * libio/libioP.h: Likewise.
25738 * nptl/libc_multiple_threads.c: Likewise.
25739 * nptl/pthreadP.h: Likewise.
25740 * posix/regex_internal.h: Likewise.
25741 * resolv/res_hconf.c: Likewise.
25742 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25743 * sysdeps/arm/memmove.S: Likewise.
25744 * sysdeps/arm/sysdep.h: Likewise.
25745 * sysdeps/generic/_itoa.h: Likewise.
25746 * sysdeps/generic/symbol-hacks.h: Likewise.
25747 * sysdeps/gnu/errlist.awk: Likewise.
25748 * sysdeps/gnu/errlist.c: Likewise.
25749 * sysdeps/i386/i586/memcpy.S: Likewise.
25750 * sysdeps/i386/i586/memset.S: Likewise.
25751 * sysdeps/i386/i686/memcpy.S: Likewise.
25752 * sysdeps/i386/i686/memmove.S: Likewise.
25753 * sysdeps/i386/i686/mempcpy.S: Likewise.
25754 * sysdeps/i386/i686/memset.S: Likewise.
25755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25757 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25759 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25760 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25761 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25762 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25763 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25764 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25765 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25766 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25767 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25768 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25769 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25771 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25772 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25773 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25774 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25775 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25776 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25777 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25778 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25779 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25780 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25781 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25782 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25783 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25784 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25785 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25786 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25788 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25789 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25791 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25792 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25795 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25797 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25798 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25799 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25800 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25801 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25802 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25803 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25804 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25805 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25806 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25807 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25808 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25809 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25810 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25811 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25812 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25813 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25814 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25815 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25817 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25818 * sysdeps/nptl/bits/libc-lock.h: Likewise.
25819 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25820 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25821 * sysdeps/posix/closedir.c: Likewise.
25822 * sysdeps/posix/opendir.c: Likewise.
25823 * sysdeps/posix/readdir.c: Likewise.
25824 * sysdeps/posix/rewinddir.c: Likewise.
25825 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25826 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25827 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25828 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25829 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25830 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25832 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25833 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25834 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25836 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25837 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25838 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25839 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25840 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25841 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25842 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25844 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25845 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25846 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25847 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25848 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25853 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25860 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25861 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25862 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25863 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25865 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25866 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25867 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25868 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25869 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25870 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25871 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25872 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25873 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25874 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25876 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25877 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25878 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25879 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25880 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25882 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25883 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25884 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25885 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25886 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25887 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25888 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25889 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25890 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25891 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25892 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25893 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25894 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25895 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25896 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25897 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25898 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25899 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25900 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25901 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25902 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25903 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25904 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25905 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25906 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25907 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25908 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25909 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25911 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25912 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25913 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25914 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25915 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25916 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25917 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25918 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25919 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25921 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25923 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25924 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25925 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25926 * sysdeps/unix/alpha/sysdep.S: Likewise.
25927 * sysdeps/unix/alpha/sysdep.h: Likewise.
25928 * sysdeps/unix/make-syscalls.sh: Likewise.
25929 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25930 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25931 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25932 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25933 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25934 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25935 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25936 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25937 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25938 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25940 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25941 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25942 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25943 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25944 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25945 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25946 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25947 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25948 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25949 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25950 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25951 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25952 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25953 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25954 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25955 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25958 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25959 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25963 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25967 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25968 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25969 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25970 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25971 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25972 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25973 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25976 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25977 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25979 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25980 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25981 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25982 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25983 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25985 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25987 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25988 * sysdeps/x86_64/memcpy.S: Likewise.
25989 * sysdeps/x86_64/memmove.c: Likewise.
25990 * sysdeps/x86_64/memset.S: Likewise.
25991 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25993 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25994 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25995 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25998 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25999 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26000 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26001 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26003 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26004 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26005 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26006 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26007 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26008 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26009 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26010 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26011 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26012 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26013 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26014 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26015 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26016 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26017 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26018 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26019 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26020 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26021 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26022 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26023 * sysdeps/x86_64/strcmp.S: Likewise.
26024
26025 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26026
26027 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26028 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26029 * elf/rtld-Rules: Likewise.
26030 * elf/setup-vdso.h: Likewise.
26031 * include/assert.h: Likewise.
26032 * include/bits/stdlib-float.h: Likewise.
26033 * include/errno.h: Likewise.
26034 * include/sys/stat.h: Likewise.
26035 * include/unistd.h: Likewise.
26036 * sysdeps/aarch64/setjmp.S: Likewise.
26037 * sysdeps/alpha/setjmp.S: Likewise.
26038 * sysdeps/arm/__longjmp.S: Likewise.
26039 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26040 * sysdeps/arm/setjmp.S: Likewise.
26041 * sysdeps/arm/sysdep.h: Likewise.
26042 * sysdeps/generic/_itoa.h: Likewise.
26043 * sysdeps/generic/dl-sysdep.h: Likewise.
26044 * sysdeps/generic/ldsodefs.h: Likewise.
26045 * sysdeps/i386/dl-tls.h: Likewise.
26046 * sysdeps/i386/setjmp.S: Likewise.
26047 * sysdeps/m68k/setjmp.c: Likewise.
26048 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26049 * sysdeps/mach/hurd/opendir.c: Likewise.
26050 * sysdeps/posix/getcwd.c: Likewise.
26051 * sysdeps/posix/opendir.c: Likewise.
26052 * sysdeps/posix/profil.c: Likewise.
26053 * sysdeps/powerpc/dl-procinfo.h: Likewise.
26054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26056 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26057 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26058 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26059 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26060 * sysdeps/s390/dl-tls.h: Likewise.
26061 * sysdeps/s390/s390-32/setjmp.S: Likewise.
26062 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26063 * sysdeps/sh/sh3/setjmp.S: Likewise.
26064 * sysdeps/sh/sh4/setjmp.S: Likewise.
26065 * sysdeps/unix/alpha/sysdep.h: Likewise.
26066 * sysdeps/unix/arm/sysdep.S: Likewise.
26067 * sysdeps/unix/i386/sysdep.S: Likewise.
26068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26069 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26070 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26071 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26073 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26074 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26075 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26076 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26077 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26078 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26079 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26080 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26083 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26086 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26087 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26088 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26091 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26092 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26093 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26096 * sysdeps/x86_64/setjmp.S: Likewise.
26097
26098 * include/math.h: Use IS_IN instead of IS_IN_libm.
26099 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26107 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26108 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26109 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26111 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26113 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26114 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26119 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26120 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26121 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26122 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26123 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26124 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26126 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26127 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26128 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26129 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26130 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26131 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26133 Likewise.
26134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26135 Likewise.
26136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26137 Likewise.
26138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26139 Likewise.
26140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26141 Likewise.
26142 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26143 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26144 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26145 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26146 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26147 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26153 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26155 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26165 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26166 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26168 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26169
26170 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26171 * nptl/pthreadP.h: Likewise.
26172 * nptl_db/structs.def: Likewise.
26173 * sysdeps/arm/sysdep.h: Likewise.
26174 * sysdeps/nptl/bits/libc-lock.h: Likewise.
26175 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26176 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26177 * sysdeps/unix/alpha/sysdep.h: Likewise.
26178 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26180 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26181 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26182 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26183 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26184 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26185 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26186 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26187 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26188 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26189 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26190 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26191 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26194 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26196 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26199 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26200 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26201 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26202 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26203 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26204
26205 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26206 * nptl/pthreadP.h: Likewise.
26207 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26208 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26209 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26210 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26211 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26212 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26213 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26214 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26215 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26216 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26217 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26218 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26220 Likewise.
26221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26222 Likewise.
26223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26224 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26225 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26226 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26227 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26228 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26229 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26231
26232 * dlfcn/dladdr.c: Use IS_IN.
26233 * dlfcn/dladdr1.c: Likewise.
26234 * dlfcn/dlclose.c: Likewise.
26235 * dlfcn/dlerror.c: Likewise.
26236 * dlfcn/dlinfo.c: Likewise.
26237 * dlfcn/dlmopen.c: Likewise.
26238 * dlfcn/dlopen.c: Likewise.
26239 * dlfcn/dlsym.c: Likewise.
26240 * dlfcn/dlvsym.c: Likewise.
26241
26242 * include/ifaddrs.h: Use IS_IN.
26243 * inet/check_pf.c: Likewise.
26244 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26245 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26246
26247 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26248 IS_IN_ldconfig.
26249 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26250 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26251
26252 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26253 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26254 IS_IN (libc).
26255
26256 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26257
26258 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26259 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26260 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26261 * include/libc-symbols.h (IS_IN_LIB): New macro.
26262 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26263 * include/netdb.h: Likewise.
26264 * include/stap-probe.h: Remove all uses of IN_LIB.
26265
26266 * Makeconfig (module-cppflags-real): Define MODULE_NAME
26267 instead of IN_MODULE.
26268 * include/libc-symbols.h (IN_MODULE): Define using
26269 MODULE_NAME.
26270 (PASTE_NAME, PASTE_NAME1): New macros.
26271 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26272 of IN_LIB.
26273 (STAP_PROBE_ASM): Likewise.
26274
26275 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
26276
26277 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26278 __mach_init in dlopened libc.
26279
26280 2014-11-22 Mike Frysinger <vapier@gentoo.org>
26281
26282 * sysdeps/arm/preconfigure.ac: Delete EABI check.
26283 * sysdeps/arm/preconfigure: Regenerate.
26284
26285 2014-11-21 Roland McGrath <roland@hack.frob.com>
26286
26287 * nptl/pthread_create.c (__pthread_create_2_1): Set
26288 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26289 when copying values from IATTR into PD.
26290
26291 2014-11-21 Will Newton <will.newton@linaro.org>
26292 Andrew Pinski <andrew.pinski@caviumnetworks.com>
26293
26294 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26295 Refactor inline-asm. Also add comment.
26296
26297 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26298 ElfW macro instead of hardcoded Elf64 types.
26299 (la_aarch64_gnu_pltenter): Likewise.
26300 * sysdeps/aarch64/dl-machine.h
26301 (elf_machine_runtime_setup): Use ElfW(Addr).
26302
26303 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26304 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26305 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26306 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26307 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26308 (R_AARCH64_TLS_DTPMOD64): Rename to ..
26309 (R_AARCH64_TLS_DTPMOD): This.
26310 (R_AARCH64_TLS_DTPREL64): Rename to ...
26311 (R_AARCH64_TLS_DTPREL): This.
26312 (R_AARCH64_TLS_TPREL64): Rename to ...
26313 (R_AARCH64_TLS_TPREL): This.
26314 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26315 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26316 R_AARCH64_TLS_TPREL64.
26317 (elf_machine_rela): Likewise.
26318
26319 2014-11-21 Torvald Riegel <triegel@redhat.com>
26320
26321 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26322 by setting it to 0. 64b atomics are not supported currently.
26323
26324 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26325
26326 [BZ #16469]
26327 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26328 search domain names.
26329
26330 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26331
26332 [BZ #16469]
26333 * NEWS: Update.
26334 * resolv/res_query.c (__libc_res_nquerydomain): Retain
26335 trailing dot.
26336 * posix/tst-getaddrinfo5.c: New.
26337 * posix/Makefile (tests): Add it.
26338
26339 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26340
26341 [BZ #14498]
26342 * NEWS: Fixed.
26343 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26344 after parsing line but before break_if_match.
26345 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26346 if there is a protocol mismatch.
26347
26348 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26349
26350 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26351 because the potential race is on the user-supplied stream.
26352
26353 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26354
26355 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26356 string literal if not passed a buffer.
26357 * manual/job.texi (ctermid): Update reasoning, note deviation
26358 from posix, suggest mtasurace when not passed a buffer, for
26359 future non-preliminary safety notes.
26360
26361 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26362
26363 * manual/users.texi (cuserid): Fix MT-Safety note for the case
26364 of not passing it a buffer.
26365 Reported by Peng Haitao.
26366
26367 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26368
26369 * manual/Makefile ($(objpfx)stamp-summary): Require
26370 check-safety.sh to pass.
26371 * manual/check-safety.sh: Wish for verification that every
26372 @deftypefn and @deftypefun is followed by a @safety remark.
26373
26374 2014-11-20 Roland McGrath <roland@hack.frob.com>
26375
26376 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26377
26378 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26379 PTHREAD_CANCEL_ASYNCHRONOUS.
26380 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26381 send SIGCANCEL.
26382
26383 * nptl/default-sched.h: New file.
26384 * sysdeps/unix/sysv/linux/default-sched.h: New file.
26385 * nptl/pthread_create.c: Include it.
26386 (__pthread_create_2_1): Use collect_default_sched instead of making
26387 Linux syscalls here directly.
26388
26389 2014-11-20 Torvald Riegel <triegel@redhat.com>
26390
26391 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26392 __pthread_once): Use C11 atomics.
26393
26394 2014-11-20 Torvald Riegel <triegel@redhat.com>
26395
26396 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26397
26398 2014-11-20 Torvald Riegel <triegel@redhat.com>
26399
26400 * include/atomic.h (__atomic_link_error, __atomic_check_size,
26401 atomic_thread_fence_acquire, atomic_thread_fence_release,
26402 atomic_thread_fence_seq_cst, atomic_load_relaxed,
26403 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26404 atomic_compare_exchange_weak_relaxed,
26405 atomic_compare_exchange_weak_acquire,
26406 atomic_compare_exchange_weak_release,
26407 atomic_exchange_acquire, atomic_exchange_release,
26408 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26409 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26410 atomic_fetch_and_acquire,
26411 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26412
26413 2014-11-20 Torvald Riegel <triegel@redhat.com>
26414
26415 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26416 USE_ATOMIC_COMPILER_BUILTINS): Define.
26417 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26418 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26419 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26421 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26423 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26424 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26425 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26426 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26427 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26428 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26429 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26430 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26431 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26432 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26433 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26434 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26435 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26436 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26437 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26438 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26439 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26440 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26441 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26442 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26443 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26444 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26445 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26446 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26447 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26448 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26449 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26450 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26451 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26452 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26453 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26454 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26455 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26456 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26457
26458 2014-11-19 Roland McGrath <roland@hack.frob.com>
26459
26460 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26461 the sched_priority value here. It was already checked when the user
26462 called pthread_attr_setschedparam.
26463
26464 * nptl/tst-bad-schedattr.c: New file.
26465 * nptl/Makefile (tests): Add it.
26466
26467 2014-11-19 Carlos O'Donell <carlos@redhat.com>
26468 Florian Weimer <fweimer@redhat.com>
26469 Joseph Myers <joseph@codesourcery.com>
26470 Adam Conrad <adconrad@0c3.net>
26471 Andreas Schwab <schwab@suse.de>
26472 Brooks <bmoses@google.com>
26473
26474 [BZ #17625]
26475 * wordexp-test.c (__dso_handle): Add prototype.
26476 (__register_atfork): Likewise.
26477 (__app_register_atfork): New function.
26478 (registered_forks): New global.
26479 (register_fork): New function.
26480 (test_case): Add 3 new tests for WRDE_CMDSUB.
26481 (main): Call __app_register_atfork.
26482 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26483 fork count is non-zero fail the test.
26484 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26485 is set.
26486 (parse_dollars): Remove check for WRDE_NOCMD.
26487 (parse_dquote): Likewise.
26488
26489 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26490
26491 * Makeconfig (built-modules): List non-library modules to be
26492 built.
26493 (module-cppflags): Include libc-modules.h for
26494 everything except shlib-versions.v.i.
26495 (CPPFLAGS): Use it.
26496 (before-compile): Add libc-modules.h.
26497 ($(common-objpfx)libc-modules.h,
26498 $(common-objpfx)libc-modules.stmp): New targets.
26499 (common-generated): Add libc-modules.h and libc-modules.stmp.
26500 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26501 * include/libc-symbols.h: Don't include libc-modules.h.
26502 * include/libc-modules.h: Remove file.
26503 * scripts/gen-libc-modules.awk: New script to generate
26504 libc-modules.h.
26505 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26506 Depend on libc-modules.stmp.
26507
26508 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26509
26510 * Makeconfig (in-module): Get value of libof set for the
26511 translation unit.
26512 (CPPFLAGS): Use $(in-module).
26513 * Makerules: Don't suffix routine names for nonlib.
26514 * include/libc-modules.h: New file.
26515 * include/libc-symbols.h: Include libc-modules.h
26516 (IS_IN): New macro to replace IS_IN_* macros.
26517 * elf/Makefile: Set libof-* for each routine.
26518 * elf/rtld-Rules: Likewise.
26519 * extra-modules.mk: Likewise.
26520 * iconv/Makefile: Likewise.
26521 * iconvdata/Makefile: Likewise.
26522 * locale/Makefile: Likewise.
26523 * malloc/Makefile: Likewise.
26524 * nss/Makefile: Likewise.
26525 * sysdeps/gnu/Makefile: Likewise.
26526 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26527 * sysdeps/unix/sysv/linux/Makefile: Likewise.
26528 * sysdeps/s390/s390-64/Makefile: Likewise.
26529 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
26530 CPPFLAGS for nscd instead of nonlib.
26531
26532 2014-11-18 Roland McGrath <roland@hack.frob.com>
26533
26534 * nptl/createthread.c: New file.
26535
26536 * nptl/createthread.c: Moved ...
26537 * sysdeps/unix/sysv/linux/createthread.c: ... here.
26538
26539 * nptl/createthread.c: Add proper top-line comment.
26540 (do_clone): Folded into ...
26541 (create_thread): ... here. Take new arguments STOPPED_START and
26542 THREAD_RAN. Always set PD->stopped_start to something here. Don't
26543 increment __nptl_threads, do event-reporting logic, do
26544 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26545 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
26546 resource cleanup if sched_setaffinity or sched_setscheduler fails,
26547 just send SIGCANCEL.
26548 * nptl/pthread_create.c: Forward-declare create_thread before
26549 including createthread.c.
26550 (start_thread): Use new macro START_THREAD_DEFN to replace defining
26551 declaration, and new macro START_THREAD_SELF to replace argument.
26552 Remove return statement.
26553 (report_thread_creation): New function.
26554 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
26555 synchronization logic, and __nptl_nthreads increment here, around
26556 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
26557 PD->parent_cancelhandling here, before create_thread. When
26558 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26559 __deallocate_stack, and ENOMEM translation here.
26560
26561 2014-11-18 Joseph Myers <joseph@codesourcery.com>
26562
26563 [BZ #17616]
26564 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26565 (mptwo): Rename to __mptwo.
26566 (__inv): Use __mptwo instead of mptwo.
26567 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26568 (mptwo): Rename to __mptwo.
26569 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26570 of mpone and __mptwo instead of mptwo.
26571 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26572 instead of mpone.
26573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26574 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26575 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26576 of mpone and __mptwo instead of mptwo.
26577 (__mpranred): Use __mpone instead of mpone.
26578 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26579 variable.
26580 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26581 (test-xfail-ISO99/math.h/linknamespace): Likewise.
26582 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26583 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26584 (test-xfail-ISO11/math.h/linknamespace): Likewise.
26585 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26586 (test-xfail-XPG3/math.h/linknamespace): Likewise.
26587 (test-xfail-XPG4/math.h/linknamespace): Likewise.
26588 (test-xfail-POSIX/math.h/linknamespace): Likewise.
26589 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26590 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26591 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26592 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26593 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26594 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26595 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26596 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26597 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26598 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26599
26600 2014-11-18 Tom de Vries <tom@codesoucery.com>
26601
26602 * manual/signal.texi (Primitives Interrupted by Signals): In section,
26603 replace BSD Handler xref with BSD Signal Handling.
26604
26605 2014-11-17 Richard Henderson <rth@redhat.com>
26606
26607 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26608 (_FP_PACK_RAW_2): Remove.
26609 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26610 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26611 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26612 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26613 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26614 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26615 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26616 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26617 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26618 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26619 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26620 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26621 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26622 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26623 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26624 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26625
26626 2014-11-14 Roland McGrath <roland@hack.frob.com>
26627
26628 * signal/signal.h [__USE_MISC]
26629 (struct sigvec): Remove type.
26630 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26631 (sigvec): Remove declaration.
26632 * sysdeps/posix/sigvec.c: Moved ...
26633 * signal/sigvec.c: ... here, replacing old file.
26634 (struct sigvec): New type, copied from old signal.h definition.
26635 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26636 (__sigvec): Convert definition to prototype.
26637 (sigvec): Replace weak_alias with compat_symbol.
26638 * signal/Versions (libc: GLIBC_2.21): New version set.
26639 * include/signal.h: Remove __sigvec declaration.
26640 * sysdeps/unix/bsd/sigvec.c: Remove file.
26641 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26642 * manual/signal.texi (BSD Handler): Remove subsection.
26643 Move siginterrupt up to ...
26644 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
26645 (Blocking in BSD): Fold subsection into its parent.
26646 * NEWS: Mention sigvec removal.
26647
26648 2014-11-14 Joseph Myers <joseph@codesourcery.com>
26649
26650 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26651 (DLA_FMS): Make definition conditional only on [__FMA4__].
26652 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26653 definition.
26654
26655 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26656 Make definition conditional only on [PROF].
26657 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26658 definition.
26659 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26660 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26661
26662 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26663 !__GNUC__].
26664 * include/signal.h (__sigpause): Move declaration above call to
26665 libc_hidden_proto.
26666 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26667 variable.
26668 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26669 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26670
26671 2014-11-14 David S. Miller <davem@davemloft.net>
26672
26673 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26674 Define before including <string/memcpy.c> and <string/mempcpy.c>.
26675
26676 2014-11-14 Joseph Myers <joseph@codesourcery.com>
26677
26678 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26679 * configure: Regenerated.
26680 * manual/install.texi (Tools for Compilation): Document a
26681 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26682 compiler verified to work.
26683 * INSTALL: Regenerated.
26684
26685 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26686 redeclare with asm name.
26687 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26688 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26689 including <string.h>.
26690 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26691 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26692 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26694 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26695 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26696 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26697
26698 2014-11-13 Joseph Myers <joseph@codesourcery.com>
26699
26700 * stdlib/strtol.c (__strtol): Use prototype definition.
26701
26702 [BZ #17594]
26703 * stdlib/strtol.c (SYM__): New macro.
26704 (SYM__1): Likewise.
26705 (__strtol): Likewise.
26706 (strtol): Rename to __strtol and define as weak alias of
26707 __strtol. Use libc_hidden_weak.
26708
26709 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26710
26711 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26712 Use numbered labels in inline assembly.
26713
26714 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26715
26716 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26717 Add setjmp LIBC_PROBE.
26718 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26719 Likewise.
26720 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26721 Add longjmp, longjmp_target LIBC_PROBE.
26722 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26723 Likewise.
26724
26725 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26726
26727 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26728 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26729 to get rid of unused variable warning.
26730
26731 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26732
26733 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26734 Check for unwind_backtrace == NULL only in SHARED case.
26735 (__backchain_backtrace): Compile only in SHARED case.
26736 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26737 Likewise.
26738 (__backchain_backtrace): Declare as static.
26739
26740 2014-11-12 Roland McGrath <roland@hack.frob.com>
26741
26742 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26743 (__libc_multiple_threads_ptr): Variable moved ...
26744 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26745
26746 2014-11-12 Joseph Myers <joseph@codesourcery.com>
26747
26748 * conform/GlibcConform.pm: New file.
26749 * conform/conformtest.pl: Use GlibcConform module.
26750 * conform/linknamespace.pl: New file.
26751 * conform/list-header-symbols.pl: Likewise.
26752 * conform/Makefile (linknamespace-symlists-base): New variable.
26753 (linknamespace-symlists-tests): Likewise.
26754 (linknamespace-header-base): Likewise.
26755 (linknamespace-header-tests): Likewise.
26756 (tests-special): Add new tests.
26757 ($(linknamespace-symlists-tests)): New rule.
26758 (linknamespace-libs): New variable.
26759 ($(objpfx)symlist-stdlibs): New rule.
26760 ($(linknamespace-header-tests)): Likewise.
26761 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26762 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26763 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26764 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26765 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26766 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26767 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26768 (test-xfail-ISO/math.h/linknamespace): Likewise.
26769 (test-xfail-ISO/signal.h/linknamespace): Likewise.
26770 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26771 (test-xfail-ISO/time.h/linknamespace): Likewise.
26772 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26773 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26774 (test-xfail-ISO99/math.h/linknamespace): Likewise.
26775 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26776 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26777 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26778 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26779 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26780 (test-xfail-ISO11/math.h/linknamespace): Likewise.
26781 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26782 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26783 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26784 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26785 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26786 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26787 (test-xfail-XPG3/math.h/linknamespace): Likewise.
26788 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26789 (test-xfail-XPG3/search.h/linknamespace): Likewise.
26790 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26791 (test-xfail-XPG3/time.h/linknamespace): Likewise.
26792 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26793 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26794 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26795 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26796 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26797 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26798 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26799 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26800 (test-xfail-XPG4/math.h/linknamespace): Likewise.
26801 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26802 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26803 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26804 (test-xfail-XPG4/search.h/linknamespace): Likewise.
26805 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26806 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26807 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26808 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26809 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26810 (test-xfail-XPG4/time.h/linknamespace): Likewise.
26811 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26812 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26813 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26814 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26815 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26816 (test-xfail-POSIX/math.h/linknamespace): Likewise.
26817 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26818 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26819 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26820 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26821 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26822 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26823 (test-xfail-POSIX/time.h/linknamespace): Likewise.
26824 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26825 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26826 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26827 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26828 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26829 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26830 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26831 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26832 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26833 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26834 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26835 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26836 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26837 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26838 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26839 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26840 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26841 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26842 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26843 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26844 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26845 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26846 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26847 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26848 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26849 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26850 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26851 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26852 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26853 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26854 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26855 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26856 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26857 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26858 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26859 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26860 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26861 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26862 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26863 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26864 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26865 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26866 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26867 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26868 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26869 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26870 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26871 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26872 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26873 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26874 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26875 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26876 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26877 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26878 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26879 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26880 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26881 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26882 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26883 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26884 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26885 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26886 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26887 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26888 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26889 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26890 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26891 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26892 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26893 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26894 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26895 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26896 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26897 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26898 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26899 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26900 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26901 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26902 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26903 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26904 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26905 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26906 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26907 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26908 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26909 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26910 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26911 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26912 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26913 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26914 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26915 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26916 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26917 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26918 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26919 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26920 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26921 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26922
26923 [BZ #17589]
26924 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26925 of fgets_unlocked.
26926
26927 [BZ #17585]
26928 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26929 (memmem): Rename to __memmem and define as weak alias of
26930 __memmem. Use libc_hidden_weak.
26931 (__memmem): Use libc_hidden_def.
26932 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
26933 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26934 memmem.
26935
26936 [BZ #17582]
26937 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26938 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
26939 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26940 and define as weak alias of __fgets_unlocked. Use
26941 libc_hidden_weak.
26942 (__fgets_unlocked): Use libc_hidden_def.
26943 * include/stdio.h (__fgets_unlocked): Declare. Use
26944 libc_hidden_proto.
26945 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26946 __fgets_unlocked instead of fgets_unlocked.
26947 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26948 (GET_NPROCS_CONF_PARSER): Likewise.
26949 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26950 (GET_NPROCS_CONF_PARSER): Likewise.
26951
26952 [BZ #17574]
26953 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26954 weak alias of __wmemset. Use libc_hidden_weak.
26955 (__wmemset): Use libc_hidden_def.
26956 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
26957 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26958 of wmemset.
26959
26960 [BZ #17573]
26961 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26962 with asm name __mempcpy.
26963 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26964
26965 [BZ #17572]
26966 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26967 and define as weak alias of __rawmemchr.
26968 (__rawmemchr): Do not define as strong alias of rawmemchr.
26969
26970 [BZ #17571]
26971 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26972 alias of __qsort_r.
26973 (qsort): Call __qsort_r instead of qsort_r.
26974 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26975 (__qsort_r): Declare. Call libc_hidden_proto.
26976 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26977 instead of qsort_r.
26978 * nscd/gai.c (__qsort_r): Define to qsort_r.
26979 * posix/tst-rfc3484.c (__qsort_r): Likewise.
26980 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26981 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26982
26983 [BZ #17570]
26984 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26985 define as weak alias of __malloc_info.
26986
26987 [BZ #17584]
26988 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26989 as weak alias of __rewinddir. Don't use libc_hidden_def.
26990 (__rewinddir): Use libc_hidden_def.
26991 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26992 as weak alias of __rewinddir. Don't use libc_hidden_def.
26993 (__rewinddir): Use libc_hidden_def.
26994 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26995 weak alias of __rewinddir. Don't use libc_hidden_def.
26996 (__rewinddir): Use libc_hidden_def.
26997 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26998 (__rewinddir): Use libc_hidden_proto.
26999 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27000 rewinddir.
27001 (__getcwd): Use __rewinddir instead of rewinddir.
27002
27003 [BZ #17583]
27004 * libio/fileno.c (fileno): Rename to __fileno and define as weak
27005 alias of __fileno. Use libc_hidden_weak.
27006 (__fileno): Use libc_hidden_def.
27007 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27008 * libio/ftello.c (ftello): Rename to __ftello and define as weak
27009 alias of __ftello.
27010 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27011 __ftello.
27012 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27013 (__fread_unlocked): Define as strong alias of _IO_fread. Use
27014 libc_hidden_def.
27015 (fread_unlocked): Don't use libc_hidden_ver.
27016 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27017 and define as weak alias of __fread_unlocked. Don't use
27018 libc_hidden_def.
27019 (__fread_unlocked): Use libc_hidden_def.
27020 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
27021 (ftello): Don't use libc_hidden_proto.
27022 (__ftello): Declare. Use libc_hidden_proto.
27023 (fread_unlocked): Don't use libc_hidden_proto.
27024 (__fread_unlocked): Declare. Use libc_hidden_proto.
27025 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27026 and __ftello instead of fileno, fread_unlocked and ftello.
27027
27028 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27029
27030 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27031 GOT12.
27032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27033 Likewise.
27034 (_dl_start_user): Likewise.
27035 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27036
27037 2014-11-12 Carlos O'Donell <carlos@redhat.com>
27038 Siddhesh Poyarekar <siddhesh@redhat.com>
27039
27040 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27041 Move argv and envp down instead of moving argc up.
27042 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27043
27044 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
27045
27046 [BZ #17506]
27047 * test-skeleton.c (main): Return successful if one of
27048 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27049 * string/tst-strcoll-overflow.c: Define expected status.
27050
27051 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
27052
27053 [BZ #17475]
27054 * locale/iso-639.def: Define Bhili and Tulu language codes.
27055
27056 2014-11-11 Alan Hayward <alan.hayward@arm.com>
27057
27058 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27059
27060 2014-11-10 Renlin Li <Renlin.Li@arm.com>
27061
27062 [BZ #17555]
27063 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27064
27065 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
27066
27067 * configure.ac: Updated check of minimal required version to
27068 2.22.
27069 * manual/install.texi (Tools for Compilation): Updated version
27070 number.
27071 * configure: Regenerated.
27072 * INSTALL: Likewise.
27073
27074 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
27075
27076 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27077 __tls_get_addr.
27078
27079 2014-11-07 Joseph Myers <joseph@codesourcery.com>
27080
27081 * include/sys/wait.h (__libc_waitpid): Remove declaration.
27082 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27083 (__waitpid): Don't define as alias. Use libc_hidden_def not
27084 libc_hidden_weak.
27085 (waitpid): Define as alias of __waitpid.
27086 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27087 __waitpid.
27088 (__waitpid): Don't define as alias. Use libc_hidden_def not
27089 libc_hidden_weak.
27090 (waitpid): Define as alias of __waitpid.
27091 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27092 __libc_waitpid alias.
27093 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27094 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27095 Likewise.
27096 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27098 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27099 alias.
27100 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27101 __waitpid.
27102 (__waitpid): Don't define as alias. Use libc_hidden_def not
27103 libc_hidden_weak.
27104 (waitpid): Define as alias of __waitpid.
27105
27106 2014-11-06 Carlos O'Donell <carlos@redhat.com>
27107
27108 * manual/llio.texi: Add comment that write safety has been
27109 fixed in Linux.
27110
27111 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27112 (localplt-build-dso): Add elf/ld.so.
27113 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27114 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27115 and free for ld.so.
27116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27117 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27119 Likewise.
27120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27121 Likewise.
27122 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27123 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27124 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27125 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27126 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27127 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27128 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27129 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27130 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27131 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27132 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27133
27134 2014-11-05 Joseph Myers <joseph@codesourcery.com>
27135
27136 [BZ #14132]
27137 * include/libc-symbols.h (INTUSE): Remove macro.
27138 (INTDEF): Likewise.
27139 (INTVARDEF): Likewise.
27140 (_INTVARDEF): Likewise.
27141 (INTDEF2): Likewise.
27142 (INTVARDEF2): Likewise.
27143 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27144 rtld_hidden_def instead of INTVARDEF.
27145 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27146 (_dl_starting_up_internal): Remove declaration.
27147 (_dl_starting_up): Use rtld_hidden_proto.
27148 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27149 declaration.
27150 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27151 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27152 _dl_starting_up.
27153 * elf/dl-writev.h (_dl_writev): Likewise.
27154 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27155 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27156 _dl_starting_up_internal.
27157
27158 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27159
27160 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27161 test-skeleton.c.
27162
27163 2014-11-05 Will Newton <will.newton@linaro.org>
27164
27165 * benchtests/Makefile: (bench-malloc): Add malloc thread
27166 scalability benchmark.
27167 * benchtests/bench-malloc-threads.c: New file.
27168
27169 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
27170
27171 * sysdeps/aarch64/strchrnul.S: New file.
27172
27173 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27174
27175 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27176 definition.
27177 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27178 Likwise.
27179 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27180 Likewise.
27181 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27182 Likewise.
27183 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27184 Likewise.
27185 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27186 Likewise.
27187
27188 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
27189
27190 * catgets/test-gencat.c: Use test-skeleton.c.
27191 * catgets/tst-catgets.c: Likewise.
27192 * csu/tst-empty.c: Likewise.
27193 * elf/tst-audit2.c: Likewise.
27194 * elf/tst-global1.c: Likewise.
27195 * elf/tst-pathopt.c: Likewise.
27196 * elf/tst-piemod1.c: Likewise.
27197 * elf/tst-tls10.c: Likewise.
27198 * elf/tst-tls11.c: Likewise.
27199 * elf/tst-tls12.c: Likewise.
27200 * gnulib/tst-gcc.c: Likewise.
27201 * iconvdata/tst-e2big.c: Likewise.
27202 * iconvdata/tst-loading.c: Likewise.
27203 * iconv/tst-iconv1.c: Likewise.
27204 * iconv/tst-iconv2.c: Likewise.
27205 * inet/test-inet6_opt.c: Likewise.
27206 * inet/tst-gethnm.c: Likewise.
27207 * inet/tst-network.c: Likewise.
27208 * inet/tst-ntoa.c: Likewise.
27209 * intl/tst-codeset.c: Likewise.
27210 * intl/tst-gettext2.c: Likewise.
27211 * intl/tst-gettext3.c: Likewise.
27212 * intl/tst-ngettext.c: Likewise.
27213 * intl/tst-translit.c: Likewise.
27214 * io/test-stat.c: Likewise.
27215 * libio/test-fmemopen.c: Likewise.
27216 * libio/tst-freopen.c: Likewise.
27217 * libio/tst-sscanf.c: Likewise.
27218 * libio/tst-ungetwc1.c: Likewise.
27219 * libio/tst-ungetwc2.c: Likewise.
27220 * libio/tst-widetext.c: Likewise.
27221 * localedata/tst-ctype.c: Likewise.
27222 * localedata/tst-digits.c: Likewise.
27223 * localedata/tst-leaks.c: Likewise.
27224 * localedata/tst-mbswcs1.c: Likewise.
27225 * localedata/tst-mbswcs2.c: Likewise.
27226 * localedata/tst-mbswcs3.c: Likewise.
27227 * localedata/tst-mbswcs4.c: Likewise.
27228 * localedata/tst-mbswcs5.c: Likewise.
27229 * localedata/tst-setlocale.c: Likewise.
27230 * localedata/tst-trans.c: Likewise.
27231 * localedata/tst-wctype.c: Likewise.
27232 * localedata/tst-xlocale1.c: Likewise.
27233 * login/tst-grantpt.c: Likewise.
27234 * malloc/tst-calloc.c: Likewise.
27235 * malloc/tst-malloc.c: Likewise.
27236 * malloc/tst-mallocstate.c: Likewise.
27237 * malloc/tst-mcheck.c: Likewise.
27238 * malloc/tst-mtrace.c: Likewise.
27239 * malloc/tst-obstack.c: Likewise.
27240 * math/atest-exp2.c: Likewise.
27241 * math/atest-exp.c: Likewise.
27242 * math/atest-sincos.c: Likewise.
27243 * math/test-matherr.c: Likewise.
27244 * math/test-misc.c: Likewise.
27245 * math/test-powl.c: Likewise.
27246 * math/tst-definitions.c: Likewise.
27247 * misc/tst-dirname.c: Likewise.
27248 * misc/tst-efgcvt.c: Likewise.
27249 * misc/tst-fdset.c: Likewise.
27250 * misc/tst-hsearch.c: Likewise.
27251 * misc/tst-mntent2.c: Likewise.
27252 * nptl/tst-sem7.c: Likewise.
27253 * nptl/tst-sem8.c: Likewise.
27254 * nptl/tst-sem9.c: Likewise.
27255 * nss/test-netdb.c: Likewise.
27256 * posix/tst-fnmatch.c: Likewise.
27257 * posix/tst-getlogin.c: Likewise.
27258 * posix/tst-gnuglob.c: Likewise.
27259 * posix/tst-mmap.c: Likewise.
27260 * pwd/tst-getpw.c: Likewise.
27261 * resolv/tst-inet_ntop.c: Likewise.
27262 * rt/tst-timer.c: Likewise.
27263 * stdio-common/test-fseek.c: Likewise.
27264 * stdio-common/test-popen.c: Likewise.
27265 * stdio-common/test-vfprintf.c: Likewise.
27266 * stdio-common/tst-cookie.c: Likewise.
27267 * stdio-common/tst-fileno.c: Likewise.
27268 * stdio-common/tst-gets.c: Likewise.
27269 * stdio-common/tst-obprintf.c: Likewise.
27270 * stdio-common/tst-perror.c: Likewise.
27271 * stdio-common/tst-sprintf2.c: Likewise.
27272 * stdio-common/tst-sprintf3.c: Likewise.
27273 * stdio-common/tst-sprintf.c: Likewise.
27274 * stdio-common/tst-swprintf.c: Likewise.
27275 * stdio-common/tst-tmpnam.c: Likewise.
27276 * stdio-common/tst-unbputc.c: Likewise.
27277 * stdio-common/tst-wc-printf.c: Likewise.
27278 * stdlib/tst-environ.c: Likewise.
27279 * stdlib/tst-fmtmsg.c: Likewise.
27280 * stdlib/tst-limits.c: Likewise.
27281 * stdlib/tst-rand48-2.c: Likewise.
27282 * stdlib/tst-rand48.c: Likewise.
27283 * stdlib/tst-random2.c: Likewise.
27284 * stdlib/tst-random.c: Likewise.
27285 * stdlib/tst-strtol.c: Likewise.
27286 * stdlib/tst-strtoll.c: Likewise.
27287 * stdlib/tst-tls-atexit.c: Likewise.
27288 * stdlib/tst-xpg-basename.c: Likewise.
27289 * string/test-ffs.c: Likewise.
27290 * string/tst-bswap.c: Likewise.
27291 * string/tst-inlcall.c: Likewise.
27292 * string/tst-strtok.c: Likewise.
27293 * string/tst-strxfrm.c: Likewise.
27294 * sysdeps/x86_64/tst-audit10.c: Likewise.
27295 * sysdeps/x86_64/tst-audit3.c: Likewise.
27296 * sysdeps/x86_64/tst-audit4.c: Likewise.
27297 * sysdeps/x86_64/tst-audit5.c: Likewise.
27298 * time/tst-ftime_l.c: Likewise.
27299 * time/tst-getdate.c: Likewise.
27300 * time/tst-mktime3.c: Likewise.
27301 * time/tst-mktime.c: Likewise.
27302 * time/tst-posixtz.c: Likewise.
27303 * time/tst-strptime2.c: Likewise.
27304 * time/tst-strptime3.c: Likewise.
27305 * wcsmbs/tst-btowc.c: Likewise.
27306 * wcsmbs/tst-mbrtowc.c: Likewise.
27307 * wcsmbs/tst-mbsrtowcs.c: Likewise.
27308 * wcsmbs/tst-wchar-h.c: Likewise.
27309 * wcsmbs/tst-wcpncpy.c: Likewise.
27310 * wcsmbs/tst-wcrtomb.c: Likewise.
27311 * wcsmbs/tst-wcsnlen.c: Likewise.
27312 * wcsmbs/tst-wcstof.c: Likewise.
27313
27314 2014-11-04 Joseph Myers <joseph@codesourcery.com>
27315
27316 [BZ #14132]
27317 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27318 INTDEF.
27319 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27320 declaration.
27321 (_dl_mcount): Use rtld_hidden_proto.
27322 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27323 _dl_mcount.
27324 * elf/rtld.c (_rtld_global_ro): Likewise.
27325
27326 [BZ #14132]
27327 * elf/dl-init.c (_dl_init): Don't use INTDEF.
27328 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27329 of _dl_init_internal.
27330 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27331 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27332 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27333 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27334 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27335 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27336 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27337 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27338 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27339 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27340 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27341 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27342 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27343 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27344 * sysdeps/tile/dl-start.S (_start): Likewise.
27345 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27346 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27347
27348 [BZ #14132]
27349 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27350 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27351 (rtld_progname): Make macro definition unconditional.
27352 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27353 INTDEF.
27354 (dlmopen_doit): Do not use INTUSE with _dl_argv.
27355 (dl_main): Likewise.
27356 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27357 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27358 instead of _dl_argv_internal.
27359 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27360 __GI__dl_argv instead of INTUSE(_dl_argv).
27361 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27362 __GI__dl_argv instead of _dl_argv_internal.
27363
27364 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27365 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27366 macro.
27367 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27368 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27369 New macro.
27370 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27371 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27372 macro.
27373 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27374 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27375
27376 2014-11-04 Andreas Schwab <schwab@suse.de>
27377
27378 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27379
27380 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27381
27382 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27383 mtvsrd instruction in binary form.
27384
27385 2014-11-03 Andreas Schwab <schwab@suse.de>
27386
27387 [BZ #17522]
27388 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27389 for less than MB_LEN_MAX use a local buffer of that size.
27390 * libio/tst-fputws.c: New file.
27391 * libio/Makefile (tests): Add tst-fputws.
27392
27393 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
27394
27395 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27396 the size of the fpu_fr.fpu_dregs[] array.
27397
27398 2014-11-01 Joseph Myers <joseph@codesourcery.com>
27399
27400 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27401 (__nanosleep): Do not define as alias.
27402 (nanosleep): Define as alias of __nanosleep.
27403 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27404 __libc_nanosleep name.
27405
27406 2014-10-31 Joseph Myers <joseph@codesourcery.com>
27407
27408 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27409 install.texi in comment.
27410
27411 2014-10-31 Torvald Riegel <triegel@redhat.com>
27412
27413 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27414 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27415 ... add here and use lwsync or sync ...
27416 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27417 ... and add here using lwsync.
27418
27419 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
27420
27421 * elf/dl-machine-reject-phdr.h: New file.
27422 * elf/dl-load.c: #include that.
27423 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27424 if that returned true.
27425
27426 2014-10-31 Roland McGrath <roland@hack.frob.com>
27427
27428 [BZ #17496]
27429 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27430 gen-as-const-headers chunk. Add a big scare comment after the last
27431 safe place to touch before-compile.
27432
27433 2014-10-31 Joseph Myers <joseph@codesourcery.com>
27434
27435 * manual/install.texi (Tools for Compilation): Update autoconf
27436 version requirements.
27437 * INSTALL: Regenerated.
27438
27439 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27440 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27441 (__libc_pselect): Likewise.
27442
27443 [BZ #14138]
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27448
27449 2014-10-31 Torvald Riegel <triegel@redhat.com>
27450
27451 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27452 correct barrier instruction.
27453 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27454 Likewise.
27455 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27456 Likewise.
27457
27458 2014-10-30 Roland McGrath <roland@hack.frob.com>
27459
27460 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27461 after defining inlines. Instead, just use parens to defeat macro
27462 expansion of __isctype in its declaration.
27463
27464 2014-10-30 Joseph Myers <joseph@codesourcery.com>
27465
27466 * include/sys/uio.h (__libc_readv): Remove declaration.
27467 (__libc_writev): Likewise.
27468 * misc/readv.c (__libc_readv): Rename to __readv.
27469 (__readv): Do not define as alias.
27470 (readv): Define as alias of __readv.
27471 * misc/writev.c (__libc_writev): Rename to __writev.
27472 (__writev): Do not define as alias.
27473 (writev): Define as alias of __writev.
27474 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27475 (__readv): Do not define as alias.
27476 (readv): Define unconditionally as alias of __readv.
27477 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27478 (__writev): Do not define as alias.
27479 (writev): Define unconditionally as alias of __writev.
27480 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27481 name.
27482 (writev): Do not define __libc_writev name.
27483
27484 2014-10-30 Roland McGrath <roland@hack.frob.com>
27485
27486 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27487 (convert_charseq): New function, broken out of ...
27488 (use_from_charmap): ... here. Call it.
27489 (use_to_charmap): Use convert_charseq and free instead of duplicating
27490 its code with a variable-length stack struct.
27491
27492 2014-10-30 Joseph Myers <joseph@codesourcery.com>
27493
27494 * include/fcntl.h (__libc_creat): Remove declaration.
27495 * io/creat.c (__libc_creat): Rename to creat.
27496 (creat): Do not define as alias.
27497 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27498 of creat instead of __libc_creat.
27499 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27500 to creat.
27501 (creat): Do not define as alias.
27502 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27503 __libc_creat.
27504 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27505 __libc_creat name.
27506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27507 Likewise.
27508
27509 2014-10-29 Carlos O'Donell <carlos@redhat.com>
27510
27511 * manual/llio.texi: Add comments discussing why write() may be
27512 considered MT-unsafe on Linux.
27513
27514 2014-10-28 Carlos O'Donell <carlos@redhat.com>
27515
27516 * dl-load.c (local_strdup): Remove.
27517 (expand_dynamic_string_token): Use __strdup.
27518 (decompose_rpath): Likewise.
27519 (_dl_map_object): Likewise.
27520
27521 2014-10-28 Joseph Myers <joseph@codesourcery.com>
27522
27523 [BZ #14132]
27524 * sysdeps/generic/unwind-dw2-fde.c
27525 (__register_frame_info_bases_internal): Do not declare.
27526 (__register_frame_info_table_bases_internal): Likewise.
27527 (__deregister_frame_info_bases_internal): Likewise.
27528 (__register_frame_info_bases): Declare and use hidden_proto before
27529 definition. Use hidden_def instead of INTDEF.
27530 (__register_frame_info_table_bases): Likewise.
27531 (__deregister_frame_info_bases): Likewise.
27532 (__register_frame_info): Do not use INTUSE.
27533 (__register_frame): Likewise.
27534 (__register_frame_info_table): Likewise.
27535 (__register_frame_table): Likewise.
27536 (__deregister_frame_info): Likewise.
27537 (__deregister_frame): Likewise.
27538
27539 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
27540
27541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27542 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27543 not undefine.
27544 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27545 Likewise.
27546 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27547 Likewise.
27548
27549 2014-10-27 Joseph Myers <joseph@codesourcery.com>
27550
27551 [BZ #14138]
27552 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27553 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27554 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27556 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27557 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27558 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27559 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27560 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27561 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27562 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27563 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27564 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27565 syscall.
27566 (setfsuid): Likewise.
27567 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27568 (setfsuid): Likewise.
27569 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27570 (setfsuid): Likewise.
27571 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27572 Likewise.
27573 (setfsuid): Likewise.
27574 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27575 (setfsuid): Likewise.
27576 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27577 Likewise.
27578 (setfsuid): Likewise.
27579
27580 2014-10-27 Andreas Schwab <schwab@suse.de>
27581
27582 [BZ #17501]
27583 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27584 check for Slow_SSE4_2 feature bit.
27585 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27586 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27587 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27588 Likewise. Fix check for Fast_Unaligned_Load feature bit.
27589
27590 2014-10-24 Roland McGrath <roland@hack.frob.com>
27591
27592 * configure.ac: Validate compiler version with a empirical test of
27593 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27594 $CC -v output.
27595 * configure: Regenerated.
27596
27597 * inet/htons.c (htons): Prototypify.
27598 * inet/htonl.c (htonl): Likewise.
27599
27600 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27601
27602 * string/strncat.c (strncat): Improve performance by using strlen.
27603
27604 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27605
27606 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27607
27608 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27609
27610 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27611 Call libc_fetestexcept_aarch64.
27612
27613 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27614
27615 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27616 Call libc_feholdexcept_aarch64.
27617
27618 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27619
27620 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27621 Call get_rounding_mode.
27622
27623 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27624
27625 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27626 Simplify logic.
27627
27628 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27629
27630 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27631 Simplify logic.
27632
27633 2014-10-24 Joseph Myers <joseph@codesourcery.com>
27634
27635 [BZ #14138]
27636 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27637 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27638 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27639 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27640 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27641 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27642 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27643 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27644 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27645 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27646 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27647 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27648 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27649 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27650 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27651 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27652 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27653 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27654 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27655 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27656 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27657 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27658 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27659 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27660 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27661 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27662 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27663 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27664 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27665 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27666 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27667 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27668 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27669 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27670 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27671 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27673 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27674 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27675 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27676 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27677 syscall.
27678 (geteuid): Likewise.
27679 (getgid): Likewise.
27680 (getuid): Likewise.
27681 (getresgid): Likewise.
27682 (getresuid): Likewise.
27683 (getgroups): Likewise.
27684 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27685 (geteuid): Likewise.
27686 (getgid): Likewise.
27687 (getuid): Likewise.
27688 (getresgid): Likewise.
27689 (getresuid): Likewise.
27690 (getgroups): Likewise.
27691 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27692 (geteuid): Likewise.
27693 (getgid): Likewise.
27694 (getuid): Likewise.
27695 (getresgid): Likewise.
27696 (getresuid): Likewise.
27697 (getgroups): Likewise.
27698 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27699 Likewise.
27700 (geteuid): Likewise.
27701 (getgid): Likewise.
27702 (getuid): Likewise.
27703 (getresgid): Likewise.
27704 (getresuid): Likewise.
27705 (getgroups): Likewise.
27706 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27707 (geteuid): Likewise.
27708 (getgid): Likewise.
27709 (getuid): Likewise.
27710 (getresgid): Likewise.
27711 (getresuid): Likewise.
27712 (getgroups): Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27714 Likewise.
27715 (geteuid): Likewise.
27716 (getgid): Likewise.
27717 (getuid): Likewise.
27718 (getgroups): Likewise.
27719
27720 [BZ #14138]
27721 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27722 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27723 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27724 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27725 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27726 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27727 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27728 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27729 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27730 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27731 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27732 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27733 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27734 __chown.
27735 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27736 (lchown): Likewise.
27737 (fchown): Likewise.
27738 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27739 Likewise.
27740 (lchown): Likewise.
27741 (fchown): Likewise.
27742 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27743 (lchown): Likewise.
27744 (fchown): Likewise.
27745 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27746 Likewise.
27747 (lchown): Likewise.
27748 (fchown): Likewise.
27749
27750 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27751
27752 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27753 Simplify logic.
27754
27755 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27756
27757 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27758 Cleanup logic.
27759
27760 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27761
27762 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27763 Remove unused include.
27764
27765 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27766
27767 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27768 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27769 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27770 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27771
27772 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
27773 Helge Deller <deller@gmx.de>
27774
27775 [BZ #17508]
27776 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27777 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27778 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27779
27780 2014-10-23 Joseph Myers <joseph@codesourcery.com>
27781
27782 [BZ #14132]
27783 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27784 Remove macro definition.
27785 (__ashrdi3_v_glibc20): Likewise.
27786 (__lshrdi3_v_glibc20): Likewise.
27787 (__cmpdi2_v_glibc20): Likewise.
27788 (__ucmpdi2_v_glibc20): Likewise.
27789 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27790 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27791 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27792 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27793 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27794 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27795
27796 2014-10-22 Roland McGrath <roland@hack.frob.com>
27797
27798 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27799 old GNU extension [0] syntax.
27800 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27801 alloca rather than an array member with variable length.
27802 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27803 * nscd/nscd.c (invalidate_db): New function, broken out of ...
27804 (parse_opt): ... here. Likewise use alloca there.
27805 Validate the -i argument before checking for rootness.
27806 (send_shutdown): New function, broken out of ...
27807 (parse_opt): ... here.
27808
27809 2014-10-22 Roland McGrath <roland@hack.frob.com>
27810
27811 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27812 macro to get at the _rt_local_ro field.
27813 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27814 ([PIC] case) or _dl_hwcap ([!PIC] case).
27815 * sysdeps/arm/setjmp.S: Likewise.
27816
27817 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27818 * sysdeps/arm/configure.ac: New check to define it.
27819 * sysdeps/arm/configure: Regenerated.
27820 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27821 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27822 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27823 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27824 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27825 Use move/movt pair instead of a load.
27826 (LDST_GLOBAL): Macro removed.
27827 (LDR_GLOBAL): New macro replaces it.
27828 (LDR_HIDDEN): New macro.
27829 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27830 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27831
27832 * setjmp/tst-setjmp-static.c: New file.
27833 * setjmp/Makefile (tests): Add it.
27834 (tests-static): New variable.
27835
27836 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
27837
27838 [BZ #17485]
27839 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27840
27841 2014-10-21 Joseph Myers <joseph@codesourcery.com>
27842
27843 [BZ #14132]
27844 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27845
27846 2014-10-21 Roland McGrath <roland@hack.frob.com>
27847
27848 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27849
27850 2014-10-20 Roland McGrath <roland@hack.frob.com>
27851
27852 * io/fts.c (dirent_not_directory): New function.
27853 (fts_build): Call it.
27854
27855 2014-10-20 Roland McGrath <roland@hack.frob.com>
27856
27857 * nptl/version.c (__nptl_main): Use normal __write rather than
27858 INTERNAL_SYSCALL.
27859 (banner): Update copyright years.
27860
27861 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27862 gettimeofday.
27863 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27864 * nptl/pthread_cond_timedwait.c: Likewise.
27865 * nptl/pthread_mutex_timedlock.c: Likewise.
27866 * nptl/sem_timedwait.c: Likewise.
27867
27868 * sysdeps/nptl/bits/libc-lock.h
27869 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27870 (__libc_lock_init_recursive): Return void, not 0.
27871 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27872 (__libc_rwlock_init): Likewise.
27873 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27874
27875 2014-10-20 Torvald Riegel <triegel@redhat.com>
27876
27877 [BZ #15215]
27878 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27879 (__pthread_once_slow): ... here.
27880 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27881 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27882
27883 2014-10-20 Torvald Riegel <triegel@redhat.com>
27884
27885 [BZ #15215]
27886 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27887 __PTHREAD_ONCE_FORK_GEN_INCR): New.
27888 * sysdeps/nptl/fork.c (__libc_fork): Use them.
27889 * nptl/pthread_once.c (__pthread_once): Likewise.
27890 Update comments.
27891
27892 2014-10-20 Joseph Myers <joseph@codesourcery.com>
27893
27894 [BZ #14138]
27895 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27896 name.
27897 (writev): Use __libc_writev as strong name.
27898 * sysdeps/unix/sysv/linux/readv.c: Remove file.
27899 * sysdeps/unix/sysv/linux/writev.c: Likewise.
27900
27901 2014-10-17 Roland McGrath <roland@hack.frob.com>
27902
27903 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27904
27905 * sysdeps/i386/nptl/tls.h
27906 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27907 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27908 New macros.
27909 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27910 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27911 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27912 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27913 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27914 Call CHECK_THREAD_SYSINFO instead of doing an assert.
27915
27916 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27917 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27918 on [__NR_futex].
27919 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27920 broken out of ...
27921 (__pthread_mutex_init): ... here. Call it.
27922 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27923 Conditionalize PI cases on [__NR_futex].
27924 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27925 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27926 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27927
27928 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27929 conditional on [SIGSETXID].
27930 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27931 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27932 is defined. Likewise for SIGSETXID.
27933 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27934 Conditionalize definitions on [SIGSETXID].
27935 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27936 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27937 unblocking on [SIGCANCEL].
27938
27939 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27940 [__NR_set_robust_list].
27941
27942 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27943
27944 * string/strcoll_l.c (get_next_seq): Fix up formatting.
27945 (do_compare): Likewise.
27946
27947 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
27948
27949 [BZ #15884]
27950 * string/strcoll_l.c: Don't include stdio.h.
27951 (coll_seq): Remove members idxarr and rulearr.
27952 (get_next_seq_cached): Remove function.
27953 (get_next_seq): Likewise.
27954 (get_next_seq_nocache): Rename to get_next_seq.
27955 (do_compare): Remove function.
27956 (do_compare_nocache): Rename to do_compare.
27957 (STRCOLL): Remove weight and rules cache.
27958
27959 2014-10-16 Roland McGrath <roland@hack.frob.com>
27960
27961 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27962 * sysdeps/arm/sfp-machine.h: ... to here.
27963 * sysdeps/arm/Implies: Remove arm/soft-fp.
27964
27965 2014-10-14 Joseph Myers <joseph@codesourcery.com>
27966
27967 * conform/data/sys/utsname.h-data (*_t): Allow.
27968 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27969 [POSIX] (WEXITED): Do not expect constant.
27970 [POSIX] (WSTOPPED): Likewise.
27971 [POSIX] (WNOHANG): Likewise.
27972 [POSIX] (WNOWAIT): Likewise.
27973 [POSIX] (siginfo_t): Do not expect type or elements.
27974 [POSIX] (pid_t): Do not expect type.
27975 [POSIX] (signal.h): Do not allow header.
27976 [POSIX] (sys/resource.h): Likewise.
27977 [POSIX] (si_*): Do not allow pattern.
27978 [POSIX] (W*): Likewise.
27979 [POSIX] (P_*): Likewise.
27980 [POSIX] (BUS_*): Likewise.
27981 [POSIX] (CLD_*): Likewise.
27982 [POSIX] (FPE_*): Likewise.
27983 [POSIX] (ILL_*): Likewise.
27984 [POSIX] (POLL_*): Likewise.
27985 [POSIX] (SEGV_*): Likewise.
27986 [POSIX] (SI_*): Likewise.
27987 [POSIX] (TRAP_*): Likewise.
27988 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27989 variable.
27990
27991 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
27992
27993 [BZ #12926]
27994 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27995 infinite loop when __recvmsg returns 0.
27996
27997 2014-10-10 Joseph Myers <joseph@codesourcery.com>
27998
27999 * CANCEL-FCT-WAIVE: Remove file.
28000 * CANCEL-FILE-WAIVE: Likewise.
28001
28002 [BZ #14132]
28003 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28004 instead of INTVARDEF.
28005 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28006 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28007 rtld_hidden_data_def instead of INTVARDEF.
28008 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28009 * elf/dl-deps.c (expand_dst): Likewise.
28010 * elf/dl-load.c (_dl_dst_count): Likewise.
28011 (_dl_dst_substitute): Likewise.
28012 (decompose_rpath): Likewise.
28013 (_dl_init_paths): Likewise.
28014 (open_path): Likewise.
28015 (_dl_map_object): Likewise.
28016 * elf/rtld.c (dl_main): Likewise.
28017 (process_dl_audit): Likewise.
28018 (process_envvars): Likewise.
28019 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28020 Remove declaration.
28021 (__libc_enable_secure): Use rtld_hidden_proto.
28022
28023 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28024
28025 * elf/dl-load.c
28026 (add_path): New function broken out of _dl_rtld_di_serinfo.
28027 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
28028
28029 2014-10-09 Joseph Myers <joseph@codesourcery.com>
28030
28031 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28032 parentheses around macro arguments.
28033 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28035 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28036 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28037 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28038 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28039 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28040 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28041 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28042 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28043 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28044 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28045 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28046 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28047 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28048 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28049 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28051 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28054 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28055 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28056 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28057 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28058 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28059 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28060 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28061 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28062 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28063 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28064 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28065 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28066 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28067 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28068 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28069 Likewise.
28070 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28071 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28072 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28073 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28074 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28075 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28076 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28077 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28078 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28079 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28080 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28081 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28082 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28083 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28084 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28085 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28086 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28087 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28088 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28089 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28090 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28091 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28092 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28093 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28094 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28095 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28096 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28097 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28098 (_FP_FRAC_SRS_1): Likewise.
28099 (_FP_FRAC_CLZ_1): Likewise.
28100 (_FP_MUL_MEAT_1_imm): Likewise.
28101 (_FP_MUL_MEAT_1_wide): Likewise.
28102 (_FP_MUL_MEAT_1_hard): Likewise.
28103 (_FP_SQRT_MEAT_1): Likewise.
28104 (_FP_FRAC_ASSEMBLE_1): Likewise.
28105 (_FP_FRAC_DISASSEMBLE_1): Likewise.
28106 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28107 (__FP_CLZ_2): Likewise.
28108 (_FP_MUL_MEAT_2_wide): Likewise.
28109 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28110 (_FP_MUL_MEAT_2_gmp): Likewise.
28111 (_FP_MUL_MEAT_2_120_240_double): Likewise.
28112 (_FP_SQRT_MEAT_2): Likewise.
28113 (_FP_FRAC_ASSEMBLE_2): Likewise.
28114 (_FP_FRAC_DISASSEMBLE_2): Likewise.
28115 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28116 (_FP_FRAC_CLZ_4): Likewise.
28117 (_FP_MUL_MEAT_4_wide): Likewise.
28118 (_FP_MUL_MEAT_4_gmp): Likewise.
28119 (_FP_SQRT_MEAT_4): Likewise.
28120 (_FP_FRAC_ASSEMBLE_4): Likewise.
28121 (_FP_FRAC_DISASSEMBLE_4): Likewise.
28122 * soft-fp/op-common.h (_FP_CMP): Likewise.
28123 (_FP_CMP_EQ): Likewise.
28124 (_FP_CMP_UNORD): Likewise.
28125 (_FP_TO_INT): Likewise.
28126 (_FP_FROM_INT): Likewise.
28127 [!__FP_CLZ] (__FP_CLZ): Likewise.
28128 (_FP_DIV_HELP_imm): Likewise.
28129 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28130 Likewise.
28131 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28134 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28136 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28137 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28140 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28141 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28142 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28143 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28144 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28145 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28146 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28147 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28149 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28151 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28153 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28154 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28155 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28156 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28157 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28158 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28159 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28160 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28161 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28162 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28163 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28164 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28165 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28166 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28167 (FP_UNPACK_RAW_SP): Likewise.
28168 (FP_PACK_RAW_S): Likewise.
28169 (FP_PACK_RAW_SP): Likewise.
28170 (FP_UNPACK_S): Likewise.
28171 (FP_UNPACK_SP): Likewise.
28172 (FP_UNPACK_SEMIRAW_S): Likewise.
28173 (FP_UNPACK_SEMIRAW_SP): Likewise.
28174 (FP_PACK_S): Likewise.
28175 (FP_PACK_SP): Likewise.
28176 (FP_PACK_SEMIRAW_S): Likewise.
28177 (FP_PACK_SEMIRAW_SP): Likewise.
28178 (_FP_SQRT_MEAT_S): Likewise.
28179 (FP_CMP_S): Likewise.
28180 (FP_CMP_EQ_S): Likewise.
28181 (FP_CMP_UNORD_S): Likewise.
28182 (FP_TO_INT_S): Likewise.
28183 (FP_FROM_INT_S): Likewise.
28184
28185 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28186
28187 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28188 (FP_EX_INVALID_IMZ): Likewise.
28189 (FP_EX_INVALID_IMZ_FMA): Likewise.
28190 (FP_EX_INVALID_ISI): Likewise.
28191 (FP_EX_INVALID_ZDZ): Likewise.
28192 (FP_EX_INVALID_IDI): Likewise.
28193 (FP_EX_INVALID_SQRT): Likewise.
28194 (FP_EX_INVALID_CVI): Likewise.
28195 (FP_EX_INVALID_VC): Likewise.
28196 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28197 "invalid" exceptions.
28198 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28199 (_FP_ADD_INTERNAL): Likewise.
28200 (_FP_MUL): Likewise.
28201 (_FP_FMA): Likewise.
28202 (_FP_DIV): Likewise.
28203 (_FP_CMP_CHECK_NAN): Likewise.
28204 (_FP_SQRT): Likewise.
28205 (_FP_TO_INT): Likewise.
28206 (FP_EXTEND): Likewise.
28207
28208 2014-10-09 Allan McRae <allan@archlinux.org>
28209
28210 * po/fr.po: Update French translation from translation project.
28211
28212 2014-10-09 Joseph Myers <joseph@codesourcery.com>
28213
28214 [BZ #14132]
28215 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28216 of INTDEF.
28217 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28218 (__cxa_atexit): Use libc_hidden_proto.
28219 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28220
28221 [BZ #14132]
28222 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28223 declaration.
28224 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28225 [!_ISOMAC] (__iswspace_l_internal): Likewise.
28226 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28227 [!_ISOMAC] (__iswctype_internal): Likewise.
28228 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28229 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28230 alias.
28231 (fcntl): Remove __fcntl_internal alias.
28232 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28233 __connect_internal alias.
28234 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28235 Likewise.
28236
28237 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28238 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28239 FP_DENORM_ZERO.
28240 (_FP_CHECK_FLUSH_ZERO): New macro.
28241 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28242 (_FP_CMP): Likewise.
28243 (_FP_CMP_EQ): Likewise.
28244 (_FP_TO_INT): Do not set inexact for subnormal arguments if
28245 FP_DENORM_ZERO.
28246 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28247 (FP_TRUNC): Likewise.
28248
28249 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28250 treated as invalid conversion, not as normal exponent.
28251
28252 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28253 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
28254 (_FP_CMP_EQ): Likewise.
28255 (_FP_CMP_UNORD): Likewise.
28256 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28257 (FP_CMP_EQ_D): Likewise.
28258 (FP_CMP_UNORD_D): Likewise.
28259 * soft-fp/extended.h (FP_CMP_E): Likewise.
28260 (FP_CMP_EQ_E): Likewise.
28261 (FP_CMP_UNORD_E): Likewise.
28262 * soft-fp/quad.h (FP_CMP_Q): Likewise.
28263 (FP_CMP_EQ_Q): Likewise.
28264 (FP_CMP_UNORD_Q): Likewise.
28265 * soft-fp/single.h (FP_CMP_S): Likewise.
28266 (FP_CMP_EQ_S): Likewise.
28267 (FP_CMP_UNORD_S): Likewise.
28268 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28269 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28270 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28271 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28272 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28273 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28274 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28275 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28276 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28277 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28278 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28279 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28280 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28281 to FP_CMP_Q.
28282 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28283 FP_CMP_Q.
28284 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28285 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28286 FP_CMP_EQ_Q.
28287 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28288 FP_CMP_Q.
28289 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28290 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28291 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28292 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28293 FP_CMP_EQ_Q.
28294 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28295 FP_CMP_Q.
28296 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28297 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28298 FP_CMP_EQ_Q.
28299 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28300 FP_CMP_Q.
28301 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28302 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28303 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28304 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28305 FP_CMP_EQ_Q.
28306
28307 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28308 a subnormal result, set the underflow exception if trapping on
28309 underflow is enabled.
28310 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28311 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28312 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28313 redefine to 0.
28314 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28315 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28316 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28317 * soft-fp/extendxftf2.c (__extendxftf2): Use
28318 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28319
28320 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28321 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28322 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28323 FP_HANDLE_EXCEPTIONS.
28324 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28325 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28326 FP_HANDLE_EXCEPTIONS.
28327 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28328 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28329 FP_HANDLE_EXCEPTIONS.
28330 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28331 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28332 FP_HANDLE_EXCEPTIONS.
28333
28334 2014-10-08 Joseph Myers <joseph@codesourcery.com>
28335
28336 [BZ #14132]
28337 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28338 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28339 use INTUSE.
28340 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28341 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28342 Remove alias.
28343 (__adjtimex): Define using libc_hidden_ver.
28344 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28345 Remove declaration.
28346 (ntp_gettime): Call __adjtimex directly.
28347 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28348 Remove declaration.
28349 (ntp_gettimex): Call __adjtimex directly.
28350 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28351 __adjtimex_internal alias.
28352
28353 2014-10-08 Roland McGrath <roland@hack.frob.com>
28354
28355 [BZ #17460]
28356 * nscd/nscd.c (more_help): Rewrite list of tables collection
28357 using xstrdup and asprintf.
28358
28359 * nscd/nscd_conf.c: Remove local xstrdup declaration.
28360
28361 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28362 Roland McGrath <roland@hack.frob.com>
28363
28364 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28365 (do_lookup_unique): ... local function 'enter' here; update callers.
28366
28367 2014-10-06 Joseph Myers <joseph@codesourcery.com>
28368
28369 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28370 compat_symbol calls on [SHARED].
28371 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28372 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28373 Remove.
28374 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28375 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28376 (oldsetrlimit): Remove.
28377 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28379 (lchown): New syscall entry.
28380 (oldsetrlimit): Remove.
28381 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28383 (oldsetrlimit): Remove.
28384 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28385
28386 [BZ #14138]
28387 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28388 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28389 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28390 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28391 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28392 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28393 (fchown): Likewise.
28394 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28395 (fchown): Likewise.
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28397 Likewise.
28398
28399 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28400
28401 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28402 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28403 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28404 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28405 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28406 Likewise.
28407 (__old_sem_post): Likewise.
28408
28409 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
28410
28411 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28412 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28413 HAVE_CLOCK_GETTIME_VSYSCALL macros.
28414 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28415 Use INLINE_VSYSCALL macro.
28416 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28417 __vdso_clock_gettime.
28418 * sysdeps/unix/sysv/linux/tile/init-first.c
28419 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28420 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28421 __vdso_clock_gettime.
28422
28423 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28424 to set up frame more cleanly.
28425
28426 * sysdeps/tile/memcmp.c: New file.
28427
28428 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28429
28430 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28431 * sysdeps/tile/tilegx/strcasestr.c: New file.
28432 * sysdeps/tile/tilegx/strnlen.c: New file.
28433 * sysdeps/tile/tilegx/strstr.c: New file.
28434
28435 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28436
28437 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
28438
28439 * nptl/tst-setuid3.c: Write errors to stdout.
28440
28441 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28442
28443 * elf/dl-deps.c
28444 (preload): New functions broken out of _dl_map_object_deps.
28445 (_dl_map_object_deps): Remove a nested function. Update call sites.
28446
28447 2014-10-01 Joseph Myers <joseph@codesourcery.com>
28448
28449 [BZ #14138]
28450 * sysdeps/unix/sysv/linux/execve.c: Remove file.
28451 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28452
28453 2014-10-01 Steve Ellcey <sellcey@mips.com>
28454
28455 * sysdeps/mips/strcmp.S: New.
28456
28457 2014-09-30 Joseph Myers <joseph@codesourcery.com>
28458
28459 [BZ #14138]
28460 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28461 (linkat): Likewise.
28462 (mkdirat): Likewise.
28463 (readlinkat): Likewise.
28464 (renameat): Likewise.
28465 (symlinkat): Likewise.
28466 (unlinkat): Likewise.
28467 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28468 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28469 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28470 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28471 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28472 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28473 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28474
28475 2014-09-30 Will Newton <will.newton@linaro.org>
28476
28477 * math/math.h: Define long double math functions if
28478 _LIBC_TEST is defined.
28479 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28480
28481 * localedata/Makefile: Move assignment to tests-special
28482 into an ifdef testing run-built-tests.
28483 * timezone/Makefile: Likewise.
28484
28485 2014-09-29 Joseph Myers <joseph@codesourcery.com>
28486
28487 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28488 with $(BASH) not $(SHELL).
28489
28490 2014-09-29 Carlos O'Donell <carlos@redhat.com>
28491 Matthew LeGendre <legendre1@llnl.gov>
28492
28493 [BZ #17411]
28494 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28495 l_reloc_result.
28496
28497 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28498
28499 * stdio-common/printf_fp.c
28500 (hack_digit): New function, broken out of ...
28501 (__printf_fp): ... local function here. Update call sites.
28502 hack_digit now takes an additional parameter that is a pointer
28503 to a struct of the referenced locals. Those locals moved inside
28504 the struct and references updated.
28505
28506 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
28507
28508 * aclocal.m4: Require autoconf 2.69.
28509 * configure: Regenerated.
28510 * sysdeps/aarch64/configure: Likewise.
28511 * sysdeps/alpha/configure: Likewise.
28512 * sysdeps/arm/armv7/configure: Likewise.
28513 * sysdeps/arm/configure: Likewise.
28514 * sysdeps/ia64/configure: Likewise.
28515 * sysdeps/mach/configure: Likewise.
28516 * sysdeps/mips/configure: Likewise.
28517 * sysdeps/s390/configure: Likewise.
28518 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28520
28521 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28522 file.
28523 * sysdeps/ia64/configure.ac: Likewise.
28524
28525 2014-09-26 Joseph Myers <joseph@codesourcery.com>
28526
28527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28528 specify symbol version for ld.so. Do not include entry for
28529 libpthread.
28530 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28531 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28532 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28533
28534 [BZ #14171]
28535 * Makeconfig [$(build-shared) = yes]
28536 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28537 makefiles.
28538 [$(build-shared) = yes && $(soversions.mk-done) = t]
28539 ($(common-objpfx)gnu/lib-names.h): Remove rule.
28540 [$(build-shared) = yes && $(soversions.mk-done) = t]
28541 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
28542 to Makerules.
28543 [$(build-shared) = yes && $(soversions.mk-done) = t]
28544 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28545 here.
28546 [$(build-shared) = yes && $(soversions.mk-done) = t]
28547 (common-generated): Don't append gnu/lib-names.h and
28548 gnu/lib-names.stmp here.
28549 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28550 (lib-names-h-abi): New variable.
28551 [$(build-shared) = yes && $(soversions.mk-done) = t]
28552 (lib-names-stmp-abi): Likewise.
28553 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28554 abi-variants] (before-compile): Append
28555 $(common-objpfx)$(lib-names-h-abi).
28556 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28557 abi-variants] (common-generated): Append gnu/lib-names.h.
28558 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28559 abi-variants] (install-others-nosubdir): Depend on
28560 $(inst_includedir)/$(lib-names-h-abi).
28561 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28562 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28563 [$(build-shared) = yes && $(soversions.mk-done) = t]
28564 ($(common-objpfx)$(lib-names-h-abi)): New rule.
28565 [$(build-shared) = yes && $(soversions.mk-done) = t]
28566 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28567 [$(build-shared) = yes && $(soversions.mk-done) = t]
28568 (common-generated): Append $(lib-names-h-abi) and
28569 $(lib-names-stmp-abi).
28570 * scripts/lib-names.awk: Do not handle multi being set.
28571 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28572 Remove variable.
28573 (abi-lp64_be-ld-soname): Likewise.
28574 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28575 Likewise.
28576 (abi-hard-ld-soname): Likewise.
28577 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28578 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28579 Remove variable.
28580 (abi-o32_hard-ld-soname): Likewise.
28581 (abi-o32_soft_2008-ld-soname): Likewise.
28582 (abi-o32_hard_2008-ld-soname): Likewise.
28583 (abi-n32_soft-ld-soname): Likewise.
28584 (abi-n32_hard-ld-soname): Likewise.
28585 (abi-n32_soft_2008-ld-soname): Likewise.
28586 (abi-n32_hard_2008-ld-soname): Likewise.
28587 (abi-n64_soft-ld-soname): Likewise.
28588 (abi-n64_hard-ld-soname): Likewise.
28589 (abi-n64_soft_2008-ld-soname): Likewise.
28590 (abi-n64_hard_2008-ld-soname): Likewise.
28591 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28592 Likewise.
28593 (abi-64-v2-ld-soname): Likewise.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28595 ld.so entries.
28596 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28597 variable.
28598 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28599 entry.
28600 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28601 variable.
28602 (abi-64-ld-soname): Likewise.
28603 (abi-x32-ld-soname): Likewise.
28604 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28605 entry.
28606 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28607
28608 2014-09-23 Joseph Myers <joseph@codesourcery.com>
28609
28610 [BZ #14138]
28611 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28612 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28613 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28614 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28615 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28616 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28617 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28618 syscall entry for GLIBC_2.2 symbol version.
28619 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28620 Likewise.
28621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28622 (setrlimit): Likewise.
28623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28624 Likewise.
28625
28626 2014-09-23 Will Newton <will.newton@linaro.org>
28627
28628 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28629 _LINUX_ARM_SYSDEP_H include guard too.
28630 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28631 define.
28632
28633 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
28634
28635 * sysdeps/unix/sysv/linux/eventfd.c:
28636 Make first argument unsigned.
28637 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28638 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28639
28640 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
28641
28642 [BZ #16852]
28643 * socket/recvmmsg.c (recvmmsg): Drop const argument.
28644 * socket/sys/socket.h: Likewise.
28645 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28646
28647 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28648
28649 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28650
28651 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
28652
28653 * time/tst-ftime.c: New test.
28654 * time/Makefile (tests): Add tst-ftime.
28655
28656 2014-09-17 Joseph Myers <joseph@codesourcery.com>
28657
28658 * soft-fp/extended.h: Fix comment formatting.
28659 * soft-fp/op-1.h: Likewise.
28660 * soft-fp/op-2.h: Likewise.
28661 * soft-fp/op-4.h: Likewise.
28662 * soft-fp/op-8.h: Likewise.
28663 * soft-fp/op-common.h: Likewise.
28664 * soft-fp/soft-fp.h: Likewise.
28665
28666 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28667
28668 2014-09-16 Joseph Myers <joseph@codesourcery.com>
28669
28670 [BZ #6652]
28671 * Makeconfig (soversions-default-setname): Remove variable.
28672 ($(common-objpfx)soversions.i): Don't pass default_setname to
28673 soversions.awk.
28674 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28675 oldest_abi to abi-versions.awk.
28676 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28677 * config.make.in (oldest-abi): Remove variable.
28678 * configure.ac (--enable-oldest-abi): Remove configure option.
28679 * configure: Regenerated.
28680 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28681 text.
28682 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28683 * scripts/soversions.awk: Do not handle default_setname variable.
28684 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28685 variable.
28686 * sysdeps/mach/hurd/configure: Regenerated.
28687 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28688 variable.
28689 * sysdeps/unix/sysv/linux/configure: Regenerated.
28690
28691 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28692
28693 * elf/Makefile (CFLAGS-interp.c): Remove.
28694 ($(elf-objpfx)runtime-linker.h): Generate header with linker
28695 path string.
28696 * elf/interp.c: Include generated runtime-linker.h
28697
28698 * Makerules (lib%.so): Don't include $(+interp) in
28699 prerequisites.
28700 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28701 * dlfcn/eval.c: Remove file.
28702
28703 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28704 macros.
28705
28706 [BZ #17266]
28707 * misc/sys/cdefs.h: Define __extern_always_inline for clang
28708 4.2 and newer.
28709
28710 [BZ #17370]
28711 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28712
28713 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28714 Jakub Jelinek <jakub@redhat.com>
28715
28716 [BZ #17266]
28717 * libio/stdio.h: Check definition of __fortify_function
28718 instead of __extern_always_inline to include bits/stdio2.h.
28719 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28720 check if __extern_always_inline is defined.
28721 [__USE_MISC || __USE_XOPEN]: Likewise.
28722 [__USE_ISOC99] Likewise.
28723 * misc/sys/cdefs.h (__fortify_function): Define only if
28724 __extern_always_inline is defined.
28725 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28726 __extern_always_inline and __extern_inline only for g++-4.3
28727 and newer or a compatible gcc.
28728
28729 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
28730
28731 [BZ #17371]
28732 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28733 last change to handle zero prefix length.
28734
28735 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28736
28737 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28738 _SC_REGEX_VERSION.
28739
28740 * posix/getconf.c (vars): Add _POSIX_IPV6 and
28741 _POSIX_RAW_SOCKETS.
28742
28743 2014-09-13 Allan McRae <allan@archlinux.org>
28744
28745 * po/ru.po: Update Russian translation from translation project.
28746
28747 2014-09-12 Roland McGrath <roland@hack.frob.com>
28748
28749 * locale/programs/locale.c (show_locale_vars): Inline local function
28750 into its sole call site. Clean up some style nits.
28751 (print_item): New function, broken out of ...
28752 (show_info): ... local function here. Clean up style nits.
28753
28754 * locale/programs/ld-ctype.c (set_one_default): New function, broken
28755 out of ...
28756 (set_class_defaults): ... local function set_default here.
28757 Define set_default as a macro locally to pass constant parameters.
28758 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28759 rather than a shared local.
28760
28761 * stdlib/rpmatch.c (try): New function, broken out of ...
28762 (rpmatch): ... local function here. Also, prototypify definition.
28763
28764 2014-09-12 Joseph Myers <joseph@codesourcery.com>
28765
28766 * scripts/soversions.awk: Do not handle configuration names.
28767 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28768 vendor and os variables to soversions.awk.
28769 * configure.ac: Do not modify gnu-* host_os.
28770 * configure: Regenerated
28771 * shlib-versions: Remove first column with configuration names.
28772 * nptl/shlib-versions: Likewise.
28773 * nptl_db/shlib-versions: Likewise.
28774 * sysdeps/hppa/shlib-versions: Likewise.
28775 * sysdeps/m68k/shlib-versions: Likewise.
28776 * sysdeps/mach/hurd/shlib-versions: Likewise.
28777 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28778 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28779 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28780 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28781 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28782 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28783 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28784 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28786 Likewise.
28787 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28788 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28789 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28791 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28792 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28795
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28797 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28799 Regenerated.
28800 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28802 Condition symbol version definitions on [HAVE_ELFV2_ABI].
28803
28804 * shlib-versions: Remove OS-specific entries. Moved to files in
28805 sysdeps.
28806 * sysdeps/mach/hurd/shlib-versions: New file.
28807 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28808
28809 * nptl/shlib-versions: Remove architecture-specific entries.
28810 Moved to files in sysdeps.
28811 * shlib-versions: Likewise.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28813 file.
28814 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28815 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28816 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28817 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28818
28819 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28820 (UDP_NO_CHECK6_RX): Likewise.
28821
28822 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28823
28824 * sysdeps/posix/sysconf.c (__sysconf): Spell
28825 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28826
28827 2014-08-12 Florian Weimer <fweimer@redhat.com>
28828
28829 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28830 loading.
28831 * iconv/Versions (__gconv_transliterate): Export for use from
28832 gconv modules.
28833 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28834 (struct __gconv_trans_data, __gconv_trans_fct,
28835 __gconv_trans_context_fct, __gconv_trans_query_fct,
28836 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28837 definitions.
28838 (struct __gconv_step_data): Remove __trans member.
28839 (__gconv_transliterate): Declaration moved from gconv_int.h. No
28840 longer hidden. Remove unused trans_data argument.
28841 * iconv/gconv_int.h (struct trans_struct): Remove definition.
28842 (__gconv_translit_find): Remove declaration.
28843 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
28844 prototype.
28845 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28846 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28847 trans_data argument. Add hidden definition.
28848 (__gconv_translit_find): Remove.
28849 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28850 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28851 * iconv/skeleton.c: Remove transliteration initialization.
28852 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28853 __gconv_step_data initialization.
28854 * libio/iofwide.c (__libio_translit_): Remove.
28855 (_IO_fwide): Adjust struct __gconv_step_data initialization.
28856 * wcsmbs/btowc.c (__btowc): Likewise.
28857 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28858 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28859 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28860 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28861 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28862 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28863 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28864 * wcsmbs/wctob.c (wctob): Likewise.
28865
28866 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28867
28868 [BZ #16194]
28869 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28870 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
28871 register usage.
28872 * sysdeps/x86/Makefile: Adjust.
28873
28874 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28875 Roland McGrath <roland@hack.frob.com>
28876
28877 * locale/weight.h: Add include guard.
28878 (findidx): Make static rather than auto; take new parameters
28879 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28880 * locale/weightwc.h: Likewise.
28881 * posix/fnmatch_loop.c
28882 (FCT): Change type of EXTRA from int32_t to wint_t.
28883 Don't include either header inside the function.
28884 Call FINDIDX rather than findidx, and pass new arguments.
28885 #undef FINDIDX at the end of the file.
28886 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28887 FINDIDX before including fnmatch_loop.c for the non-wide version.
28888 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28889 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28890 for the wide version.
28891 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28892 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28893 Pass new arguments to findidx.
28894 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28895 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28896 Don't #include it inside the function. Pass new arguments to findidx.
28897 * posix/regex_internal.h
28898 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28899 (re_string_elem_size_at): Don't #include it inside the function.
28900 Pass new arguments to findidx.
28901 * string/strcoll_l.c: #include WEIGHT_H at top level.
28902 (get_next_seq): Don't #include it inside the function.
28903 Pass new arguments to findidx.
28904 (get_next_seq_nocache): Likewise.
28905 * string/strxfrm_l.c: #include WEIGHT_H at top level.
28906 (STRXFRM): Don't #include it inside the function.
28907 Pass new arguments to findidx.
28908
28909 2014-09-11 Florian Weimer <fweimer@redhat.com>
28910
28911 [BZ #17344]
28912 * malloc/malloc.c (unlink): Turn asserts into a call to
28913 malloc_printerr.
28914
28915 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
28916
28917 [BZ #17370]
28918 * libio/wfileops (do_ftell_wide): Free OUT.
28919
28920 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
28921
28922 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28923
28924 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28925
28926 [BZ #17363]
28927 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28928 group if the current group is empty.
28929
28930 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28931
28932 * benchtests/bench-memset.c (test_main): Add more test from size
28933 from 32 to 512 bytes.
28934 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28935 Add POWER8 memset object.
28936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28937 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28938 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28939 implementation.
28940 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28941 Likewise.
28942 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28943 multiarch POWER8 memset optimization.
28944 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28945 POWER8 memset optimization.
28946
28947 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28948 Remove bzero multiarch objects.
28949 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28950 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28951 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28952 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28953 Remove define.
28954 [__bzero]: Redefine to specific name.
28955 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28956 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28957 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28958 define.
28959 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28960 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28961
28962 2014-09-10 Florian Weimer <fweimer@redhat.com>
28963
28964 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28965 warnings into errors.
28966
28967 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28968 __cxa_thread_atexit_impl prototype.
28969
28970 2014-09-09 Steve Ellcey <sellcey@mips.com>
28971
28972 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28973 Fix capitalization of error message.
28974
28975 2014-09-09 Steve Ellcey <sellcey@mips.com>
28976
28977 * sysdeps/mips/preconfigure: Modify ABI tests.
28978
28979 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
28980
28981 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28982
28983 2014-09-07 Roland McGrath <roland@hack.frob.com>
28984 Carlos O'Donell <carlos@systemhalted.org>
28985
28986 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28987 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28988 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28989 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28990 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28991 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28992 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28993 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28994 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28995 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28996 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28997 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28998 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28999 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29000 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29001 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29002 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29003 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29004 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29005 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29006 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29007 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29008 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29009 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29010 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29011 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29012 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29013 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29014 Deconditionalize the code that was previously under [RESET_PID].
29015 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29016 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29017 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29018 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29019 include sysdep.h.
29020
29021 2014-09-08 Allan McRae <allan@archlinux.org>
29022
29023 * version.h (RELEASE): Set to "development".
29024 (VERSION): Set to "2.20.90"
29025
29026 2014-09-07 Allan McRae <allan@archlinux.org
29027
29028 * version.h (RELEASE): Set to "stable".
29029 (VERSION): Set to "2.20"
29030 * include/features.h (__GLIBC_MINOR__): Set to 20.
29031
29032 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29033 Liebler.
29034
29035 * po/ko.po: Update Korean translation from translation project.
29036
29037 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
29038
29039 [BZ #17354]
29040 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29041 macro for handling signed relocations.
29042
29043 2014-09-03 Florian Weimer <fweimer@redhat.com>
29044
29045 [BZ #17325]
29046 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29047 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29048 assert.
29049 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29050 * iconvdata/ibm935.c (BODY): Likewise.
29051 * iconvdata/ibm937.c (BODY): Likewise.
29052 * iconvdata/ibm939.c (BODY): Likewise.
29053 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29054 assert.
29055 * iconvdata/Makefile (iconv-test.out): Pass module list to test
29056 script.
29057 * iconvdata/run-iconv-test.sh: New test loop for checking for
29058 decoder crashers.
29059
29060 2014-09-02 Khem Raj <raj.khem@gmail.com>
29061
29062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29063 libm_hidden_ver.
29064
29065 2014-09-01 Allan McRae <allan@archlinux.org>
29066
29067 * po/eo.po: Update Esperanto translation from translation project.
29068
29069 * po/ca.po: Update Catalan translation from translation project.
29070
29071 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
29072
29073 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29074 __proc_dostop call.
29075
29076 2014-08-27 Mark Wielaard <mjw@redhat.com>
29077
29078 [BZ #17319]
29079 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29080 to call set_thread_area instead of hand written asm.
29081 (__NR_set_thread_area): Removed define.
29082 (TLS_FLAG_WRITABLE): Likewise.
29083 (__ASSUME_SET_THREAD_AREA): Remove check.
29084 (TLS_EBX_ARG): Remove define.
29085 (TLS_LOAD_EBX): Likewise.
29086
29087 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29088
29089 Simplify atomicity of socket creation in bind.
29090
29091 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29092 looking up the name after linking the file.
29093
29094 2014-08-27 Allan McRae <allan@archlinux.org>
29095
29096 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29097
29098 2014-08-26 Florian Weimer <fweimer@redhat.com>
29099
29100 [BZ #17187]
29101 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29102 trans_compare, open_translit, __gconv_translit_find):
29103 Remove module loading code.
29104
29105 2014-08-26 Allan McRae <allan@archlinux.org>
29106
29107 * po/vi.po: Update Vietnamese translation from translation project.
29108
29109 * po/uk.po: Update Ukrainian translation from translation project.
29110
29111 * po/fr.po: Update French translation from translation project.
29112
29113 * po/ru.po: Update Russian translation from translation project.
29114
29115 * po/pl.po: Update Polish translation from translation project.
29116
29117 * po/cs.po: Update Czech translation from translation project.
29118
29119 * po/de.po: Update German translation from translation project.
29120
29121 * po/bg.po: Update Bulgarian translation from translation project.
29122
29123 * po/sv.po: Update Sweedish translation from translation project.
29124
29125 * po/nl.po: Update Dutch translation from translation project.
29126
29127 * po/es.po: Update Spanish translation from translation project.
29128
29129 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29130
29131 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29132
29133 * catgets/Makefile (CPPFLAGS-gencat): Remove.
29134 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29135 (CPPFLAGS-iconvconfig): Likewise.
29136 * timezone/Makefile (CPPFLAGS-zic): Likewise.
29137
29138 * include/libc-symbols.h: Remove unnecessary check for
29139 NOT_IN_libc.
29140 * nptl/pthreadP.h: Likewise.
29141 * sysdeps/aarch64/setjmp.S: Likewise.
29142 * sysdeps/alpha/setjmp.S: Likewise.
29143 * sysdeps/arm/sysdep.h: Likewise.
29144 * sysdeps/i386/setjmp.S: Likewise.
29145 * sysdeps/m68k/setjmp.c: Likewise.
29146 * sysdeps/posix/getcwd.c: Likewise.
29147 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29148 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29149 * sysdeps/s390/s390-32/setjmp.S: Likewise.
29150 * sysdeps/s390/s390-64/setjmp.S: Likewise.
29151 * sysdeps/sh/sh3/setjmp.S: Likewise.
29152 * sysdeps/sh/sh4/setjmp.S: Likewise.
29153 * sysdeps/unix/alpha/sysdep.h: Likewise.
29154 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29156 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29157 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29162 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29165 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29167 * sysdeps/x86_64/setjmp.S: Likewise.
29168
29169 2014-08-13 Joseph Myers <joseph@codesourcery.com>
29170
29171 [BZ #17263]
29172 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29173 <stdint.h>.
29174 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29175 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29176
29177 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29178
29179 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29180
29181 [BZ #17262]
29182 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29183 and __x86_64__ when disabling x87 inline functions.
29184
29185 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
29186
29187 [BZ #17259]
29188 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29189 asm statement with __cpuid_count.
29190
29191 2014-08-12 Mike Frysinger <vapier@gentoo.org>
29192
29193 * configure.ac: Change __ehdr_start code to dereference the struct.
29194 Run readelf on the output to look for relocations.
29195 * configure: Regenerated.
29196
29197 2014-08-12 Joseph Myers <joseph@codesourcery.com>
29198
29199 [BZ #17261]
29200 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29201 value to 0.
29202 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29203
29204 2014-08-12 Roland McGrath <roland@hack.frob.com>
29205
29206 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29207
29208 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
29209
29210 [BZ #16892]
29211 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29212 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29213
29214 2014-08-12 Sean Anderson <seanga2@gmail.com>
29215
29216 * malloc/malloc.c: Fix typo in comment.
29217
29218 2014-08-09 Allan McRae <allan@archlinux.org>
29219
29220 * Regenerate libc.po.
29221
29222 2014-08-08 Mike Frysinger <vapier@gentoo.org>
29223
29224 * intl/tst-gettext2.sh: Check every lang file for creation.
29225
29226 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
29227
29228 * sysdeps/aarch64/fpu/math_private.h
29229 (libc_feholdsetround_noex_aarch64_ctx): New function.
29230
29231 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
29232
29233 * sysdeps/arm/armv6/strcpy.S (strcpy):
29234 Fix performance issue in misaligned cases.
29235
29236 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29237
29238 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29239 Move definition from termios.h.
29240 (struct termio): Likewise.
29241 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29242 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29243 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29244 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29245 Likewise.
29246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29247 Move definition to ioctl-types.h
29248 (struct termio): Likewise.
29249 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29250 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29251 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29252 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29253 Likewise.
29254
29255 2014-08-05 Richard Henderson <rth@redhat.com>
29256
29257 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29258 exceptions.
29259 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29260 Add fraiseexcpt.
29261 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29262 Use __feraiseexcept.
29263 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29264 Protect libm symbols with IS_IN_libm.
29265
29266 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29267
29268 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
29269
29270 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29271
29272 2014-08-04 Will Newton <will.newton@linaro.org>
29273
29274 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29275 file.
29276
29277 2014-08-04 Mike Frysinger <vapier@gentoo.org>
29278
29279 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29280 variants for each function.
29281
29282 2014-08-04 Roland McGrath <roland@hack.frob.com>
29283
29284 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29285 appended ...
29286 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29287 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29288 appended ...
29289 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29290 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29291 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29292 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29293 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29294 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29295 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29296 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29297 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29298 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29299 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29300 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29301 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29302 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29303 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29304 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29305 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29306 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29307 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29308 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29309 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29310 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29311 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29312 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29313 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29314 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29315 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29316 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29317 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29318 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29319 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29320 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29321 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29322 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29323 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29324 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29325 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29326 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29327 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29328 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29329 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29330 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29331 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29332 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29333 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29334 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29335 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29336 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29337 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29338 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29339 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29340 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29341 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29342 Update #include.
29343 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29344 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29345
29346 2014-08-04 Roland McGrath <roland@hack.frob.com>
29347
29348 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29349 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29350 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29351 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29352 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29353 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29354
29355 2014-08-04 Roland McGrath <roland@hack.frob.com>
29356
29357 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29358 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29359 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29360 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29361
29362 2014-08-04 Roland McGrath <roland@hack.frob.com>
29363
29364 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29365 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29366 (__libc_vfork): Define function under this name.
29367 (__vfork): Define as an alias.
29368 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29369 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29370
29371 2014-08-04 Roland McGrath <roland@hack.frob.com>
29372
29373 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29374 that was previously under [RESET_PID].
29375 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29376
29377 2014-08-04 Andreas Schwab <schwab@suse.de>
29378
29379 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29380
29381 2014-08-03 Mike Frysinger <vapier@gentoo.org>
29382
29383 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29384 (main): Likewise.
29385
29386 2014-08-01 Roland McGrath <roland@hack.frob.com>
29387
29388 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29389
29390 2014-08-01 Richard Henderon <rth@redhat.com>
29391
29392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29393 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29394 typo in exact zero test.
29395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29397 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29398
29399 2014-08-01 Roland McGrath <roland@hack.frob.com>
29400
29401 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29402 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29403 * sysdeps/arm/sysdep.h: ... here.
29404 [!__ASSEMBLER__]: Include <stdint.h>.
29405
29406 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29407
29408 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29409 (HAVE_WCTYPE_H): Likewise.
29410 (HAVE_ISWCTYPE): Likewise.
29411 (ENABLE_NLS): Likewise.
29412 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29413 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29414
29415 * posix/regex_internal.c: Check if DEBUG is defined and is
29416 set.
29417
29418 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29419 (HAVE_MBSRTOWCS): Likewise.
29420 * posix/fnmatch.c: Include string.h unconditionally.
29421
29422 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
29423
29424 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29425 reversal.
29426
29427 2014-07-31 Roland McGrath <roland@hack.frob.com>
29428
29429 * sysdeps/generic/safe-fatal.h: New file.
29430 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29431 * nptl/forward.c: Include it.
29432 (__pthread_unwind): Use __safe_fatal as default action, rather
29433 than a bogus use of INTERNAL_SYSCALL that could never work.
29434
29435 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29436 * configure.ac (libc_cv_builtin_trap): New test.
29437 * configure: Regenerated.
29438 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29439 (ABORT_INSTRUCTION): Define using __builtin_trap.
29440
29441 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29442 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29443 * sysdeps/nptl/nptl-signals.h: New file.
29444 * nptl/pthreadP.h: Include <nptl-signals.h>.
29445
29446 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
29447
29448 * sysdeps/s390/s390-64/utf16-utf32-z9.c
29449 (ONE_DIRECTION): Define.
29450 * sysdeps/s390/s390-64/utf8-utf16-z9.c
29451 (ONE_DIRECTION): Define.
29452 * sysdeps/s390/s390-64/utf8-utf32-z9.c
29453 (ONE_DIRECTION): Define.
29454
29455 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
29456
29457 * sysdeps/s390/Makefile: Delete file.
29458 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29459 * sysdeps/s390/__longjmp.c: Delete file.
29460 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29461 Remove fields __flags and __reserved.
29462 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29463 and add versioning.
29464 * sysdeps/s390/rtld-__longjmp.c: Delete file.
29465 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29466 * sysdeps/s390/rtld-setjmp.S: Likewise.
29467 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29468 * sysdeps/s390/s390-32/__longjmp.c: ... here.
29469 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29470 * sysdeps/s390/s390-32/setjmp.S: ... here.
29471 Add versioning.
29472 (__sigsetjmp): Remove setting __flags field.
29473 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29474 * sysdeps/s390/s390-64/__longjmp.c: ... here.
29475 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29476 * sysdeps/s390/s390-64/setjmp.S: ... here.
29477 Add versioning.
29478 (__sigsetjmp): Remove setting __flags field.
29479 * sysdeps/s390/setjmp.S: Delete file.
29480 * sysdeps/s390/sigjmp.c: Likewise.
29481 * sysdeps/s390/v1-longjmp.c: Likewise.
29482 * sysdeps/s390/v1-setjmp.h: Likewise.
29483 * sysdeps/s390/v1-sigjmp.c: Likewise.
29484 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29485 Remove v1-longjmp_chk.
29486 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29487 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29488 Include debug/longjmp_chk.c and add versioning.
29489 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29490 Include nptl/pt-longjmp.c and add versioning.
29491 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29492 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29493 Include __longjmp.c.
29494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29495 Move to ...
29496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29497 (__getcontext): Remove setting __flags field.
29498 Add versioning.
29499 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29500 Don't restore upper high grps.
29501 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29502 Likewise.
29503 (__swapcontext): Remove setting uc_flags field.
29504 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29505 Delete file.
29506 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29507 Include __longjmp.c.
29508 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29509 Move to ...
29510 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29511 (__getcontext): Remove setting __flags field.
29512 Add versioning.
29513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29514 (__swapcontext): Remove setting uc_flags field.
29515 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29516 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29517 Remove fields uc_high_gprs and __reserved.
29518 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29519 New file with reverted content.
29520 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29521 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29522 Regenerated.
29523 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29524 Regenerated.
29525
29526 2014-07-31 Andreas Schwab <schwab@suse.de>
29527
29528 * config.h.in (HAVE_IFUNC): Define to 0.
29529 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29530 definedness.
29531
29532 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
29533
29534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29535 memmove-avx-unaligned, memcpy-avx-unaligned and
29536 mempcpy-avx-unaligned.
29537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29538 Add tests for AVX memcpy functions.
29539 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29540 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29541 memcpy_chk.
29542 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29543 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29544 memmove_chk.
29545 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29546 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29547 mempcpy_chk.
29548 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29549 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29550 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29551
29552 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29553
29554 [BZ #17213]
29555 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29556 powerpc64le.
29557
29558 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
29559
29560 [BZ #16839]
29561 * manual/llio.texi: Add section about open file description locks.
29562 * manual/examples/ofdlocks.c: Example of open file description
29563 lock usage.
29564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29565 F_OFD_SETLK, and F_OFD_SETLKW.
29566
29567 2014-07-23 Allan McRae <allan@archlinux.org>
29568
29569 * po/es.po: Update Spanish translation from translation project.
29570
29571 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
29572
29573 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29574
29575 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
29576
29577 [BZ #17078]
29578 * sysdeps/arm/dl-machine.h (elf_machine_rela)
29579 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29580 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29581
29582 2014-07-17 Joseph Myers <joseph@codesourcery.com>
29583
29584 [BZ #17088]
29585 * math/fesetenv.c (__fesetenv)
29586 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29587 * math/feupdateenv.c (__feupdateenv)
29588 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29589
29590 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29591 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29592 (__ASSUME_SOCKETCALL): Do not define.
29593
29594 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29595 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29596 (__ASSUME_SOCKETCALL): Do not define.
29597 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29598 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29599 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29600 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29601 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29602 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29603 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29604 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29605
29606 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29607 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29608 (__ASSUME_SOCKETCALL): Do not define.
29609 (__ASSUME_IPC64): Define unconditionally.
29610 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29611 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29612 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29613 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29614 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29615 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29616 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29617 Likewise.
29618
29619 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29620 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29621 (__ASSUME_SOCKETCALL): Do not define.
29622 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29623 (__ASSUME_FUTEX_LOCK_PI): Likewise.
29624 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29625 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29626 (__ASSUME_REQUEUE_PI): Define unconditionally.
29627 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29628 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29629 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29630 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29631 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29632 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29633
29634 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29635 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29636 (__ASSUME_SOCKETCALL): Do not define.
29637 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29638 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29639 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29640 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29641 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29642 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29643
29644 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29645 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29646 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29647 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29648 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29649 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29650 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29651 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29652 (__ASSUME_GETCPU_SYSCALL): Likewise.
29653
29654 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29655 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
29656 cases for individual architectures.
29657 * sysdeps/gnu/configure: Regenerated.
29658 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29659 LIBC_SLIBDIR_RTLDDIR.
29660 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29661 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29662 LIBC_SLIBDIR_RTLDDIR.
29663 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29665 LIBC_SLIBDIR_RTLDDIR.
29666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29667 Regenerated.
29668 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29669 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29670 file.
29671 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29672 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29673 file.
29674 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29675 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29676 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29677 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29678
29679 * sysdeps/aarch64/shlib-versions: Move to ...
29680 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29681 * sysdeps/alpha/shlib-versions: Move to ...
29682 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29683 * sysdeps/arm/shlib-versions: Move to ...
29684 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29685 * sysdeps/hppa/shlib-versions: Move all contents except for
29686 libgcc_s entry to ...
29687 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
29688 entry from ...
29689 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
29690 * sysdeps/ia64/shlib-versions: Move to ...
29691 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
29692 entry from ...
29693 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
29694 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29695 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29696 * sysdeps/microblaze/shlib-versions: Move to ...
29697 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29698 * sysdeps/mips/shlib-versions: Move to ...
29699 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
29700 entry from ...
29701 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
29702 * sysdeps/tile/shlib-versions: Move to ...
29703 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29704 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29705 from ...
29706 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
29707 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29708 entry from ...
29709 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
29710
29711 2014-07-17 Will Newton <will.newton@linaro.org>
29712
29713 * sysdeps/arm/bits/atomic.h
29714 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29715 (__arch_compare_and_exchange_bool_16_int): Likewise.
29716 (__arch_compare_and_exchange_bool_64_int): Likewise.
29717
29718 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29719 into an #else block.
29720
29721 2014-07-16 Roland McGrath <roland@hack.frob.com>
29722
29723 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29724 just Linux configurations. Test empirically that the compiler sets
29725 __ARM_EABI__, rather than using the tuple to decide.
29726 * sysdeps/arm/preconfigure: Regenerated.
29727 * sysdeps/unix/sysv/linux/arm/configure: File removed.
29728 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29729 contents appended ...
29730 * sysdeps/arm/configure.ac: ... here.
29731 * sysdeps/arm/configure: Regenerated.
29732
29733 2014-07-15 Roland McGrath <roland@hack.frob.com>
29734
29735 * nptl/pthread_kill.c: New file.
29736 * nptl/pthread_sigmask.c: New file.
29737 * nptl/pthread_sigqueue.c: New file.
29738
29739 * sysdeps/nptl/lowlevellock.h: New file.
29740 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29741 * sysdeps/nptl/lowlevellock-futex.h: New file.
29742
29743 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29744 Remove dead declarations.
29745
29746 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
29747
29748 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29749 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29750 config-cflags-avx2.
29751 * sysdeps/x86_64/configure.ac: Likewise.
29752 * sysdeps/i386/configure: Regenerated.
29753 * sysdeps/x86_64/configure: Likewise.
29754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29755 memset-avx2 only if config-cflags-avx2 is yes.
29756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29757 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29758 defined.
29759 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29760 only if HAVE_AVX2_SUPPORT is defined.
29761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29762
29763 2014-07-14 Alan Modra <amodra@gmail.com>
29764
29765 [BZ #17153]
29766 * elf/elf.h (DT_PPC64_NUM): Correct value.
29767 * NEWS: Add to fixed bug list.
29768
29769 2014-07-13 Jim Meyering <meyering@fb.com>
29770
29771 [BZ 17150]
29772 regex: don't deref NULL upon heap allocation failure
29773 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29774 failure in one more place.
29775 To trigger the segfault, configure grep -with-included-regex,
29776 build it, and run these commands:
29777 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29778
29779 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
29780
29781 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29782
29783 2014-07-11 Richard Henderson <rth@redhat.com>
29784
29785 * sysdeps/aarch64/libm-test-ulps: Update.
29786
29787 2014-07-10 Florian Weimer <fweimer@redhat.com>
29788
29789 [BZ #17135]
29790 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29791 * nptl/allocatestack.c (__nptl_setxid_error): New function.
29792 (__nptl_setxid): Initialize error member. Call
29793 __nptl_setxid_error.
29794 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29795 * nptl/descr.h (struct xid_command): Add error member.
29796 * nptl/tst-setuid3.c: New file.
29797 * nptl/Makefile (tests): Add it.
29798
29799 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29800
29801 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29802 New define.
29803 (__lll_trylock): Use __lll_base_trylock.
29804 (__lll_cond_trylock): Likewise.
29805
29806 2014-07-10 Roland McGrath <roland@hack.frob.com>
29807
29808 * nptl/pthread_create.c (start_thread): Use atomic_or and
29809 lll_futex_wake directly rather than lll_robust_dead.
29810 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29811 (lll_robust_dead): Macro removed.
29812 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29813 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29814 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29815 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29816 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29817 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29818 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29819 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29820 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29821 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29822 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29823 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29824 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29825 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29826 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29827
29828 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29829 Use atomic_compare_and_exchange_val_acq directly rather than
29830 lll_robust_trylock.
29831 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29832 (__lll_robust_trylock, lll_robust_trylock): Removed.
29833 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29834 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29835 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29836 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29837 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29838 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29839 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29840 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29841 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29842 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29843 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29845 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29846 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29847
29848 2014-07-02 Florian Weimer <fweimer@redhat.com>
29849
29850 * manual/locale.texi (Locale Names): New section documenting
29851 locale name syntax. Adjust menu and node chaining accordingly.
29852 (Choosing Locale): Reference Locale Names, Locale Categories.
29853 Mention setting LC_ALL=C. Reflect that name syntax is now
29854 documented.
29855 (Locale Categories): New section title. Reference Locale Names.
29856 LC_ALL is an environment variable, but not a category.
29857 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29858 description, now in Locale Name. Reference that section. Locale
29859 name syntax is now documented.
29860
29861 2014-07-02 Florian Weimer <fweimer@redhat.com>
29862
29863 [BZ #17137]
29864 * locale/findlocale.c (name_present, valid_locale_name): New
29865 functions.
29866 (_nl_find_locale): Use the loc_name variable to store name
29867 candidates. Call name_present and valid_locale_name to check and
29868 validate locale names. Return an error if the locale is invalid.
29869
29870 2014-07-02 Florian Weimer <fweimer@redhat.com>
29871
29872 * locale/setlocale.c (setlocale): Use strdup for allocating
29873 composite name copy.
29874
29875 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29876
29877 Sync up with gnulib.
29878 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29879 [!_LIBC && ENABLE_NLS]: Include gettext.h.
29880 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29881 and _GL_ARG_NONNULL.
29882 [USE_UNLOCKED_IO]: Include unlocked-io.h.
29883 [!_LIBC]: Include code for Windows and Cygwin.
29884 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29885 Include prototype for int strerror_r.
29886 [!_LIBC] (is_open): New function.
29887 (flush_stdout): New function.
29888 (print_errno_message): Use it.
29889 (error): Likewise.
29890 (error_at_line): Likewise.
29891 (error_tail) Add function attribute macros. Use
29892 __builtin_expect.
29893
29894 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29895
29896 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29897
29898 * io/ftw.c: Include sys/param.h unconditionally.
29899
29900 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29901
29902 [BZ #17125]
29903 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29904 libc_freeres_ptr.
29905 (freecache): New function to free CACHE on exit.
29906
29907 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29908 initialization.
29909
29910 2014-07-09 David S. Miller <davem@davemloft.net>
29911
29912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29913
29914 * sysdeps/sparc/nptl/internaltypes.h: Delete.
29915 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29916 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29917 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29918 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29919 * sysdeps/sparc/nptl/sem_init.c: Likewise.
29920 * sysdeps/sparc/nptl/sem_post.c: Likewise.
29921 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29922 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29923 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29924 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29925 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29926 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29927
29928 2014-07-09 Andreas Schwab <schwab@suse.de>
29929
29930 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29931 output.
29932 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29933 (do_test): Likewise.
29934
29935 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29936
29937 2014-07-09 Will Newton <will.newton@linaro.org>
29938
29939 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29940 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29941 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29942 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29943 * sysdeps/hppa/start.S (_start): Likewise.
29944
29945 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29946
29947 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29948
29949 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29950 defined.
29951
29952 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29953
29954 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29955 after checking that it is non-NULL.
29956
29957 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29958
29959 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29960
29961 * sysdeps/powerpc/memmove.c: Remove file.
29962 * sysdeps/powerpc/powerpc32/power4/memcopy.h
29963 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29964 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29965 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29966 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29967 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29968 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29969 string memmove instead of removed powerpc one.
29970
29971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29972 [weak_alias]: Fix compiler warning due trailing data.
29973 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29974 [weak_alias]: Likewise.
29975 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29976 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29977
29978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29979 (__libc_ifunc_impl_list): Add memmove functions.
29980
29981 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29982
29983 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29984 Remove code.
29985 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29986 Likewise.
29987 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29988 Likewise.
29989 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29990 Likewise.
29991 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29992 Likewise.
29993 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29994 Likewise.
29995 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29996 Likewise.
29997 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29998 Likewise.
29999 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30000 Likewise.
30001 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30002 Likewise.
30003 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30004 Likewise.
30005 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30006 Likewise.
30007 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30008 Likewise.
30009 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30010 Likewise.
30011 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30012 Likewise.
30013 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30014 Likewise.
30015 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30016 Likewise.
30017
30018 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30019
30020 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30021 to avoid alignment traps in non-cacheable memory.
30022 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30023
30024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30025 multiarch objects.
30026 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30027 file: multiarch power7 memmove.
30028 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30029 multiarch default memmove.
30030 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30031 multiarch memove for powerpc32/power4.
30032
30033 * string/bcopy.c: Use full path to include memmove.c.
30034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30035 multiarch objects.
30036 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30037 bcopy for powerpc64.
30038 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30039 bcopy for powerpc64.
30040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30041 and memmove implementations.
30042 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30043 optimized multiarch memmove for POWER7/powerpc64.
30044 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30045 default multiarch memmove for powerpc64.
30046 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30047 multiarch for powerpc64.
30048 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30049 for POWER7/powerpc64.
30050 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30051 memmove for POWER7/powerpc64.
30052
30053 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30054 glibc default one.
30055
30056 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30057 __ELF_NATIVE_CLASS equal to 64.
30058
30059 2014-07-07 Roland McGrath <roland@hack.frob.com>
30060
30061 * sysdeps/nptl/lowlevellock.h: File removed.
30062
30063 * NEWS: NPTL is no longer an add-on!
30064 * nptl/internaltypes.h: Moved ...
30065 * sysdeps/nptl/internaltypes.h: ... here.
30066 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30067 * sysdeps/nptl/fork.c: Likewise.
30068 * sysdeps/nptl/gai_misc.h: Likewise.
30069 * sysdeps/nptl/librt-cancellation.c: Likewise.
30070 * sysdeps/nptl/jmp-unwind.c: Likewise.
30071 * sysdeps/nptl/setxid.h: Likewise.
30072 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30073 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30074 * sysdeps/unix/sysv/linux/arm/Implies: New file.
30075 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30076 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30077 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30078 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30079 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30080 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30081 * sysdeps/unix/sysv/linux/mips/Implies: New file.
30082 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30083 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30084 * sysdeps/unix/sysv/linux/sh/Implies: New file.
30085 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30086 * sysdeps/unix/sysv/linux/tile/Implies: New file.
30087 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30088 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30089 * nptl/Makeconfig: Moved ...
30090 * sysdeps/nptl/Makeconfig: ... here.
30091 * nptl/configure: File removed.
30092 * nptl/ANNOUNCE: File removed.
30093 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30094 * sysdeps/unix/sysv/linux/configure: Regenerated.
30095
30096 * nptl/Makefile (routines): Add libc_pthread_init,
30097 libc_multiple_threads, register-atfork and unregister-atfork.
30098 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30099 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30100 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30101 pthread-pi-defines.sym, structsem.sym.
30102 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30103 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30104 [$(subdir) = nptl] (tests): Add tst-setgetname.
30105 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30106 * sysdeps/unix/sysv/linux/sigaction.c: Just include
30107 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30108 [!LIBC_SIGACTION]: Remove aliases.
30109 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30110 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30111 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30112 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30113 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30114 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30115 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30117 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30118 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30119 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30120 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30121 __libc_allocate_rtsig_private.
30122 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30123 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30124 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30125 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30126 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30127 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30128 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30129 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30130 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30131 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30132 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30133 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30134 * nptl/internaltypes.h: ... here.
30135 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30136 * sysdeps/nptl/jmp-unwind.c: ... here.
30137 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30138 * nptl/libc-lowlevellock.c: ... here.
30139 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30140 * nptl/libc_multiple_threads.c: ... here.
30141 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30142 * nptl/libc_pthread_init.c: ... here.
30143 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30144 * nptl/lowlevelbarrier.sym: ... here.
30145 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30146 * nptl/lowlevelcond.sym: ... here.
30147 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30148 * nptl/lowlevellock.c: ... here.
30149 * nptl/lowlevellock.h: Moved ...
30150 * sysdeps/nptl/lowlevellock.h: ... here.
30151 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30152 * nptl/lowlevelrobustlock.c: ... here.
30153 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30154 * nptl/lowlevelrobustlock.sym: ... here.
30155 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30156 * nptl/lowlevelrwlock.sym: ... here.
30157 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30158 * nptl/pt-fork.c: ... here.
30159 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30160 * nptl/pthread-pi-defines.sym: ... here.
30161 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30162 * nptl/pthread_attr_getaffinity.c: ... here.
30163 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30164 * nptl/pthread_attr_setaffinity.c: ... here.
30165 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30166 * nptl/pthread_mutex_cond_lock.c: ... here.
30167 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30168 Update #include.
30169 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30170 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30171 * nptl/pthread_once.c: ... here, replacing old file.
30172 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30173 * nptl/pthread_yield.c: ... here.
30174 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30175 * nptl/register-atfork.c: ... here.
30176 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30177 * nptl/sem_post.c: ... here.
30178 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30179 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30180 * nptl/sem_timedwait.c: ... here.
30181 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30182 * nptl/sem_trywait.c: ... here.
30183 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30184 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30185 * nptl/sem_wait.c: ... here.
30186 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30187 * nptl/structsem.sym: ... here.
30188 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30189 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30190 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30191 * nptl/unregister-atfork.c: ... here.
30192 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30193 * nptl/unwindbuf.sym: ... here.
30194 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30195 * sysdeps/nptl/fork.c: ... here.
30196 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30197 * sysdeps/nptl/fork.h: ... here.
30198 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30199 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30200 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30201 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30202 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30203 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30204 * sysdeps/unix/sysv/linux/getpid.c: ... here.
30205 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30206 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30207 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30208 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30209 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30210 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30211 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30212 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30213 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30214 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30215 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30216 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30217 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30218 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30219 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30220 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30221 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30222 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30223 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30224 * sysdeps/unix/sysv/linux/raise.c: ... here.
30225 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30226 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30227 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30228 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30229 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30230 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30231 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30232 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30233 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30234 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30235 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30236 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30237 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30238 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30239 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30240
30241 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30242
30243 * sysdeps/generic/memcopy.h: Add comment for
30244 MEMCPY_OK_FOR_FWD_MEMMOVE.
30245
30246 2014-07-04 Will Newton <will.newton@linaro.org>
30247
30248 * string/memchr.c: Merge from gnulib.
30249 [_LIBC]: Remove conditionals.
30250 (__ptr_t): Remove define.
30251 (LONG_MAX_32_BITS): Likewise.
30252 (LONG_MAX): Likewise.
30253 (MEMCHR): Use ANSI prototype and optimize algorithm.
30254
30255 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30256
30257 2014-07-03 Roland McGrath <roland@hack.frob.com>
30258
30259 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30260 (lll_futex_timed_wait_bitset): Fix syscall argument count.
30261
30262 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30263 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30264 in a bare environment with no <stdlib.h> installed.
30265 * sysdeps/nptl/configure: Regenerated.
30266
30267 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30268
30269 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30270 AC_EGREP_CPP for kernel header checks, so they only succeed if
30271 including <linux/version.h> actually works right.
30272 * sysdeps/unix/sysv/linux/configure: Regenerated.
30273
30274 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30275 value so it's not diagnosed as unused.
30276
30277 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30278 thing) with "ifeq ($(subdir),rt)".
30279
30280 2014-07-03 Richard Henderson <rth@redhat.com>
30281
30282 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30283 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30284 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30285
30286 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30287 (math_force_eval): New.
30288
30289 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30290 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30291
30292 * sysdeps/alpha/fpu/s_round.c: Remove file.
30293 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30294
30295 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30296 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30297 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30298 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30299 (_dl_start, print_statistics): Likewise.
30300 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30301 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30302
30303 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30304 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30305 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30306 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30307 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30308 (HP_SMALL_TIMING_AVAIL): Define.
30309 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30310 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30311 (HP_SMALL_TIMING_AVAIL): Define.
30312 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30313 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30314
30315 * sysdeps/aarch64/hp-timing.h: New file.
30316
30317 * sysdeps/generic/hp-timing.h: Remove dead comment.
30318 * sysdeps/generic/hp-timing-common.h: New file.
30319 * sysdeps/alpha/hp-timing.h: Include it.
30320 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30321 * sysdeps/i386/i686/hp-timing.h: Likewise.
30322 * sysdeps/ia64/hp-timing.h: Likewise.
30323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30324 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30325 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30326 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30327 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30328 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30329 (hp_timing_t): New.
30330
30331 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30332 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30333 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30334 * elf/rtld.c (_dl_start_final): Likewise.
30335 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30336 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30337 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30338 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30339 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30340 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30341 (HP_TIMING_DIFF_INIT): Remove.
30342 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30343 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30344 (HP_TIMING_DIFF_INIT): Remove.
30345 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30346 * sysdeps/i386/i686/hp-timing.c: Remove file.
30347 * sysdeps/x86_64/hp-timing.c: Remove file.
30348 * sysdeps/ia64/hp-timing.c: Remove file.
30349 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30350 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30351 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30352 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30353
30354 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30355 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30356 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30357 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30358 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30359 (HP_TIMING_ACCUM): Remove.
30360 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30361 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30362 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30363
30364 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30365 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30366 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30367 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30369 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30370 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30371 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30372
30373 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30374
30375 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
30376
30377 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30378
30379 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30380
30381 Sync up with gettext.
30382 * intl/loadmsgcat.c: Define O_BINARY if not defined.
30383 [_MSC_VER]: Include malloc.h
30384 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30385 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30386 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
30387 TEMP_FAILURE_RETRY. Cast return of alloca.
30388 [!_LIBC] Call gl_rwlock_init.
30389 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30390
30391 2014-07-02 Roland McGrath <roland@hack.frob.com>
30392
30393 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30394 before checking its value.
30395
30396 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30397
30398 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30399
30400 * debug/memcpy_chk.c: Don't include pagecopy.h.
30401 * debug/mempcpy_chk.c: Likewise.
30402 * string/memcpy.c: Likewise.
30403 * string/memmove.c: Likewise.
30404 * sysdeps/powerpc/memmove.c: Likewise.
30405 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
30406 definition of PAGE_COPY_FWD_MAYBE here...
30407 * sysdeps/generic/pagecopy.h: ... from here.
30408 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30409
30410 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30412
30413 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30415 optimizations.
30416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30417 (__libc_ifunc_impl_list): Likewise.
30418 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30419 multiarch strcat for PPC64.
30420 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30421 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30422
30423 2014-07-02 Roland McGrath <roland@hack.frob.com>
30424
30425 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30426
30427 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30428
30429 * intl/loadmsgcat.c: Remove declaration of
30430 get_sysdep_segment_value.
30431 (get_sysdep_segment_value): Use ISO C style.
30432 (_nl_load_domain): Use ISO C style. Get rid of redundant
30433 semicolon. Fix typo and formatting in comment.
30434 (_nl_unload_domain): Use ISO C style.
30435
30436 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30437
30438 2014-07-02 Will Newton <will.newton@linaro.org>
30439
30440 * malloc/obstack.c: Merge from gnulib master.
30441 [HAVE_CONFIG_H]: Remove conditional code.
30442 [!_LIBC]: Include config.h.
30443 [!ELIDE_CODE]: Don't include inttypes.h, include
30444 stdint.h unconditionally.
30445 (print_and_abort): Mark as _Noreturn.
30446 (_obstack_allocated_p): Mark as __attribute_pure__.
30447 (obstack_free): Rename to __obstack_free.
30448 [!__attribute__]: Remove conditional code.
30449 * malloc/obstack.h: Merge from gnulib master.
30450 [__cplusplus]: Move conditional down.
30451 [!__attribute_pure__]: Define __attribute_pure__ here
30452 if it is not already defined.
30453 (_obstack_memory_used): Mark as __attribute_pure__.
30454 [!__obstack_free]: Define as obstack_free.
30455 [__GNUC__]: Remove check for ancient NeXT gcc.
30456
30457 2014-07-02 Will Newton <will.newton@linaro.org>
30458 Paul Eggert <eggert@cs.ucla.edu>
30459
30460 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30461
30462 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30463
30464 * resolv/gethnamaddr.c: Add comment warning that the file is
30465 not maintained.
30466
30467 2014-07-01 Carlos O'Donell <carlos@redhat.com>
30468
30469 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30470 entries.
30471
30472 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30473 entry for aio_cancel and aio_cancel64.
30474 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30475 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30476 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30477 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30478 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30479 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30480 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30481 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30482 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30483 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30484 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30485 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30486 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30487
30488 2014-07-01 Roland McGrath <roland@hack.frob.com>
30489
30490 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30491 * nptl/pthread_mutex_lock.c: Likewise.
30492 * nptl/pthread_mutex_timedlock.c: Likewise.
30493 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30494
30495 2014-07-01 Richard henderson <rth@redhat.com>
30496
30497 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30498 (__isnan, __isnanl): Remove.
30499 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30500
30501 * sysdeps/alpha/fpu/libm-test-ulps: Update.
30502
30503 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
30504
30505 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30506
30507 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30508
30509 * resolv/nss_dns/dns-host.c (getanswer_r)
30510 [MULTI_PTRS_ARE_ALIASES]: Remove code.
30511
30512 2014-07-01 Joseph Myers <joseph@codesourcery.com>
30513
30514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30515 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30516 undefine.
30517 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30518 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30519
30520 2014-07-01 Roland McGrath <roland@hack.frob.com>
30521
30522 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30523 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30524
30525 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30526 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30527
30528 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30529 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30530 ... here.
30531 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30532 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30533
30534 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30535 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30536 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30537 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30538
30539 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30540 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30541 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30542 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30543 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30544 Moved ...
30545 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30546 ... here.
30547 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30548 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30549 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30550 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30551 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30552 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30553 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30554 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30555 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30556 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30557 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30558 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30559 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30560 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30561 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30562 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30563 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30564 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30565 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30566 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30567 ... here.
30568 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30569 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30570 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30571 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30572 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30573 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30574 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30575 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30576
30577 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
30578
30579 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30580 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30581 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30582 Add sysdep.
30583
30584 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30585
30586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30587
30588 2014-06-30 Joseph Myers <joseph@codesourcery.com>
30589
30590 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30591 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30592
30593 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30594
30595 * sysdeps/arm/libm-test-ulps: Regenerated.
30596
30597 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
30598 Roland McGrath <roland@hack.frob.com>
30599
30600 * test-skeleton.c (signal_handler): Kill the whole process group
30601 before killing the child individually.
30602 (main): Report any failure on `setpgid'.
30603
30604 2014-06-30 Roland McGrath <roland@hack.frob.com>
30605
30606 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30607 from _TLS_H to _ARM_NPTL_TLS_H.
30608 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30609 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30610
30611 2014-06-30 Joseph Myers <joseph@codesourcery.com>
30612
30613 [BZ #16539]
30614 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30615 (__expm1l): Return argument unchanged when small but not
30616 subnormal.
30617
30618 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30619 include macro name.
30620 (_FP_UNPACK_RAW_1_P): Likewise.
30621 (_FP_PACK_RAW_1): Likewise.
30622 (_FP_PACK_RAW_1_P): Likewise.
30623 (_FP_MUL_MEAT_1_wide): Likewise.
30624 (_FP_MUL_MEAT_DW_1_hard): Likewise.
30625 (_FP_MUL_MEAT_1_hard): Likewise.
30626 (_FP_DIV_MEAT_1_imm): Likewise.
30627 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30628 (_FP_DIV_MEAT_1_udiv): Likewise.
30629 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30630 (_FP_UNPACK_RAW_2): Likewise.
30631 (_FP_UNPACK_RAW_2_P): Likewise.
30632 (_FP_PACK_RAW_2): Likewise.
30633 (_FP_PACK_RAW_2_P): Likewise.
30634 (_FP_MUL_MEAT_DW_2_wide): Likewise.
30635 (_FP_MUL_MEAT_2_wide): Likewise.
30636 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30637 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30638 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30639 (_FP_MUL_MEAT_2_gmp): Likewise.
30640 (_FP_DIV_MEAT_2_udiv): Likewise.
30641 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30642 (_FP_FRAC_SRL_4): Likewise.
30643 (_FP_FRAC_SRST_4): Likewise.
30644 (_FP_FRAC_SRS_4): Likewise.
30645 (_FP_UNPACK_RAW_4): Likewise.
30646 (_FP_UNPACK_RAW_4_P): Likewise.
30647 (_FP_PACK_RAW_4): Likewise.
30648 (_FP_PACK_RAW_4_P): Likewise.
30649 (_FP_MUL_MEAT_DW_4_wide): Likewise.
30650 (_FP_MUL_MEAT_4_wide): Likewise.
30651 (_FP_MUL_MEAT_4_gmp): Likewise.
30652 (umul_ppppmnnn): Likewise.
30653 (_FP_DIV_MEAT_4_udiv): Likewise.
30654 (__FP_FRAC_ADD_4): Likewise.
30655 (__FP_FRAC_SUB_3): Likewise.
30656 (__FP_FRAC_SUB_4): Likewise.
30657 (__FP_FRAC_DEC_3): Likewise.
30658 (__FP_FRAC_DEC_4): Likewise.
30659 (__FP_FRAC_ADDI_4): Likewise.
30660 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30661 (_FP_FRAC_SRL_8): Likewise.
30662 (_FP_FRAC_SRS_8): Likewise.
30663
30664 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30665 include macro name.
30666 (FP_UNPACK_RAW_EP): Likewise.
30667 (FP_PACK_RAW_E): Likewise.
30668 (FP_PACK_RAW_EP): Likewise.
30669 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30670 (_FP_ISSIGNAN): Likewise.
30671 (_FP_ADD_INTERNAL): Likewise.
30672 (_FP_FMA): Likewise.
30673 (_FP_CMP): Likewise.
30674 (_FP_SQRT): Likewise.
30675 (_FP_TO_INT): Likewise.
30676 (_FP_FROM_INT): Likewise.
30677 (FP_EXTEND): Likewise.
30678 (_FP_DIV_MEAT_N_loop): Likewise.
30679
30680 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
30681
30682 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30683 throughout.
30684
30685 2014-06-29 Joseph Myers <joseph@codesourcery.com>
30686
30687 [BZ #17097]
30688 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30689 result with correct sign in case of exponents that produce
30690 overflow except for X very close to 1.
30691
30692 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
30693
30694 mktime: merge #if/#ifdef usage from glibc
30695 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30696 as that works with both Glibc's and Gnulib's style.
30697 See thread starting at Siddhesh Poyarekar's bug report at:
30698 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30699
30700 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30701
30702 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30703 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30704 * sysdeps/tile/tilegx/memmove.c: Remove file.
30705
30706 2014-06-27 Joseph Myers <joseph@codesourcery.com>
30707
30708 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30709 abi-name definition.
30710 * scripts/soversions.awk: Do not handle or generate ABI lines.
30711 * shlib-versions: Remove ABI entries.
30712 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30713 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30714
30715 2014-06-27 Roland McGrath <roland@hack.frob.com>
30716
30717 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30718 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30719 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30720 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30722 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30723 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30724 Moved ...
30725 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30726 ... here.
30727 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30728 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30730 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30732 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30734 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30736 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30737 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30738 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30739 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30740 Moved ...
30741 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30743 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30744 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30745 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30746 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30747 Moved ...
30748 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30749 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30750 Moved ...
30751 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30752 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30753 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30754 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30755 Moved ...
30756 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30757 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30758 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30759 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30760 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30761 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30762 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30763 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30764 Moved ...
30765 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30766 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30767 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30768 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30769 Moved ...
30770 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30771 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30772 Moved ...
30773 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30774 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30775 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30776 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30777 Moved ...
30778 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30779 ... here.
30780 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30781 Identical file removed.
30782 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30783 Moved ...
30784 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30785 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30786 Identical file removed.
30787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30788 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30790 Moved ...
30791 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30792 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30793 Identical file removed.
30794 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30795 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30796 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30797 Identical file removed.
30798 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30799 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30800 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30801 Identical file removed.
30802 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30803 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30804 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30805 Identical file removed.
30806 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30807 Moved ...
30808 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30809 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30810 Identical file removed.
30811 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30812 Moved ...
30813 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30814 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30815 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30816 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30817 Identical file removed.
30818 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30819 Moved ...
30820 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30821 ... here.
30822 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30823 Identical file removed.
30824 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30825 Moved ...
30826 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30827 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30828 Identical file removed.
30829 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30830 Moved ...
30831 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30832 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30833 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30834 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30835 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30836 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30837 Moved ...
30838 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30839 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30840 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30841
30842 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30843 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30844 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30845 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30846 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30847
30848 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
30849
30850 [BZ #17092]
30851 * nscd/nscd.c (monitor_child): Return exit status of child
30852 instead of return value from wait syscall.
30853
30854 2014-06-27 Joseph Myers <joseph@codesourcery.com>
30855
30856 * configure.ac (libc_commonpagesize): Remove variable.
30857 (libc_relro_required): Likewise.
30858 (libc_cv_z_relro): Remove configure test.
30859 * configure: Regenerated.
30860 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30861 variable.
30862 (libc_relro_required): Likewise.
30863 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30864 (libc_relro_required): Likewise.
30865 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30866 (libc_relro_required): Likewise.
30867 * sysdeps/arm/preconfigure: Regenerated.
30868 * sysdeps/ia64/preconfigure: Remove file.
30869 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30870 variable.
30871 (libc_relro_required): Likewise.
30872
30873 [BZ #16561]
30874 [BZ #16562]
30875 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30876 (__ieee754_yn): Set FE_TONEAREST mode internally and then
30877 recompute overflowing results in original rounding mode.
30878 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30879 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30880 recompute overflowing results in original rounding mode.
30881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30882 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30883 recompute overflowing results in original rounding mode.
30884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30885 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30886 recompute overflowing results in original rounding mode.
30887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30888 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30889 recompute overflowing results in original rounding mode.
30890 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30891 (libc_feholdsetround_ctx): New macro.
30892 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30893 * sysdeps/i386/fpu/libm-test-ulps: Update.
30894 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30895
30896 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30897
30898 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30899 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30900 corresponding .cpsetup call.
30901
30902 2014-06-26 Roland McGrath <roland@hack.frob.com>
30903
30904 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30905 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30906 * sysdeps/arm/Makefile [$(subdir) = csu]
30907 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30908 (static-only-routines): Add aeabi_read_tp here.
30909 (shared-only-routines): Add libc-aeabi_read_tp here.
30910 (CFLAGS-libc-start.c): Add -fexceptions here.
30911 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30912 (sysdep_routines, static-only-routines, shared-only-routines):
30913 Don't add to these here.
30914 (CFLAGS-libc-start.c): Likewise.
30915
30916 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30917 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30918 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30919 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30920 * sysdeps/arm/Makefile [$(subdir) = rt]
30921 (librt-sysdep_routines, librt-shared-only-routines):
30922 Append rt-aeabi_unwind_cpp_pr1 here.
30923 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30924 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30925 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30926 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30927 Append nptl-aeabi_unwind_cpp_pr1 here.
30928 (tests): Filter out tst-cleanupx4 here.
30929 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30930 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30931 Don't do those here.
30932
30933 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30934
30935 * scripts/list-sources.sh: Do not handle ports specially.
30936
30937 2014-06-26 Roland McGrath <roland@hack.frob.com>
30938
30939 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30940 * sysdeps/arm/feupdateenv.c: Likewise.
30941
30942 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30943
30944 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30945
30946 * manual/texinfo.tex: Update to version 2014-05-05.10 with
30947 trailing whitespace removed.
30948 * scripts/config.guess: Update to version 2014-03-23.
30949 * scripts/config.sub: Update to version 2014-05-01
30950 * scripts/install-sh: Update to version 2013-12-25.23.
30951 * scripts/move-if-change: Update from gnulib.
30952
30953 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30954
30955 * debug/memmove_chk.c: Remove pagecopy.h include.
30956
30957 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
30958
30959 * time/mktime.c (leapyear): Remove inline keyword. The code is now
30960 identical to gnulib mktime.
30961
30962 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30963
30964 * configure.ac: Do not test for machine being rs6000. Do not test
30965 for powerpc*-*soft.
30966 * configure: Regenerated.
30967
30968 [BZ #11505]
30969 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30970 test.
30971 * configure: Regenerated.
30972 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30973 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30974 Remove configure test.
30975 * sysdeps/arm/configure: Regenerated.
30976 * sysdeps/nptl/configure.ac: Do not check
30977 libc_cv_asm_cfi_directives.
30978 * sysdeps/nptl/configure: Regenerated.
30979 * sysdeps/x86_64/nptl/configure.ac: Remove file.
30980 * sysdeps/x86_64/nptl/configure: Remove generated file.
30981 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30982 unconditional.
30983 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30984
30985 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30986
30987 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30988 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30989 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30990 it is defined.
30991
30992 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30993 instead of whether it is defined.
30994 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30995 * sysdeps/hppa/dl-machine.h: Likewise.
30996 * sysdeps/ia64/dl-machine.h: Likewise.
30997 * sysdeps/m68k/dl-machine.h: Likewise.
30998 * sysdeps/microblaze/dl-machine.h: Likewise.
30999 * sysdeps/mips/dl-machine.: Likewise.
31000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31004 * sysdeps/sh/dl-machine.h: Likewise.
31005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31007 * sysdeps/tile/dl-machine.h: Likewise.
31008 * sysdeps/x86_64/dl-machine.h: Likewise.
31009
31010 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31011 code.
31012 (verify_persistent_db): Likewise.
31013
31014 2014-06-26 Roland McGrath <roland@hack.frob.com>
31015
31016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31017 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31019 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31021 Moved ...
31022 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31023 ... here.
31024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31025 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31027 Identical file removed.
31028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31029 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31031 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31033 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31035 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31037 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31039 Moved ...
31040 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31042 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31044 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31046 Moved ...
31047 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31049 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31051 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31053 Identical file removed.
31054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31055 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31057 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31059 Moved ...
31060 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31061 ... here.
31062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31063 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31065 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31067 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31069 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31071 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31073 Moved ...
31074 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31076 Moved ...
31077 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31079 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31081 Moved ...
31082 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31084 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31085
31086 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31087 folded into ...
31088 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31089 * sysdeps/unix/sysv/linux/s390/Versions
31090 (libpthread: GLIBC_2.19): New version set.
31091 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31092 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31093 (librt: GLIBC_2.3.3): New version set.
31094 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31095 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31096 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31097 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31098 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31099 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31100 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31101 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31102 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31103 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31104 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31105 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31106 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31107 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31108 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31109 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31110 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31111 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31112 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31113 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31114 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31116 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31118 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31120 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31121 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31122 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31123 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31124 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31125 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31126 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31128 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31129 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31130 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31132 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31134 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31136 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31137 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31138 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31139
31140 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31141 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31142 (__libc_vfork): Define the function under this name.
31143 [!NOT_IN_libc] (__vfork): Make this an alias.
31144 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31145 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31146 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31147 (__libc_vfork): Define the function under this name.
31148 [!NOT_IN_libc] (__vfork): Make this an alias.
31149 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31150 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31151 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31152 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31154 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31155
31156 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31157 code that was previously under [RESET_PID].
31158 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31159 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31160 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31161
31162 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31163 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31164 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31165 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31166 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31167 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31168 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31169 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31170 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31171 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31172 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31173 Moved ...
31174 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31175 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31176 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31177 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31178 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31179 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31180 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31181 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31182 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31183 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31184 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31185 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31186 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31187 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31188 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31189 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31190 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31191 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31192 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31193 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31194 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31195 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31196 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31197 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31198 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31199 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31200 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31201 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31202 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31203
31204 2014-06-25 Roland McGrath <roland@hack.frob.com>
31205
31206 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31207 that was previously under [RESET_PID].
31208 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31209
31210 2014-06-25 Joseph Myers <joseph@codesourcery.com>
31211
31212 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31213 not undefine and redefine.
31214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31215 [O_CLOEXEC]: Make code unconditional.
31216 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31217 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31218 <kernel-features.h>.
31219 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31220 conditional variable definition.
31221 (shm_open) [O_CLOEXEC]: Make code unconditional.
31222 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31223 code.
31224
31225 * configure.ac (USE_REGPARMS): Don't define here.
31226 * configure: Regenerated.
31227 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31228 * sysdeps/i386/configure: Regenerated.
31229
31230 * nptl/createthread.c: Don't include kernel-features.h.
31231 * nptl/pthread_cancel.c: Likewise.
31232 * nptl/pthread_condattr_setclock.c: Likewise.
31233 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31234 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31235 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31236 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31237 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31238 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31239 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31242 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31243 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31244 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31245 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31246 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31247 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31248 * nscd/gai.c: Likewise.
31249 * nss/nss_db/db-open.c: Likewise.
31250 * sysdeps/generic/ldsodefs.h: Likewise.
31251 * sysdeps/sh/nptl/tls.h: Likewise.
31252 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31253 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31254 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31255 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31256 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31257 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31258 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31259 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31260 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31261 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31262 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31263 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31264 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31265 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31266 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31267 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31268 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31269 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31270 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31271 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31273 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31274 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31275 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31277 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31278 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31279 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31280 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31281 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31282 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31283 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31284 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31285 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31286 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31287 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31288 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31289 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31290 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31291 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31292 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31293 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31294 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31295 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31296 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31297 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31298 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31299 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31300 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31301 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31302 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31303 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31304 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31305 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31306 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31307 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31308 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31309 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31332 * sysdeps/unix/sysv/linux/pread.c: Likewise.
31333 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31334 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31335 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31336 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31337 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31338 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31339 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31340 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31341 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31342 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31343 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31344 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31345 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31346 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31347 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31348 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31349 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31350 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31351 * sysdeps/unix/sysv/linux/system.c: Likewise.
31352 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31353 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31354 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31355 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31356 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31358 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31359
31360 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31361 * configure: Regenerated.
31362 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31363
31364 * configure.ac (base_machine): Do not set specially for particular
31365 machines here.
31366 * configure: Regenerated.
31367 * sysdeps/powerpc/preconfigure: Move machine and base_machine
31368 settings from configure.ac.
31369 * sysdeps/i386/preconfigure: New file.
31370 * sysdeps/s390/preconfigure: Likewise.
31371 * sysdeps/sh/preconfigure: Likewise.
31372 * sysdeps/sparc/preconfigure: Likewise.
31373
31374 2014-06-25 Roland McGrath <roland@hack.frob.com>
31375
31376 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31377 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31378 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31379 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31380 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31381 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31382 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31383 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31384 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31385 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31386 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31387 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31388 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31389 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31390 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31391 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31392 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31393 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31394 * sysdeps/sparc/sparc64/Makefile: ... appended here.
31395
31396 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31397 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31398 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31399 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31400 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31401 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31402 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31403 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31404 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31405 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31406 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31407 * sysdeps/sparc/sparc32/sem_post.c: ... here.
31408 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31409 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31410 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31411 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31412 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31413 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31414 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31415 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31416 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31417 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31418 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31419 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31421 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31422 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31423 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31424 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31425 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31426 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31427 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31428 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31429 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31430 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31431 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31432 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31433 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31434
31435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31436 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31438 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31440 Moved ...
31441 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31442 ... here.
31443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31444 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31446 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31448 Moved ...
31449 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31451 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31453 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31455 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31457 Moved ...
31458 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31460 Moved ...
31461 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31463 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31465 Moved ...
31466 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31468 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31470 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31472 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31474 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31476 Moved ...
31477 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31478 ... here.
31479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31480 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31482 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31484 Moved ...
31485 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31487 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31489 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31491 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31493 Moved ...
31494 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31496 Moved ...
31497 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31499 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31501 Moved ...
31502 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31504 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31506 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31507
31508 2014-06-25 Joseph Myers <joseph@codesourcery.com>
31509
31510 * timezone/checktab.awk: Update from tzcode 2014e.
31511 * timezone/private.h: Likewise.
31512 * timezone/tzfile.h: Likewise.
31513 * timezone/zdump.c: Likewise.
31514 * timezone/zic.c: Likewise.
31515
31516 * sysdeps/unix/sysv/linux/kernel-features.h
31517 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31518 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31519 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31520 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31521 Remove conditional code.
31522
31523 2014-06-25 Will Newton <will.newton@linaro.org>
31524
31525 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31526 (_dl_arm_cap_flags): Add HWCAP2 values.
31527 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31528 (_DL_HWCAP_COUNT): Increase to 37.
31529 (_DL_HWCAP_LAST): New define.
31530 (_DL_HWCAP2_LAST): New define.
31531 (_dl_procinfo): Add support for printing
31532 AT_HWCAP2 entries.
31533 (_dl_string_hwcap): Use _dl_hwcap_string.
31534
31535 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31536
31537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31538
31539 2014-06-25 Joseph Myers <joseph@codesourcery.com>
31540
31541 * README: Do not mention ports directory.
31542
31543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31544 Remove macro.
31545 * sysdeps/unix/sysv/linux/futimes.c: Do not include
31546 <kernel-features.h>.
31547 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31548 conditional variable definition.
31549 (__futimes): Update comment.
31550 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31551 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31552
31553 [BZ #16560]
31554 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31555 arguments close to 0.
31556 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31557 Likewise.
31558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31559 Likewise.
31560 * math/auto-libm-test-in: Add more tests of exp10.
31561 * math/auto-libm-test-out: Regenerated.
31562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31563
31564 * sysdeps/unix/sysv/linux/kernel-features.h
31565 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31566 * sysdeps/unix/sysv/linux/readv.c: Do not include
31567 <kernel-features.h>.
31568 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31569 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31570 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31571 unconditional.
31572 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31573 conditional code.
31574 * sysdeps/unix/sysv/linux/writev.c: Do not include
31575 <kernel-features.h>.
31576 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31577 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31578 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31579 unconditional.
31580 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31581 conditional code.
31582
31583 2014-06-25 Will Newton <will.newton@linaro.org>
31584
31585 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31586 comment changes throughout the file. Remove checks
31587 for HAVE_*_H definitions that are not required.
31588 (__gen_tempname): Call abort if an unknown kind value is
31589 passed.
31590
31591 2014-06-25 Andreas Schwab <schwab@suse.de>
31592
31593 [BZ #17086]
31594 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31595 scalbln, scalblnf, scalblnl in libc.
31596
31597 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31598
31599 [BZ #17086]
31600 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31601 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31602 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31603
31604 2014-06-24 Roland McGrath <roland@hack.frob.com>
31605
31606 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31607 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31608 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31609 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31610 Update #include.
31611 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31612 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31613 Update #include.
31614 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31615 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31616 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31617 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31618 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31619 * sysdeps/x86/bits/pthreadtypes.h: ... here.
31620 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31621 * sysdeps/x86/bits/semaphore.h: ... here.
31622 * sysdeps/x86/nptl/elide.h: Moved ...
31623 * sysdeps/x86/elide.h: ... here.
31624 * sysdeps/x86_64/nptl/Implies: File removed.
31625 * sysdeps/i386/nptl/Implies: File removed.
31626
31627 2014-06-24 Joseph Myers <joseph@codesourcery.com>
31628
31629 [BZ #16539]
31630 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31631 return the argument for normal arguments with exponent below -64.
31632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31633 Likewise.
31634 * math/auto-libm-test-in: Add another test of expm1.
31635 * math/auto-libm-test-out: Regenerated.
31636
31637 [BZ #16287]
31638 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31639 calling __erfcl for arguments at least 16.
31640 * math/auto-libm-test-in: Add more tests of erf.
31641 * math/auto-libm-test-out: Regenerated.
31642
31643 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31644 individual architectures.
31645 * sysdeps/unix/sysv/linux/configure: Regenerated.
31646 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31647 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31648 * sysdeps/unix/sysv/linux/powerpc/configure.ac
31649 (ldd_rewrite_script): Define variable.
31650 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31652 file.
31653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31654 generated file.
31655 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31656 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31657 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31658 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31659 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31660 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31661 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31662 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31663
31664 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31665
31666 [BZ #17084]
31667 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31668 Rename member __data.d to __data.__elision_data.
31669
31670 2014-06-24 Wilco <wdijkstr@arm.com>
31671
31672 * NEWS: Add 16918 to fixed bug list.
31673
31674 2014-06-24 Wilco <wdijkstr@arm.com>
31675
31676 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31677
31678 2014-06-24 Wilco <wdijkstr@arm.com>
31679
31680 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31681 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31682 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31683 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31684 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31685 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31686 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31687 Use _FPU_MASK_RM.
31688
31689 2014-06-24 Wilco <wdijkstr@arm.com>
31690
31691 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31692
31693 2014-06-24 Wilco <wdijkstr@arm.com>
31694
31695 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31696 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31697 * sysdeps/arm/fesetround.c (fesetround): Remove space.
31698 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31699
31700 2014-06-24 Wilco <wdijkstr@arm.com>
31701
31702 [BZ #16918]
31703 * sysdeps/arm/feupdateenv.c (feupdateenv):
31704 Rewrite to reduce FPSCR accesses and fix return value.
31705
31706 2014-06-24 Wilco <wdijkstr@arm.com>
31707
31708 * sysdeps/arm/fclrexcpt.c (feclearexcept):
31709 Optimize to avoid unnecessary FPSCR writes.
31710 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31711 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31712 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31713 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31714
31715 2014-06-24 Wilco <wdijkstr@arm.com>
31716
31717 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31718 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31719 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31720 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31721 Call libc_fetestexcept_vfp.
31722 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31723 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31724 __SOFTFP__ ifdef so that they can be built for softfp.
31725
31726 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31727
31728 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31729 argument type signed char.
31730
31731 * Makerules (check-abi): Dump diff of symlist if the test
31732 fails.
31733
31734 2014-06-23 Roland McGrath <roland@hack.frob.com>
31735
31736 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31737 using abort.
31738
31739 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31740 Remove unused variable ST.
31741
31742 2014-06-23 Joseph Myers <joseph@codesourcery.com>
31743
31744 [BZ #16354]
31745 [BZ #17061]
31746 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31747 small arguments before calling __expm1.
31748 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31749 small arguments before calling __expm1f.
31750 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31751 small arguments before calling __expm1l.
31752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31753 Likewise.
31754 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31755 * math/auto-libm-test-in: Add more cosh tests. Do not allow
31756 spurious underflow for some cosh tests.
31757 * math/auto-libm-test-out: Regenerated.
31758 * sysdeps/i386/fpu/libm-test-ulps: Update.
31759
31760 [BZ #17050]
31761 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31762 (__ieee754_y1): Set errno if return value overflows.
31763 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31764 (__ieee754_y1f): Set errno if return value overflows.
31765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31766 (__ieee754_y1l): Set errno if return value overflows.
31767 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31768 (__ieee754_y1l): Set errno if return value overflows.
31769 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31770 * math/auto-libm-test-out: Regenerated.
31771
31772 * math/gen-auto-libm-tests.c: Document use of
31773 ignore-zero-inf-sign.
31774 (input_flag_type): Add value flag_ignore_zero_inf_sign.
31775 (input_flags): Add ignore-zero-inf-sign.
31776 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31777 * math/gen-libm-test.pl (generate_testfile): Handle
31778 ignore-zero-inf-sign.
31779 * math/auto-libm-test-in: Mark some cpow tests with
31780 ignore-zero-inf-sign and some with xfail-rounding.
31781 * math/auto-libm-test-out: Regenerated.
31782 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31783 * sysdeps/i386/fpu/libm-test-ulps: Update.
31784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31785
31786 [BZ #16315]
31787 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31788 overflowing or underflowing operations take place with sign of
31789 result.
31790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31791 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31792 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31793 (__ieee754_pow): Recompute overflowing and underflowing results in
31794 original rounding mode.
31795 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31796 (__powl_helper): Allow negative argument X and scale negated value
31797 as needed. Avoid passing value outside [-1, 1] to f2xm1.
31798 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31799 overflowing or underflowing operations take place with sign of
31800 result.
31801 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31802 Include <math.h>.
31803 * math/auto-libm-test-in: Add more tests of pow.
31804 * math/auto-libm-test-out: Regenerated.
31805 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31806 (pow_tonearest_test_data): Remove.
31807 (pow_test_tonearest): Likewise.
31808 (pow_towardzero_test_data): Likewise.
31809 (pow_test_towardzero): Likewise.
31810 (pow_downward_test_data): Likewise.
31811 (pow_test_downward): Likewise.
31812 (pow_upward_test_data): Likewise.
31813 (pow_test_upward): Likewise.
31814 (main): Don't call removed functions.
31815 * sysdeps/i386/fpu/libm-test-ulps: Update.
31816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31817
31818 2014-06-23 Roland McGrath <roland@hack.frob.com>
31819
31820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31821 Moved ...
31822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31824 Moved ...
31825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31827 Moved ...
31828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31830 Moved ...
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31833 File removed.
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31835 File removed.
31836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31837 File removed.
31838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31839 File removed.
31840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31841 File removed.
31842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31843 File removed.
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31845 File removed.
31846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31847 File removed.
31848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31849 File removed.
31850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31851 File removed.
31852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31853 File removed.
31854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31855 File removed.
31856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31857 Moved ...
31858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31860 Moved ...
31861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31862 ... here.
31863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31864 Moved ...
31865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31867 Moved ...
31868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31870 Moved ...
31871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31873 Moved ...
31874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31876 Moved ...
31877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31879 Moved ...
31880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31882 Moved ...
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31886 ... here.
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31888 Moved ...
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31891 Moved ...
31892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31893 ... here.
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31895 Moved ...
31896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31897 ... here.
31898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31899 Moved ...
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31901 ... here.
31902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31903 Moved ...
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31906 Moved ...
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31911 Moved ...
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31913 ... here.
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31915 Moved ...
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31917 ... here.
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31919 Moved ...
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31922 Moved ...
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31925 Moved ...
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31928 Moved ...
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31931 Moved ...
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31933 ... here.
31934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31935 Moved ...
31936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31938 Moved ...
31939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31941 Moved ...
31942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31944 Moved ...
31945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31949 Moved ...
31950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31952 Moved ...
31953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31955 Moved ...
31956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31957 ... here.
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31959 Moved ...
31960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31961 ... here.
31962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31963 Moved ...
31964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31965 ... here.
31966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31967 Moved ...
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31970 Moved ...
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31973 Moved ...
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31976 Moved ...
31977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31978 ... here.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31980 Moved ...
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31982 ... here.
31983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31984 Moved ...
31985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31986 ... here.
31987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31988 Moved ...
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31991 Moved ...
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31993
31994 2014-06-23 Will Newton <will.newton@linaro.org>
31995 Wilco <wdijkstr@arm.com>
31996
31997 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31998 implementation. Include get-rounding-mode.h.
31999 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32000 [!libc_feholdsetround_noex_ctx]: Define
32001 libc_feholdsetround_noex_ctx.
32002 [!libc_feholdsetround_noexf_ctx]: Define
32003 libc_feholdsetround_noexf_ctx.
32004 [!libc_feholdsetround_noexl_ctx]: Define
32005 libc_feholdsetround_noexl_ctx.
32006 (libc_feholdsetround_ctx): New function.
32007 (libc_feresetround_ctx): New function.
32008 (libc_feholdsetround_noex_ctx): New function.
32009 (libc_feresetround_noex_ctx): New function.
32010
32011 2014-06-23 Roland McGrath <roland@hack.frob.com>
32012
32013 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32014 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32015 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32016 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32017 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32018 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32019
32020 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32021 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32022 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32023 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32024 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32025 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32026 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32027 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32029 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32030 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32031 Moved ...
32032 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32033 ... here.
32034 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32035 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32036 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32037 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32038 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32039 Moved ...
32040 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32041 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32042 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32043 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32044 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32046 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32047 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32048 Moved ...
32049 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32050 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32051 Moved ...
32052 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32053 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32054 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32055 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32056 Moved ...
32057 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32058 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32059 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32060 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32061 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32062 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32063 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32065 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32067 Moved ...
32068 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32069 ... here.
32070 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32071 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32072 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32073 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32074 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32075 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32076 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32077 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32078 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32079 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32080 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32081 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32082 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32083 Moved ...
32084 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32085 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32086 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32087 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32088 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32089 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32090 Moved ...
32091 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32092 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32093 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32094 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32095 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32096
32097 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32098 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32099 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32100 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32101 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32102 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32103 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32104 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32106 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32107 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32108 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32109 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32110 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32111 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32112 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32113 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32114 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32116 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32117 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32118 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32119 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32120 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32121 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32122 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32123 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32124 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32125
32126 2014-06-23 Joseph Myers <joseph@codesourcery.com>
32127
32128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32129 (FALLOC_FL_COLLAPSE_RANGE): New macro.
32130 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32131 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32132 (IPV6_PMTUDISC_INTERFACE): Likewise.
32133 (IPV6_PMTUDISC_OMIT): Likewise.
32134
32135 2014-06-23 Andreas Schwab <schwab@suse.de>
32136
32137 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32138 Remove unused errout label.
32139
32140 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32141
32142 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32143 macro: hardware supports Vector Crypto instructions.
32144
32145 2014-06-23 Will Newton <will.newton@linaro.org>
32146
32147 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32148 rather than __builtin_expect.
32149
32150 * elf/dl-lookup.c (undefined_msg): Remove variable.
32151 (_dl_lookup_symbol_x): Replace undefined_msg with string
32152 literal.
32153
32154 * elf/dl-lookup.c (do_lookup_unique): New function.
32155 (do_lookup_x): Move STB_GNU_UNIQUE handling code
32156 to a separate function.
32157
32158 2014-06-23 Andreas Schwab <schwab@suse.de>
32159
32160 [BZ #17079]
32161 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32162 before reading the next line.
32163
32164 2014-06-23 Will Newton <will.newton@linaro.org>
32165
32166 * test-skeleton.c (signal_handler): Use printf and %m
32167 rather than perror. Use printf rather than fprintf to
32168 stderr. Use puts rather than fputs to stderr.
32169 (main): Likewise.
32170
32171 2014-06-22 Ludovic Courtès <ludo@gnu.org>
32172
32173 * nscd/nscd.c (thread_info_t): Remove typedef.
32174 (thread_info): Remove variable.
32175
32176 2014-06-21 Allan McRae <allan@archlinux.org>
32177
32178 * NEWS: Mention CVE-2014-4043.
32179
32180 2014-06-20 Roland McGrath <roland@hack.frob.com>
32181
32182 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32183 * nptl/smp.h: ... here.
32184
32185 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32186
32187 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32188 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32189 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32190 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32191
32192 * nptl/allocatestack.c: Include <stack-aliasing.h>.
32193 * nptl/stack-aliasing.h: New file.
32194 * sysdeps/i386/i686/stack-aliasing.h: New file.
32195 * sysdeps/i386/i686/nptl/Makefile: File removed.
32196 * sysdeps/x86_64/stack-aliasing.h: New file.
32197 * sysdeps/x86_64/nptl/Makefile
32198 (CFLAGS-pthread_create.c): Variable removed.
32199
32200 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32201 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32202 old file.
32203 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32204 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32205 old file.
32206
32207 2014-06-21 Joseph Myers <joseph@codesourcery.com>
32208
32209 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32210 (__ASSUME_SIGFRAME_V2): Remove macro.
32211 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32212 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32213 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32214 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32215 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32216 Declare as function. Remove conditional macro definitions.
32217 (__default_rt_sa_restorer): Likewise.
32218 (__default_sa_restorer_v1): Remove declaration.
32219 (__default_sa_restorer_v2): Likewise.
32220 (__default_rt_sa_restorer_v1): Likewise.
32221 (__default_rt_sa_restorer_v2): Likewise.
32222 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32223 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32224 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32225
32226 2014-06-20 Roland McGrath <roland@hack.frob.com>
32227
32228 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32229 (libpthread-routines): Add sysdep.
32230 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32231 * sysdeps/unix/sysv/linux/sparc/Versions
32232 (libpthread: GLIBC_2.3.3): New version set.
32233 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32234 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32235 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32236 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32237 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
32238 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32239 Moved ...
32240 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32241 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32242 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32243 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32244 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32245 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32246 * sysdeps/sparc/nptl/sem_init.c: ... here.
32247 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32248 * sysdeps/sparc/nptl/sem_post.c: ... here.
32249 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32250 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32251 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32252 * sysdeps/sparc/nptl/sem_wait.c: ... here.
32253 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32254 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32255 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32256 (libpthread-routines): Add cpu_relax.
32257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32258 File removed.
32259 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32260 (librt: GLIBC_2.3.3): New version set.
32261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32262 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32263 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32264 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32267 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32269 Moved ...
32270 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32272 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32274 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32276 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32278 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32280 Moved ...
32281 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32282 Update #include.
32283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32284 Moved ...
32285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32286 Update #include.
32287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32288 Moved ...
32289 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32290 Update #include.
32291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32292 Moved ...
32293 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32294 Update #include.
32295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32296 Moved ...
32297 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32298 Update #include.
32299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32300 Moved ...
32301 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32302 Update #include.
32303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32304 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32310 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32312 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32314 Moved ...
32315 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32317 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32319 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32320
32321 2014-06-20 Joseph Myers <joseph@codesourcery.com>
32322
32323 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32324 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32325 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32326 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32327 * nscd/nscd.c: Likewise.
32328 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32329 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32330 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32331 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32332
32333 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32334 <kernel-features.h>.
32335 (init_mq_netlink): Remove conditional have_sock_cloexec
32336 definitions. Remove code conditional on have_sock_cloexec < 0.
32337 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32338 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32339 * sysdeps/unix/sysv/linux/opensock.c: Do not include
32340 <kernel-features.h>.
32341 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32342 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32343
32344 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
32345
32346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32347 Add tests for memset_chk and memset.
32348
32349 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32350 with AVX2_Usable.
32351
32352 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
32353
32354 [BZ #16046]
32355 * elf/tst-dl-iter-static.c: New file.
32356 * elf/Makefile (tests-static): Add tst-dl-iter-static.
32357
32358 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32359 error.
32360
32361 2014-06-20 Joseph Myers <joseph@codesourcery.com>
32362
32363 * sysdeps/unix/sysv/linux/kernel-features.h
32364 (__ASSUME_F_GETOWN_EX): Remove macro.
32365 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32366 <kernel-features.h>.
32367 (miss_F_GETOWN_EX): Remove variable or macro.
32368 (do_fcntl): Do not check miss_F_GETOWN_EX.
32369 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32370
32371 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32372 Remove macro.
32373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32374 [!__ASSUME_AT_RANDOM]: Remove conditional code.
32375 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32376
32377 * sysdeps/unix/sysv/linux/kernel-features.h
32378 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32379 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32380 [ADJ_OFFSET_SS_READ]: Make code unconditional.
32381 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32382
32383 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
32384
32385 [BZ #17075]
32386 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32387 Fix calculation of the symbol's value.
32388 * sysdeps/arm/tst-armtlsdescloc.c: New file.
32389 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32390 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32391 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32392 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32393 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32394 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32395 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32396 (modules-names): Add `tst-armtlsdescmod',
32397 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32398 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32399 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32400 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32401 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32402 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32403 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32404 ($(objpfx)tst-armtlsdescloc): New dependency.
32405 ($(objpfx)tst-armtlsdescextnow): Likewise.
32406 ($(objpfx)tst-armtlsdescextlazy): Likewise.
32407 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32408 TLS scheme support.
32409 * sysdeps/arm/configure: Regenerate.
32410
32411 2014-06-20 Joseph Myers <joseph@codesourcery.com>
32412
32413 * include/fcntl.h (__atfct_seterrno): Remove prototype.
32414 (__atfct_seterrno_2): Likewise.
32415 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32416 <kernel-features.h>.
32417 (__ASSUME_ATFCTS): Do not undefine and redefine.
32418 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32419 (__have_atfcts): Remove conditional definition.
32420 (__fxstatat([__NR_fstatat64]: Make code unconditional.
32421 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32422 unreachable if [__ASSUME_ATFCTS].
32423 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32424 not undefine and redefine.
32425 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32426 <kernel-features.h>.
32427 (faccessat) [__NR_faccessat]: Make code unconditional.
32428 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32429 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32430 <kernel-features.h>.
32431 (fchmodat) [__NR_fchmodat]: Make code unconditional.
32432 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32433 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32434 <kernel-features.h>.
32435 (fchownat) [__NR_fchownat]: Make code unconditional.
32436 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32437 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32438 <kernel-features.h>.
32439 (futimesat) [__NR_futimesat]: Make code unconditional.
32440 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32441 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32442 <kernel-features.h>.
32443 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32444 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32445 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32446 <kernel-features.h>.
32447 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32448 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32449 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32450 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32451 <kernel-features.h>.
32452 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32453 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32454 * sysdeps/unix/sysv/linux/linkat.c: Do not include
32455 <kernel-features.h>.
32456 (linkat) [__NR_linkat]: Make code unconditional.
32457 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32458 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32459 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32460 <kernel-features.h>.
32461 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32462 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32463 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32464 <kernel-features.h>.
32465 (mkdirat) [__NR_mkdirat]: Make code unconditional.
32466 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32467 * sysdeps/unix/sysv/linux/openat.c: Do not include
32468 <kernel-features.h>.
32469 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32470 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32471 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32472 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32473 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32474 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32475 <kernel-features.h>.
32476 (readlinkat) [__NR_readlinkat]: Make code unconditional.
32477 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
32478 result of INLINE_SYSCALL directly, not via int variable.
32479 * sysdeps/unix/sysv/linux/renameat.c: Do not include
32480 <kernel-features.h>.
32481 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32482 (renameat) [__NR_renameat]: Make code unconditional.
32483 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32484 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32485 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32486 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32487 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32488 (__ASSUME_ATFCTS): Do not undefine and redefine.
32489 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32490 <kernel-features.h>.
32491 (symlinkat) [__NR_symlinkat]: Make code unconditional.
32492 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32493 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32494 <kernel-features.h>.
32495 (unlinkat) [__NR_unlinkat]: Make code unconditional.
32496 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32497 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32498 (__ASSUME_ATFCTS): Do not undefine and redefine.
32499 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32500 <kernel-features.h>.
32501 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32502 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32503 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32504 <kernel-features.h>.
32505 (__xmknodat) [__NR_mknodat]: Make code unconditional.
32506 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32507
32508 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
32509
32510 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32511
32512 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
32513
32514 [BZ #17069]
32515 * posix/regcomp.c (parse_reg_exp): Deallocate partially
32516 constructed tree before returning error.
32517 * posix/bug-regexp36.c: Expand test case.
32518
32519 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
32520
32521 [BZ #6803]
32522 * math/libm-test.inc (scalbln_test_date):
32523 Add errno expectations.
32524 * math/w_scalblnf.c: New File.
32525 Add wrapper which checks for setting errno to ERANGE.
32526 Add weak_alias for corresponding scalbln function.
32527 * math/w_scalbln.c: Likewise.
32528 * math/w_scalblnl.c: Likewise.
32529 * math/Makefile (libm-calls): Add w_scalbln.
32530 * sysdeps/ieee754/flt-32/s_scalblnf.c:
32531 Remove weak_alias for corresponding scalbln function.
32532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32534 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32536 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32537 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32538 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32539 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32540 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32541 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32542 Remove long_double_symbol for scalblnl function in libm, libc.
32543 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32544 Add wrapper which checks for setting errno to ERANGE.
32545 Add long_double_symbol for scalblnl function in libm, libc.
32546 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32547 Remove long_double_symbol for scalblnl in libm.
32548 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32549 Add wrapper which checks for setting errno to ERANGE.
32550 Add long_double_symbol for scalblnl function in libm.
32551 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32552 Do not use wrapper because of own implementation.
32553
32554 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
32555
32556 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32557 3 bytes for __pad1 for x32.
32558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32559
32560 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
32561 H.J. Lu <hongjiu.lu@intel.com>
32562
32563 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32564 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32567 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32568
32569 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
32570
32571 [BZ #17069]
32572 * posix/regcomp.c (parse_expression): Deallocate partially
32573 constructed tree before returning error.
32574 * posix/Makefile.c (tests): Add bug-regex36.
32575 (generated): Add bug-regex36.mtrace.
32576 (tests-special): Add $(objpfx)bug-regex36-mem.out
32577 (bug-regex36-ENV): New variable.
32578 ($(objpfx)bug-regex36-mem.out): New rule.
32579 * posix/bug-regex36.c: New file.
32580
32581 2014-06-19 Will Newton <will.newton@linaro.org>
32582
32583 * malloc/malloc.c (systrim): If extra is zero then return
32584 early.
32585
32586 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32587
32588 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32589
32590 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
32591
32592 * sysdeps/aarch64/strchr.S: New file.
32593
32594 2014-06-18 Joseph Myers <joseph@codesourcery.com>
32595
32596 [BZ #17022]
32597 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32598 from arguments -2 or below.
32599 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32600 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32601
32602 2014-06-18 Andreas Schwab <schwab@suse.de>
32603
32604 [BZ #17062]
32605 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32606 of a bracket expr not to run off the end of the string.
32607 * posix/Makefile (tests): Add tst-fnmatch3.
32608 * posix/tst-fnmatch3.c: New file.
32609
32610 2014-06-18 Joseph Myers <joseph@codesourcery.com>
32611
32612 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32613 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32614 [$(cross-compiling) = no]: Likewise.
32615 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32616 [$(cross-compiling) = no]: Likewise.
32617
32618 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32619
32620 [BZ #17031]
32621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32622 double, adjusted for any remainder from the high double.
32623 * math/libm-test.inc (nearbyint): Add tests.
32624 (rint): Likewise.
32625
32626 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32627
32628 * nptl/sysdeps/powerpc/Makefile: Moved ...
32629 * sysdeps/powerpc/nptl/Makefile: ... here.
32630 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32631 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32632 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32633 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32634 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32635 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32636 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32637 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32638 * nptl/sysdeps/powerpc/tls.h: Moved ...
32639 * sysdeps/powerpc/nptl/tls.h: ... here.
32640
32641 2014-06-16 Joseph Myers <joseph@codesourcery.com>
32642
32643 [BZ #16681]
32644 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32645 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32646 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32647 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32648 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32649 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32650 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32651 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32652 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32653
32654 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
32655
32656 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32657
32658 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
32659
32660 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32661 defined operator.
32662
32663 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32664 $TIMEOUTFACTOR.
32665
32666 2014-06-16 Florian Weimer <fweimer@redhat.com>
32667
32668 [BZ #17058]
32669 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32670 non-executed part of the test.
32671
32672 2014-06-16 Andreas Schwab <schwab@suse.de>
32673
32674 * string/bits/string2.h (strdup, strndup): Update feature guard.
32675
32676 2014-06-14 David S. Miller <davem@davemloft.net>
32677
32678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32679
32680 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
32681
32682 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32683 that was previously under [RESET_PID].
32684 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32685
32686 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32687 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32688 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32689 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32690 (__libc_vfork): New strong alias.
32691 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32692
32693 2014-06-14 Andi Kleen <ak@linux.intel.com>
32694
32695 * sysdeps/generic/elide.h: New file.
32696
32697 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32698
32699 * Makefile (installed-headers): Adjust path of pthread.h header.
32700
32701 2014-06-13 Roland McGrath <roland@hack.frob.com>
32702
32703 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32704 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32705 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32706 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32707
32708 * nptl/sysdeps/s390/Makefile: Moved ...
32709 * sysdeps/s390/nptl/Makefile: ... here.
32710 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32711 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32712 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32713 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32714 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32715 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32716 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32717 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32718 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32719 * sysdeps/s390/nptl/pthreaddef.h: ... here.
32720 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32721 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32722 * nptl/sysdeps/s390/tls.h: Moved ...
32723 * sysdeps/s390/nptl/tls.h: ... here.
32724
32725 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32726 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32727
32728 2014-06-13 David S. Miller <davem@davemloft.net>
32729
32730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32733 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32737 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32738 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32739 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32740 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32741 Remove RESET_PID cpp guards.
32742 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32743 Remove RESET_PID cpp guards.
32744 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32745
32746 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
32747
32748 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32749 __sp to uintptr_t.
32750
32751 2014-06-13 Andi Kleen <ak@linux.intel.com>
32752
32753 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32755 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32756 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32757 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32758 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32759 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32761 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32763 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32764 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32765 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32766 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32767 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32768 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32769 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32770 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32771 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32772 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32773
32774 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32775 (pthread_rwlock_rdlock): Add elision.
32776 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32777 (pthread_rwlock_wrlock): Add elision.
32778 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32779 (pthread_rwlock_trywrlock): Add elision.
32780 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32781 (pthread_rwlock_tryrdlock): Add elision.
32782 * nptl/pthread_rwlock_unlock.c: Include elide.h.
32783 (pthread_rwlock_tryrdlock): Add elision unlock.
32784 * nptl/sysdeps/pthread/pthread.h:
32785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32786 (PTHREAD_RWLOCK_INITIALIZER,
32787 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32788 Handle new elision field.
32789 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32790 * sysdeps/arm/nptl/bits/pthreadtypes.h
32791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32792 * sysdeps/sh/nptl/bits/pthreadtypes.h
32793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32794 * sysdeps/tile/nptl/bits/pthreadtypes.h
32795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32796 * sysdeps/a/nptl/bits/pthreadtypes.h
32797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32798 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32800 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32802 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32803 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32804 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32805 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32806 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32807 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32808 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32809 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32810 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32811 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32812 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32813 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32814 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32815 (elision_init): Set try_xbegin to zero when no RTM.
32816 * sysdeps/x86/nptl/bits/pthreadtypes.h
32817 (pthread_rwlock_t): Change __pad1 to __rwelision.
32818 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32819
32820 2014-06-13 Andi Kleen <ak@linux.intel.com>
32821
32822 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32823 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32824 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32825 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32826
32827 2014-06-13 Meador Inge <meadori@codesourcery.com>
32828
32829 [BZ #16996]
32830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32831 that the cached result has been set before returning it.
32832
32833 2014-06-12 Roland McGrath <roland@hack.frob.com>
32834
32835 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32836 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32837 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32838 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32840 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32841
32842 * nptl/sysdeps/sparc/Makefile: Moved ...
32843 * sysdeps/sparc/nptl/Makefile: ... here.
32844 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32845 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32846 * nptl/sysdeps/sparc/tls.h: Moved ...
32847 * sysdeps/sparc/nptl/tls.h: ... here.
32848 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32849 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32850 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32851 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32852 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32853 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32854 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32855 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32856 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32857 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32858 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32859 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32860 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32861 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32862 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32863 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32864 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32865 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32866 Update #include.
32867 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32868 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32869 Update #include.
32870 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32871 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32872 Update #include.
32873 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32874 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32875 Update #include.
32876
32877 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32878
32879 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32880 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32881
32882 * sysdeps/pthread/posix-timer.h: Include <list.h>.
32883 (struct list_links): Type removed.
32884 (struct thread_node, struct timer_node): Replace struct list_links
32885 with struct list_head.
32886 (list_unlink_ip): Likewise.
32887 * sysdeps/pthread/timer_routines.c
32888 (timer_free_list, thread_free_list, thread_active_list): Likewise.
32889 (list_append, list_insbefore): Likewise.
32890 (list_init): Function removed.
32891 (thread_init, init_module): Use INIT_LIST_HEAD instead.
32892 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32893 * sysdeps/pthread/Makefile: ... here, new file.
32894
32895 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32896 * sysdeps/nptl/Implies: ... here.
32897 * sysdeps/unix/sysv/linux/Implies: Add nptl.
32898 * nptl/sysdeps/pthread/list.h: Moved ...
32899 * include/list.h: ... here.
32900 * nptl/sysdeps/pthread/createthread.c: Moved ...
32901 * nptl/createthread.c: ... here.
32902 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32903 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32904 * nptl/pt-longjmp.c: ... here.
32905 * nptl/sysdeps/pthread/Makefile: Moved ...
32906 * sysdeps/nptl/Makefile: ... here.
32907 * nptl/sysdeps/pthread/Subdirs: Moved ...
32908 * sysdeps/nptl/Subdirs: ... here.
32909 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32910 * sysdeps/nptl/aio_misc.h: ... here.
32911 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32912 * sysdeps/nptl/bits/libc-lock.h: ... here.
32913 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32914 * sysdeps/nptl/bits/libc-lockP.h: ... here.
32915 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32916 * sysdeps/nptl/bits/stdio-lock.h: ... here.
32917 * nptl/sysdeps/pthread/configure: Moved ...
32918 * sysdeps/nptl/configure: ... here.
32919 * nptl/sysdeps/pthread/configure.ac: Moved ...
32920 * sysdeps/nptl/configure.ac: ... here.
32921 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32922 * sysdeps/nptl/gai_misc.h: ... here.
32923 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32924 * sysdeps/nptl/librt-cancellation.c: ... here.
32925 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32926 * sysdeps/nptl/malloc-machine.h: ... here.
32927 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32928 * sysdeps/nptl/pthread-functions.h: ... here.
32929 * nptl/sysdeps/pthread/pthread.h: Moved ...
32930 * sysdeps/nptl/pthread.h: ... here.
32931 * nptl/sysdeps/pthread/setxid.h: Moved ...
32932 * sysdeps/nptl/setxid.h: ... here.
32933 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32934 * sysdeps/nptl/sigfillset.c: ... here.
32935 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32936 * sysdeps/nptl/tcb-offsets.h: ... here.
32937 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32938 * sysdeps/nptl/tst-mqueue8x.c: ... here.
32939 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32940 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32941 * nptl/sysdeps/pthread/allocalim.h: Moved ...
32942 * sysdeps/pthread/allocalim.h: ... here.
32943 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32944 * sysdeps/pthread/bits/sigthread.h: ... here.
32945 * nptl/sysdeps/pthread/flockfile.c: Moved ...
32946 * sysdeps/pthread/flockfile.c: ... here.
32947 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32948 * sysdeps/pthread/ftrylockfile.c: ... here.
32949 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32950 * sysdeps/pthread/funlockfile.c: ... here.
32951 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32952 * sysdeps/pthread/posix-timer.h: ... here.
32953 * nptl/sysdeps/pthread/timer_create.c: Moved ...
32954 * sysdeps/pthread/timer_create.c: ... here.
32955 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32956 * sysdeps/pthread/timer_delete.c: ... here.
32957 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32958 * sysdeps/pthread/timer_getoverr.c: ... here.
32959 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32960 * sysdeps/pthread/timer_gettime.c: ... here.
32961 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32962 * sysdeps/pthread/timer_routines.c: ... here.
32963 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32964 * sysdeps/pthread/timer_settime.c: ... here.
32965 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32966 * sysdeps/pthread/tst-timer.c: ... here.
32967 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32968 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32969
32970 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32971 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32972
32973 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32974 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32975 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32976 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32977 Update #include target.
32978 * nptl/sysdeps/i386/i686/Makefile: Moved ...
32979 * sysdeps/i386/i686/nptl/Makefile: ... here.
32980 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32981 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32982 Update #include target.
32983 * nptl/sysdeps/i386/i686/tls.h: Moved ...
32984 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
32985 * nptl/sysdeps/i386/Makefile: Moved ...
32986 * sysdeps/i386/nptl/Makefile: ... here.
32987 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32988 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32989 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32990 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32991 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32992 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32993 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32994 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32995 * sysdeps/i386/nptl/pthreaddef.h: ... here.
32996 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32997 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32998 * nptl/sysdeps/i386/tls.h: Moved ...
32999 * sysdeps/i386/nptl/tls.h: ... here.
33000
33001 * sysdeps/sh/Makefile [$(subdir) = csu]
33002 (gen-as-const-headers): Add tcb-offsets.sym.
33003 * nptl/sysdeps/sh/Makefile: File removed.
33004 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33005 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33006 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33007 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33008 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33009 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33010 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33011 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33012 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33013 * sysdeps/sh/nptl/pthreaddef.h: ... here.
33014 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33015 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33016 * nptl/sysdeps/sh/tls.h: Moved ...
33017 * sysdeps/sh/nptl/tls.h: ... here.
33018 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33019 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33020 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33021 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33022 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33023 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33024 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33025 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33026 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33027 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33029 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33031 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33033 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33034 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33035 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33036 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33037 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33038 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33039 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33040 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33041 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33042 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33043 Moved ...
33044 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33045 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33046 Moved ...
33047 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33048 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33049 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33050 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33051 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33052 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33053 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33054 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33055 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33056 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33057 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33058 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33059 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33060 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33061 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33062 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33063 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33064 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33065 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33066
33067 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
33068
33069 * posix/spawn_faction_addopen.c: Include string.h.
33070
33071 2014-06-11 Roland McGrath <roland@hack.frob.com>
33072
33073 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33074 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33075 * nptl/sysdeps/x86_64/Makefile: Moved ...
33076 * sysdeps/x86_64/nptl/Makefile: ... here.
33077 * nptl/sysdeps/x86_64/configure: Moved ...
33078 * sysdeps/x86_64/nptl/configure: ... here.
33079 * nptl/sysdeps/x86_64/configure.ac: Moved ...
33080 * sysdeps/x86_64/nptl/configure.ac: ... here.
33081 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33082 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33083 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33084 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33085 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33086 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33087 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33088 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33089 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33090 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33091 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33092 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33093 * nptl/sysdeps/x86_64/tls.h: Moved ...
33094 * sysdeps/x86_64/nptl/tls.h: ... here.
33095 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33096 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33097 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33098 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33099
33100 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33101
33102 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33103
33104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33105
33106 2014-06-11 Joseph Myers <joseph@codesourcery.com>
33107
33108 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33109 type.
33110 [POSIX] (off_t): Likewise.
33111 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33112 [POSIX] (S_ISBLK): Require macro.
33113 [POSIX] (S_ISCHR): Likewise.
33114 [POSIX] (S_ISDIR): Likewise.
33115 [POSIX] (S_ISFIFO): Likewise.
33116 [POSIX] (S_ISREG): Likewise.
33117 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33118 optional-macro.
33119 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33120 type.
33121 [POSIX] (time_t): Likewise.
33122 [POSIX] (timer_t): Likewise.
33123
33124 2014-06-11 Florian Weimer <fweimer@redhat.com>
33125
33126 [BZ #17048]
33127 * posix/spawn_int.h (struct __spawn_action): Make the path string
33128 non-const to support deallocation.
33129 * posix/spawn_faction_addopen.c
33130 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33131 * posix/spawn_faction_destroy.c
33132 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
33133 path in all spawn_do_open actions.
33134 * posix/tst-spawn.c (do_test): Exercise the copy operation in
33135 posix_spawn_file_actions_addopen.
33136
33137 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
33138
33139 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33140 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33141 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33142 conditional code always true.
33143 (__libc_vfork): New alias.
33144
33145 2014-06-11 Roland McGrath <roland@hack.frob.com>
33146
33147 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33148 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33149
33150 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33151
33152 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33153 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33154
33155 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33156 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33157
33158 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33159 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33160
33161 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
33162
33163 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33164 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33165 multiarch strcmp for PPC64.
33166 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33167 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33169 multiarch optimizations.
33170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33171 (__libc_ifunc_impl_list): Likewise.
33172
33173 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33174
33175 * benchtests/scripts/validate_benchout.py: New script.
33176 * benchtests/Makefile (bench-func): Call it.
33177 * benchtests/scripts/benchout.schema.json: New file.
33178
33179 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
33180
33181 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33182 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33183 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33184 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33185 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33186 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33187 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33188 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33189 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33190 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33191 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33192 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33193 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33194 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33195 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33196 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33198 Moved ...
33199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33200 ... here.
33201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33202 Moved ...
33203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33205 Moved ...
33206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33207 ... here.
33208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33209 Moved ...
33210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33211 ... here.
33212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33213 Moved ...
33214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33216 Moved ...
33217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33218 ... here.
33219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33220 Moved ...
33221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33222 ... here.
33223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33224 Moved ...
33225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33227 Moved ...
33228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33229 ... here.
33230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33231 Moved ...
33232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33233 ... here.
33234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33235 Moved ...
33236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33237 ... here.
33238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33239 Moved ...
33240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33242 Moved ...
33243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33244 ... here.
33245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33246 Moved ...
33247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33248 ... here.
33249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33250 Moved ...
33251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33252 ... here.
33253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33254 Moved ...
33255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33257 Moved ...
33258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33259 ... here.
33260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33261 Moved ...
33262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33263 ... here.
33264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33265 Moved ...
33266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33268 Moved ...
33269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33270 ... here.
33271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33272 Moved ...
33273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33275 Moved ...
33276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33278 Moved ...
33279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33280 ... here.
33281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33282 Moved ...
33283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33284 ... here.
33285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33286 Moved ...
33287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33288 ... here.
33289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33290 Moved ...
33291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33293 Moved ...
33294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33295 ... here.
33296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33297 Moved ...
33298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33299 ... here.
33300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33301 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33303 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33305 Moved ...
33306 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33307 ... here.
33308 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33309 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33311 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33312 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33313 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33314 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33315 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33316 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33317 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33319 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33320 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33321 Moved ...
33322 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33323 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33324 Moved ...
33325 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33326 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33327 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33328 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33329 Moved ...
33330 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33331 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33332 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33333 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33334 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33335 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33336 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33337
33338 2014-06-10 Wilco <wdijkstr@arm.com>
33339
33340 * math/test-fenv-return.c: New file.
33341 * math/Makefile: Add new test test-fenv-return.
33342
33343 2014-06-10 Joseph Myers <joseph@codesourcery.com>
33344
33345 [BZ #17042]
33346 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33347 when x - 1 is zero.
33348 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33349 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33350 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33351 0.0L for an argument of 1.0L.
33352 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33353 Likewise.
33354 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33355 value when x - 1 is zero.
33356 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33357 * sysdeps/i386/fpu/libm-test-ulps: Update.
33358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33359
33360 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
33361
33362 [BZ #15119]
33363 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33364
33365 2014-06-09 Roland McGrath <roland@hack.frob.com>
33366
33367 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33368 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33369
33370 2014-06-09 Roland McGrath <roland@hack.frob.com>
33371
33372 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33373 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33374
33375 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33376 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33377
33378 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33379 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33380
33381 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33382 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33383
33384 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33385 if not already defined.
33386 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33387 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33388 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33389 (TLS_INIT_TP): Use it.
33390 (TLS_DEFINE_INIT_TP): New macro.
33391 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33392
33393 2014-06-09 Joseph Myers <joseph@codesourcery.com>
33394
33395 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33396 constant.
33397 [POSIX] (IXANY): Likewise.
33398 [POSIX] (OLCUC): Likewise.
33399 [POSIX || POSIX2008] (CBAUD): Do not allow.
33400 [POSIX || POSIX2008] (DEFECHO): Likewise.
33401 [POSIX || POSIX2008] (ECHOCTL): Likewise.
33402 [POSIX || POSIX2008] (ECHOKE): Likewise.
33403 [POSIX || POSIX2008] (ECHOPRT): Likewise.
33404 [POSIX || POSIX2008] (EXTA): Likewise.
33405 [POSIX || POSIX2008] (EXTB): Likewise.
33406 [POSIX || POSIX2008] (FLUSHO): Likewise.
33407 [POSIX || POSIX2008] (LOBLK): Likewise.
33408 [POSIX || POSIX2008] (PENDIN): Likewise.
33409 [POSIX || POSIX2008] (SWTCH): Likewise.
33410 [POSIX || POSIX2008] (VDISCARD): Likewise.
33411 [POSIX || POSIX2008] (VDSUSP): Likewise.
33412 [POSIX || POSIX2008] (VLNEXT): Likewise.
33413 [POSIX || POSIX2008] (VREPRINT): Likewise.
33414 [POSIX || POSIX2008] (VSTATUS): Likewise.
33415 [POSIX || POSIX2008] (VWERASE): Likewise.
33416 (B*): Change to B[0123456789]*.
33417 * conform/data/time.h-data [POSIX || UNIX98]
33418 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33419 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33420 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33421 [POSIX] (tm_*): Do not allow.
33422
33423 2014-06-07 Joseph Myers <joseph@codesourcery.com>
33424
33425 * Makefile (install): Don't set LANGUAGE.
33426 * Makefile.in (install): Likewise.
33427 * assert/Makefile (test-assert-ENV): Remove variable.
33428 (test-assert-perr-ENV): Likewise.
33429 * elf/Makefile (neededtest4-ENV): Likewise.
33430 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33431 [$(cross-compiling) = no]: Don't set LANGUAGE.
33432 * io/ftwtest-sh (LANG): Remove variable.
33433 * libio/Makefile (tst-widetext-ENV): Likewise.
33434 * manual/install.texi (Running make install): Don't refer to
33435 environment settings for make install.
33436 * INSTALL: Regenerated.
33437 * nptl/tst-tls6.sh: Don't set LANG.
33438 * posix/globtest.sh (LANG): Remove variable.
33439 * string/Makefile (tester-ENV): Likewise.
33440 (inl-tester-ENV): Likewise.
33441 (noinl-tester-ENV): Likewise.
33442 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33443 [$(cross-compiling) = no]: Don't set LANGUAGE.
33444 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33445 without explicit environment settings.
33446
33447 2014-06-06 Roland McGrath <roland@hack.frob.com>
33448
33449 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33450 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33451 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33452 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33453
33454 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
33455
33456 * crypt/crypt-private.h [DOS]: Add some includes taken from the
33457 other files in the crypt directory.
33458 * crypt/crypt.c: Remove duplicate includes.
33459 * crypt/crypt-entry.c: Likewise.
33460 * crypt/crypt_util.c: Likewise.
33461
33462 2014-06-06 Joseph Myers <joseph@codesourcery.com>
33463
33464 * Makeconfig (run-program-env): New variable.
33465 (run-program-prefix-before-env): Likewise.
33466 (run-program-prefix-after-env): Likewise.
33467 (run-program-prefix): Define in terms of new variables.
33468 (built-program-cmd-before-env): New variable.
33469 (built-program-cmd-after-env): Likewise.
33470 (built-program-cmd): Define in terms of new variables.
33471 (test-program-prefix-before-env): New variable.
33472 (test-program-prefix-after-env): Likewise.
33473 (test-program-prefix): Define in terms of new variables.
33474 (test-program-cmd-before-env): New variable.
33475 (test-program-cmd-after-env): Likewise.
33476 (test-program-cmd): Define in terms of new variables.
33477 * Rules (make-test-out): Use $(run-program-env).
33478 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33479 (help): Do not mention environment variables. Mention
33480 --timeoutfactor option.
33481 (timeoutfactor): New variable.
33482 (blacklist_exports): Remove function.
33483 (exports): Remove variable.
33484 (command): Do not include ${exports}.
33485 * manual/install.texi (Configuring and compiling): Do not mention
33486 test wrappers preserving environment variables. Mention that last
33487 assignment to a variable must take precedence.
33488 * INSTALL: Regenerated.
33489 * benchtests/Makefile (run-bench): Use $(run-program-env).
33490 * catgets/Makefile ($(objpfx)test1.cat): Use
33491 $(built-program-cmd-before-env), $(run-program-env) and
33492 $(built-program-cmd-after-env).
33493 ($(objpfx)test2.cat): Do not specify environment variables
33494 explicitly.
33495 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33496 $(run-program-env) and $(built-program-cmd-after-env).
33497 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33498 $(run-program-env) and $(test-program-cmd-after-env).
33499 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33500 explicitly.
33501 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33502 run_program_env and test_program_cmd_after_env arguments.
33503 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33504 * elf/tst-pathopt.sh: Use run_program_env argument.
33505 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33506 $(test-wrapper-env) and $(run-program-env).
33507 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33508 run_program_env arguments.
33509 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33510 * intl/Makefile ($(objpfx)tst-gettext.out): Use
33511 $(test-program-prefix-before-env), $(run-program-env) and
33512 $(test-program-prefix-after-env).
33513 ($(objpfx)tst-gettext2.out): Likewise.
33514 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33515 run_program_env and test_program_prefix_after_env arguments.
33516 * intl/tst-gettext2.sh: Likewise.
33517 * intl/tst-gettext4.sh: Do not set environment variables
33518 explicitly.
33519 * intl/tst-gettext6.sh: Likewise.
33520 * intl/tst-translit.sh: Likewise.
33521 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33522 $(test-program-prefix-before-env), $(run-program-env) and
33523 $(test-program-prefix-after-env).
33524 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33525 run_program_env and test_program_prefix_after_env arguments.
33526 * math/Makefile (run-regen-ulps): Use $(run-program-env).
33527 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33528 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
33529 explicitly with each use of ${test_wrapper_env}.
33530 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33531 $(test-program-prefix-before-env), $(run-program-env) and
33532 $(test-program-prefix-after-env).
33533 * posix/tst-getconf.sh: Do not set environment variables
33534 explicitly.
33535 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33536 run_program_env and test_program_prefix_after_env arguments.
33537 * stdio-common/tst-printf.sh: Do not set environment variables
33538 explicitly.
33539 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33540 $(test-program-prefix-before-env), $(run-program-env) and
33541 $(test-program-prefix-after-env).
33542 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33543 run_program_env and test_program_prefix_after_env arguments.
33544 Split $test calls into $test_pre and $test.
33545 * timezone/Makefile (build-testdata): Use
33546 $(built-program-cmd-before-env), $(run-program-env) and
33547 $(built-program-cmd-after-env).
33548
33549 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33550
33551 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33552 strlen for non SHARED builds.
33553
33554 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33555
33556 * nptl/allocatestack.c (check_list): Inlined function...
33557 (__reclaim_stacks): ... here.
33558
33559 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
33560
33561 [BZ #15698]
33562 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33563 memory overrun.
33564
33565 2014-06-05 Joseph Myers <joseph@codesourcery.com>
33566
33567 * Rules (make-test-out): Include
33568 LOCPATH=$(common-objpfx)localedata in default environment.
33569 * debug/Makefile (tst-chk1-ENV): Remove variable.
33570 (tst-chk2-ENV): Likewise.
33571 (tst-chk3-ENV): Likewise.
33572 (tst-chk4-ENV): Likewise.
33573 (tst-chk5-ENV): Likewise.
33574 (tst-chk6-ENV): Likewise.
33575 (tst-lfschk1-ENV): Likewise.
33576 (tst-lfschk2-ENV): Likewise.
33577 (tst-lfschk3-ENV): Likewise.
33578 (tst-lfschk4-ENV): Likewise.
33579 (tst-lfschk5-ENV): Likewise.
33580 (tst-lfschk6-ENV): Likewise.
33581 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33582 (tst-iconv7-ENV): Likewise.
33583 * intl/Makefile (LOCPATH-ENV): Likewise.
33584 (tst-codeset-ENV): Likewise.
33585 (tst-gettext3-ENV): Likewise.
33586 (tst-gettext5-ENV): Likewise.
33587 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33588 (tst-fopenloc-ENV): Likewise.
33589 (tst-fgetws-ENV): Remove variable.
33590 (tst-ungetwc1-ENV): Likewise.
33591 (tst-ungetwc2-ENV): Likewise.
33592 (bug-ungetwc2-ENV): Likewise.
33593 (tst-swscanf-ENV): Likewise.
33594 (bug-ftell-ENV): Likewise.
33595 (tst-fgetwc-ENV): Likewise.
33596 (tst-fseek-ENV): Likewise.
33597 (tst-ftell-partial-wide-ENV): Likewise.
33598 (tst-ftell-active-handler-ENV): Likewise.
33599 (tst-ftell-append-ENV): Likewise.
33600 * posix/Makefile (tst-fnmatch-ENV): Likewise.
33601 (tst-regexloc-ENV): Likewise.
33602 (bug-regex1-ENV): Likewise.
33603 (tst-regex-ENV): Likewise.
33604 (tst-regex2-ENV): Likewise.
33605 (bug-regex5-ENV): Likewise.
33606 (bug-regex6-ENV): Likewise.
33607 (bug-regex17-ENV): Likewise.
33608 (bug-regex18-ENV): Likewise.
33609 (bug-regex19-ENV): Likewise.
33610 (bug-regex20-ENV): Likewise.
33611 (bug-regex22-ENV): Likewise.
33612 (bug-regex23-ENV): Likewise.
33613 (bug-regex25-ENV): Likewise.
33614 (bug-regex26-ENV): Likewise.
33615 (bug-regex30-ENV): Likewise.
33616 (bug-regex32-ENV): Likewise.
33617 (bug-regex33-ENV): Likewise.
33618 (bug-regex34-ENV): Likewise.
33619 (bug-regex35-ENV): Likewise.
33620 (tst-rxspencer-ENV): Likewise.
33621 (tst-rxspencer-no-utf8-ENV): Likewise.
33622 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33623 (tst-sscanf-ENV): Likewise.
33624 (tst-swprintf-ENV): Likewise.
33625 (tst-swscanf-ENV): Likewise.
33626 (test-vfprintf-ENV): Likewise.
33627 (scanf13-ENV): Likewise.
33628 (bug14-ENV): Likewise.
33629 (tst-grouping-ENV): Likewise.
33630 * stdlib/Makefile (tst-strtod-ENV): Likewise.
33631 (tst-strtod3-ENV): Likewise.
33632 (tst-strtod4-ENV): Likewise.
33633 (tst-strtod5-ENV): Likewise.
33634 (testmb2-ENV): Likewise./
33635 * string/Makefile (tst-strxfrm-ENV): Likewise.
33636 (tst-strxfrm2-ENV): Likewise.
33637 (bug-strcoll1-ENV): Likewise.
33638 (test-strcasecmp-ENV): Likewise.
33639 (test-strncasecmp-ENV): Likewise.
33640 * time/Makefile (tst-strptime-ENV): Likewise.
33641 (tst-ftime_l-ENV): Likewise.
33642 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33643 (tst-mbrtowc-ENV): Likewise.
33644 (tst-wcrtomb-ENV): Likewise.
33645 (tst-mbrtowc2-ENV): Likewise.
33646 (tst-c16c32-1-ENV): Likewise.
33647 (tst-mbsnrtowcs-ENV): Likewise.
33648
33649 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
33650
33651 * manual/resource.texi (How to get information about the memory
33652 subsystem?): Fix typo.
33653 Reported by Peon de la Parra Ivan <peon@keba.com>
33654
33655 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
33656
33657 [BZ #16882]
33658 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33659 (pthread_spin_lock): Branch out of spin loop to proper location.
33660 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33661 (pthread_spin_lock): Likewise.
33662
33663 * nptl/tst-spin4.c: New test.
33664 * nptl/Makefile (tests): Add tst-spin4.
33665
33666 2014-06-03 Andreas Schwab <schwab@suse.de>
33667
33668 [BZ #15946]
33669 * resolv/res_send.c (send_dg): Reload file descriptor after
33670 calling reopen.
33671
33672 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
33673
33674 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33675
33676 2014-06-03 Richard Henderson <rth@redhat.com>
33677
33678 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33679 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33680 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33681 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
33682 in the SAVE_PID block.
33683 (__libc_vfork): New alias.
33684 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33685
33686 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33687 child in registers, not on the stack. Remove RESET_PID conditionals.
33688 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33689
33690 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
33691
33692 * sysdeps/aarch64/libm-test-ulps: Regenerate.
33693
33694 2014-06-03 Wilco <wdijkstr@arm.com>
33695
33696 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33697 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33698 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33699 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33700 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33701 Likewise.
33702
33703 2014-06-03 Wilco <wdijkstr@arm.com>
33704
33705 * sysdeps/aarch64/fpu/math_private.h
33706 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33707 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33708 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33709 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33710 Fix declarations.
33711
33712 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33713
33714 * crypt/crypt-private.h: Include ufc-crypt.h.
33715 (__b64_from_24bit): Declare extern.
33716 * crypt/crypt_util.c(__b64_from_24bit): New function.
33717 (b64t): New static const variable.
33718 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33719 (b64t): Remove variable.
33720 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33721 * crypt/sha256-crypt.c: Include crypt-private.h.
33722 (b64t): Remove variable.
33723 (__sha256_crypt_r): Remove b64_from_24bit and replace
33724 with __b64_from_24bit.
33725 * crypt/sha512-crypt.c: Likewise.
33726
33727 2014-06-02 Roland McGrath <roland@hack.frob.com>
33728
33729 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33730 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33731 Label the code __libc_vfork rather than __vfork.
33732 [!NOT_IN_libc] (vfork): Define as weak alias.
33733 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33734 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33735 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33736
33737 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33738
33739 * malloc/malloc.c (malloc_info): Fix format specifier for
33740 n_mmaps.
33741
33742 2014-06-02 Wilco <wdijkstr@arm.com>
33743
33744 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33745 FPCR write.
33746
33747 2014-06-02 Wilco <wdijkstr@arm.com>
33748
33749 [BZ #17009]
33750 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33751 Rewrite to reduce FPCR/FPSR accesses.
33752
33753 2014-06-01 David S. Miller <davem@davemloft.net>
33754
33755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33756
33757 2014-05-31 David S. Miller <davem@davemloft.net>
33758
33759 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33760 to occur in round to nearest mode when |x| >= 2.0
33761
33762 2014-05-30 Richard Henderson <rth@twiddle.net>
33763
33764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33765 (PSEUDO_RET_NOERRNO): Remove.
33766 (ret): Don't redefine.
33767 (ret_NOERRNO): Define in terms of ret.
33768 (ret_ERRVAL): Likewise.
33769
33770 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33771 use of PSEUDO_RET; perform the error check directly.
33772
33773 2014-05-30 Marko Myllynen <myllynen@redhat.com>
33774
33775 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33776 with __int128_t.
33777
33778 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33779
33780 * malloc/malloc (malloc_info): Fix formatting.
33781
33782 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33783 Roland McGrath <roland@hack.frob.com>
33784
33785 * malloc/malloc (malloc_info): Also print mmapped statistics.
33786
33787 2014-05-30 Roland McGrath <roland@hack.frob.com>
33788
33789 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33790 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33791
33792 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
33793
33794 * malloc/malloc.c (malloc_info): Inline mi_arena.
33795
33796 2014-05-29 Richard Henderson <rth@twiddle.net>
33797
33798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33799 Remove comma before expanding ASM_ARGS_##nr.
33800 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33801 Make _x0 a strict output; make _x8 a strict input; adjust expansion
33802 of ASM_ARGS_##nr.
33803 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33804 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33805 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33806 (ASM_ARGS_1): Add leading comma.
33807
33808 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33809 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33810 to __errno_location.
33811 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33812 Remove the expected plt for __errno_location.
33813
33814 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33815 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33816 call to __read_tp.
33817
33818 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33819 Always allocate 64 bytes of stack frame. Use ldp/stp to create
33820 it and break it down.
33821 (DOCARGS_0, DOCARGS_1): Do nothing.
33822 (DOCARGS_2): Update to store into the new stack frame.
33823 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33824 (UNDOCARGS_1): Update to restore from the new stack frame.
33825 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33826 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33827
33828 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33829 (SINGLE_THREAD_P): New parameter for result regno.
33830 (PSEUDO): Update to match; use cbz instead of beq.
33831
33832 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33833 Use ENTRY to define the _nocancel entry point. Share the syscall
33834 and syscall error check paths with the cancel path.
33835 (PSEUDO_END): New.
33836
33837 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33838 whitespace; tabs before and after asm mnemonics.
33839
33840 2014-05-29 Eric Wong <normalperson@yhbt.net>
33841
33842 [BZ #15132]
33843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33844 Call fstat64 or stat64 internally, depending on arguments passed.
33845 Replace stat buffer argument with file descriptor argument.
33846 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33847 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33848 Pass fd to __internal_statvfs instead of calling fstat64.
33849 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33850 Pass fd to __internal_statvfs64 instead of calling fstat64.
33851 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33852 Pass -1 to __internal_statvfs instead of calling stat64.
33853 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33854 Pass -1 to __internal_statvfs64 instead of calling stat64.
33855
33856 2014-05-28 Roland McGrath <roland@hack.frob.com>
33857
33858 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33859 that was previously under [RESET_PID].
33860 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33861
33862 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33863 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33864
33865 2014-05-27 Roland McGrath <roland@hack.frob.com>
33866
33867 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33868
33869 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33870 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33871
33872 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
33873
33874 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33875
33876 2014-05-27 Andreas Schwab <schwab@suse.de>
33877
33878 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33879 TLS_INIT_TP macro.
33880 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33881 * elf/rtld.c (init_tls, dl_main): Likewise.
33882 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33883 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33884 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33885 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33886 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33887 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33888 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33889 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33890 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33891 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33892 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33893 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33894 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33895 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33896 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33897 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33898 * sysdeps/generic/tls.h: Update description.
33899
33900 2014-05-27 Will Newton <will.newton@linaro.org>
33901
33902 [BZ #16990]
33903 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33904 and restore r2 rather than just restoring.
33905
33906 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33907
33908 [BZ #16724]
33909 * libio/tst-ftell-append.c: New test case.
33910 * libio/Makefile (tests): Add test case.
33911 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33912 append mode.
33913 * libio/wfileops.c (do_ftell_wide): Likewise.
33914
33915 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33916
33917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33918
33919 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33920 ...
33921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33923 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33924 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33925 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33926 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33927 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33928 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33930 Moved ...
33931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33932 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33933 Moved ...
33934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33935 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33936 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33937 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33938 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33939 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33940 ...
33941 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33942 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33943 Moved ...
33944 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33945 here.
33946 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33947 ...
33948 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33949 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33950 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33951
33952 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33953 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33954 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33955 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33956
33957 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33958 merge into ...
33959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33961 ...
33962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33964 ...
33965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33966 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33967 Moved ...
33968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33969 here.
33970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33971 Moved ...
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33973 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33974 Moved ...
33975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33976
33977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33978 conditional [RESET_PID].
33979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33981 removed.
33982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33983 removed.
33984
33985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33986 <tcb-offsets.h>.
33987 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33988 (__libc_vfork): New strong alias.
33989 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33990 removed.
33991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33992 Removed.
33993
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33995 <tcb-offsets.h>.
33996 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33997 (__libc_vfork): New strong alias.
33998 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33999 removed.
34000 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34001 removed.
34002
34003 2014-05-26 Carlos O'Donell <carlos@redhat.com>
34004
34005 * malloc/malloc.c (mi_arena): New function.
34006 (malloc_info): Remove nested function mi_arena. Call non-nosted
34007 function mi_arena.
34008
34009 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34010
34011 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34012 by insrwi.
34013 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34014 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34015 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34016 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34017 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34018 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34019 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34020
34021 2014-05-26 Andreas Schwab <schwab@suse.de>
34022
34023 [BZ #16984]
34024 * locale/programs/repertoire.c (repertoire_read): Add slash
34025 between I18NPATH element and file name.
34026 * locale/programs/locfile.c (locfile_read): Likewise.
34027
34028 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
34029
34030 * nptl/pthread_mutexattr_settype.c
34031 (__pthread_mutexattr_settype):
34032 Disable lock elision for PTHREAD_MUTEX_NORMAL.
34033
34034 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
34035
34036 * nptl/tst-mutex5 (do_test):
34037 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34038
34039 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34040
34041 * benchtests/README: Document 'init' directive.
34042 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34043 BENCH_INIT.
34044 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34045 (parse_file): Recognize 'init' directive.
34046
34047 2014-05-26 Kyle McMartin <kyle@redhat.com>
34048
34049 [BZ #16796]
34050 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34051 alignment of struct pthread.
34052
34053 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34054
34055 [BZ #16878]
34056 * nscd/netgroupcache.c (addgetnetgrentX): Look for
34057 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34058 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34059 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34060
34061 2014-05-25 Richard Henderson <rth@twiddle.net>
34062
34063 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34064 (SINGLE_THREAD_P_PIC): Remove.
34065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34066 (SINGLE_THREAD_P_PIC): Remove.
34067
34068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34069 branch to syscall error ...
34070 (PSEUDO): ... here.
34071 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34072 from __local_syscall_error to .Lsyscall_error.
34073 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34074 (SYSCALL_ERROR): Update label name.
34075
34076 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34077 Do not use DOARGS/UNDOARGS.
34078 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34079 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34080 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34081 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34082 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34083
34084 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34085 block comment.
34086
34087 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34088 define if !NOT_IN_libc.
34089 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34090 define with non-default symbol versions.
34091
34092 2014-05-23 Richard Henderson <rth@twiddle.net>
34093
34094 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34095 (vfork, __vfork): Define via compat_symbol.
34096
34097 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34098 [!HAVE_IFUNC] (vfork_compat): Remove.
34099 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34100
34101 2014-05-23 Joseph Myers <joseph@codesourcery.com>
34102
34103 [BZ #16978]
34104 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34105 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34106 variable.
34107
34108 2014-05-23 Richard Henderson <rth@twiddle.net>
34109
34110 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34111 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34112 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34113 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34114
34115 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34116 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34117 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34118 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34119 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34120 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34121 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34122 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34123 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34124 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34125 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34126 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34127 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34128 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34129 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34130 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34131 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34132 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34133 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34135 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34136 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34137 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34138 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34139 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34140 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34141 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34142 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34143 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34144 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34145 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34146 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34147 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34148 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34149 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34150 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34151 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34152 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34153 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34154 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34155 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34156 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34157 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34158 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34159 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34160 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34161 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34162 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34164 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34166 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34167 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34168 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34170 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34171
34172 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34173 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34174 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
34175 before exiting on error.
34176 (__libc_vfork): New strong alias.
34177 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34178 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34179
34180 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34181 that was previously under [RESET_PID].
34182 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34183
34184 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34185
34186 2014-05-23 Joseph Myers <joseph@codesourcery.com>
34187
34188 [BZ #16977]
34189 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34190 value when x - 1 is zero.
34191 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34192 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34193 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34194 0.0L for an argument of 1.0L.
34195 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34196 Likewise.
34197 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34198 value when x - 1 is zero.
34199 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34200 * sysdeps/i386/fpu/libm-test-ulps: Update.
34201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34202
34203 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34204
34205 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34206 alphasort and versionsort.
34207
34208 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34209
34210 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34211 macro.
34212 [copysignf]: Likewise.
34213
34214 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34215
34216 * crypt/md5-crypt.c: Fix formatting.
34217
34218 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34219
34220 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34221 (b64_from_24bit): New function.
34222
34223 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34224
34225 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34226 libc_hidden_builtin_def to ifunc.
34227 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34228 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34229
34230 2014-05-21 Roland McGrath <roland@hack.frob.com>
34231
34232 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34233 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34234
34235 2014-05-21 Joseph Myers <joseph@codesourcery.com>
34236
34237 * nscd/Depend (linuxthreads): Remove.
34238 (nptl): Add.
34239 * resolv/Depend (linuxthreads): Remove.
34240 * rt/Depend (linuxthreads): Remove.
34241
34242 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34243 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34244 $(common-objpfx)elf/.
34245 (link-libc-before-gnulib): Likewise.
34246 (elfobjdir): Remove variable.
34247 * Makefile (install): Use $(elf-objpfx) instead of
34248 $(common-objpfx)elf/.
34249 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34250 $(elfobjdir)/.
34251 (link-libc-deps): Likewise.
34252 ($(common-objpfx)libc.so): Likewise.
34253 ($(common-objpfx)linkobj/libc.so): Likewise.
34254 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34255 instead of $(common-objpfx)elf/.
34256 (symbolic-link-list): Likewise.
34257 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34258 [$(cross-compiling) = no]: Likewise.
34259 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34260 $(elfobjdir)/.
34261 (static-gnulib-arch): Likewise.
34262 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34263 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34264 $(common-objpfx)elf/.
34265
34266 2014-05-21 Richard Henderson <rth@redhat.com>
34267
34268 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34269 (SINGLE_THREAD_P): Use the correct width load. Fold
34270 into the ldr offset.
34271
34272 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34273 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34274
34275 2014-05-20 Joseph Myers <joseph@codesourcery.com>
34276
34277 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34278 (libgcc_s_resume): Use __attribute_used__.
34279 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34280 Likewise.
34281
34282 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34283
34284 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34285 optimization when used with float constants.
34286
34287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34288
34289 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
34290
34291 [BZ #16915]
34292 * locale/nl_langinfo_l.c: Make direct reference to every
34293 _nl_current_CATEGORY symbol.
34294 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34295 (tests-static): Add tst-langinfo-static.
34296 (tests-special): Add tst-langinfo-static.out.
34297 ($(objpfx)tst-langinfo.out): Redirect output.
34298 ($(objpfx)tst-langinfo-static.out): New.
34299 * localedata/tst-langinfo.sh: Send output to stdout.
34300 * localedata/tst-langinfo-static.c: New file.
34301
34302 [BZ #16965]
34303 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34304 when the shift amount is modulo the limb size.
34305
34306 2014-05-20 Richard Henderson <rth@redhat.com>
34307
34308 [BZ #16967]
34309 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34310 Change type of sa_flags from unsigned int to int.
34311
34312 [BZ #16966]
34313 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34314
34315 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34316
34317 2014-05-20 Will Newton <will.newton@linaro.org>
34318
34319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34320 Test the return value of the system call in the nocancel case.
34321
34322 2014-05-20 Will Newton <will.newton@linaro.org>
34323 Yvan Roux <yvan.roux@linaro.org>
34324
34325 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34326 #include of asm/ptrace.h.
34327 (PTRACE_GET_THREAD_AREA): Remove #undef.
34328 (PTRACE_GETHBPREGS): Likewise.
34329 (PTRACE_SETHBPREGS): Likewise.
34330 (struct user_regs_struct): New structure.
34331 (struct user_fpsimd_struct): New structure.
34332 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34333 #include of asm/ptrace.h and second #include of sys/user.h.
34334 (PTRACE_GET_THREAD_AREA): Remove #undef.
34335 (PTRACE_GETHBPREGS): Likewise.
34336 (PTRACE_SETHBPREGS): Likewise.
34337 (ELF_NGREG): Use new struct user_regs_struct.
34338 (elf_fpregset_t): Use new struct user_fpsimd_struct.
34339
34340 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34341
34342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34344
34345 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
34346
34347 [BZ #16958]
34348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34349 membar to avoid block loads/stores to overlap previous stores.
34350
34351 2014-05-17 Richard Henderson <rth@redhat.com>
34352
34353 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34354 Create the __##syscall_name##_nocancel entry point.
34355 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34356 Remove; let the sysdep-cancel.h code create it.
34357
34358 2014-05-17 David S. Miller <davem@davemloft.net>
34359
34360 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34361 Protect with __USE_GNU.
34362 (TIOCSET_TEMPT): Likewise.
34363 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34364 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34365 these are already provided in bits/ioctl-types.h
34366
34367 2014-05-16 Roland McGrath <roland@hack.frob.com>
34368
34369 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34370 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34371
34372 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34373 Use wait4 regardless of [__NR_waitpid].
34374
34375 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
34376
34377 PR libgcc/60166
34378 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34379 (_FP_NANSIGN_Q): Set the quiet bit.
34380
34381 2014-05-16 Joseph Myers <joseph@codesourcery.com>
34382
34383 * benchtests/Makefile
34384 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34385 not $(common-objpfx)math/libm.so.
34386 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34387 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34388 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34389 $(common-objpfx)dlfcn/libdl.so.
34390 ($(objpfx)tst-audit8): Depend on $(libm), not
34391 $(common-objpfx)math/libm.so.
34392 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34393 not $(common-objpfx)dlfcn/libdl.so.
34394 * math/Makefile
34395 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34396 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
34397 [$(build-shared) = yes].
34398 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34399 $(common-objpfx)nptl/libpthread.so.
34400 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34401 $(common-objpfx)math/libm.so$(libm.so-version) or
34402 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34403 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34404 $(common-objpfx)dlfcn/libdl.so.
34405 * setjmp/Makefile (link-libm): Remove variable.
34406 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34407 * stdio-common/Makefile (link-libm): Remove variable.
34408 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34409 * stdlib/Makefile (link-libm): Remove variable.
34410 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34411 ($(objpfx)tst-strtod-round): Likewise.
34412 ($(objpfx)tst-tininess): Likewise.
34413 ($(objpfx)tst-strtod-underflow): Likewise.
34414 ($(objpfx)tst-strtod6): Likewise.
34415 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34416 $(libdl), not $(common-objpfx)nptl/libpthread.so and
34417 $(common-objpfx)dlfcn/libdl.so.
34418
34419 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34420
34421 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34422 BSD terminal modes definitions.
34423
34424 2014-05-16 Roland McGrath <roland@hack.frob.com>
34425
34426 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34427 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34428
34429 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34430 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34431 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34432 Don't do #include_next.
34433 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34434 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34435 Don't do #include_next.
34436 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34437 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34438 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34439 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34440
34441 2014-05-16 Allan McRae <allan@archlinux.org>
34442
34443 * po/sv.po: Update Swedish translation from translation project.
34444
34445 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34446 in sed expression.
34447
34448 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
34449
34450 [BZ #16917]
34451 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34452 errno if the TIOCGPTN ioctl fails with an error different than
34453 EINVAL.
34454 * login/tst-ptsname.c: New file.
34455 * login/Makefile (tests): Add tst-ptsname.
34456
34457 [BZ #16943]
34458 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34459 and prlimit64.
34460
34461 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34462
34463 [BZ #16849]
34464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34465 herrno to return EAI_AGAIN.
34466
34467 2014-05-14 Roland McGrath <roland@hack.frob.com>
34468
34469 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34470 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34471 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34472 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34473 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34474 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34475 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34476 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34477 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34478 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34479 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34480 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34481 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34482 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34483 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34484 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34485 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34486 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34487 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34488 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34489 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34490 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34491 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34492 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34493 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34494 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34495 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34496 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34497 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34498 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34500 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34502 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34504 Moved ...
34505 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34507 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34509 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34511 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34513 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34515 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34517 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34519 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34521 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34523 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34525 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34527 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34529 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34531 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34533 Moved ...
34534 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34536 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34538 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34540 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34542 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34544 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34546 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34548 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34550 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34552 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34554 Moved ...
34555 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34557 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34558
34559 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34560 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34561 (libpthread-sysdep_routines): Add elision-related stuff here instead.
34562 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34563 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34564 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34565 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34566 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34567 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34568 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34569 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34570 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34571 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34572 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34573 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34574 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34575 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34576 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34577 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34578 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34579 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34580 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34581 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34582 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34583 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34584 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34585 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34586 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34587 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34588 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34589 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34590
34591 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34592 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34593
34594 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34595 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34596 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34597 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34598 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34599 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34600 Moved ...
34601 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34602 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34603 Moved ...
34604 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34605 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34606 Moved ...
34607 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34609 Moved ...
34610 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34611 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34612 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34613 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34614 Moved ...
34615 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34616 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34617 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34618 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34619 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34620 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34621 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34622 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34623 Moved ...
34624 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34625 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34626 Moved ...
34627 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34628 ... here.
34629 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34630 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34631 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34632 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34633 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34634 Moved ...
34635 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34636 ... here.
34637 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34638 Moved ...
34639 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34640 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34641 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34642 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34643 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34644 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34645 Moved ...
34646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34647 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34648 Moved ...
34649 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34650 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34651 Moved ...
34652 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34654 Moved ...
34655 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34656 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34657 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34658 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34659 Moved ...
34660 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34661 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34662 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34663 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34664 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34665 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34666 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34667 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34668 Moved ...
34669 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34670 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34671 Moved ...
34672 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34673 ... here.
34674 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34675 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34676 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34677 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34678 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34679 Moved ...
34680 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34681 ... here.
34682 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34683 Moved ...
34684 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34685 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34686 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34687 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34688 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34689 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34690 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34691 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34692 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34693 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34694 Moved ...
34695 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34697 Moved ...
34698 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34699 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34700 Moved ...
34701 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34702 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34703 Moved ...
34704 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34705 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34706 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34707 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34708 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34709 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34710 Moved ...
34711 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34712 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34713 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34714 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34715 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34716 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34717 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34718 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34719 Moved ...
34720 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34721 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34722 Moved ...
34723 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34724 ... here.
34725 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34726 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34727 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34728 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34729 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34730 Moved ...
34731 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34732 ... here.
34733 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34734 Moved ...
34735 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34736 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34737 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34738 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34739 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34740 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34741 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34742 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34743 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34744 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34745 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34746
34747 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34748 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34749
34750 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34751 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34752
34753 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34754 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34755 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34756 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34757 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34758 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34759 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34760 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34761 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34762 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34763 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34764 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34766 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34767 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34769 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34771 Moved ...
34772 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34773 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34774 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34775 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34776 Moved ...
34777 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34778 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34779 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34781 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34782 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34783 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34784 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34785 Moved ...
34786 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34787 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34788 Moved ...
34789 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34790 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34791 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34792 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34793 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34794 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34795 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34796 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34797 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34798 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34799 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34800 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34801 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34802 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34803 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34804 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34805 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34806
34807 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34808 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34809 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34810 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34811 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34812
34813 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34814 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34815 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34816 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34817 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34818 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34819 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34820 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34821 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34822 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34823
34824 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34826
34827 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34828 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34829 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34830 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34831 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34832 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34833 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34834 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34835 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34836 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34837 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34838 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34839 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34840 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34842 Update #include.
34843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34844 Likewise.
34845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34846 Likewise.
34847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34848 Likewise.
34849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34850 Likewise.
34851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34852 Likewise.
34853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34854 Likewise.
34855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34856 Likewise.
34857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34858 Likewise.
34859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34860 Likewise.
34861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34866 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34867 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34868 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34869 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34870 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
34875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
34876
34877 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34878 that was previously under [RESET_PID].
34879 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34880 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34881 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34882
34883 * sysdeps/i386/nptl/Implies: New file.
34884 * sysdeps/x86_64/nptl/Implies: New file.
34885 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34886 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34887 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34888 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34889
34890 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34891 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34892 (__libc_vfork): New strong alias.
34893 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34894 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34895
34896 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34897 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34898 (__libc_vfork): New strong alias.
34899 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34900 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34901
34902 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34903 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34904 (__libc_vfork): New strong alias.
34905 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34906 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34907 * nptl/pt-vfork.c: New file.
34908 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34909 (libpthread: GLIBC_2.20): New version set (empty).
34910
34911 2014-05-14 Will Newton <will.newton@linaro.org>
34912
34913 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34914 rather than #if.
34915
34916 2014-05-14 Joseph Myers <joseph@codesourcery.com>
34917
34918 [BZ #16564]
34919 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34920 arguments with exponent 65 or above.
34921 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34922 arguments 0x1p113L or above.
34923 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34924 to arguments 0x1p107L or above.
34925 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34926 positive arguments with exponent 65 or above.
34927 * math/auto-libm-test-in: Add more tests of log1p.
34928 * math/auto-libm-test-out: Regenerated.
34929
34930 [BZ #16928]
34931 * math/s_cacos.c (__cacos): Ensure zero real part of result from
34932 non-finite arguments is +0.
34933 * math/s_cacosf.c (__cacosf): Likewise.
34934 * math/s_cacosl.c (__cacosl): Likewise.
34935 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34936 * sysdeps/i386/fpu/libm-test-ulps: Update.
34937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34938
34939 [BZ #16927]
34940 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34941 value.
34942 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34943 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34944 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34945 for explicit high bit of mantissa when testing for argument equal
34946 to 1.
34947 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34948 * sysdeps/i386/fpu/libm-test-ulps: Update.
34949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34950
34951 [BZ #16516]
34952 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34953 (__erf): Scale by 16 instead of 8 in potentially underflowing
34954 case. Ensure exception if result actually underflows.
34955 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34956 (__erff): Scale by 16 instead of 8 in potentially underflowing
34957 case. Ensure exception if result actually underflows.
34958 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34959 (efx8): Remove variable.
34960 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34961 case. Ensure exception if result actually underflows.
34962 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34963 (efx8): Remove variable.
34964 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34965 case. Ensure exception if result actually underflows.
34966 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34967 (efx8): Remove variable.
34968 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34969 case. Ensure exception if result actually underflows.
34970 * math/auto-libm-test-in: Add more tests of erf.
34971 * math/auto-libm-test-out: Regenerated.
34972
34973 2014-05-14 Andreas Schwab <schwab@suse.de>
34974
34975 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34976 Remove code conditionalized on USE___THREAD.
34977
34978 * config.h.in (HAVE_PT_CHOWN): Define as 0.
34979 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34980 not definedness.
34981
34982 2014-05-14 Joseph Myers <joseph@codesourcery.com>
34983
34984 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34985 Define unconditionally.
34986 (__ASSUME_O_CLOEXEC): Likewise.
34987 (__ASSUME_SOCK_CLOEXEC): Likewise.
34988 (__ASSUME_IN_NONBLOCK): Likewise.
34989 (__ASSUME_PIPE2): Likewise.
34990 (__ASSUME_EVENTFD2): Likewise.
34991 (__ASSUME_SIGNALFD4): Likewise.
34992 (__ASSUME_DUP3): Likewise.
34993 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34994 (__ASSUME_DUP3): Do not define.
34995 (__ASSUME_EVENTFD2): Likewise.
34996 (__ASSUME_IN_NONBLOCK): Likewise.
34997 (__ASSUME_O_CLOEXEC): Likewise.
34998 (__ASSUME_PIPE2): Likewise.
34999 (__ASSUME_SIGNALFD4): Likewise.
35000 (__ASSUME_SOCK_CLOEXEC): Likewise.
35001 (__ASSUME_UTIMES): Undefine.
35002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35003 (__ASSUME_UTIMES): Do not define.
35004 (__ASSUME_O_CLOEXEC): Likewise.
35005 (__ASSUME_SOCK_CLOEXEC): Likewise.
35006 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35007 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35008 0x020621].
35009 (__ASSUME_PIPE2): Likewise.
35010 (__ASSUME_EVENTFD2): Likewise.
35011 (__ASSUME_SIGNALFD4): Likewise.
35012 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35013 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35014 Do not define.
35015 (__ASSUME_EVENTFD2): Likewise.
35016 (__ASSUME_SIGNALFD4): Likewise.
35017 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35018 (__ASSUME_32BITUIDS): Likewise.
35019 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35020 (__ASSUME_IPC64): Likewise.
35021 (__ASSUME_ST_INO_64_BIT): Likewise.
35022 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35023 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35024 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35025 (__ASSUME_UTIMES): Do not define.
35026 (__ASSUME_PSELECT): Likewise.
35027 (__ASSUME_PPOLL): Likewise.
35028 (__ASSUME_O_CLOEXEC): Likewise.
35029 (__ASSUME_SOCK_CLOEXEC): Likewise.
35030 (__ASSUME_IN_NONBLOCK): Likewise.
35031 (__ASSUME_PIPE2): Likewise.
35032 (__ASSUME_EVENTFD2): Likewise.
35033 (__ASSUME_SIGNALFD4): Likewise.
35034 (__ASSUME_DUP3): Likewise.
35035 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35036 (__ASSUME_UTIMES): Likewise.
35037 (__ASSUME_O_CLOEXEC): Likewise.
35038 (__ASSUME_SOCK_CLOEXEC): Likewise.
35039 (__ASSUME_IN_NONBLOCK): Likewise.
35040 (__ASSUME_PIPE2): Likewise.
35041 (__ASSUME_EVENTFD2): Likewise.
35042 (__ASSUME_SIGNALFD4): Likewise.
35043 (__ASSUME_DUP3): Likewise.
35044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35045 (__ASSUME_UTIMES): Likewise.
35046 (__ASSUME_O_CLOEXEC): Likewise.
35047 (__ASSUME_SOCK_CLOEXEC): Likewise.
35048 (__ASSUME_IN_NONBLOCK): Likewise.
35049 (__ASSUME_PIPE2): Likewise.
35050 (__ASSUME_EVENTFD2): Likewise.
35051 (__ASSUME_SIGNALFD4): Likewise.
35052 (__ASSUME_DUP3): Likewise.
35053 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35054 Likewise.
35055 (__ASSUME_UTIMES): Likewise.
35056 (__ASSUME_EVENTFD2): Likewise.
35057 (__ASSUME_SIGNALFD4): Likewise.
35058 * sysdeps/unix/sysv/linux/tile/kernel-features.h
35059 (__ASSUME_O_CLOEXEC): Likewise.
35060 (__ASSUME_SOCK_CLOEXEC): Likewise.
35061 (__ASSUME_IN_NONBLOCK): Likewise.
35062 (__ASSUME_PIPE2): Likewise.
35063 (__ASSUME_EVENTFD2): Likewise.
35064 (__ASSUME_SIGNALFD4): Likewise.
35065 (__ASSUME_DUP3): Likewise.
35066 (__ASSUME_UTIMES): Undefine.
35067
35068 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35069 feclearexcept. Remove symbol versioning code.
35070 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
35071 symbol versioning code.
35072 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
35073 symbol versioning code.
35074 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35075 feupdateenv. Remove symbol versioning code.
35076 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35077 fegetexceptflag. Remove symbol versioning code.
35078 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35079 fesetexceptflag. Remove symbol versioning code.
35080 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35081 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
35082 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35083 (__posix_fadvise64_l32): Remove prototype.
35084 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35085 code.
35086
35087 2014-05-13 Roland McGrath <roland@hack.frob.com>
35088
35089 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35090 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35091 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35092 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35093
35094 2014-05-13 Sami Kerola <kerolasa@iki.fi>
35095
35096 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35097 current working directory
35098
35099 2014-05-13 Roland McGrath <roland@hack.frob.com>
35100
35101 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35102 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35103 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35104 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35105 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35106 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35107 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35108 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35109 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35110 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35111 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35112 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35113 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35114 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35115 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35116 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35117 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35118 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35119 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35120 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35121 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35122 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35123 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35124 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35125 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35126 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35127 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35128 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35129 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35130 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35131 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35132 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35133 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35134 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35135 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35136 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35137 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35138 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35139 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35140 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35141 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35142 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35143
35144 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35145 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35146
35147 * sysdeps/unix/sysv/linux/arm/Makefile
35148 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35149 Add rt-aeabi_unwind_cpp_pr1.
35150 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35151 Add nptl-aeabi_unwind_cpp_pr1.
35152 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35153 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35154 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35155 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35156 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35157 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35158
35159 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35160 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35161 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35162 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35163
35164 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35165 Deconditionalize the code that was previously under [RESET_PID].
35166 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35167
35168 * sysdeps/generic/exit-thread.h: New file.
35169 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35170 * include/unistd.h (__exit_thread): Remove declaration.
35171 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35172 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35173 * csu/libc-start.c: Include <exit-thread.h>.
35174 (LIBC_START_MAIN): Pass no argument to __exit_thread.
35175 * nptl/pthread_create.c: Include <exit-thread.h>.
35176 (start_thread): Call __exit_thread in place of __exit_thread_inline.
35177 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35178 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35179 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35180 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35181 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35182 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35183 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35184 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35185 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35186 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35187 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35188 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35189 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35190 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35191 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35192 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35193
35194 2014-05-13 Andreas Schwab <schwab@suse.de>
35195
35196 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35197
35198 2014-05-12 Joseph Myers <joseph@codesourcery.com>
35199
35200 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35201 (__ASSUME_UTIMES): Do not condition on kernel version.
35202 (__ASSUME_PSELECT): Define unconditionally.
35203 (__ASSUME_PPOLL): Likewise.
35204 (__ASSUME_ATFCTS): Likewise.
35205 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35206 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35207 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35208 (__ASSUME_UTIMENSAT): Define unconditionally.
35209 (__ASSUME_PRIVATE_FUTEX): Likewise.
35210 (__ASSUME_FALLOCATE): Likewise.
35211 (__ASSUME_O_CLOEXEC): Likewise.
35212 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35213 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35214 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35215 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35216 (__ASSUME_IN_NONBLOCK): Likewise.
35217 (__ASSUME_PIPE2): Likewise.
35218 (__ASSUME_EVENTFD2): Likewise.
35219 (__ASSUME_SIGNALFD4): Likewise.
35220 (__ASSUME_DUP3): Likewise.
35221 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35222 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35223 (__ASSUME_AT_RANDOM): Likewise.
35224 (__ASSUME_PREADV): Likewise.
35225 (__ASSUME_PWRITEV): Likewise.
35226 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35227 (__ASSUME_F_GETOWN_EX): Define unconditionally.
35228 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35229 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35230 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35231 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35232 (__ASSUME_O_CLOEXEC): Define unconditionally.
35233 (__ASSUME_PSELECT): Do not undefine conditionally.
35234 (__ASSUME_PPOLL): Likewise.
35235 (__ASSUME_ATFCTS): Likewise.
35236 (__ASSUME_SET_ROBUST_LIST): Likewise.
35237 (__ASSUME_UTIMENSAT): Likewise.
35238 (__ASSUME_FDATASYNC): Define unconditionally.
35239 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35240 (__ASSUME_SIGFRAME_V2): Likewise.
35241 )__ASSUME_EVENTFD2): Likewise.
35242 (__ASSUME_SIGNALFD4): Likewise.
35243 (__ASSUME_PSELECT): Do not undefine conditionally.
35244 (__ASSUME_PPOLL): Likewise.
35245 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35246 (__ASSUME_PSELECT): Define unconditionally.
35247 (__ASSUME_PPOLL): Likewise.
35248 (__ASSUME_O_CLOEXEC): Likewise.
35249 (__ASSUME_SOCK_CLOEXEC): Likewise.
35250 (__ASSUME_IN_NONBLOCK): Likewise.
35251 (__ASSUME_PIPE2): Likewise.
35252 (__ASSUME_EVENTFD2): Likewise.
35253 (__ASSUME_SIGNALFD4): Likewise.
35254 (__ASSUME_DUP3): Likewise.
35255 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35256 (__ASSUME_O_CLOEXEC): Likewise.
35257 (__ASSUME_SOCK_CLOEXEC): Likewise.
35258 (__ASSUME_IN_NONBLOCK): Likewise.
35259 (__ASSUME_PIPE2): Likewise.
35260 (__ASSUME_EVENTFD2): Likewise.
35261 (__ASSUME_SIGNALFD4): Likewise.
35262 (__ASSUME_DUP3): Likewise.
35263 * sysdeps/unix/sysv/linux/mips/kernel-features.h
35264 (__ASSUME_EVENTFD2): Likewise.
35265 (__ASSUME_SIGNALFD4): Likewise.
35266 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35267
35268 2014-05-12 Andreas Schwab <schwab@suse.de>
35269
35270 [BZ #16932]
35271 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35272 (_nss_nis_gethostbyname4_r): Return error if item length is larger
35273 than maximum RPC packet size.
35274 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35275 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35276 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35277 (_nss_nis_getservbyport_r): Likewise.
35278
35279 2014-05-12 Will Newton <will.newton@linaro.org>
35280
35281 * malloc/Makefile (tests): Add tst-mallopt.
35282 * malloc/tst-mallopt.c: New file.
35283
35284 2014-05-09 Roland McGrath <roland@hack.frob.com>
35285
35286 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35287 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35288
35289 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35290
35291 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35292 (tst-tlsmod6.so): Likewise.
35293
35294 2014-05-09 Roland McGrath <roland@hack.frob.com>
35295
35296 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35297
35298 2014-05-09 Joseph Myers <joseph@codesourcery.com>
35299
35300 [BZ #16064]
35301 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35302 and <dl-procinfo.h>.
35303 (__fegetenv): Save SSE state in envp->__eip if supported.
35304 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35305 envp->__eip if supported.
35306 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35307 and <dl-procinfo.h>.
35308 (__fesetenv): Always set __eip, __cs_selector, __opcode,
35309 __data_offset and __data_selector in environment to 0. Set SSE
35310 state if supported.
35311 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35312 test-fenv-sse.
35313 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35314 -mfpmath=sse.
35315 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35316
35317 2014-05-09 Will Newton <will.newton@linaro.org>
35318
35319 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35320 and libc_relro_required for ARM.
35321 * sysdeps/arm/preconfigure: Regenerate.
35322
35323 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
35324 Stefan Liebler <stli@linux.vnet.ibm.com>
35325
35326 * config.make.in (enable-lock-elision): New Makefile variable.
35327 * configure.ac: Likewise.
35328 * configure: Regenerate.
35329 * sysdeps/s390/configure.ac:
35330 Add check for gcc transactions support.
35331 * sysdeps/s390/configure: Regenerate.
35332 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35333 Build elision files if enabled.
35334 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35335 Add lock elision support for s390.
35336 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35337 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35338 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35339 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35340 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35341 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35342 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35343 Likewise.
35344 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35345 Likewise.
35346 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35347 Likewise.
35348 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35349 Likewise.
35350 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35351 (__lll_timedlock_elision, __lll_lock_elision)
35352 (__lll_unlock_elision, __lll_trylock_elision)
35353 (lll_timedlock_elision, lll_lock_elision)
35354 (lll_unlock_elision, lll_trylock_elision): Add.
35355 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35356 (pthread_mutex_t): Add lock elision support for s390.
35357
35358 2014-05-14 Wilco <wdijkstr@arm.com>
35359
35360 * sysdeps/arm/fclrexcpt.c: Cleanup.
35361 * sysdeps/arm/fedisblxcpt.c: Cleanup.
35362 * sysdeps/arm/feenablxcpt.c: Cleanup.
35363 * sysdeps/arm/fegetenv.c: Cleanup.
35364 * sysdeps/arm/fegetexcept.c: Cleanup.
35365 * sysdeps/arm/fegetround.c: Cleanup.
35366 * sysdeps/arm/feholdexcpt.c: Cleanup.
35367 * sysdeps/arm/fesetenv.c: Cleanup.
35368 * sysdeps/arm/fesetround.c: Cleanup.
35369 * sysdeps/arm/feupdateenv.c: Cleanup.
35370 * sysdeps/arm/fgetexcptflg.c: Cleanup.
35371 * sysdeps/arm/fraiseexcpt.c: Cleanup.
35372 * sysdeps/arm/fsetexcptflg.c: Cleanup.
35373 * sysdeps/arm/ftestexcept.c: Cleanup.
35374 * sysdeps/arm/get-rounding-mode.h: Cleanup.
35375 * sysdeps/arm/setfpucw.c: Cleanup.
35376
35377 2014-05-09 Will Newton <will.newton@linaro.org>
35378
35379 * sysdeps/arm/armv7/strcmp.S: New file.
35380 * NEWS: Mention addition of ARMv7 optimized strcmp.
35381
35382 2014-05-08 Roland McGrath <roland@hack.frob.com>
35383
35384 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35385 look for %.ac rather than %.in.
35386
35387 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35388 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35389 * sysdeps/mach/hurd/configure: Regenerated.
35390 * sysdeps/unix/sysv/linux/configure: Regenerated.
35391
35392 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35393
35394 2014-05-07 Steve Ellcey <sellcey@mips.com>
35395
35396 [BZ# 16922]
35397 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35398 (LONG_SUB): Ditto.
35399 (PTR_SUB): Ditto.
35400
35401 2014-05-07 Andreas Schwab <schwab@suse.de>
35402
35403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35404 when skipping over non-matching result from nscd.
35405
35406 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
35407
35408 [BZ #16876]
35409 * nptl/sockperf.c (client): Check socket return value.
35410
35411 [BZ #16877]
35412 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35413 nscd security class.
35414
35415 2014-05-06 Roland McGrath <roland@hack.frob.com>
35416
35417 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35418 * sysdeps/arm/unwind.h: ... here.
35419
35420 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
35421
35422 [BZ# 16916]
35423 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35424 Define.
35425
35426 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35427
35428 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35429 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35430 multiarch strncpy for PPC64.
35431 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35432 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35434 multiarch optimizations.
35435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35436 (__libc_ifunc_impl_list): Likewise.
35437 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35438 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35439 multiarch stpncpy for PPC64.
35440 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35441 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35442
35443 2014-05-06 Andreas Schwab <schwab@suse.de>
35444
35445 [BZ #16912]
35446 * gmon/mcount.c (_MCOUNT_DECL): Use
35447 atomic_compare_and_exchange_bool_acq instead of
35448 catomic_compare_and_exchange_bool_acq.
35449
35450 2014-05-05 Roland McGrath <roland@hack.frob.com>
35451
35452 * elf/Makefile (others, install-bin): Remove pldd.
35453 (pldd-modules): Variable removed.
35454 ($(objpfx)pldd): Target removed.
35455 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35456 (others, install-bin): Append pldd here.
35457 ($(objpfx)pldd): New target.
35458
35459 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35460 to 0, so the first #if test emitted later doesn't see it undefined.
35461 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35462 * sysdeps/gnu/errlist.c: Regenerated.
35463
35464 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35465
35466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35467 [libc_hidden_builtin_def]: Define to empty value.
35468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35469 [libc_hidden_builtin_def]: Likewise.
35470 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35471 [libc_hidden_builtin_def]: Likewise.
35472 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35473 [libc_hidden_builtin_def]: Likewise.
35474 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35475 __redirect_memcpy and define ifunc as default hidden symbol.
35476 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35477 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35478
35479 2014-05-04 Adam Conrad <adconrad@0c3.net>
35480
35481 * locale/iso-4217.def: Reintroduce XDR currency.
35482
35483 2014-05-04 Allan McRae <allan@archlinux.org>
35484
35485 * po/eo.po: Update Esperanto translation from translation project.
35486
35487 2014-05-02 Carlos O'Donell <carlos@redhat.com>
35488
35489 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35490 and FEATURE_INDEX_MAX to 1.
35491 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35492
35493 2014-05-01 Steve Ellcey <sellcey@mips.com>
35494
35495 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35496 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35497 * iconvdata/big5.c (ONE_DIRECTION): Define.
35498 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35499 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35500 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35501 * iconvdata/cp932.c (ONE_DIRECTION): Define.
35502 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35503 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35504 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35505 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35506 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35507 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35508 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35509 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35510 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35511 * iconvdata/gbk.c (ONE_DIRECTION): Define.
35512 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35513 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35514 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35515 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35516 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35517 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35518 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35519 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35520 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35521 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35522 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35523 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35524 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35525 * iconvdata/iso646.c (ONE_DIRECTION): Define.
35526 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35527 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35528 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35529 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35530 * iconvdata/johab.c (ONE_DIRECTION): Define.
35531 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35532 * iconvdata/sjis.c (ONE_DIRECTION): Define.
35533 * iconvdata/t.61.c (ONE_DIRECTION): Define.
35534 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35535 * iconvdata/tscii.c (ONE_DIRECTION): Define.
35536 * iconvdata/uhc.c (ONE_DIRECTION): Define.
35537 * iconvdata/unicode.c (ONE_DIRECTION): Define.
35538 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35539 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35540 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35541
35542 2014-05-01 Roland McGrath <roland@hack.frob.com>
35543
35544 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35545 (_IO_JUMPS_OFFSET): Define to 0.
35546
35547 * nptl/sysdeps/pthread/bits/libc-lock.h
35548 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35549 (__libc_lock_define_initialized_recursive): Always define using
35550 initializer. Modern compilers treat uninitialized (implicit zero) and
35551 explicit zero initializers the same (i.e. put the datum in bss).
35552
35553 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
35554
35555 * nscd/nscd-client.h: Include <string.h>.
35556
35557 2014-05-01 David S. Miller <davem@davemloft.net>
35558
35559 [BZ #16885]
35560 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35561 multiple zero bytes exist at the end of a string.
35562 Reported by Aurelien Jarno <aurelien@aurel32.net>
35563
35564 * string/test-strcmp.c (check): Add explicit test for situations where
35565 there are multiple zero bytes after the first.
35566
35567 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
35568
35569 [BZ #16890]
35570 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35571 when compiling wprintf.
35572 * stdio-common/tstdiomisc.c (t3): New function.
35573 (main): Call it.
35574
35575 2014-05-01 Steve Ellcey <sellcey@mips.com>
35576
35577 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35578 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35579 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35580 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35581
35582 2014-05-01 Steve Ellcey <sellcey@mips.com>
35583
35584 * stdlib/longlong.h: Updated from GCC.
35585
35586 2014-05-01 Will Newton <will.newton@linaro.org>
35587 Bernard Ogden <bernie.ogden@linaro.org>
35588
35589 * NEWS: Update fixed bug list.
35590
35591 [BZ #15119]
35592 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35593
35594 2014-04-30 David S. Miller <davem@davemloft.net>
35595
35596 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35597 (libc_feholdexcept_setround_sparc_ctx): New function.
35598 (libc_fesetenv_sparc_ctx): Likewise.
35599 (libc_feupdateenv_sparc_ctx): Likewise.
35600 (libc_feholdsetround_sparc_ctx): Likewise.
35601 (libc_feholdexcept_setround_ctx): Define.
35602 (libc_feholdexcept_setroundf_ctx): Likewise.
35603 (libc_feholdexcept_setroundl_ctx): Likewise.
35604 (libc_fesetenv_ctx): Likewise.
35605 (libc_fesetenvf_ctx): Likewise.
35606 (libc_fesetenvl_ctx): Likewise.
35607 (libc_feupdateenv_ctx): Likewise.
35608 (libc_feupdateenvf_ctx): Likewise.
35609 (libc_feupdateenvl_ctx): Likewise.
35610 (libc_feresetround_ctx): Likewise.
35611 (libc_feresetroundf_ctx): Likewise.
35612 (libc_feresetroundl_ctx): Likewise.
35613 (libc_feholdsetround_ctx): Likewise.
35614 (libc_feholdsetroundf_ctx): Likewise.
35615 (libc_feholdsetroundl_ctx): Likewise.
35616
35617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35618 with __USE_GNU instead of XOPEN cpp guards.
35619
35620 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35621 0.
35622
35623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35624 with XOPEN cpp guards.
35625
35626 2014-04-30 Julian Brown <julian@codesourcery.com>
35627
35628 [BZ #16888]
35629 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35630 handling.
35631
35632 2014-04-30 Joseph Myers <joseph@codesourcery.com>
35633
35634 [BZ #9894]
35635 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35636 Change to 2.6.32.
35637 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35638 * sysdeps/unix/sysv/linux/configure: Regenerated.
35639 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35640 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35641 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35642 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35643 * README: Update reference to required Linux kernel version.
35644 * manual/install.texi (Linux): Update reference to required Linux
35645 kernel headers version.
35646 * INSTALL: Regenerated.
35647
35648 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35649 header inclusion.
35650 [POSIX] (limits.h): Likewise.
35651 [POSIX] (math.h): Likewise.
35652 [POSIX] (sys/wait.h): Likewise.
35653 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35654 function.
35655 [POSIX] (stddef.h): Do not allow header inclusion.
35656
35657 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35658
35659 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35660
35661 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
35662
35663 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35664 Return immediately after lll_futex_wake.
35665
35666 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35667
35668 [BZ #16791]
35669 * nscd/nscd-client.h (datahead_init_common): Initialize entire
35670 structure.
35671 (datahead_init_pos): Call datahead_init_common early.
35672 (datahead_init_neg): Likewise.
35673
35674 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35675 datahead_init_neg): New functions.
35676 * nscd/aicache.c (addhstaiX): Use them.
35677 * nscd/grpcache.c (cache_addgr): Likewise.
35678 * nscd/hstcache.c (cache_addhst): Likewise.
35679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35680 * nscd/netgroupcache.c (do_notfound): Likewise.
35681 (addgetnetgrentX): Likewise.
35682 (addinnetgrX): Likewise.
35683 * nscd/pwdcache.c (cache_addpw): Likewise.
35684 * nscd/servicescache.c (cache_addserv): Likewise.
35685
35686 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35687 Atsushi Onoe <atsushi@onoe.org>
35688
35689 [BZ #14308]
35690 [BZ #12994]
35691 [BZ #13651]
35692 * resolv/res_query.c (__libc_res_nsearch): Return if at least
35693 one response is valid.
35694 * resolv/res_send.c (send_dg): Check for validity of other
35695 response if the current response is a referral.
35696
35697 2014-04-29 Steve Ellcey <sellcey@mips.com>
35698
35699 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35700
35701 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
35702
35703 [BZ #16823]
35704 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35705 Always divide by positive zero when computing -Inf result.
35706 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35707 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35708
35709 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35710
35711 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35712 FPSCR if value do not change.
35713 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35714 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35715 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35716 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35717 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35718 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35719 function.
35720
35721 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
35722
35723 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35724 * sysdeps/unix/sysv/linux/hppa: Move directory from
35725 ports/systeps/unix/sysv/linux/hppa.
35726 * README: Update listing for hppa-*-linux-gnu.
35727
35728 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
35729
35730 [BZ #16754]
35731 * manual/stdio.texi (Hook functions): Fix types of stream hook
35732 functions.
35733 [BZ #16854]
35734 * socket/sys/socket.h: Fix typo in comment.
35735
35736 2014-04-28 Wilco <wdijkstr@arm.com>
35737
35738 * sysdeps/arm/fenv_private.h: New file.
35739 * sysdeps/arm/math_private.h: New file.
35740 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35741
35742 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
35743
35744 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35745 with __int128_t.
35746 (La_x86_64_retval): Likewise.
35747
35748 2014-04-24 Ian Bolton <ian.bolton@arm.com>
35749
35750 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35751 fpsr if value didn't change.
35752 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35753 to fpcr if value didn't change.
35754 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35755 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35756 fpsr or fpcr if value didn't change.
35757 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35758 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35759 fpcr if value didn't change.
35760 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35761 to fpsr if value didn't change.
35762
35763 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
35764
35765 * nptl/tst-sem3.c: Use test-skeleton.c
35766 (main): Rename to do_test. Use return instead of
35767 exit.
35768 * nptl/tst-sem4.c: Use test-skeleton.c
35769 (main): Rename to do_test.
35770
35771 2014-04-22 David S. Miller <davem@davemloft.net>
35772
35773 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35774 (struct sigaction): New struct member __glibc_reserved0, change
35775 type of sa_flags to int.
35776
35777 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
35778
35779 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35780 (COUNT_LEADING_ZEROS_0): Define for AArch64.
35781
35782 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35783
35784 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35785 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35786
35787 2014-04-22 Will Newton <will.newton@linaro.org>
35788 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
35789
35790 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35791 (__longjmp): Add longjmp and longjmp_target SystemTap
35792 probes.
35793 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35794 (__sigsetjmp): Add setjmp SystemTap probe.
35795
35796 2014-04-17 Carlos O'Donell <carlos@redhat.com>
35797
35798 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35799 match manual order.
35800
35801 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35802
35803 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35804
35805 * sysdeps/powerpc/fpu/fenv_private.h
35806 (libc_feholdexcept_setroundl_ctx): Define to
35807 libc_feholdexcept_setround_ppc_ctx.
35808 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35809 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35810 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35811 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35812
35813 2014-04-17 Ian Bolton <ian.bolton@arm.com>
35814
35815 * sysdeps/aarch64/math-tests.h: New file.
35816
35817 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
35818
35819 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35820 New.
35821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35822 Check and set bit_AVX2_Usable.
35823 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35824 macro.
35825 (bit_AVX2): Likewise.
35826 (index_AVX2_Usable): Likewise.
35827 (CPUID_AVX2): Likewise.
35828 (HAS_AVX2): Likewise.
35829
35830 2014-04-17 Will Newton <will.newton@linaro.org>
35831
35832 * manual/setjmp.texi (System V contexts): Add note that
35833 calling setcontext on a context created by a call to a
35834 signal handler is undefined. Update text to note that
35835 setcontext from a signal handler is possible but not
35836 recommended.
35837
35838 [BZ #16629]
35839 * stdlib/tst-setcontext.c: Include signal.h.
35840 (main): Check that the signal stack before and
35841 after swapcontext is the same.
35842
35843 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35844 Re-implement to restore registers in user code and avoid
35845 rt_sigreturn system call.
35846
35847 2014-04-17 Wilco <wdijkstr@arm.com>
35848
35849 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35850 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35851 * math/test-fenv.c: Skip exception trap tests on targets which only
35852 support non-stop mode.
35853
35854 2014-04-17 Ian Bolton <ian.bolton@arm.com>
35855 Wilco Dijkstra <wilco.dijkstra@arm.com>
35856
35857 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35858 (libc_feholdsetround_aarch64_ctx)
35859 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35860 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35861 (libc_feresetround_ctx, libc_feresetroundf_ctx)
35862 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35863 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35864 (libc_feresetround_noexl_ctx): Define.
35865
35866 2014-04-16 Richard Henderson <rth@redhat.com>
35867
35868 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35869
35870 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35871 unwind tables.
35872
35873 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35874 const from the non-libc, non-ldso copy.
35875
35876 * sysdeps/alpha/libm-test-ulps: Regenerate.
35877
35878 2014-04-16 Ian Bolton <ian.bolton@arm.com>
35879 Wilco Dijkstra <wilco.dijkstra@arm.com>
35880
35881 * sysdeps/aarch64/fpu/math_private.h: New file.
35882
35883 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
35884
35885 * sysdeps/aarch64/libm-test-ulps: Regenerate.
35886
35887 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
35888
35889 [BZ #16275]
35890 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35891 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35893 Intel MPX bound registers before _dl_profile_fixup.
35894 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35895 registers after _dl_profile_fixup. Save and restore bound
35896 registers bnd0/bnd1 when calling _dl_call_pltexit.
35897 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35898 (LR_BND_OFFSET): Likewise.
35899 (LRV_BND0_OFFSET): Likewise.
35900 (LRV_BND1_OFFSET): Likewise.
35901
35902 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35903
35904 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35905 to...
35906 * sysdeps/mach/hurd/i386/tls.h: ... here.
35907 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35908 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35909 fields.
35910
35911 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35912
35913 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35914
35915 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
35916
35917 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35918
35919 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
35920
35921 [BZ #14770]
35922 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35923 * sysdeps/s390/configure: Regenerate.
35924
35925 [BZ #16824]
35926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35927 Set round-to-nearest internally to reduce error accumulation.
35928
35929 2014-04-16 Alan Modra <amodra@gmail.com>
35930
35931 [BZ #16740]
35932 [BZ #16619]
35933 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35934 * math/libm-test.inc (frexp_test_data): Add tests.
35935 * NEWS: Update fixed bug list.
35936
35937 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35938
35939 * benchtests/Makefile: Depend on libraries in build directory.
35940 (bench-math): Separate out math tests.
35941 (bench-pthread): Separate out pthread tests.
35942 (bench): Include math and pthread tests.
35943
35944 2014-04-14 Carlos O'Donell <carlos@redhat.com>
35945
35946 [BZ #16831]
35947 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35948 _dl_debug_initialize.
35949
35950 * configure.ac: Remove SELinux header check.
35951 * configure: Regenerate.
35952 * nscd/selinux.c (perms): Array of const char* to permission names.
35953 (nscd_request_avc_has_perm): Call security_deny_unknown to find
35954 default policy. Call string_to_security_class and string_to_av_perm to
35955 translate strings. Enforce default policy and call avs_has_perm with
35956 results of translated strings.
35957
35958 2014-04-13 David S. Miller <davem@davemloft.net>
35959
35960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35961
35962 2014-04-12 Allan McRae <allan@archlinux.org>
35963
35964 [BZ #16838]
35965 * manual/string.texi (Collation Functions): Fix qsort argument
35966 order in example.
35967 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35968
35969 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
35970
35971 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35972 Make the test a no-op if there are no exceptions defined.
35973
35974 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
35975
35976 * elf/Makefile (tests): make tst-dlopen-aout conditional on
35977 enable-hardcoded-path-in-tests
35978
35979 2014-04-11 Will Newton <will.newton@linaro.org>
35980
35981 * benchtests/Makefile (extra-objs): Add json-lib.o.
35982 (bench-func): Tidy up JSON output.
35983 * benchtests/bench-skeleton.c: Include json-lib.h.
35984 (main): Use JSON library functions to do output of
35985 benchmark results.
35986 * benchtests/bench-timing-type.c (main): Output the
35987 timing type simply, leaving formatting to the user.
35988 * benchtests/json-lib.c: New file.
35989 * benchtests/json-lib.h: Likewise.
35990
35991 2014-04-11 Torvald Riegel <triegel@redhat.com>
35992
35993 [BZ #15215]
35994 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35995 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
35996 memory barriers. Add comments.
35997 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35998 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35999 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36000 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36001 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36002 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36003
36004 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
36005
36006 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36007 * sysdeps/s390/s390-64/configure.ac: ... this ...
36008 * sysdeps/s390/configure.ac: ... to here.
36009 * sysdeps/s390/s390-32/configure: Delete file.
36010 * sysdeps/s390/s390-64/configure: Delete file.
36011 * sysdeps/s390/configure: Regenerate.
36012
36013 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
36014
36015 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36016
36017 2014-04-11 Will Newton <will.newton@linaro.org>
36018
36019 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36020 to zero if it is not defined elsewhere. (mtrim): Test
36021 the value of MALLOC_DEBUG with #if rather than #ifdef.
36022
36023 2014-04-10 Torvald Riegel <triegel@redhat.com>
36024
36025 * benchtests/pthread_once-inputs: New file.
36026 * benchtests/pthread_once-source.c: New file.
36027 * benchtests/README: Update documentation.
36028
36029 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
36030 H.J. Lu <hongjiu.lu@intel.com>
36031
36032 [BZ #16275]
36033 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36034 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36035 * sysdeps/x86_64/configure: Regenerated.
36036 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36037 macro.
36038 (REGISTER_SAVE_RAX): Likewise.
36039 (REGISTER_SAVE_RCX): Likewise.
36040 (REGISTER_SAVE_RDX): Likewise.
36041 (REGISTER_SAVE_RSI): Likewise.
36042 (REGISTER_SAVE_RDI): Likewise.
36043 (REGISTER_SAVE_R8): Likewise.
36044 (REGISTER_SAVE_R9): Likewise.
36045 (REGISTER_SAVE_BND0): Likewise.
36046 (REGISTER_SAVE_BND1): Likewise.
36047 (REGISTER_SAVE_BND2): Likewise.
36048 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
36049 bound registers when calling _dl_fixup.
36050
36051 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36052
36053 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36054 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36055 of its definition.
36056 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36057 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36058 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36059 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36060 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36061 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36062 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36063
36064 2014-04-09 Peter Brett <peter@peter-b.co.uk>
36065
36066 [BZ #15514]
36067 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36068 pathconf(_PC_NAME_MAX).
36069
36070 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36071
36072 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36073 Remove macro usage.
36074 (__PTHREAD_SPINS): Move definition to ...
36075 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36076 (__PTHREAD_SPINS): ... here.
36077 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36078 (__PTHREAD_SPIN): Likewise.
36079 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36080 (__PTHREAD_SPIN): Likewise.
36081 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36082 (__PTHREAD_SPIN): Likewise.
36083 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36084 (__PTHREAD_SPIN): Likewise.
36085 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36086 (__PTHREAD_SPIN): Likewise.
36087 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36088 (__PTHREAD_SPIN): Likewise.
36089 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36090 (__PTHREAD_SPIN): Likewise.
36091 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36092 (__PTHREAD_SPIN): Likewise.
36093 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36094 (__PTHREAD_SPIN): Likewise.
36095 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36096 (__PTHREAD_SPIN): Likewise.
36097 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36098 (__PTHREAD_SPIN): Likewise.
36099 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36100 (__PTHREAD_SPIN): Likewise.
36101
36102 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36103 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36104 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36105 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36106 imply folder.
36107 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36108 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36109 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36110 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36111 correct imply path.
36112 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36113 strlen symbol for non multi-arch builds.
36114 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36115 missing hidden_def and weak_alias.
36116
36117 2014-04-08 Carlos O'Donell <carlos@redhat.com>
36118
36119 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36120
36121 2014-04-07 Will Newton <will.newton@linaro.org>
36122
36123 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36124 and contents. [!_LIBC] Remove #ifndef and contents.
36125 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
36126 * string/memccpy.c (__memccpy): Use ANSI prototype.
36127 * string/memfrob.c (memfrob): Likewise.
36128 * string/strcoll.c (STRCOLL): Likewise.
36129 * string/strlen.c (strlen): Likewise.
36130 * string/strtok.c (STRTOK): Likewise.
36131 * string/strcat.c: Remove unused #include of memcopy.h.
36132 (strcat): Use ANSI prototype.
36133 * string/strchr.c: Remove unused #include of memcopy.h.
36134 (strchr): Use ANSI prototype.
36135 * string/strcmp.c: Remove unused #include of memcopy.h.
36136 (strcmp): Use ANSI prototype.
36137 * string/strcpy.c: Remove unused #include of memcopy.h.
36138 (strcpy): Use ANSI prototype.
36139
36140 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36141
36142 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36143 * config.make.in (config-extra-cppflags): Set it from
36144 libc_extra_cppflags.
36145 * configure.ac (libc_extra_cflags): Make it accumulate over
36146 configure fragments.
36147 (libc_extra_cppflags): New flag.
36148 * configure. Regenerate.
36149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36150 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36151 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36153
36154 [BZ #16815]
36155 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36156 result for FE_DOWNWARD rounding mode.
36157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36158 Likewise.
36159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36160
36161 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
36162
36163 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36164 in function argument name.
36165
36166 2014-04-03 David Svoboda <svoboda@cert.org>
36167
36168 [BZ #5666]
36169 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36170 explicitly.
36171
36172 2014-04-03 Roland McGrath <roland@hack.frob.com>
36173
36174 * elf/dl-unmap-segments.h: New file.
36175 * sysdeps/generic/ldsodefs.h
36176 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36177 * elf/dl-close.c: Include <dl-unmap-segments.h>.
36178 * elf/dl-fptr.c: Likewise.
36179 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36180 * sysdeps/aarch64/tlsdesc.c: Likewise.
36181 * sysdeps/arm/tlsdesc.c: Likewise.
36182 * sysdeps/i386/tlsdesc.c: Likewise.
36183 * sysdeps/tile/dl-runtime.c: Likewise.
36184 * sysdeps/x86_64/tlsdesc.c: Likewise.
36185 * elf/dl-load.h: New file.
36186 * elf/dl-load.c: Include it.
36187 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36188 Macros moved to dl-load.h.
36189 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36190 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36191 Use _dl_unmap_segments in place of __munmap.
36192 Break out segment-mapping loop into ...
36193 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36194
36195 2014-04-03 Will Newton <will.newton@linaro.org>
36196
36197 * elf/dl-lookup.c (do_lookup_x): Remove comment
36198 referring to nested function and move variable
36199 declarations down to before first use.
36200
36201 2014-04-02 Joseph Myers <joseph@codesourcery.com>
36202
36203 [BZ #16799]
36204 [BZ #16800]
36205 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36206 with 0 numerator.
36207 * math/s_catanf.c (__catanf): Likewise.
36208 * math/s_catanh.c (__catanh): Likewise.
36209 * math/s_catanhf.c (__catanhf): Likewise.
36210 * math/s_catanhl.c (__catanhl): Likewise.
36211 * math/s_catanl.c (__catanl): Likewise.
36212 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36213 by positive zero when computing -Inf result.
36214 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36215 (catanh_test): Likewise.
36216 * sysdeps/i386/fpu/libm-test-ulps: Update.
36217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36218
36219 [BZ #16789]
36220 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36221 instead of using underflowing value in computing result.
36222 * math/s_clog10.c (__clog10): Likewise.
36223 * math/s_clog10f.c (__clog10f): Likewise.
36224 * math/s_clog10l.c (__clog10l): Likewise.
36225 * math/s_clogf.c (__clogf): Likewise.
36226 * math/s_clogl.c (__clogl): Likewise.
36227 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36228 (clog10_test): Likewise.
36229 * sysdeps/i386/fpu/libm-test-ulps: Update.
36230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36231
36232 2014-04-02 Alan Modra <amodra@gmail.com>
36233
36234 [BZ #16739]
36235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36236 output when value is near a power of two. Use int64_t for lx and
36237 remove casts. Use decimal rather than hex exponent constants.
36238 Don't use long double multiplication when double will suffice.
36239 * math/libm-test.inc (nextafter_test_data): Add tests.
36240 * NEWS: Add 16739 and 16786 to bug list.
36241
36242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36243
36244 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36245
36246 2014-04-01 Will Newton <will.newton@linaro.org>
36247
36248 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36249 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
36250
36251 2014-04-01 Florian Weimer <fweimer@redhat.com>
36252
36253 [BZ #13347]
36254 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36255 * nptl/tst-setuid2.c: New file.
36256 * nptl/Makefile (xtests): Add tst-setuid2.
36257
36258 2014-04-01 Alan Modra <amodra@gmail.com>
36259
36260 [BZ #16786]
36261 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36262
36263 2014-03-31 Joseph Myers <joseph@codesourcery.com>
36264
36265 [BZ #6803]
36266 [BZ #6804]
36267 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36268 set errno as appropriate.
36269 * math/w_scalbf.c (__scalbf): Likewise.
36270 * math/w_scalbl.c (__scalbl): Likewise.
36271 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36272 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36273 * math/libm-test.inc (scalb_test_data): Add errno expectations.
36274 Add more NaN tests.
36275
36276 [BZ #16349]
36277 * math/w_atan2.c: Include <errno.h>.
36278 (__atan2): Set errno for result underflowing to zero.
36279 * math/w_atan2f.c: Include <errno.h>.
36280 (__atan2f): Set errno for result underflowing to zero.
36281 * math/w_atan2l.c: Include <errno.h>.
36282 (__atan2l): Set errno for result underflowing to zero.
36283 * math/auto-libm-test-in: Don't allow missing errno for some atan2
36284 tests.
36285 * math/auto-libm-test-out: Regenerated.
36286
36287 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36288
36289 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36290 Encode instruction correctly in little endian.
36291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36292 Likewise.
36293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36294 Likewise.
36295 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36296 Likewise.
36297 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36298 Likewise.
36299
36300 2014-03-31 Joseph Myers <joseph@codesourcery.com>
36301
36302 [BZ #9894]
36303 * sysdeps/unix/sysv/linux/kernel-features.h
36304 [__sparc__ && !__arch64__ && !__sparc_v9__]
36305 (__ASSUME_SET_ROBUST_LIST): Do not define.
36306 [__sparc__ && !__arch64__ && !__sparc_v9__]
36307 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36308 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36309 Likewise.
36310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
36311 (__ASSUME_FUTEX_LOCK_PI): Undefine.
36312 (__ASSUME_REQUEUE_PI): Likewise.
36313 (__ASSUME_SET_ROBUST_LIST): Likewise.
36314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36315 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36316 Undefine.
36317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36319 Likewise.
36320 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36321 Likewise.
36322 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36323 Likewise.
36324 * sysdeps/unix/sysv/linux/mips/kernel-features.h
36325 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36326 Undefine.
36327 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36328 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36329 Likewise.
36330
36331 [BZ #16648]
36332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36333 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36334 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36335
36336 2014-03-31 Will Newton <will.newton@linaro.org>
36337
36338 * benchtests/Makefile (bench): Add ffs and ffsll to list
36339 of tests.
36340 * benchtests/ffs-inputs: New file.
36341 * benchtests/ffsll-inputs: Likewise.
36342
36343 2014-03-29 Joseph Myers <joseph@codesourcery.com>
36344
36345 [BZ #16770]
36346 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36347 too large before casting to int.
36348 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36349 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36350 * math/libm-test.inc (scalb_test_data): Add more tests.
36351
36352 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36353
36354 * benchtests/Makefile (DETAILED_OPT): New make option.
36355 (bench-func): Run benchmark program with -d if DETAILED_OPT is
36356 set.
36357 * benchtests/bench-skeleton.c: Include stdbool.h.
36358 (main): Store and print timings per input.
36359 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36360 member to each argument value.
36361 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36362 (_print_arg_data): Initialize per-input timing to 0.
36363
36364 * benchtests/Makefile (timing-type): New binary.
36365 (bench-clean): Also remove bench-timing-type.
36366 (bench): New target for timing-type.
36367 (bench-func): Print output in JSON format.
36368 * benchtests/bench-skeleton.c (main): Print output in JSON
36369 format.
36370 * benchtests/bench-timing-type.c: New file.
36371 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36372 (TIMING_PRINT_STATS): Remove.
36373 * benchtests/scripts/bench.py (_print_arg_data): Store variant
36374 name separately.
36375
36376 * benchtests/bench-modf.c: Remove.
36377 * benchtests/modf-inputs: New inputs file.
36378
36379 2014-03-28 Joseph Myers <joseph@codesourcery.com>
36380
36381 [BZ #16362]
36382 * math/s_clog10.c (M_PI_LOG10E): New macro.
36383 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36384 imaginary parts are 0.
36385 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36386 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36387 imaginary parts are 0.
36388 * math/s_clog10l.c (M_PI_LOG10El): New macro.
36389 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36390 imaginary parts are 0.
36391 * math/libm-test.inc (clog10_test_data): Update expected results
36392 for when real and imaginary parts are 0.
36393
36394 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36395
36396 * elf/dl-load.c: Finish conversion of __builtin_expect into
36397 __glibc_{un}likely.
36398
36399 2014-03-27 Joseph Myers <joseph@codesourcery.com>
36400
36401 [BZ #16348]
36402 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36403 1+x for argument with exponent below -67.
36404 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36405 Likewise.
36406 * math/auto-libm-test-in: Add more tests of exp.
36407 * math/auto-libm-test-out: Regenerated.
36408
36409 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36410
36411 [BZ #16759]
36412 * inet/getnetgrent_r.c (get_nonempty_val): New function.
36413 (nscd_getnetgrent): Use it.
36414
36415 [BZ #16760]
36416 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36417 of stpcpy.
36418
36419 2014-03-27 Andi Kleen <ak@linux.intel.com>
36420
36421 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36422 (lll_robust_lock, lll_cond_lock, lll_timedlock)
36423 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36424 (lll_robust_unlock): Remove out of line section. Use cfi
36425 intrinsics.
36426 (LLL_STUB_UNWIND_INFO*): Remove.
36427 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36428 (lll_robust_lock, lll_cond_lock, lll_timedlock)
36429 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36430 (lll_robust_unlock): Remove out of line section. Use cfi
36431 intrinsics.
36432 (LLL_STUB_UNWIND_INFO*): Remove.
36433
36434 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36435
36436 [BZ #16758]
36437 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36438 blank values.
36439
36440 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
36441
36442 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36443
36444 2014-03-26 Joseph Myers <joseph@codesourcery.com>
36445
36446 [BZ #16198]
36447 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36448 fnstenv.
36449 * math/test-fenv-preserve.c: New file.
36450 * math/Makefile (tests): Add test-fenv-preserve.
36451
36452 2014-03-26 Will Newton <will.newton@linaro.org>
36453
36454 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36455
36456 2014-03-25 Roland McGrath <roland@hack.frob.com>
36457
36458 * scripts/versionlist.awk: Partition the version sets and emit all
36459 GLIBC_* (sorted) before all others (sorted).
36460
36461 2014-03-25 Joseph Myers <joseph@codesourcery.com>
36462
36463 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36464 GLIBC_2.2.5 version.
36465
36466 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36467
36468 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36469 calls.
36470
36471 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36472 previous change.
36473
36474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36475
36476 2014-03-25 Andreas Schwab <schwab@suse.de>
36477
36478 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36479 label to be used after in6ailist is initialized.
36480
36481 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36482
36483 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36484 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36485
36486 2014-03-25 Joseph Myers <joseph@codesourcery.com>
36487
36488 [BZ #16357]
36489 [BZ #16599]
36490 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36491 min_plus_half.
36492 (fp_formats): Update initializers.
36493 (init_fp_formats): Initialize new field.
36494 (output_for_one_input_case): Allow underflow for results up to
36495 min_plus_half.
36496 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36497 * math/auto-libm-test-in: Don't mark some underflows from asin and
36498 atanh as spurious.
36499 * math/auto-libm-test-out: Regenerated.
36500 * sysdeps/i386/fpu/libm-test-ulps: Update.
36501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36502
36503 2014-03-25 Andreas Schwab <schwab@suse.de>
36504
36505 * libio/Makefile (tst-ftell-partial-wide-ENV)
36506 (tst-ftell-active-handler-ENV): Define.
36507
36508 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
36509
36510 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36511
36512 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
36513
36514 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36515
36516 2014-03-24 Joseph Myers <joseph@codesourcery.com>
36517
36518 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36519 * sysdeps/x86_64/fpu/multiarch/e_exp.c
36520 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36521
36522 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
36523
36524 [BZ #16634]
36525 * elf/dl-load.c (open_verify): Add mode parameter.
36526 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36527 (open_path): Change from boolean 'secure' to complete flag 'mode'
36528 (_dl_map_object): Adjust.
36529 * elf/Makefile (tests): Add tst-dlopen-aout.
36530 * elf/tst-dlopen-aout.c: New test.
36531
36532 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
36533
36534 [BZ #16714]
36535 * sysdeps/unix/sysv/linux/s390/bits/stat.h
36536 (struct stat): Rename member pad0 to __glibc_reserved0.
36537
36538 [BZ #16712]
36539 * sysdeps/s390/s390-32/bits/wordsize.h
36540 (__WORDSIZE32_SIZE_ULONG): New define.
36541 * sysdeps/s390/s390-64/bits/wordsize.h
36542 (__WORDSIZE32_SIZE_ULONG): Likewise.
36543 * sysdeps/generic/stdint.h (SIZE_MAX):
36544 Define as UL if __WORDSIZE32_SIZE_ULONG.
36545
36546 [BZ #16713]
36547 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36548 (__glibc_reserved0): New variable.
36549 (sa_flags): Change type to int.
36550
36551 * posix/Makefile (before-compile): Use += before-compile instead
36552 of a :=.
36553
36554 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36555 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36556
36557 2014-03-20 Andreas Schwab <schwab@suse.de>
36558
36559 [BZ #16743]
36560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36561 non-matching result from nscd.
36562
36563 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36564
36565 * scripts/bench.py: Moved to ...
36566 * benchtests/scripts/bench.py: ... here.
36567 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36568
36569 2014-03-24 Andreas Schwab <schwab@suse.de>
36570
36571 [BZ #16002]
36572 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36573 alloca_account and account alloca use for struct in6ailist.
36574
36575 2014-03-24 Joseph Myers <joseph@codesourcery.com>
36576
36577 [BZ #16284]
36578 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36579 rounding mode to recompute results that overflow to infinity or
36580 underflow to zero.
36581 * math/auto-libm-test-in: Don't mark tests as expected to fail for
36582 bug 16284.
36583 * math/auto-libm-test-out: Regenerated.
36584 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36585 (ccosh_test): Likewise.
36586 (csin_test_data): Use plus_oflow.
36587 (csin_test): Use ALL_RM_TEST.
36588 (csinh_test_data): Use plus_oflow.
36589 (csinh_test): Use ALL_RM_TEST.
36590 * sysdeps/i386/fpu/libm-test-ulps: Update.
36591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36592
36593 2014-03-21 Joseph Myers <joseph@codesourcery.com>
36594
36595 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36596 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36597 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36598
36599 [BZ #16731]
36600 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36601 when x - 1 is zero.
36602 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36603 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36604 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36605 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36606 argument is 1.
36607 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36608 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36609 zero.
36610 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36611 * sysdeps/i386/fpu/libm-test-ulps: Update.
36612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36613
36614 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36615
36616 * scripts/bench.pl: Remove file.
36617 * scripts/bench.py: New benchmark script.
36618 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36619 * benchtests/README: Mention python dependency.
36620 * scripts/pylintrc: New file.
36621 * scripts/pylint: New file.
36622
36623 * bits/mathdef.h: Use #ifdef instead of #if.
36624 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36625 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36626 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36627 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36628 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36629 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36630
36631 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36632 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36633
36634 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36636 and strpbrk-ppc64 objects.
36637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36638 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36639 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36640 multiarch strpbrk for POWER7.
36641 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36642 multiarch strpbrk for PPC64.
36643 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36644 ifunc selector.
36645 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36646 strpbrk for POWER7.
36647
36648 2014-03-20 Joseph Myers <joseph@codesourcery.com>
36649
36650 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36651 (atan_test): Likewise.
36652 (atanh_test_data): Use NO_TEST_INLINE for two tests.
36653 (atanh_test): Use ALL_RM_TEST.
36654 (atan2_test_data): Likewise.
36655 (cabs_test): Likewise.
36656 (cacosh_test): Likewise.
36657 (carg_test): Likewise.
36658 (casin_test): Likewise.
36659 (casinh_test): Likewise.
36660 (cbrt_test): Likewise.
36661 (csqrt_test): Likewise.
36662 (erf_test): Likewise.
36663 (erfc_test): Likewise.
36664 (pow10_test): Likewise.
36665 (exp2_test): Likewise.
36666 (hypot_test): Likewise.
36667 (j0_test): Likewise.
36668 (j1_test): Likewise.
36669 (lgamma_test): Likewise.
36670 (gamma_test): Likewise.
36671 (sincos_test): Likewise.
36672 (tanh_test): Likewise.
36673 (y0_test): Likewise.
36674 (y1_test): Likewise.
36675 * sysdeps/i386/fpu/libm-test-ulps: Update.
36676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36677
36678 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36679
36680 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36682 and strcspn-ppc64 objects.
36683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36684 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36685 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36686 multiarch strcspn for POWER7.
36687 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36688 multiarch strcspn for PPC64.
36689 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36690 ifunc selector.
36691 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36692 strcspn for POWER7.
36693
36694 2014-03-20 Joseph Myers <joseph@codesourcery.com>
36695
36696 * math/gen-libm-test.pl (generate_testfile): Expect only function
36697 name as argument to AUTO_TESTS_* and pass results for all rounding
36698 modes to parse_args.
36699 (parse_auto_input): Separate inputs of automatic tests from
36700 outputs before storing in %auto_tests.
36701 * math/libm-test.inc (acos_test_data): Update call to
36702 AUTO_TESTS_f_f.
36703 (acos_test): Use ALL_RM_TEST.
36704 (acos_tonearest_test_data): Remove.
36705 (acos_test_tonearest): Likewise.
36706 (acos_towardzero_test_data): Likewise.
36707 (acos_test_towardzero): Likewise.
36708 (acos_downward_test_data): Likewise.
36709 (acos_test_downward): Likewise.
36710 (acos_upward_test_data): Likewise.
36711 (acos_test_upward): Likewise.
36712 (acosh_test_data): Update call to AUTO_TESTS_f_f.
36713 (asin_test_data): Likewise.
36714 (asin_test): Use ALL_RM_TEST.
36715 (asin_tonearest_test_data): Remove.
36716 (asin_test_tonearest): Likewise.
36717 (asin_towardzero_test_data): Likewise.
36718 (asin_test_towardzero): Likewise.
36719 (asin_downward_test_data): Likewise.
36720 (asin_test_downward): Likewise.
36721 (asin_upward_test_data): Likewise.
36722 (asin_test_upward): Likewise.
36723 (asinh_test_data): Update call to AUTO_TESTS_f_f.
36724 (atan_test_data): Likewise.
36725 (atanh_test_data): Likewise.
36726 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36727 (cabs_test_data): Update call to AUTO_TESTS_c_f.
36728 (carg_test_data): Likewise.
36729 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36730 (ccos_test_data): Update call to AUTO_TESTS_c_c.
36731 (ccosh_test_data): Likewise.
36732 (cexp_test_data): Likewise.
36733 (clog_test_data): Likewise.
36734 (clog10_test_data): Likewise.
36735 (cos_test_data): Update call to AUTO_TESTS_f_f.
36736 (cos_test): Use ALL_RM_TEST.
36737 (cos_tonearest_test_data): Remove.
36738 (cos_test_tonearest): Likewise.
36739 (cos_towardzero_test_data): Likewise.
36740 (cos_test_towardzero): Likewise.
36741 (cos_downward_test_data): Likewise.
36742 (cos_test_downward): Likewise.
36743 (cos_upward_test_data): Likewise.
36744 (cos_test_upward): Likewise.
36745 (cosh_test_data): Update call to AUTO_TESTS_f_f.
36746 (cosh_test): Use ALL_RM_TEST.
36747 (cosh_tonearest_test_data): Remove.
36748 (cosh_test_tonearest): Likewise.
36749 (cosh_towardzero_test_data): Likewise.
36750 (cosh_test_towardzero): Likewise.
36751 (cosh_downward_test_data): Likewise.
36752 (cosh_test_downward): Likewise.
36753 (cosh_upward_test_data): Likewise.
36754 (cosh_test_upward): Likewise.
36755 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36756 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36757 (ctan_test_data): Likewise.
36758 (ctan_test): Use ALL_RM_TEST.
36759 (ctan_tonearest_test_data): Remove.
36760 (ctan_test_tonearest): Likewise.
36761 (ctan_towardzero_test_data): Likewise.
36762 (ctan_test_towardzero): Likewise.
36763 (ctan_downward_test_data): Likewise.
36764 (ctan_test_downward): Likewise.
36765 (ctan_upward_test_data): Likewise.
36766 (ctan_test_upward): Likewise.
36767 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36768 (ctanh_test): Use ALL_RM_TEST.
36769 (ctanh_tonearest_test_data): Remove.
36770 (ctanh_test_tonearest): Likewise.
36771 (ctanh_towardzero_test_data): Likewise.
36772 (ctanh_test_towardzero): Likewise.
36773 (ctanh_downward_test_data): Likewise.
36774 (ctanh_test_downward): Likewise.
36775 (ctanh_upward_test_data): Likewise.
36776 (ctanh_test_upward): Likewise.
36777 (erf_test_data): Update call to AUTO_TESTS_f_f.
36778 (erfc_test_data): Likewise.
36779 (exp_test_data): Likewise.
36780 (exp_test): Use ALL_RM_TEST.
36781 (exp_tonearest_test_data): Remove.
36782 (exp_test_tonearest): Likewise.
36783 (exp_towardzero_test_data): Likewise.
36784 (exp_test_towardzero): Likewise.
36785 (exp_downward_test_data): Likewise.
36786 (exp_test_downward): Likewise.
36787 (exp_upward_test_data): Likewise.
36788 (exp_test_upward): Likewise.
36789 (exp10_test_data): Update call to AUTO_TESTS_f_f.
36790 (exp10_test): Use ALL_RM_TEST.
36791 (exp10_tonearest_test_data): Remove.
36792 (exp10_test_tonearest): Likewise.
36793 (exp10_towardzero_test_data): Likewise.
36794 (exp10_test_towardzero): Likewise.
36795 (exp10_downward_test_data): Likewise.
36796 (exp10_test_downward): Likewise.
36797 (exp10_upward_test_data): Likewise.
36798 (exp10_test_upward): Likewise.
36799 (exp2_test_data): Update call to AUTO_TESTS_f_f.
36800 (expm1_test_data): Likewise.
36801 (expm1_test): Use ALL_RM_TEST.
36802 (expm1_tonearest_test_data): Remove.
36803 (expm1_test_tonearest): Likewise.
36804 (expm1_towardzero_test_data): Likewise.
36805 (expm1_test_towardzero): Likewise.
36806 (expm1_downward_test_data): Likewise.
36807 (expm1_test_downward): Likewise.
36808 (expm1_upward_test_data): Likewise.
36809 (expm1_test_upward): Likewise.
36810 (fma_test_data): Update call to AUTO_TESTS_fff_f.
36811 (fma_test): Use ALL_RM_TEST.
36812 (fma_towardzero_test_data): Remove.
36813 (fma_test_towardzero): Likewise.
36814 (fma_downward_test_data): Likewise.
36815 (fma_test_downward): Likewise.
36816 (fma_upward_test_data): Likewise.
36817 (fma_test_upward): Likewise.
36818 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36819 (j0_test_data): Update call to AUTO_TESTS_f_f.
36820 (j1_test_data): Likewise.
36821 (jn_test_data): Update call to AUTO_TESTS_if_f.
36822 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36823 (log_test_data): Update call to AUTO_TESTS_f_f.
36824 (log10_test_data): Likewise.
36825 (log1p_test_data): Likewise.
36826 (log2_test_data): Likewise.
36827 (pow_test_data): Update call to AUTO_TESTS_ff_f.
36828 (pow_tonearest_test_data): Likewise.
36829 (sin_test_data): Update call to AUTO_TESTS_f_f.
36830 (sin_test): Use ALL_RM_TEST.
36831 (sin_tonearest_test_data): Remove.
36832 (sin_test_tonearest): Likewise.
36833 (sin_towardzero_test_data): Likewise.
36834 (sin_test_towardzero): Likewise.
36835 (sin_downward_test_data): Likewise.
36836 (sin_test_downward): Likewise.
36837 (sin_upward_test_data): Likewise.
36838 (sin_test_upward): Likewise.
36839 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36840 (sinh_test_data): Update call to AUTO_TESTS_f_f.
36841 (sinh_test): Use ALL_RM_TEST.
36842 (sinh_tonearest_test_data): Remove.
36843 (sinh_test_tonearest): Likewise.
36844 (sinh_towardzero_test_data): Likewise.
36845 (sinh_test_towardzero): Likewise.
36846 (sinh_downward_test_data): Likewise.
36847 (sinh_test_downward): Likewise.
36848 (sinh_upward_test_data): Likewise.
36849 (sinh_test_upward): Likewise.
36850 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36851 (sqrt_test): Use ALL_RM_TEST.
36852 (sqrt_tonearest_test_data): Remove.
36853 (sqrt_test_tonearest): Likewise.
36854 (sqrt_towardzero_test_data): Likewise.
36855 (sqrt_test_towardzero): Likewise.
36856 (sqrt_downward_test_data): Likewise.
36857 (sqrt_test_downward): Likewise.
36858 (sqrt_upward_test_data): Likewise.
36859 (sqrt_test_upward): Likewise.
36860 (tan_test_data): Update call to AUTO_TESTS_f_f.
36861 (tan_test): Use ALL_RM_TEST.
36862 (tan_tonearest_test_data): Remove.
36863 (tan_test_tonearest): Likewise.
36864 (tan_towardzero_test_data): Likewise.
36865 (tan_test_towardzero): Likewise.
36866 (tan_downward_test_data): Likewise.
36867 (tan_test_downward): Likewise.
36868 (tan_upward_test_data): Likewise.
36869 (tan_test_upward): Likewise.
36870 (tanh_test_data): Update call to AUTO_TESTS_f_f.
36871 (tgamma_test_data): Likewise.
36872 (y0_test_data): Likewise.
36873 (y1_test_data): Likewise.
36874 (yn_test_data): Update call to AUTO_TESTS_if_f.
36875 (main): Do not call removed functions.
36876
36877 2014-03-19 Joseph Myers <joseph@codesourcery.com>
36878
36879 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36880 (ldexp_test_data): Remove.
36881 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
36882 scalbn_test_data.
36883 (scalb_test): Use ALL_RM_TEST.
36884
36885 2014-03-19 Andreas Schwab <schwab@suse.de>
36886
36887 * nscd/nscd.service: Also invalidate netgroup cache on reload.
36888
36889 2014-03-19 Joseph Myers <joseph@codesourcery.com>
36890
36891 [BZ #16649]
36892 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36893 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36894 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36896 (__ASSUME_PREADV): Undefine.
36897 (__ASSUME_PWRITEV): Likewise.
36898
36899 2014-03-18 Roland McGrath <roland@hack.frob.com>
36900
36901 * bits/mman-linux.h: Add comment about non-Linux use.
36902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36903 bits/mman-linux.h resting place.
36904
36905 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36906 * bits/mman-linux.h: ... here.
36907
36908 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36909
36910 * conform/conformtest.pl: Add standard definition when calling C
36911 preprocessor on data files.
36912 (checknamespace): Remove unused variable.
36913
36914 2014-03-18 Joseph Myers <joseph@codesourcery.com>
36915
36916 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36917 minus_oflow, plus_uflow and minus_uflow in expected results.
36918 * math/libm-test.inc (scalbn_test_data): Add more tests of
36919 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
36920 minus_uflow.
36921 (scalbn_test): Use ALL_RM_TEST.
36922 (scalbln_test_data): Add more tests of negative arguments. Use
36923 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36924 (scalbln_test): Use ALL_RM_TEST.
36925
36926 2014-03-18 Roland McGrath <roland@hack.frob.com>
36927
36928 * scripts/abilist.awk: Ignore symbols marked with .hidden.
36929
36930 2014-03-18 Will Newton <will.newton@linaro.org>
36931
36932 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36933 inaccurate comment.
36934
36935 2014-03-18 Joseph Myers <joseph@codesourcery.com>
36936
36937 * Makerules [!subdir] (check-abi): Exit with error status if a
36938 test failed.
36939
36940 2014-03-17 Joseph Myers <joseph@codesourcery.com>
36941
36942 * math/libm-test.inc (nearbyint_test_data): Include all tests used
36943 for rint. Include results for all rounding modes.
36944 (nearbyint_test): Use ALL_RM_TEST.
36945 (rint_test_data): Include all tests used for nearbyint.
36946
36947 2014-03-17 Will Newton <will.newton@linaro.org>
36948
36949 * nptl/sysdeps/pthread/pthread.h: Revert previous
36950 change.
36951
36952 * sysdeps/generic/ldsodefs.h: Revert previous
36953 change.
36954
36955 * libio/genops.c: Revert previous change.
36956 * libio/libioP.h: Likewise.
36957 * stdio-common/vfprintf.c: Likewise.
36958
36959 * sysdeps/generic/math_private.h: Revert previous
36960 change.
36961
36962 * sysdeps/generic/math_private.h: Check whether
36963 HAVE_RM_CTX is defined with #ifdef rather
36964 than #if.
36965
36966 * argp/argp-fmtstream.h: Check whether
36967 __STRICT_ANSI__ is defined with #ifdef rather
36968 than #if.
36969 * argp/argp.h: Likewise.
36970
36971 * libio/genops.c: Check whether
36972 _IO_JUMPS_OFFSET is defined with #ifdef rather
36973 than #if.
36974 * libio/libioP.h: Likewise.
36975 * stdio-common/vfprintf.c: Likewise.
36976
36977 * sysdeps/generic/ldsodefs.h: Check whether
36978 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36979 than #if.
36980
36981 * nptl/sysdeps/pthread/pthread.h: Check
36982 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36983 its value.
36984
36985 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36986
36987 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36988 setting O_APPEND.
36989 * libio/tst-ftell-active-handler.c (do_append_test): Add a
36990 test case.
36991
36992 [BZ #16680]
36993 * libio/fileops.c (_IO_file_open): Seek to end of file but
36994 don't cache the offset.
36995 (get_file_offset): Remove function.
36996 (do_ftell): Use cached offset when available.
36997 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36998 don't cache the offset.
36999 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37000 case.
37001 (do_one_test): Call it.
37002 (do_ftell_test): Fix up expected old offset for a+ mode.
37003 * libio/wfileops.c (do_ftell_wide): Used cached offset when
37004 available.
37005
37006 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37007 up test status with function return status.
37008 (do_write_test): Likewise.
37009 (do_append_test): Likewise.
37010
37011 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37012 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37013 Remove.
37014
37015 2014-03-17 Joseph Myers <joseph@codesourcery.com>
37016
37017 * math/gen-libm-test.pl (parse_args): Handle results specified for
37018 each rounding mode separately.
37019 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37020 tests and results from lrint_tonearest_test_data,
37021 lrint_towardzero_test_data, lrint_downward_test_data and
37022 lrint_upward_test_data.
37023 (lrint_test): Use ALL_RM_TEST.
37024 (lrint_tonearest_test_data): Remove.
37025 (lrint_test_tonearest): Likewise.
37026 (lrint_towardzero_test_data): Likewise.
37027 (lrint_test_towardzero): Likewise.
37028 (lrint_downward_test_data): Likewise.
37029 (lrint_test_downward): Likewise.
37030 (lrint_upward_test_data): Likewise.
37031 (lrint_test_upward): Likewise.
37032 (llrint_test_data): Merge in per-rounding-mode tests and results
37033 from llrint_tonearest_test_data, llrint_towardzero_test_data,
37034 llrint_downward_test_data and llrint_upward_test_data.
37035 (llrint_test): Use ALL_RM_TEST.
37036 (llrint_tonearest_test_data): Remove.
37037 (llrint_test_tonearest): Likewise.
37038 (llrint_towardzero_test_data): Likewise.
37039 (llrint_test_towardzero): Likewise.
37040 (llrint_downward_test_data): Likewise.
37041 (llrint_test_downward): Likewise.
37042 (llrint_upward_test_data): Likewise.
37043 (llrint_test_upward): Likewise.
37044 (rint_test_data): Merge in per-rounding-mode tests and results
37045 from rint_tonearest_test_data, rint_towardzero_test_data,
37046 rint_downward_test_data and rint_upward_test_data. Add
37047 per-rounding-mode results for tests not in those arrays.
37048 (rint_test): Use ALL_RM_TEST.
37049 (rint_tonearest_test_data): Remove.
37050 (rint_test_tonearest): Likewise.
37051 (rint_towardzero_test_data): Likewise.
37052 (rint_test_towardzero): Likewise.
37053 (rint_downward_test_data): Likewise.
37054 (rint_test_downward): Likewise.
37055 (rint_upward_test_data): Likewise.
37056 (rint_test_upward): Likewise.
37057 (main): Don't call removed functions.
37058
37059 2014-03-14 Roland McGrath <roland@hack.frob.com>
37060
37061 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37062 "Compiled on ..." crapola. It is anti-useful.
37063
37064 2014-03-14 Joseph Myers <joseph@codesourcery.com>
37065
37066 * scripts/evaluate-test.sh: Handle fourth argument to determine
37067 whether test run should stop on failure.
37068 * Makeconfig (stop-on-test-failure): New variable.
37069 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37070 $(stop-on-test-failure).
37071 * Makefile (tests): Give a summary of results from testing and
37072 exit with failure status if they include an ERROR or FAIL.
37073 (xtests): Likewise.
37074 * manual/install.texi (Configuring and compiling): Mention
37075 stop-on-test-failure=y.
37076 * INSTALL: Regenerated.
37077
37078 2014-03-14 Roland McGrath <roland@hack.frob.com>
37079
37080 * scripts/versionlist.awk: New file.
37081 * Makerules [$(build-shared) = yes]
37082 (postclean-generated): Add Versions.def, not Versions.def.v and
37083 Versions.def.v.i.
37084 ($(common-objpfx)Versions.def.v.i): Target removed.
37085 ($(common-objpfx)Versions.def): New target.
37086 ($(common-objpfx)Versions.all): Depend on that rather that
37087 $(common-objpfx)Versions.def.v.
37088 * Versions.def: File removed.
37089
37090 * Makeconfig (+gccwarn): Add -Wundef.
37091 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37092 a dl-sysdep.h breaking its contract.
37093 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37094 * include/stackinfo.h: New file.
37095 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37096 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37097 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37098 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37099 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37100 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37101 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37102 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37103 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37104 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37105 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37106 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37107 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37108 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37109 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37110
37111 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37112
37113 [BZ #16707]
37114 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37115 implementation.
37116 * math/libm-test.inc (round_test_data): Add more tests.
37117
37118 [BZ #16706]
37119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37120 implementation.
37121 * math/libm-test.inc (nearbyint_test_data): Add more tests.
37122
37123 [BZ #16701]
37124 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37125 implementation.
37126 * math/libm-test.inc (ceil_test_data): Add more tests.
37127
37128 * math/libm-test.inc (trunc_test_data): Add more tests related to
37129 BZ#16414.
37130
37131 2014-03-14 Roland McGrath <roland@hack.frob.com>
37132
37133 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37134 with #if rather than #ifdef.
37135 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37136
37137 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
37138
37139 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37140 first. Disable AVX-512 GCC support if assembler doesn't support
37141 it.
37142 * sysdeps/x86_64/configure: Regenerated.
37143
37144 2014-03-13 Carlos O'Donell <carlos@redhat.com>
37145
37146 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37147 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37148 (__old_pthread_attr_setstack): Likewise.
37149 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37150 [!_STACK_GROWS_DOWN]: Likewise.
37151
37152 2014-03-13 Mike Frysinger <vapier@gentoo.org>
37153
37154 * config.make.in (have-bash2): Delete.
37155 * configure.ac (libc_cv_have_bash2): Delete.
37156 * configure: Regenerate.
37157 * elf/Makefile (common-ldd-rewrite): Rename to ...
37158 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
37159 (sh-ldd-rewrite): Delete.
37160 (bash-ldd-rewrite): Delete.
37161 (have-bash2): Delete checks.
37162 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37163 ldd-rewrite.
37164
37165 * config.make.in (have-ksh): Delete.
37166 (KSH): Delete.
37167 * configure.ac (libc_cv_have_ksh): Delete.
37168 * configure: Regenerate.
37169
37170 * elf/Makefile: Delete $(have-ksh) check.
37171 ($(objpfx)sotruss): Change KSH to BASH.
37172 * elf/sotruss.ksh: Rename to ...
37173 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
37174 function style to match POSIX. Drop ksh vim mode setting.
37175
37176 * manual/time.texi (Specifying the Time Zone with TZ): Change
37177 Tuesday to Thursday.
37178
37179 * debug/tst-longjmp_chk2.c: Update header comment.
37180 (stackoverflow_handler): Add comment. Call assert on pass value.
37181
37182 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
37183
37184 [BZ #16194]
37185 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37186 (HAVE_AVX512_ASM_SUPPORT): Likewise.
37187 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37188 (La_x86_64_vector): Add zmm.
37189 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37190 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37191 ($(objpfx)tst-audit10): New target.
37192 ($(objpfx)tst-audit10.out): Likewise.
37193 (tst-audit10-ENV): New.
37194 (AVX512-CFLAGS): Likewise.
37195 (CFLAGS-tst-audit10.c): Likewise.
37196 (CFLAGS-tst-auditmod10a.c): Likewise.
37197 (CFLAGS-tst-auditmod10b.c): Likewise.
37198 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37199 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37200 * sysdeps/x86_64/configure: Regenerated.
37201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37202 AVX-512 zmm register support.
37203 (_dl_x86_64_save_sse): Likewise.
37204 (_dl_x86_64_restore_sse): Likewise.
37205 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37206 size vector registers.
37207 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37208 (ZMM_SIZE): Likewise.
37209 * sysdeps/x86_64/tst-audit10.c: New file.
37210 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37211 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37212
37213 2014-03-13 Roland McGrath <roland@hack.frob.com>
37214
37215 * configure.ac (HAVE_EHDR_START): New check.
37216 * configure: Regenerated.
37217 * config.h.in (HAVE_EHDR_START): New #undef.
37218 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37219 assuming the lowest-addressed segment maps the start of the file.
37220
37221 2014-03-13 Joseph Myers <joseph@codesourcery.com>
37222
37223 * INSTALL: Regenerated.
37224
37225 2014-03-13 Will Newton <will.newton@linaro.org>
37226
37227 * manual/setjmp.texi (System V contexts): Improve
37228 clarity and grammar of documentation.
37229
37230 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
37231
37232 [BZ #16381]
37233 * elf/Makefile (tests): Add tst-pie2.
37234 (tests-pie): Add tst-pie2.
37235 * elf/tst-pie2.c: New file.
37236 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37237 for ET_EXEC.
37238 * elf/rtld.c (map_doit): Load executable as lt_executable.
37239 (dl_main): Likewise.
37240
37241 2014-03-12 Joseph Myers <joseph@codesourcery.com>
37242
37243 [BZ #16642]
37244 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37245 (__ASSUME_PSELECT): Undefine.
37246
37247 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37248
37249 [BZ #16689]
37250 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37251 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37252 static build.
37253 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37254 selector for static builds.
37255
37256 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37257
37258 [BZ #16695]
37259 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37260 key in the buffer.
37261
37262 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37263
37264 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37265 IFUNC selector for static builds.
37266
37267 2014-03-11 Joseph Myers <joseph@codesourcery.com>
37268
37269 * sysdeps/mips/math_private.h [__mips_hard_float]
37270 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37271 libc_feresetround_mips_ctx.
37272 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37273 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37274 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37275
37276 [BZ #16677]
37277 * math/s_nextafter.c (__nextafter): Do not return value from
37278 overflowing computation.
37279 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37280 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37282 Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37284 Likewise.
37285 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37286 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37287
37288 2014-03-11 Roland McGrath <roland@hack.frob.com>
37289
37290 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37291 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37292 Move sfi_sp use from the load-multiple (that no longer sets sp) to
37293 the new mov targetting sp.
37294
37295 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37296
37297 [BZ #16683]
37298 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37299 Define it for static builds as well.
37300 (NO_BZERO_IMPL): Likewise.
37301
37302 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37303
37304 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37305 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37306 multiarch strspn for PPC64.
37307 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37308 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37310 (__libc_ifunc_impl_list): Likewise.
37311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37312 multiarch optimizations
37313 * string/strspn.c (strspn): Using macro to redefine symbol name.
37314
37315 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37316 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37317
37318 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37319 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37320 multiarch strncat for PPC64.
37321 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37322 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37324 (__libc_ifunc_impl_list): Likewise.
37325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37326 multiarch optimizations
37327
37328 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37329
37330 [BZ #16639]
37331 * nscd/nscd.service: Make service type forking.
37332
37333 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37334
37335 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37336 sign in non default rounding modes.
37337 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37338
37339 2014-03-08 Joseph Myers <joseph@codesourcery.com>
37340
37341 * math/libm-test.inc (ALL_RM_TEST): New macro.
37342 (ceil_test): Use ALL_RM_TEST.
37343 (cimag_test): Likewise.
37344 (conj_test): Likewise.
37345 (copysign_test): Likewise.
37346 (cproj_test): Likewise.
37347 (creal_test): Likewise.
37348 (fabs_test): Likewise.
37349 (floor_test): Likewise.
37350 (fmax_test): Likewise.
37351 (fmin_test): Likewise.
37352 (fmod_test): Likewise.
37353 (fpclassify_test): Likewise.
37354 (frexp_test): Likewise.
37355 (ilogb_test): Likewise.
37356 (isfinite_test): Likewise.
37357 (finite_test): Likewise.
37358 (isgreater_test): Likewise.
37359 (isgreaterequal_test): Likewise.
37360 (isinf_test): Likewise.
37361 (isless_test): Likewise.
37362 (islessequal_test): Likewise.
37363 (islessgreater_test): Likewise.
37364 (isnan_test): Likewise.
37365 (isnormal_test): Likewise.
37366 (issignaling_test): Likewise.
37367 (isunordered_test): Likewise.
37368 (logb_test): Likewise.
37369 (logb_downward_test_data): Remove.
37370 (logb_test_downward): Likewise.
37371 (lround_test): Use ALL_RM_TEST.
37372 (llround_test): Likewise.
37373 (modf_test): Likewise.
37374 (nexttoward_test): Likewise.
37375 (remainder_test): Likewise.
37376 (drem_test): Likewise.
37377 (remainder_tonearest_test_data): Likewise.
37378 (remainder_test_tonearest): Likewise.
37379 (drem_test_tonearest): Likewise.
37380 (remainder_towardzero_test_data): Likewise.
37381 (remainder_test_towardzero): Likewise.
37382 (drem_test_towardzero): Likewise.
37383 (remainder_downward_test_data): Likewise.
37384 (remainder_test_downward): Likewise.
37385 (drem_test_downward): Likewise.
37386 (remainder_upward_test_data): Likewise.
37387 (remainder_test_upward): Likewise.
37388 (drem_test_upward): Likewise.
37389 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
37390 (round_test): Use ALL_RM_TEST.
37391 (signbit_test): Likewise.
37392 (trunc_test): Likewise.
37393 (significand_test): Likewise.
37394 (main): Don't call removed functions.
37395
37396 2014-03-07 Joseph Myers <joseph@codesourcery.com>
37397
37398 [BZ #16674]
37399 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37400 || __USE_XOPEN2K8].
37401 (ILL_ILLOPN): Likewise.
37402 (ILL_ILLADR): Likewise.
37403 (ILL_ILLTRP): Likewise.
37404 (ILL_PRVOPC): Likewise.
37405 (ILL_PRVREG): Likewise.
37406 (ILL_COPROC): Likewise.
37407 (ILL_BADSTK): Likewise.
37408 (FPE_INTDIV): Likewise.
37409 (FPE_INTOVF): Likewise.
37410 (FPE_FLTDIV): Likewise.
37411 (FPE_FLTOVF): Likewise.
37412 (FPE_FLTUND): Likewise.
37413 (FPE_FLTRES): Likewise.
37414 (FPE_FLTINV): Likewise.
37415 (FPE_FLTSUB): Likewise.
37416 (SEGV_MAPERR): Likewise.
37417 (SEGV_ACCERR): Likewise.
37418 (BUS_ADRALN): Likewise.
37419 (BUS_ADRERR): Likewise.
37420 (BUS_OBJERR): Likewise.
37421 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37422 (TRAP_TRACE): Likewise.
37423 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37424 __USE_XOPEN2K8].
37425 (CLD_KILLED): Likewise.
37426 (CLD_DUMPED): Likewise.
37427 (CLD_TRAPPED): Likewise.
37428 (CLD_STOPPED): Likewise.
37429 (CLD_CONTINUED): Likewise.
37430 (POLL_IN): Likewise.
37431 (POLL_OUT): Likewise.
37432 (POLL_MSG): Likewise.
37433 (POLL_ERR): Likewise.
37434 (POLL_PRI): Likewise.
37435 (POLL_HUP): Likewise.
37436 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37437 Likewise.
37438 (ILL_ILLOPN): Likewise.
37439 (ILL_ILLADR): Likewise.
37440 (ILL_ILLTRP): Likewise.
37441 (ILL_PRVOPC): Likewise.
37442 (ILL_PRVREG): Likewise.
37443 (ILL_COPROC): Likewise.
37444 (ILL_BADSTK): Likewise.
37445 (FPE_INTDIV): Likewise.
37446 (FPE_INTOVF): Likewise.
37447 (FPE_FLTDIV): Likewise.
37448 (FPE_FLTOVF): Likewise.
37449 (FPE_FLTUND): Likewise.
37450 (FPE_FLTRES): Likewise.
37451 (FPE_FLTINV): Likewise.
37452 (FPE_FLTSUB): Likewise.
37453 (SEGV_MAPERR): Likewise.
37454 (SEGV_ACCERR): Likewise.
37455 (BUS_ADRALN): Likewise.
37456 (BUS_ADRERR): Likewise.
37457 (BUS_OBJERR): Likewise.
37458 (BUS_MCEERR_AR): Likewise.
37459 (BUS_MCEERR_AO): Likewise.
37460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37461 (TRAP_TRACE): Likewise.
37462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37463 __USE_XOPEN2K8].
37464 (CLD_KILLED): Likewise.
37465 (CLD_DUMPED): Likewise.
37466 (CLD_TRAPPED): Likewise.
37467 (CLD_STOPPED): Likewise.
37468 (CLD_CONTINUED): Likewise.
37469 (POLL_IN): Likewise.
37470 (POLL_OUT): Likewise.
37471 (POLL_MSG): Likewise.
37472 (POLL_ERR): Likewise.
37473 (POLL_PRI): Likewise.
37474 (POLL_HUP): Likewise.
37475 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37476 (ILL_ILLOPN): Likewise.
37477 (ILL_ILLADR): Likewise.
37478 (ILL_ILLTRP): Likewise.
37479 (ILL_PRVOPC): Likewise.
37480 (ILL_PRVREG): Likewise.
37481 (ILL_COPROC): Likewise.
37482 (ILL_BADSTK): Likewise.
37483 (FPE_INTDIV): Likewise.
37484 (FPE_INTOVF): Likewise.
37485 (FPE_FLTDIV): Likewise.
37486 (FPE_FLTOVF): Likewise.
37487 (FPE_FLTUND): Likewise.
37488 (FPE_FLTRES): Likewise.
37489 (FPE_FLTINV): Likewise.
37490 (FPE_FLTSUB): Likewise.
37491 (SEGV_MAPERR): Likewise.
37492 (SEGV_ACCERR): Likewise.
37493 (BUS_ADRALN): Likewise.
37494 (BUS_ADRERR): Likewise.
37495 (BUS_OBJERR): Likewise.
37496 (BUS_MCEERR_AR): Likewise.
37497 (BUS_MCEERR_AO): Likewise.
37498 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37499 (TRAP_TRACE): Likewise.
37500 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37501 __USE_XOPEN2K8].
37502 (CLD_KILLED): Likewise.
37503 (CLD_DUMPED): Likewise.
37504 (CLD_TRAPPED): Likewise.
37505 (CLD_STOPPED): Likewise.
37506 (CLD_CONTINUED): Likewise.
37507 (POLL_IN): Likewise.
37508 (POLL_OUT): Likewise.
37509 (POLL_MSG): Likewise.
37510 (POLL_ERR): Likewise.
37511 (POLL_PRI): Likewise.
37512 (POLL_HUP): Likewise.
37513 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37514 Likewise.
37515 (ILL_ILLOPN): Likewise.
37516 (ILL_ILLADR): Likewise.
37517 (ILL_ILLTRP): Likewise.
37518 (ILL_PRVOPC): Likewise.
37519 (ILL_PRVREG): Likewise.
37520 (ILL_COPROC): Likewise.
37521 (ILL_BADSTK): Likewise.
37522 (ILL_BADIADDR): Likewise.
37523 (ILL_BREAK): Likewise.
37524 (FPE_INTDIV): Likewise.
37525 (FPE_INTOVF): Likewise.
37526 (FPE_FLTDIV): Likewise.
37527 (FPE_FLTOVF): Likewise.
37528 (FPE_FLTUND): Likewise.
37529 (FPE_FLTRES): Likewise.
37530 (FPE_FLTINV): Likewise.
37531 (FPE_FLTSUB): Likewise.
37532 (FPE_DECOVF): Likewise.
37533 (FPE_DECDIV): Likewise.
37534 (FPE_DECERR): Likewise.
37535 (FPE_INVASC): Likewise.
37536 (FPE_INVDEC): Likewise.
37537 (SEGV_MAPERR): Likewise.
37538 (SEGV_ACCERR): Likewise.
37539 (SEGV_PSTKOVF): Likewise.
37540 (BUS_ADRALN): Likewise.
37541 (BUS_ADRERR): Likewise.
37542 (BUS_OBJERR): Likewise.
37543 (BUS_MCEERR_AR): Likewise.
37544 (BUS_MCEERR_AO): Likewise.
37545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37546 (TRAP_TRACE): Likewise.
37547 (TRAP_BRANCH): Likewise.
37548 (TRAP_HWBKPT): Likewise.
37549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37550 __USE_XOPEN2K8].
37551 (CLD_KILLED): Likewise.
37552 (CLD_DUMPED): Likewise.
37553 (CLD_TRAPPED): Likewise.
37554 (CLD_STOPPED): Likewise.
37555 (CLD_CONTINUED): Likewise.
37556 (POLL_IN): Likewise.
37557 (POLL_OUT): Likewise.
37558 (POLL_MSG): Likewise.
37559 (POLL_ERR): Likewise.
37560 (POLL_PRI): Likewise.
37561 (POLL_HUP): Likewise.
37562 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37563 (ILL_ILLOPN): Likewise.
37564 (ILL_ILLADR): Likewise.
37565 (ILL_ILLTRP): Likewise.
37566 (ILL_PRVOPC): Likewise.
37567 (ILL_PRVREG): Likewise.
37568 (ILL_COPROC): Likewise.
37569 (ILL_BADSTK): Likewise.
37570 (FPE_INTDIV): Likewise.
37571 (FPE_INTOVF): Likewise.
37572 (FPE_FLTDIV): Likewise.
37573 (FPE_FLTOVF): Likewise.
37574 (FPE_FLTUND): Likewise.
37575 (FPE_FLTRES): Likewise.
37576 (FPE_FLTINV): Likewise.
37577 (FPE_FLTSUB): Likewise.
37578 (SEGV_MAPERR): Likewise.
37579 (SEGV_ACCERR): Likewise.
37580 (BUS_ADRALN): Likewise.
37581 (BUS_ADRERR): Likewise.
37582 (BUS_OBJERR): Likewise.
37583 (BUS_MCEERR_AR): Likewise.
37584 (BUS_MCEERR_AO): Likewise.
37585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37586 (TRAP_TRACE): Likewise.
37587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37588 __USE_XOPEN2K8].
37589 (CLD_KILLED): Likewise.
37590 (CLD_DUMPED): Likewise.
37591 (CLD_TRAPPED): Likewise.
37592 (CLD_STOPPED): Likewise.
37593 (CLD_CONTINUED): Likewise.
37594 (POLL_IN): Likewise.
37595 (POLL_OUT): Likewise.
37596 (POLL_MSG): Likewise.
37597 (POLL_ERR): Likewise.
37598 (POLL_PRI): Likewise.
37599 (POLL_HUP): Likewise.
37600 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37601 (ILL_ILLOPN): Likewise.
37602 (ILL_ILLADR): Likewise.
37603 (ILL_ILLTRP): Likewise.
37604 (ILL_PRVOPC): Likewise.
37605 (ILL_PRVREG): Likewise.
37606 (ILL_COPROC): Likewise.
37607 (ILL_BADSTK): Likewise.
37608 (FPE_INTDIV): Likewise.
37609 (FPE_INTOVF): Likewise.
37610 (FPE_FLTDIV): Likewise.
37611 (FPE_FLTOVF): Likewise.
37612 (FPE_FLTUND): Likewise.
37613 (FPE_FLTRES): Likewise.
37614 (FPE_FLTINV): Likewise.
37615 (FPE_FLTSUB): Likewise.
37616 (SEGV_MAPERR): Likewise.
37617 (SEGV_ACCERR): Likewise.
37618 (BUS_ADRALN): Likewise.
37619 (BUS_ADRERR): Likewise.
37620 (BUS_OBJERR): Likewise.
37621 (BUS_MCEERR_AR): Likewise.
37622 (BUS_MCEERR_AO): Likewise.
37623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37624 (TRAP_TRACE): Likewise.
37625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37626 __USE_XOPEN2K8].
37627 (CLD_KILLED): Likewise.
37628 (CLD_DUMPED): Likewise.
37629 (CLD_TRAPPED): Likewise.
37630 (CLD_STOPPED): Likewise.
37631 (CLD_CONTINUED): Likewise.
37632 (POLL_IN): Likewise.
37633 (POLL_OUT): Likewise.
37634 (POLL_MSG): Likewise.
37635 (POLL_ERR): Likewise.
37636 (POLL_PRI): Likewise.
37637 (POLL_HUP): Likewise.
37638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37639 (ILL_ILLOPN): Likewise.
37640 (ILL_ILLADR): Likewise.
37641 (ILL_ILLTRP): Likewise.
37642 (ILL_PRVOPC): Likewise.
37643 (ILL_PRVREG): Likewise.
37644 (ILL_COPROC): Likewise.
37645 (ILL_BADSTK): Likewise.
37646 (FPE_INTDIV): Likewise.
37647 (FPE_INTOVF): Likewise.
37648 (FPE_FLTDIV): Likewise.
37649 (FPE_FLTOVF): Likewise.
37650 (FPE_FLTUND): Likewise.
37651 (FPE_FLTRES): Likewise.
37652 (FPE_FLTINV): Likewise.
37653 (FPE_FLTSUB): Likewise.
37654 (SEGV_MAPERR): Likewise.
37655 (SEGV_ACCERR): Likewise.
37656 (BUS_ADRALN): Likewise.
37657 (BUS_ADRERR): Likewise.
37658 (BUS_OBJERR): Likewise.
37659 (BUS_MCEERR_AR): Likewise.
37660 (BUS_MCEERR_AO): Likewise.
37661 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37662 (TRAP_TRACE): Likewise.
37663 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37664 __USE_XOPEN2K8].
37665 (CLD_KILLED): Likewise.
37666 (CLD_DUMPED): Likewise.
37667 (CLD_TRAPPED): Likewise.
37668 (CLD_STOPPED): Likewise.
37669 (CLD_CONTINUED): Likewise.
37670 (POLL_IN): Likewise.
37671 (POLL_OUT): Likewise.
37672 (POLL_MSG): Likewise.
37673 (POLL_ERR): Likewise.
37674 (POLL_PRI): Likewise.
37675 (POLL_HUP): Likewise.
37676 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37677 (ILL_ILLOPN): Likewise.
37678 (ILL_ILLADR): Likewise.
37679 (ILL_ILLTRP): Likewise.
37680 (ILL_PRVOPC): Likewise.
37681 (ILL_PRVREG): Likewise.
37682 (ILL_COPROC): Likewise.
37683 (ILL_BADSTK): Likewise.
37684 (ILL_DBLFLT): Likewise.
37685 (ILL_HARDWALL): Likewise.
37686 (FPE_INTDIV): Likewise.
37687 (FPE_INTOVF): Likewise.
37688 (FPE_FLTDIV): Likewise.
37689 (FPE_FLTOVF): Likewise.
37690 (FPE_FLTUND): Likewise.
37691 (FPE_FLTRES): Likewise.
37692 (FPE_FLTINV): Likewise.
37693 (FPE_FLTSUB): Likewise.
37694 (SEGV_MAPERR): Likewise.
37695 (SEGV_ACCERR): Likewise.
37696 (BUS_ADRALN): Likewise.
37697 (BUS_ADRERR): Likewise.
37698 (BUS_OBJERR): Likewise.
37699 (BUS_MCEERR_AR): Likewise.
37700 (BUS_MCEERR_AO): Likewise.
37701 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37702 (TRAP_TRACE): Likewise.
37703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37704 __USE_XOPEN2K8].
37705 (CLD_KILLED): Likewise.
37706 (CLD_DUMPED): Likewise.
37707 (CLD_TRAPPED): Likewise.
37708 (CLD_STOPPED): Likewise.
37709 (CLD_CONTINUED): Likewise.
37710 (POLL_IN): Likewise.
37711 (POLL_OUT): Likewise.
37712 (POLL_MSG): Likewise.
37713 (POLL_ERR): Likewise.
37714 (POLL_PRI): Likewise.
37715 (POLL_HUP): Likewise.
37716 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37717 (ILL_ILLOPN): Likewise.
37718 (ILL_ILLADR): Likewise.
37719 (ILL_ILLTRP): Likewise.
37720 (ILL_PRVOPC): Likewise.
37721 (ILL_PRVREG): Likewise.
37722 (ILL_COPROC): Likewise.
37723 (ILL_BADSTK): Likewise.
37724 (FPE_INTDIV): Likewise.
37725 (FPE_INTOVF): Likewise.
37726 (FPE_FLTDIV): Likewise.
37727 (FPE_FLTOVF): Likewise.
37728 (FPE_FLTUND): Likewise.
37729 (FPE_FLTRES): Likewise.
37730 (FPE_FLTINV): Likewise.
37731 (FPE_FLTSUB): Likewise.
37732 (SEGV_MAPERR): Likewise.
37733 (SEGV_ACCERR): Likewise.
37734 (BUS_ADRALN): Likewise.
37735 (BUS_ADRERR): Likewise.
37736 (BUS_OBJERR): Likewise.
37737 (BUS_MCEERR_AR): Likewise.
37738 (BUS_MCEERR_AO): Likewise.
37739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37740 (TRAP_TRACE): Likewise.
37741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37742 __USE_XOPEN2K8].
37743 (CLD_KILLED): Likewise.
37744 (CLD_DUMPED): Likewise.
37745 (CLD_TRAPPED): Likewise.
37746 (CLD_STOPPED): Likewise.
37747 (CLD_CONTINUED): Likewise.
37748 (POLL_IN): Likewise.
37749 (POLL_OUT): Likewise.
37750 (POLL_MSG): Likewise.
37751 (POLL_ERR): Likewise.
37752 (POLL_PRI): Likewise.
37753 (POLL_HUP): Likewise.
37754 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37755 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37756
37757 [BZ #16670]
37758 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37759 before #include of <time.h>.
37760 [!__USE_XOPEN2K] (__need_timespec): Likewise.
37761 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37762 (test-xfail-UNIX98/sched.h/conform): Likewise.
37763
37764 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
37765
37766 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37767 error absence of trapping exception support.
37768 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37769
37770 2014-03-07 Joseph Myers <joseph@codesourcery.com>
37771
37772 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37773 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37774 * timezone/Makefile (testdata): Move definition above include of
37775 Rules.
37776 (test-zones): New variable.
37777 (tests-special): Add zone files.
37778 (build-testdata): Use $(evaluate-test).
37779
37780 * elf/Makefile (tests-special): Rename tests to end with .out.
37781 ($(objpfx)noload-mem): Likewise.
37782 ($(objpfx)tst-leaks1-mem): Likewise.
37783 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37784 * iconv/Makefile (xtests-special): Change test-iconvconfig to
37785 $(objpfx)test-iconvconfig.out.
37786 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
37787 set -e inside subshell and redirect output to file.
37788 * iconvdata/Makefile (generated): Rename tests to end with .out.
37789 Correct type.
37790 (tests-special): Rename tests to end with .out.
37791 ($(objpfx)mtrace-tst-loading): Likewise.
37792 * intl/Makefile (generated): Likewise.
37793 (tests-special): Likewise.
37794 ($(objpfx)mtrace-tst-gettext): Likewise.
37795 * misc/Makefile (generated): Likewise.
37796 (tests-special): Likewise.
37797 ($(objpfx)tst-error1-mem): Likewise.
37798 * nptl/Makefile (tests-special): Likewise.
37799 ($(objpfx)tst-stack3-mem): Likewise.
37800 (generated): Likewise.
37801 * posix/Makefile (generated): Likewise.
37802 (tests-special): Likewise.
37803 (xtests-special): Likewise.
37804 ($(objpfx)tst-fnmatch-mem): Likewise.
37805 ($(objpfx)bug-regex2-mem): Likewise.
37806 ($(objpfx)bug-regex14-mem): Likewise.
37807 ($(objpfx)bug-regex21-mem): Likewise.
37808 ($(objpfx)bug-regex31-mem): Likewise.
37809 ($(objpfx)tst-vfork3-mem): Likewise.
37810 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37811 ($(objpfx)tst-pcre-mem): Likewise.
37812 ($(objpfx)tst-boost-mem): Likewise.
37813 ($(objpfx)bug-ga2-mem): Likewise.
37814 ($(objpfx)bug-glob2-mem): Likewise.
37815 * resolv/Makefile (generate): Likewise.
37816 (tests-special): Likewise.
37817 (xtests-special): Likewise.
37818 (generated): Likewise.
37819 ($(objpfx)mtrace-tst-leaks): Likewise.
37820 ($(objpfx)mtrace-tst-leaks2): Likewise.
37821
37822 * scripts/merge-test-results.sh: New file.
37823 * Makefile (tests-special-notdir): New variable.
37824 (tests): Run merge-test-results.sh.
37825 (xtests): Likewise.
37826 * Rules (tests-special-notdir): New variable.
37827 (xtests-special-notdir): Likewise.
37828 (tests): Run merge-test-results.sh
37829 (xtests): Likewise.
37830
37831 * Makeconfig (test-xfail-name): New variable.
37832 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37833 compute variable name for expected failures.
37834 * conform/Makefile (conformtest-headers-data): New variable.
37835 (conformtest-standards): Likewise.
37836 (conformtest-headers-ISO): Likewise.
37837 (conformtest-headers-ISO99): Likewise.
37838 (conformtest-headers-ISO11): Likewise.
37839 (conformtest-headers-POSIX): Likewise.
37840 (conformtest-headers-XPG3): Likewise.
37841 (conformtest-headers-XPG4): Likewise.
37842 (conformtest-headers-UNIX98): Likewise.
37843 (conformtest-headers-XOPEN2K): Likewise.
37844 (conformtest-headers-POSIX2008): Likewise.
37845 (conformtest-headers-XOPEN2K8): Likewise.
37846 (conformtest-header-list-base): Likewise.
37847 (conformtest-header-list-tests): Likewise.
37848 (conformtest-header-base): Likewise.
37849 (conformtest-header-tests): Likewise.
37850 (tests-special): Add $(conformtest-header-list-tests). If
37851 [$(fast-check) && !$(cross-compiling)], add
37852 $(conformtest-header-tests) instead of
37853 $(objpfx)run-conformtest.out.
37854 (generated): Add $(conformtest-header-list-base). If
37855 [$(fast-check) && !$(cross-compiling)], add
37856 $(conformtest-header-base). Remove previous setting.
37857 ($(conformtest-header-list-tests)): New target.
37858 (test-xfail-run-conformtest): Remove variable.
37859 ($(objpfx)run-conformtest.out): Remove target.
37860 (test-xfail-ISO11/complex.h/conform): New variable.
37861 (test-xfail-ISO11/stdalign.h/conform): Likewise.
37862 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37863 (test-xfail-XPG3/varargs.h/conform): Likewise.
37864 (test-xfail-XPG4/varargs.h/conform): Likewise.
37865 (test-xfail-UNIX98/varargs.h/conform): Likewise.
37866 (test-xfail-XPG4/ndbm.h/conform): Likewise.
37867 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37868 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37869 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37870 (test-xfail-XPG3/fcntl.h/conform): Likewise.
37871 (test-xfail-XPG3/ftw.h/conform): Likewise.
37872 (test-xfail-XPG3/grp.h/conform): Likewise.
37873 (test-xfail-XPG3/langinfo.h/conform): Likewise.
37874 (test-xfail-XPG3/limits.h/conform): Likewise.
37875 (test-xfail-XPG3/pwd.h/conform): Likewise.
37876 (test-xfail-XPG3/search.h/conform): Likewise.
37877 (test-xfail-XPG3/signal.h/conform): Likewise.
37878 (test-xfail-XPG3/stdio.h/conform): Likewise.
37879 (test-xfail-XPG3/stdlib.h/conform): Likewise.
37880 (test-xfail-XPG3/string.h/conform): Likewise.
37881 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37882 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37883 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37884 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37885 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37886 (test-xfail-XPG3/sys/types.h/conform): Likewise.
37887 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37888 (test-xfail-XPG3/termios.h/conform): Likewise.
37889 (test-xfail-XPG3/time.h/conform): Likewise.
37890 (test-xfail-XPG3/unistd.h/conform): Likewise.
37891 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37892 (test-xfail-XPG4/fcntl.h/conform): Likewise.
37893 (test-xfail-XPG4/langinfo.h/conform): Likewise.
37894 (test-xfail-XPG4/netdb.h/conform): Likewise.
37895 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37896 (test-xfail-XPG4/signal.h/conform): Likewise.
37897 (test-xfail-XPG4/stdio.h/conform): Likewise.
37898 (test-xfail-XPG4/stdlib.h/conform): Likewise.
37899 (test-xfail-XPG4/stropts.h/conform): Likewise.
37900 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37901 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37902 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37903 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37904 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37905 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37906 (test-xfail-XPG4/sys/time.h/conform): Likewise.
37907 (test-xfail-XPG4/sys/types.h/conform): Likewise.
37908 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37909 (test-xfail-XPG4/termios.h/conform): Likewise.
37910 (test-xfail-XPG4/ucontext.h/conform): Likewise.
37911 (test-xfail-XPG4/unistd.h/conform): Likewise.
37912 (test-xfail-XPG4/utmpx.h/conform): Likewise.
37913 (test-xfail-POSIX/sched.h/conform): Likewise.
37914 (test-xfail-POSIX/signal.h/conform): Likewise.
37915 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37916 (test-xfail-POSIX/tar.h/conform): Likewise.
37917 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37918 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37919 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37920 (test-xfail-UNIX98/netdb.h/conform): Likewise.
37921 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37922 (test-xfail-UNIX98/sched.h/conform): Likewise.
37923 (test-xfail-UNIX98/signal.h/conform): Likewise.
37924 (test-xfail-UNIX98/stdio.h/conform): Likewise.
37925 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37926 (test-xfail-UNIX98/stropts.h/conform): Likewise.
37927 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37928 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37929 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37930 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37931 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37932 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37933 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37934 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37935 (test-xfail-UNIX98/unistd.h/conform): Likewise.
37936 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37937 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37938 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37939 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37940 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37941 (test-xfail-XOPEN2K/math.h/conform): Likewise.
37942 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37943 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37944 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37945 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37946 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37947 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37948 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37949 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37950 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37951 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37952 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37953 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37954 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37955 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37956 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37957 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37958 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37959 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37960 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37961 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37962 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37963 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37964 (test-xfail-POSIX2008/signal.h/conform): Likewise.
37965 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37966 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37967 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37968 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37969 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37970 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37971 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37972 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37973 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37974 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37975 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37976 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37977 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37978 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37979 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37980 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37981 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37982 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37983 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37984 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37985 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37986 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37987 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37988 (conformtest-cc-flags): Likewise.
37989 ($(conformtest-header-tests): New target.
37990 * conform/check-header-lists.sh: New file.
37991 * conform/run-conformtest.sh: Remove.
37992
37993 * conform/conformtest.pl: Allow ' and \ in values given for
37994 constants.
37995 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37996 inclusion.
37997 [POSIX] (sys/types.h): Likewise.
37998 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37999 inclusion.
38000 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38001 inclusion.
38002 * conform/data/signal.h-data (SIGIO): Remove expectation.
38003 [XPG3] (SIGBUS): Do not expect.
38004 [POSIX || XPG3] (SIGPOLL): Likewise.
38005 [POSIX || XPG3] (SIGPROF): Likewise.
38006 [POSIX || XPG3] (SIGSYS): Likewise.
38007 [XPG3] (SIGTRAP): Likewise.
38008 [POSIX || XPG3] (SIGURG): Likewise.
38009 [POSIX || XPG3] (SIGVTALRM): Likewise.
38010 [POSIX || XPG3] (SIGXCPU): Likewise.
38011 [POSIX || XPG3] (SIGXFSZ): Likewise.
38012 [POSIX] (SA_SIGINFO): Expect.
38013 [XPG3] (siginfo_t): Do not expect type or contents.
38014 [POSIX] (si_pid): Do not expect element.
38015 [POSIX] (si_uid): Likewise.
38016 [POSIX] (si_addr): Likewise.
38017 [POSIX] (si_status): Likewise.
38018 [POSIX] (si_band): Likewise.
38019 [XPG4] (si_value): Likewise.
38020 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38021 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38022 [POSIX || XPG3] (ILL_ILLADR): Likewise.
38023 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38024 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38025 [POSIX || XPG3] (ILL_PRVREG): Likewise.
38026 [POSIX || XPG3] (ILL_COPROC): Likewise.
38027 [POSIX || XPG3] (ILL_BADSTK): Likewise.
38028 [POSIX || XPG3] (FPE_INTDIV): Likewise.
38029 [POSIX || XPG3] (FPE_INTOVF): Likewise.
38030 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38031 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38032 [POSIX || XPG3] (FPE_FLTUND): Likewise.
38033 [POSIX || XPG3] (FPE_FLTRES): Likewise.
38034 [POSIX || XPG3] (FPE_FLTINV): Likewise.
38035 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38036 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38037 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38038 [POSIX || XPG3] (BUS_ADRALN): Likewise.
38039 [POSIX || XPG3] (BUS_ADRERR): Likewise.
38040 [POSIX || XPG3] (BUS_OBJERR): Likewise.
38041 [POSIX || XPG3] (CLD_EXITED): Likewise.
38042 [POSIX || XPG3] (CLD_KILLED): Likewise.
38043 [POSIX || XPG3] (CLD_DUMPED): Likewise.
38044 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38045 [POSIX || XPG3] (CLD_STOPPED): Likewise.
38046 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38047 [POSIX || XPG3] (POLL_IN): Likewise.
38048 [POSIX || XPG3] (POLL_OUT): Likewise.
38049 [POSIX || XPG3] (POLL_MSG): Likewise.
38050 [POSIX || XPG3] (POLL_ERR): Likewise.
38051 [POSIX || XPG3] (POLL_PRI): Likewise.
38052 [POSIX || XPG3] (POLL_HUP): Likewise.
38053 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38054 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38055 (SIG*): Do not allow.
38056 [XPG3] (si_*): Likewise.
38057 [XPG3] (SI_*): Likewise.
38058 [XPG3 || XPG4] (sigev_*): Likewise.
38059 [XPG3 || XPG4] (SIGEV_*): Likewise.
38060 [XPG3 || XPG4] (sival_*): Likewise.
38061 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38062 [POSIX || XPG3] (BUS_*): Likewise.
38063 [POSIX || XPG3] (CLD_*): Likewise.
38064 [POSIX || XPG3] (FPE_*): Likewise.
38065 [POSIX || XPG3] (ILL_*): Likewise.
38066 [POSIX || XPG3] (POLL_*): Likewise.
38067 [POSIX || XPG3] (SEGV_*): Likewise.
38068 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38069 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38070 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38071 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38072 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38073 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38074 Specify type and value.
38075 (TVERSLEN): Likewise.
38076 (REGTYPE): Likewise.
38077 (AREGTYPE): Likewise.
38078 (LNKTYPE): Likewise.
38079 (SYMTYPE): Likewise.
38080 (CHRTYPE): Likewise.
38081 (BLKTYPE): Likewise.
38082 (DIRTYPE): Likewise.
38083 (FIFOTYPE): Likewise.
38084 (CONTTYPE): Likewise.
38085 (TSUID): Likewise.
38086 (TSGID): Likewise.
38087 (TSVTX): Likewise.
38088 (TUREAD): Likewise.
38089 (TUWRITE): Likewise.
38090 (TUEXEC): Likewise.
38091 (TGREAD): Likewise.
38092 (TGWRITE): Likewise.
38093 (TGEXEC): Likewise.
38094 (TOREAD): Likewise.
38095 (TOWRITE): Likewise.
38096 (TOEXEC): Likewise.
38097 [POSIX] (TSVTX): Expect constant.
38098
38099 2014-03-06 Joseph Myers <joseph@codesourcery.com>
38100
38101 * Makefile (tests): Change dependencies to ....
38102 (tests-special): ... additions to this variable.
38103 (tests): Depend on $(tests-special).
38104 * Makerules (check-abi-list): New variable.
38105 (check-abi): Depend on $(check-abi-list).
38106 [$(subdir) = elf] (tests-special): Add
38107 $(objpfx)check-abi-libc.out.
38108 [$(build-shared) = yes && subdir] (tests-special): Add
38109 $(check-abi-list).
38110 [$(build-shared) = yes && subdir] (tests): Do not depend on
38111 check-abi.
38112 * Rules (tests): Depend on $(tests-special).
38113 (xtests): Depend on $(xtests-special).
38114 * catgets/Makefile (tests): Change dependencies to ....
38115 (tests-special): ... additions to this variable.
38116 * conform/Makefile (tests): Change dependencies to ....
38117 (tests-special): ... additions to this variable.
38118 * elf/Makefile (tests): Change dependencies to ....
38119 (tests-special): ... additions to this variable.
38120 * grp/Makefile (tests): Change dependencies to ....
38121 (tests-special): ... additions to this variable.
38122 * iconv/Makefile (xtests): Change dependencies to ....
38123 (xtests-special): ... additions to this variable.
38124 * iconvdata/Makefile (tests): Change dependencies to ....
38125 (tests-special): ... additions to this variable.
38126 * intl/Makefile (tests): Change dependencies to ....
38127 (tests-special): ... additions to this variable. Also add
38128 $(objpfx)tst-gettext.out.
38129 * io/Makefile (tests): Change dependencies to ....
38130 (tests-special): ... additions to this variable.
38131 * libio/Makefile (tests): Change dependencies to ....
38132 (tests-special): ... additions to this variable.
38133 * malloc/Makefile (tests): Change dependencies to ....
38134 (tests-special): ... additions to this variable.
38135 * misc/Makefile (tests): Change dependencies to ....
38136 (tests-special): ... additions to this variable.
38137 * nptl/Makefile (tests): Change dependencies to ....
38138 (tests-special): ... additions to this variable.
38139 * nptl_db/Makefile (tests): Change dependencies to ....
38140 (tests-special): ... additions to this variable.
38141 * posix/Makefile (tests): Change dependencies to ....
38142 (tests-special): ... additions to this variable.
38143 (xtests): Change dependencies to ....
38144 (xtests-special): ... additions to this variable.
38145 * resolv/Makefile (tests): Change dependencies to ....
38146 (tests-special): ... additions to this variable.
38147 (xtests): Change dependencies to ....
38148 (xtests-special): ... additions to this variable.
38149 * stdio-common/Makefile (tests): Change dependencies to ....
38150 (tests-special): ... additions to this variable.
38151 (do-tst-unbputc): Remove target.
38152 (do-tst-printf): Likewise.
38153 * stdlib/Makefile (tests): Change dependencies to ....
38154 (tests-special): ... additions to this variable.
38155 * string/Makefile (tests): Change dependencies to ....
38156 (tests-special): ... additions to this variable.
38157 * sysdeps/x86/Makefile (tests): Change dependencies to ....
38158 (tests-special): ... additions to this variable.
38159
38160 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38161 whole file.
38162 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38163 whole file.
38164 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38165 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38166
38167 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38168 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38169 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38170 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38171 * conform/data/libgen.h-data [XPG3]: Likewise.
38172 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38173 * conform/data/ndbm.h-data [XPG3]: Likewise.
38174 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38175 * conform/data/netdb.h-data [XPG3]: Likewise.
38176 * conform/data/netinet/in.h-data [XPG3]: Likewise.
38177 * conform/data/poll.h-data [XPG3]: Likewise.
38178 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38179 * conform/data/strings.h-data [XPG3]: Likewise.
38180 * conform/data/stropts.h-data [XPG3]: Likewise.
38181 * conform/data/sys/mman.h-data [XPG3]: Likewise.
38182 * conform/data/sys/resource.h-data [XPG3]: Likewise.
38183 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38184 Likewise.
38185 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38186 * conform/data/sys/time.h-data [XPG3]: Likewise.
38187 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38188 * conform/data/sys/uio.h-data [XPG3]: Likewise.
38189 * conform/data/sys/un.h-data [XPG3]: Likewise.
38190 * conform/data/syslog.h-data [XPG3]: Likewise.
38191 * conform/data/ucontext.h-data [XPG3]: Likewise.
38192 * conform/data/utmpx.h-data [XPG3]: Likewise.
38193 * conform/data/varargs.h-data [UNIX98]: Enable file.
38194
38195 * manual/Makefile (INSTALL_INFO): Remove variable setting.
38196
38197 * math/libm-test.inc (struct test_f_f_data): Move expected results
38198 into structure for each rounding mode.
38199 (struct test_ff_f_data): Likewise.
38200 (struct test_ff_f_data_nexttoward): Likewise.
38201 (struct test_fi_f_data): Likewise.
38202 (struct test_fl_f_data): Likewise.
38203 (struct test_if_f_data): Likewise.
38204 (struct test_fff_f_data): Likewise.
38205 (struct test_c_f_data): Likewise.
38206 (struct test_f_f1_data): Likewise.
38207 (struct test_fF_f1_data): Likewise.
38208 (struct test_ffI_f1_data): Likewise.
38209 (struct test_c_c_data): Likewise.
38210 (struct test_cc_c_data): Likewise.
38211 (struct test_f_i_data): Likewise.
38212 (struct test_ff_i_data): Likewise.
38213 (struct test_f_l_data): Likewise.
38214 (struct test_f_L_data): Likewise.
38215 (struct test_fFF_11_data): Likewise.
38216 (RM_): New macro.
38217 (RM_FE_DOWNWARD): Likewise.
38218 (RM_FE_TONEAREST): Likewise.
38219 (RM_FE_TOWARDZERO): Likewise.
38220 (RM_FE_UPWARD): Likewise.
38221 (RUN_TEST_LOOP_f_f): Update references to expected results.
38222 (RUN_TEST_LOOP_2_f): Likewise.
38223 (RUN_TEST_LOOP_fff_f): Likewise.
38224 (RUN_TEST_LOOP_c_f): Likewise.
38225 (RUN_TEST_LOOP_f_f1): Likewise.
38226 (RUN_TEST_LOOP_fF_f1): Likewise.
38227 (RUN_TEST_LOOP_fI_f1): Likewise.
38228 (RUN_TEST_LOOP_ffI_f1): Likewise.
38229 (RUN_TEST_LOOP_c_c): Likewise.
38230 (RUN_TEST_LOOP_cc_c): Likewise.
38231 (RUN_TEST_LOOP_f_i): Likewise.
38232 (RUN_TEST_LOOP_f_i_tg): Likewise.
38233 (RUN_TEST_LOOP_ff_i_tg): Likewise.
38234 (RUN_TEST_LOOP_f_b): Likewise.
38235 (RUN_TEST_LOOP_f_b_tg): Likewise.
38236 (RUN_TEST_LOOP_f_l): Likewise.
38237 (RUN_TEST_LOOP_f_L): Likewise.
38238 (RUN_TEST_LOOP_fFF_11): Likewise.
38239 * math/gen-libm-test.pl (parse_args): Output four copies of
38240 expected results for each test.
38241
38242 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38243 (__ASSUME_UTIMES): Remove.
38244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38245 (__ASSUME_UTIMES): Likewise.
38246
38247 * math/gen-auto-libm-tests.c: Update comment on output format.
38248 (output_for_one_input_case): Generate before-rounding and
38249 after-rounding information as conditions on output flags not
38250 floating-point format.
38251 * math/auto-libm-test-out: Regenerated.
38252 * math/gen-libm-test.pl (cond_value): New function.
38253 (or_cond_value): Use cond_value.
38254 (generate_testfile): Handle conditional exceptions.
38255
38256 2014-03-05 Joseph Myers <joseph@codesourcery.com>
38257
38258 * math/libm-test.inc (max_valid_error): New variable.
38259 (init_max_error): Take new argument specifying whether function
38260 results are exactly determined. Set max_valid_error and bound
38261 other variables for errors based on this argument.
38262 (set_max_error): Do not record results above max_valid_error.
38263 (check_float_internal): Only accept errors of up to 0.5ulps if
38264 also at most max_valid_error.
38265 (START): Take new argument EXACT and pass it to init_max_error.
38266 (acos_test): Update call to START.
38267 (acos_test_tonearest): Likewise.
38268 (acos_test_towardzero): Likewise.
38269 (acos_test_downward): Likewise.
38270 (acos_test_upward): Likewise.
38271 (acosh_test): Likewise.
38272 (asin_test): Likewise.
38273 (asin_test_tonearest): Likewise.
38274 (asin_test_towardzero): Likewise.
38275 (asin_test_downward): Likewise.
38276 (asin_test_upward): Likewise.
38277 (asinh_test): Likewise.
38278 (atan_test): Likewise.
38279 (atanh_test): Likewise.
38280 (atan2_test): Likewise.
38281 (cabs_test): Likewise.
38282 (cacos_test): Likewise.
38283 (cacosh_test): Likewise.
38284 (carg_test): Likewise.
38285 (casin_test): Likewise.
38286 (casinh_test): Likewise.
38287 (catan_test): Likewise.
38288 (catanh_test): Likewise.
38289 (cbrt_test): Likewise.
38290 (ccos_test): Likewise.
38291 (ccosh_test): Likewise.
38292 (ceil_test): Likewise.
38293 (cexp_test): Likewise.
38294 (cimag_test): Likewise.
38295 (clog_test): Likewise.
38296 (clog10_test): Likewise.
38297 (conj_test): Likewise.
38298 (copysign_test): Likewise.
38299 (cos_test): Likewise.
38300 (cos_test_tonearest): Likewise.
38301 (cos_test_towardzero): Likewise.
38302 (cos_test_downward): Likewise.
38303 (cos_test_upward): Likewise.
38304 (cosh_test): Likewise.
38305 (cosh_test_tonearest): Likewise.
38306 (cosh_test_towardzero): Likewise.
38307 (cosh_test_downward): Likewise.
38308 (cosh_test_upward): Likewise.
38309 (cpow_test): Likewise.
38310 (cproj_test): Likewise.
38311 (creal_test): Likewise.
38312 (csin_test): Likewise.
38313 (csinh_test): Likewise.
38314 (csqrt_test): Likewise.
38315 (ctan_test): Likewise.
38316 (ctan_test_tonearest): Likewise.
38317 (ctan_test_towardzero): Likewise.
38318 (ctan_test_downward): Likewise.
38319 (ctan_test_upward): Likewise.
38320 (ctanh_test): Likewise.
38321 (ctanh_test_tonearest): Likewise.
38322 (ctanh_test_towardzero): Likewise.
38323 (ctanh_test_downward): Likewise.
38324 (ctanh_test_upward): Likewise.
38325 (erf_test): Likewise.
38326 (erfc_test): Likewise.
38327 (exp_test): Likewise.
38328 (exp_test_tonearest): Likewise.
38329 (exp_test_towardzero): Likewise.
38330 (exp_test_downward): Likewise.
38331 (exp_test_upward): Likewise.
38332 (exp10_test): Likewise.
38333 (exp10_test_tonearest): Likewise.
38334 (exp10_test_towardzero): Likewise.
38335 (exp10_test_downward): Likewise.
38336 (exp10_test_upward): Likewise.
38337 (pow10_test): Likewise.
38338 (exp2_test): Likewise.
38339 (expm1_test): Likewise.
38340 (expm1_test_tonearest): Likewise.
38341 (expm1_test_towardzero): Likewise.
38342 (expm1_test_downward): Likewise.
38343 (expm1_test_upward): Likewise.
38344 (fabs_test): Likewise.
38345 (fdim_test): Likewise.
38346 (floor_test): Likewise.
38347 (fma_test): Likewise.
38348 (fma_test_towardzero): Likewise.
38349 (fma_test_downward): Likewise.
38350 (fma_test_upward): Likewise.
38351 (fmax_test): Likewise.
38352 (fmin_test): Likewise.
38353 (fmod_test): Likewise.
38354 (fpclassify_test): Likewise.
38355 (frexp_test): Likewise.
38356 (hypot_test): Likewise.
38357 (ilogb_test): Likewise.
38358 (isfinite_test): Likewise.
38359 (finite_test): Likewise.
38360 (isgreater_test): Likewise.
38361 (isgreaterequal_test): Likewise.
38362 (isinf_test): Likewise.
38363 (isless_test): Likewise.
38364 (islessequal_test): Likewise.
38365 (islessgreater_test): Likewise.
38366 (isnan_test): Likewise.
38367 (isnormal_test): Likewise.
38368 (issignaling_test): Likewise.
38369 (isunordered_test): Likewise.
38370 (j0_test): Likewise.
38371 (j1_test): Likewise.
38372 (jn_test): Likewise.
38373 (ldexp_test): Likewise.
38374 (lgamma_test): Likewise.
38375 (gamma_test): Likewise.
38376 (lrint_test): Likewise.
38377 (lrint_test_tonearest): Likewise.
38378 (lrint_test_towardzero): Likewise.
38379 (lrint_test_downward): Likewise.
38380 (lrint_test_upward): Likewise.
38381 (llrint_test): Likewise.
38382 (llrint_test_tonearest): Likewise.
38383 (llrint_test_towardzero): Likewise.
38384 (llrint_test_downward): Likewise.
38385 (llrint_test_upward): Likewise.
38386 (log_test): Likewise.
38387 (log10_test): Likewise.
38388 (log1p_test): Likewise.
38389 (log2_test): Likewise.
38390 (logb_test): Likewise.
38391 (logb_test_downward): Likewise.
38392 (lround_test): Likewise.
38393 (llround_test): Likewise.
38394 (modf_test): Likewise.
38395 (nearbyint_test): Likewise.
38396 (nextafter_test): Likewise.
38397 (nexttoward_test): Likewise.
38398 (pow_test): Likewise.
38399 (pow_test_tonearest): Likewise.
38400 (pow_test_towardzero): Likewise.
38401 (pow_test_downward): Likewise.
38402 (pow_test_upward): Likewise.
38403 (remainder_test): Likewise.
38404 (drem_test): Likewise.
38405 (remainder_test_tonearest): Likewise.
38406 (drem_test_tonearest): Likewise.
38407 (remainder_test_towardzero): Likewise.
38408 (drem_test_towardzero): Likewise.
38409 (remainder_test_downward): Likewise.
38410 (drem_test_downward): Likewise.
38411 (remainder_test_upward): Likewise.
38412 (drem_test_upward): Likewise.
38413 (remquo_test): Likewise.
38414 (rint_test): Likewise.
38415 (rint_test_tonearest): Likewise.
38416 (rint_test_towardzero): Likewise.
38417 (rint_test_downward): Likewise.
38418 (rint_test_upward): Likewise.
38419 (round_test): Likewise.
38420 (scalb_test): Likewise.
38421 (scalbn_test): Likewise.
38422 (scalbln_test): Likewise.
38423 (signbit_test): Likewise.
38424 (sin_test): Likewise.
38425 (sin_test_tonearest): Likewise.
38426 (sin_test_towardzero): Likewise.
38427 (sin_test_downward): Likewise.
38428 (sin_test_upward): Likewise.
38429 (sincos_test): Likewise.
38430 (sinh_test): Likewise.
38431 (sinh_test_tonearest): Likewise.
38432 (sinh_test_towardzero): Likewise.
38433 (sinh_test_downward): Likewise.
38434 (sinh_test_upward): Likewise.
38435 (sqrt_test): Likewise.
38436 (sqrt_test_tonearest): Likewise.
38437 (sqrt_test_towardzero): Likewise.
38438 (sqrt_test_downward): Likewise.
38439 (sqrt_test_upward): Likewise.
38440 (tan_test): Likewise.
38441 (tan_test_tonearest): Likewise.
38442 (tan_test_towardzero): Likewise.
38443 (tan_test_downward): Likewise.
38444 (tan_test_upward): Likewise.
38445 (tanh_test): Likewise.
38446 (tgamma_test): Likewise.
38447 (trunc_test): Likewise.
38448 (y0_test): Likewise.
38449 (y1_test): Likewise.
38450 (yn_test): Likewise.
38451 (significand_test): Likewise.
38452
38453 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38454 individual tests in comment.
38455 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38456 (prev_max_error): New variable.
38457 (prev_real_max_error): Likewise.
38458 (prev_imag_max_error): Likewise.
38459 (compare_ulp_data): Don't refer to test names in comment.
38460 (find_test_ulps): Remove function.
38461 (find_function_ulps): Likewise.
38462 (find_complex_function_ulps): Likewise.
38463 (init_max_error): Take function name as argument. Look up ulps
38464 for that function.
38465 (print_ulps): Remove function.
38466 (print_max_error): Use prev_max_error instead of calling
38467 find_function_ulps.
38468 (print_complex_max_error): Use prev_real_max_error and
38469 prev_imag_max_error instead of calling find_complex_function_ulps.
38470 (check_float_internal): Take max_ulp parameter instead of calling
38471 find_test_ulps. Don't call print_ulps.
38472 (check_float): Update call to check_float_internal.
38473 (check_complex): Update calls to check_float_internal.
38474 (START): Pass argument to init_max_error.
38475 * math/gen-libm-test.pl (%results): Don't include "kind"
38476 information.
38477 (parse_ulps): Don't handle ulps of individual tests.
38478 (print_ulps_file): Likewise.
38479 (output_ulps): Likewise.
38480 * math/README.libm-test: Update.
38481 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38482 individual tests.
38483 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38484 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38485 * sysdeps/arm/libm-test-ulps: Likewise.
38486 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38487 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38488 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38489 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38490 * sysdeps/microblaze/libm-test-ulps: Likewise.
38491 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38492 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38494 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38496 * sysdeps/sh/libm-test-ulps: Likewise.
38497 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38498 * sysdeps/tile/libm-test-ulps: Likewise.
38499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38500
38501 2014-03-04 Joseph Myers <joseph@codesourcery.com>
38502
38503 * math/libm-test.inc (print_complex_max_error): Check separately
38504 whether real and imaginary errors are within allowed range and
38505 pass 0 to print_complex_function_ulps instead of value within
38506 allowed range.
38507
38508 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38509
38510 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38511 formatting.
38512 (get_handles_fopen): Likewise.
38513 (do_write_test): Likewise.
38514
38515 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38516
38517 * libio/fileops.c (do_ftell): Use cached offset when
38518 available.
38519 * libio/iofwide.c (do_ftell_wide): Likewise.
38520 * libio/iofdopen.c (_IO_new_fdopen): Don't use
38521 _IO_file_attach.
38522 * libio/wfileops.c (_IO_fwide): Don't cache offset.
38523
38524 [BZ #16532]
38525 * libio/libioP.h (get_file_offset): New function.
38526 * libio/fileops.c (get_file_offset): Likewise.
38527 (do_ftell): Likewise.
38528 (_IO_new_file_seekoff): Split out ftell logic.
38529 * libio/wfileops.c (do_ftell_wide): Likewise.
38530 (_IO_wfile_seekoff): Split out ftell logic.
38531 * libio/tst-ftell-active-handler.c: New test case.
38532 * libio/Makefile (tests): Add it.
38533
38534 2014-03-03 Roland McGrath <roland@hack.frob.com>
38535
38536 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38537 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38538
38539 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38540
38541 [BZ #16639]
38542 * nscd/connections.c (nscd_init): Call do_exit.
38543 (start_threads): Call do_exit and notify_parent.
38544 (begin_drop_privileges): Call do_exit.
38545 (finish_drop_privileges): Likewise.
38546 * nscd/selinux.c (preserve_capabilities): Likewise.
38547 (install_real_capabilities): Likewise.
38548 (nscd_selinux_enabled): Likewise.
38549 (avc_create_thread): Likewise.
38550 (avc_alloc_lock): Likewise.
38551 (nscd_avc_init): Likewise.
38552 * nscd/nscd.c (parent_fd): New static variable.
38553 (main): Create a pipe between parent and child processes.
38554 Skip closing parent_fd.
38555 (monitor_child): New function.
38556 (do_exit): Likewise.
38557 (notify_parent): Likewise.
38558 * nscd/nscd.h (notify_parent): Likewise.
38559 (do_exit): Likewise.
38560
38561 2014-03-03 Carlos O'Donell <carlos@redhat.com>
38562
38563 * malloc/malloc.c (__libc_calloc): Revert last change.
38564
38565 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38566
38567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38568
38569 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38570
38571 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38573 implementation.
38574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38575 (__libc_ifunc_impl_list): Likewise.
38576 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38577 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38578 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38579 * string/strrchr.c: Define STRRCHR.
38580
38581 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
38582
38583 * benchtest/bench-strtok.c (simple_strtok): Delete.
38584 (strtok_string): Use as benchmark.
38585 * string/strtok (STRTOK): New macro.
38586
38587 2014-02-28 Carlos O'Donell <carlos@redhat.com>
38588
38589 * manual/threads.texi: Add header and standard comments to all
38590 functions.
38591
38592 * elf/dl-lookup.c (check_match): New function.
38593 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38594 (do_lookup_x): Remove nested function check_match. Use non-nested
38595 function check_match.
38596
38597 2014-02-28 Roland McGrath <roland@hack.frob.com>
38598
38599 * csu/Makefile (generated, before-compile): Use += rather than =.
38600 * catgets/Makefile (generated, generated-dirs): Likewise.
38601 * debug/Makefile (generated): Likewise.
38602 * dlfcn/Makefile (generated): Likewise.
38603 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38604 * iconvdata/Makefile (before-compile, generated): Likewise.
38605 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38606 * libio/Makefile (generated): Likewise.
38607 * malloc/Makefile (generated): Likewise.
38608 * manual/Makefile (generated, generated-dirs): Likewise.
38609 * misc/Makefile (generated): Likewise.
38610 * posix/Makefile (generated): Likewise.
38611 * resolv/Makefile (generated): Likewise.
38612 * sunrpc/Makefile (generated, generated-dirs): Likewise.
38613 * timezone/Makefile (generated, generated-dirs): Likewise.
38614
38615 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38616
38617 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38618
38619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38620 power8 implementation.
38621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38622 file: POWER8 llround ifunc implementation.
38623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38624 (__lllround): Add POWER8 implementation.
38625 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38626 POWER8 llround implementation.
38627
38628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38629 power8 implementation.
38630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38631 file: POWER8 llrint ifunc implementation.
38632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38633 Add POWER8 implementation.
38634 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38635 POWER8 llrint implementation.
38636
38637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38638 power8 implementation.
38639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38640 file: POWER8 finite ifunc implementation.
38641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38642 Add POWER8 implementation.
38643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38644 Likewise.
38645 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38646 POWER8 finite implementation.
38647 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38648
38649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38650 power8 implementation.
38651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38652 file: POWER8 isinf ifunc implementation.
38653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38654 POWER8 implementation.
38655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38656 Likewise.
38657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38658 isinf implementation.
38659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38660
38661 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38662 (INIT_ARCH): Add hwcap2 initialization.
38663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38664 power8 implementation.
38665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38666 file: POWER8 isnan ifunc implementation.
38667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38668 POWER8 implementation.
38669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38670 Likewise.
38671 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38672 isnan implementation.
38673 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38674
38675 2014-02-27 Joey Ye <joey.ye@arm.com>
38676
38677 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38678 (_FP_NANFRAC_Q): Set to zero.
38679
38680 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38681
38682 [BZ #16623]
38683 * math/auto-libm-test-in: New test inputs.
38684 * math/auto-libm-test-out: Regenerate.
38685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38686 and DA.
38687 (__cos): Likewise.
38688 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38689
38690 2014-02-27 Joseph Myers <joseph@codesourcery.com>
38691
38692 * scripts/evaluate-test.sh: Take new argument indicating whether
38693 failure is expected.
38694 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38695 indicating whether failure is expected.
38696 * conform/Makefile (test-xfail-run-conformtest): New variable.
38697 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38698 level.
38699 * posix/Makefile (test-xfail-annexc): New variable.
38700 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38701
38702 2014-02-26 Joseph Myers <joseph@codesourcery.com>
38703
38704 * argp/Makefile: Include Makeconfig immediately after defining
38705 subdir.
38706 * assert/Makefile: Likewise.
38707 * benchtests/Makefile: Likewise.
38708 * catgets/Makefile: Likewise.
38709 * conform/Makefile: Likewise.
38710 * crypt/Makefile: Likewise.
38711 * csu/Makefile: Likewise.
38712 (all): Remove target.
38713 * ctype/Makefile: Include Makeconfig immediately after defining
38714 subdir.
38715 * debug/Makefile: Likewise.
38716 * dirent/Makefile: Likewise.
38717 * dlfcn/Makefile: Likewise.
38718 * gmon/Makefile: Likewise.
38719 * gnulib/Makefile: Likewise.
38720 * grp/Makefile: Likewise.
38721 * gshadow/Makefile: Likewise.
38722 * hesiod/Makefile: Likewise.
38723 * hurd/Makefile: Likewise.
38724 (all): Remove target.
38725 * iconvdata/Makefile: Include Makeconfig immediately after
38726 defining subdir.
38727 * inet/Makefile: Likewise.
38728 * intl/Makefile: Likewise.
38729 * io/Makefile: Likewise.
38730 * libio/Makefile: Likewise.
38731 (all): Remove target.
38732 * locale/Makefile: Include Makeconfig immediately after defining
38733 subdir.
38734 * login/Makefile: Likewise.
38735 * mach/Makefile: Likewise.
38736 (all): Remove target.
38737 * malloc/Makefile: Include Makeconfig immediately after defining
38738 subdir.
38739 (all): Remove target.
38740 * manual/Makefile: Include Makeconfig immediately after defining
38741 subdir.
38742 * math/Makefile: Likewise.
38743 * misc/Makefile: Likewise.
38744 * nis/Makefile: Likewise.
38745 * nss/Makefile: Likewise.
38746 * po/Makefile: Likewise.
38747 (all): Remove target.
38748 * posix/Makefile: Include Makeconfig immediately after defining
38749 subdir.
38750 * pwd/Makefile: Likewise.
38751 * resolv/Makefile: Likewise.
38752 * resource/Makefile: Likewise.
38753 * rt/Makefile: Likewise.
38754 * setjmp/Makefile: Likewise.
38755 * shadow/Makefile: Likewise.
38756 * signal/Makefile: Likewise.
38757 * socket/Makefile: Likewise.
38758 * soft-fp/Makefile: Likewise.
38759 * stdio-common/Makefile: Likewise.
38760 * stdlib/Makefile: Likewise.
38761 * streams/Makefile: Likewise.
38762 * string/Makefile: Likewise.
38763 * sunrpc/Makefile: Likewise.
38764 (all): Remove target.
38765 * sysvipc/Makefile: Include Makeconfig immediately after defining
38766 subdir.
38767 * termios/Makefile: Likewise.
38768 * time/Makefile: Likewise.
38769 * timezone/Makefile: Likewise.
38770 (all): Remove target.
38771 * wcsmbs/Makefile: Include Makeconfig immediately after defining
38772 subdir.
38773 * wctype/Makefile: Likewise.
38774
38775 2014-02-26 Steve Ellcey <sellcey@mips.com>
38776
38777 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38778 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38779 (libc_feholdexcept_setround_mips): Ditto.
38780 (libc_feholdsetround): New.
38781 (libc_feholdsetroundf): New.
38782 (libc_feholdsetroundl): New.
38783 (libc_feupdateenv_test_mips): New.
38784 (libc_feupdateenv_test): New.
38785 (libc_feupdateenv_testf): New.
38786 (libc_feupdateenv_testl): New.
38787 (libc_feresetround): New.
38788 (libc_feresetroundf): New.
38789 (libc_feresetroundl): New.
38790 (libc_fetestexcept_mips): New.
38791 (libc_fetestexcept): New.
38792 (libc_fetestexceptf): New.
38793 (libc_fetestexceptl): New.
38794 (HAVE_RM_CTX): New.
38795 (libc_feholdexcept_setround_mips_ctx): New.
38796 (libc_feholdexcept_setround_ctx): New.
38797 (libc_feholdexcept_setroundf_ctx): New.
38798 (libc_feholdexcept_setroundl_ctx): New.
38799 (libc_fesetenv_mips_ctx): New.
38800 (libc_fesetenv_ctx): New.
38801 (libc_fesetenv_ctxf): New.
38802 (libc_fesetenv_ctxl): New.
38803 (libc_feupdateenv_mips_ctx): New.
38804 (libc_feupdateenv_ctx): New.
38805 (libc_feupdateenvf_ctx): New.
38806 (libc_feupdateenvl_ctx): New.
38807 (libc_feholdsetround_mips_ctx): New.
38808 (libc_feholdsetround_ctx): New.
38809 (libc_feholdsetroundf_ctx): New.
38810 (libc_feholdsetroundl_ctx): New.
38811 (libc_feresetround_mips_ctx): New.
38812 (libc_feresetround_ctx): New.
38813 (libc_feresetroundf_ctx): New.
38814 (libc_feresetroundl_ctx): New.
38815
38816 2014-02-26 Carlos O'Donell <carlos@redhat.com>
38817
38818 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38819
38820 * manual/ipc.texi: New file.
38821 * manual/Makefile (chapters): Add ipc.
38822 * manual/job.texi: Add "Inter-Process Communication" to next.
38823 * manual/process.texi: Add "Inter-Process Communication" to prev.
38824
38825 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38826
38827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38828
38829 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
38830
38831 * malloc/malloc.c (__libc_calloc): Simplify implementation.
38832
38833 * manual/arith.texi: Fix spaces after sentences.
38834 * manual/charset.texi: Likewise.
38835 * manual/errno.texi: Likewise.
38836 * manual/install.texi: Likewise.
38837 * manual/llio.texi: Likewise.
38838 * manual/locale.texi: Likewise.
38839 * manual/maint.texi: Likewise.
38840 * manual/math.texi: Likewise.
38841 * manual/memory.texi: Likewise.
38842 * manual/message.texi: Likewise.
38843 * manual/probes.texi: Likewise.
38844 * manual/resource.texi: Likewise.
38845 * manual/signal.texi: Likewise.
38846 * manual/socket.texi: Likewise.
38847 * manual/stdio.texi: Likewise.
38848 * manual/string.texi: Likewise.
38849 * manual/time.texi: Likewise.
38850 * manual/users.texi: Likewise.
38851
38852 2014-02-25 Carlos O'Donell <carlos@redhat.com>
38853
38854 [BZ #16632]
38855 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38856 _DEFAULT_SOURCE is defined.
38857
38858 2014-02-25 Ulrich Drepper <drepper@gmail.com>
38859 Carlos O'Donell <carlos@redhat.com>
38860
38861 [BZ #16613]
38862 * elf/dl-tls.c (_dl_count_modids): New function.
38863 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38864 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38865 audit library and increment generation counter.
38866 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38867 * elf/tst-audit9.c: New file.
38868 * elf/tst-auditmod9a.c: New file.
38869 * elf/tst-auditmod9b.c: New file.
38870 * elf/Makefile: Add rules to build and run tst-audit9.
38871
38872 2014-02-25 Florian Weimer <fweimer@redhat.com>
38873
38874 [BZ #15347]
38875 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38876
38877 2014-02-25 Will Newton <will.newton@linaro.org>
38878
38879 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38880 (__longjmp): Restore sp and lr before restoring callee
38881 saved registers. Add longjmp and longjmp_target
38882 SystemTap probe point.
38883 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38884 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38885 Define to zero to match jmpbuf layout.
38886 * sysdeps/arm/setjmp.S: Include stap-probe.h.
38887 (__sigsetjmp): Save sp and lr before saving callee
38888 saved registers. Add setjmp SystemTap probe point.
38889
38890 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38891
38892 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38893
38894 2014-02-24 Andreas Schwab <schwab@suse.de>
38895
38896 [BZ #15804]
38897 * elf/pldd.c (wait_for_ptrace_stop): New function.
38898 (main): Call it after attaching.
38899
38900 2014-02-22 Roland McGrath <roland@hack.frob.com>
38901
38902 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38903 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38904 Versions files is now verboten.
38905 * hurd/Versions (libc: GLIBC_2.0):
38906 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38907 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38908 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38909 * mach/Versions: Likewise.
38910
38911 * csu/Versions: Remove unused %include.
38912 * resolv/Versions: Likewise.
38913
38914 2014-02-21 Joseph Myers <joseph@codesourcery.com>
38915
38916 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38917 ($(objpfx)check-local-headers.out): Likewise.
38918 ($(objpfx)begin-end-check.out): Likewise.
38919 * Makerules (check-abi-%.out): Likewise.
38920 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38921 ($(objpfx)test2.cat): Likewise.
38922 ($(objpfx)de/libc.cat): Likewise.
38923 ($(objpfx)test-gencat.out): Likewise.
38924 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38925 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38926 ($(objpfx)noload-mem): Likewise.
38927 ($(objpfx)tst-pathopt.out): Likewise.
38928 ($(objpfx)tst-rtld-load-self.out): Likewise.
38929 ($(objpfx)tst-array1-cmp.out): Likewise.
38930 ($(objpfx)tst-array1-static-cmp.out): Likewise.
38931 ($(objpfx)tst-array2-cmp.out): Likewise.
38932 ($(objpfx)tst-array3-cmp.out): Likewise.
38933 ($(objpfx)tst-array4-cmp.out): Likewise.
38934 ($(objpfx)tst-array5-cmp.out): Likewise.
38935 ($(objpfx)tst-array5-static-cmp.out): Likewise.
38936 ($(objpfx)check-textrel.out): Likewise.
38937 ($(objpfx)check-execstack.out): Likewise.
38938 ($(objpfx)check-localplt.out): Likewise.
38939 ($(objpfx)order2-cmp.out): Likewise.
38940 ($(objpfx)tst-leaks1-mem): Likewise.
38941 ($(objpfx)tst-leaks1-static-mem): Likewise.
38942 ($(objpfx)tst-initorder-cmp.out): Likewise.
38943 ($(objpfx)tst-initorder2-cmp.out): Likewise.
38944 ($(objpfx)tst-unused-dep.out): Likewise.
38945 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38946 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38947 * iconv/Makefile (test-iconvconfig): Likewise.
38948 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38949 ($(objpfx)iconv-test.out): Likewise.
38950 ($(objpfx)tst-tables.out): Likewise.
38951 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38952 ($(objpfx)tst-gettext.out): Likewise.
38953 ($(objpfx)tst-translit.out): Likewise.
38954 ($(objpfx)tst-gettext2.out): Likewise.
38955 ($(objpfx)tst-gettext4.out): Likewise.
38956 ($(objpfx)tst-gettext6.out): Likewise.
38957 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38958 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38959 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38960 ($(objpfx)tst-fopenloc-mem.out): Likewise.
38961 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38962 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38963 * posix/Makefile ($(objpfx)globtest.out): Likewise.
38964 ($(objpfx)wordexp-tst.out): Likewise.
38965 ($(objpfx)annexc.out): Likewise.
38966 ($(objpfx)tst-fnmatch-mem): Likewise.
38967 ($(objpfx)bug-regex2-mem): Likewise.
38968 ($(objpfx)bug-regex14-mem): Likewise.
38969 ($(objpfx)bug-regex21-mem): Likewise.
38970 ($(objpfx)bug-regex31-mem): Likewise.
38971 ($(objpfx)tst-vfork3-mem): Likewise.
38972 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38973 ($(objpfx)tst-pcre-mem): Likewise.
38974 ($(objpfx)tst-boost-mem): Likewise.
38975 ($(objpfx)tst-getconf.out): Likewise.
38976 ($(objpfx)bug-ga2-mem): Likewise.
38977 ($(objpfx)bug-glob2-mem): Likewise.
38978 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38979 ($(objpfx)mtrace-tst-leaks2): Likewise.
38980 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38981 ($(objpfx)tst-printf.out): Likewise.
38982 ($(objpfx)tst-setvbuf1.out): Likewise.
38983 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38984 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38985 ($(objpfx)tst-fmtmsg.out): Likewise.
38986 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38987 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38988
38989 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38990 * bits/sigaction.h [__USE_MISC]: Likewise.
38991 * bits/waitstatus.h: Update #endif comments.
38992 * ctype/ctype.h: Likewise.
38993 * dirent/dirent.h: Likewise.
38994 [__USE_MISC]: Remove redundant conditionals.
38995 * grp/grp.h: Update #endif comments.
38996 [__USE_GNU]: Remove redundant conditionals.
38997 [__USE_MISC]: Likewise.
38998 * inet/netinet/in.h [__USE_GNU]: Likewise.
38999 * io/sys/stat.h [__USE_MISC]: Likewise.
39000 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39001 * libio/bits/stdio.h: Update #endif comments.
39002 [__USE_MISC]: Remove redundant conditionals.
39003 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39004 * libio/stdio.h: Update #endif comments.
39005 [__USE_MISC]: Remove redundant conditionals.
39006 * math/bits/math-finite.h [__USE_MISC]: Likewise.
39007 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39008 * math/math.h: Update #else and #endif comments.
39009 [__USE_MISC]: Remove redundant conditionals.
39010 * misc/sys/uio.h: Update #endif comments.
39011 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39012 * posix/glob.h [__USE_MISC]: Likewise.
39013 * posix/sys/types.h: Update #endif comments.
39014 [__USE_MISC]: Remove redundant conditionals.
39015 * posix/sys/wait.h: Update #endif comments.
39016 [__USE_MISC]: Remove redundant conditionals.
39017 * posix/unistd.h: Update #endif comments.
39018 [__USE_MISC]: Remove redundant conditionals.
39019 * pwd/pwd.h [__USE_GNU]: Likewise.
39020 [__USE_MISC]: Likewise.
39021 * resolv/netdb.h [__USE_GNU]: Likewise.
39022 * signal/signal.h: Update #endif comments.
39023 [__USE_MISC]: Remove redundant conditionals.
39024 * stdlib/stdlib.h: Update #else and #endif comments.
39025 [__USE_MISC]: Remove redundant conditionals.
39026 [__USE_GNU]: Likewise.
39027 * string/bits/string2.h [__USE_MISC]: Likewise.
39028 * string/string.h: Update #endif comments.
39029 [__USE_MISC]: Remove redundant conditionals.
39030 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39031 Likewise.
39032 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39033 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39034 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39035 Likewise.
39036 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39037 Likewise.
39038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39039 comments.
39040 [__USE_MISC]: Remove redundant conditionals.
39041 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39042 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39043 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39044 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39045 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39046 Likewise.
39047 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39048 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39049 Likewise.
39050 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39051 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39052 Likewise.
39053 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39054 Likewise.
39055 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39056 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39057 Likewise.
39058 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39059 Likewise.
39060 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39061 * sysdeps/x86/bits/string.h: Update #endif comments.
39062 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39063 conditionals.
39064 * time/sys/time.h: Update #endif comments.
39065 * time/time.h: Likewise.
39066 [__USE_MISC]: Remove redundant conditionals.
39067
39068 2014-02-21 Yury Gribov <y.gribov@samsung.com>
39069
39070 [BZ #16600]
39071 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39072
39073 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
39074
39075 * Versions.def (librt): Add GLIBC_2.17.
39076
39077 2014-02-21 Adam Conrad <adconrad@0c3.net>
39078
39079 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39080 synonym for _SYS_AUXV_H to allow direct inclusion.
39081 * sysdeps/sparc/bits/hwcap.h: Likewise.
39082 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39083 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39084 * sysdeps/sparc/sysdep.h: Likewise.
39085
39086 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39087
39088 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39089
39090 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39091
39092 * benchtests/bench-strrchr.c: Print length instead of position.
39093
39094 2014-02-20 Joseph Myers <joseph@codesourcery.com>
39095
39096 [BZ #16611]
39097 * sysdeps/unix/sysv/linux/kernel-features.h
39098 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39099 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39100 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39101 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39102 Likewise.
39103 [__i386__ || __powerpc__ || __sh__ || __sparc__]
39104 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39105 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39106 (__ASSUME_SENDMMSG): Define instead of using previous
39107 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39108 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39109 (__ASSUME_SENDMMSG_SYSCALL): Define.
39110 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39111 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39112 Likewise.
39113 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39114 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39115 Likewise.
39116 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39117 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39118 Likewise.
39119 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39120 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39121 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39122 [__ASSUME_SENDMMSG]: Change conditionals to
39123 [__ASSUME_SENDMMSG_SOCKETCALL].
39124 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39125 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39126 Define.
39127 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39128 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39129 Likewise.
39130 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39131 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39132 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39133 [!__ASSUME_SENDMMSG]: Change conditional to
39134 [!__ASSUME_SENDMMSG_SOCKETCALL].
39135 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39136 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39137 Define.
39138
39139 [BZ #16610]
39140 * sysdeps/unix/sysv/linux/kernel-features.h
39141 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39142 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39143 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39144 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39145 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39146 [__i386__ || __sparc__]
39147 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39148 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39149 (__ASSUME_RECVMMSG): Define instead of using previous
39150 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39151 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39152 (__ASSUME_RECVMMSG_SYSCALL): Define.
39153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39154 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39155 Likewise.
39156 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39157 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39158 Likewise.
39159 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39160 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39161 Likewise.
39162 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39163 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39164 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39165 [__ASSUME_RECVMMSG]: Change condition to
39166 [__ASSUME_RECVMMSG_SOCKETCALL].
39167 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39168 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39169 Define.
39170 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39171 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39172 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39173 Likewise.
39174 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39175 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39176 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39177 [!__ASSUME_RECVMMSG]: Change condition to
39178 [!__ASSUME_RECVMMSG_SOCKETCALL].
39179 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39180 (__ASSUME_RECVMMSG_SYSCALL): Define.
39181
39182 [BZ #16609]
39183 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39184 __powerpc__ || __s390__ || __sh__ || __sparc__]
39185 (__ASSUME_SOCKETCALL): Define.
39186 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39187 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39188 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39189 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39190 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39191 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39192 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39193 (__ASSUME_ACCEPT4): Define instead of using previous
39194 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39195 __powerpc__ || __sparc__ || __s390__)] condition.
39196 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39197 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39198 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39199 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39200 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39201 [!__ASSUME_ACCEPT4]: Change condition to
39202 [!__ASSUME_ACCEPT4_SOCKETCALL].
39203 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39204 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
39205 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39206 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39207 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39208 __ASSUME_ACCEPT4_SYSCALL.
39209 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39210 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39211 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39212 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39213 __ASSUME_ACCEPT4_SYSCALL.
39214 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39215 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39216 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39217 [__ASSUME_ACCEPT4]: Change condition to
39218 [__ASSUME_ACCEPT4_SOCKETCALL].
39219 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39220 (__ASSUME_SOCKETCALL): Define.
39221 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39223 (__ASSUME_SOCKETCALL): Define.
39224 (__ASSUME_ACCEPT4): Remove.
39225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39226 Define.
39227 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39228 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39229 Likewise.
39230 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39231 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39232
39233 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39234 macro.
39235 (HWCAP_ARM_LPAE): Likewise.
39236 (HWCAP_ARM_EVTSTRM): Likewise.
39237 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39238 Add vpfd32, lpae and evtstrm.
39239 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39240 Increase to 22.
39241
39242 2014-02-19 Joseph Myers <joseph@codesourcery.com>
39243
39244 * math/auto-libm-test-in: Add tests of clog10.
39245 * math/auto-libm-test-out: Regenerated.
39246 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39247 * sysdeps/i386/fpu/libm-test-ulps: Update.
39248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39249
39250 2014-02-18 Andreas Schwab <schwab@suse.de>
39251
39252 [BZ #16574]
39253 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39254 Store non-zero if the second buffer was newly allocated.
39255 (send_dg): Likewise.
39256 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39257 to send_vc and send_dg.
39258 (res_nsend): Pass NULL for ansp2_malloced.
39259 * resolv/res_query.c (__libc_res_nquery): Add parameter
39260 answerp2_malloced and pass it down to __libc_res_nsend.
39261 (res_nquery): Pass additional NULL to __libc_res_nquery.
39262 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39263 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
39264 second answer buffer if answerp2_malloced was set.
39265 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39266 (__libc_res_nquerydomain): Add parameter
39267 answerp2_malloced and pass it down to __libc_res_nquery.
39268 (res_nquerydomain): Pass additional NULL to
39269 __libc_res_nquerydomain.
39270 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39271 additional NULL to __libc_res_nsend and __libc_res_nquery.
39272 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39273 additional NULL to __libc_res_nsearch.
39274 (_nss_dns_gethostbyname4_r): Revert last change. Use new
39275 parameter of __libc_res_nsearch to check for separately allocated
39276 second buffer.
39277 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39278 __libc_res_nquery.
39279 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39280 additional NULL to __libc_res_nquery.
39281 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39282 __libc_res_nsearch.
39283 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39284 * include/resolv.h: Update prototypes of __libc_res_nquery,
39285 __libc_res_nsearch, __libc_res_nsend.
39286
39287 2014-02-18 Joseph Myers <joseph@codesourcery.com>
39288
39289 * math/auto-libm-test-in: Add tests of fma.
39290 * math/auto-libm-test-out: Regenerated.
39291 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39292 (fma_towardzero_test_data): Likewise.
39293 (fma_downward_test_data): Likewise.
39294 (fma_upward_test_data): Likewise.
39295 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39296 mpc_mode.
39297 (rounding_modes): Add values for new field.
39298 (func_calc_method): Add value mpfr_fff_f.
39299 (func_calc_desc): Add mpfr_fff_f union field.
39300 (test_function): Add field exact_args.
39301 (FUNC): Add macro argument EXACT_ARGS.
39302 (FUNC_mpfr_f_f): Update call to FUNC.
39303 (FUNC_mpfr_f_f): Likewise.
39304 (FUNC_mpfr_ff_f): Likewise.
39305 (FUNC_mpfr_if_f): Likewise.
39306 (FUNC_mpc_c_f): Likewise.
39307 (FUNC_mpc_c_c): Likewise.
39308 (test_functions): Add fma. Update calls to FUNC.
39309 (handle_input_arg): Add argument exact_args.
39310 (add_test): Update call to handle_input_arg.
39311 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
39312 (output_for_one_input_case): Update call to calc_generic_results.
39313 Recalculate exact zero results in each rounding mode.
39314
39315 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39316 non-negative before setting low bit.
39317 * math/auto-libm-test-in: Mark one asin test possibly having
39318 spurious underflow.
39319 * math/auto-libm-test-out: Regenerated.
39320 * sysdeps/i386/fpu/libm-test-ulps: Update.
39321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39322
39323 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
39324
39325 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39326 * sysdeps/unix/sysv/linux/microblaze: Move directory from
39327 ports/sysdeps/unix/sysv/linux/microblaze.
39328 * README: Add missing listing for microblaze*-*-linux-gnu.
39329
39330 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
39331
39332 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39333 duplicate code
39334
39335 2014-02-16 Mike Frysinger <vapier@gentoo.org>
39336
39337 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39338 * sysdeps/unix/sysv/linux/ia64: Move directory from
39339 ports/sysdeps/unix/sysv/linux/ia64.
39340 * README: Update listing for ia64-*-linux-gnu.
39341
39342 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
39343 Joseph Myers <joseph@codesourcery.com>
39344
39345 * Makeconfig (test-name): New variable.
39346 (evaluate-test): Likewise.
39347 * Makerules (do-test-clean): Remove .test-result files.
39348 (common-mostlyclean): Likewise.
39349 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39350 * scripts/evaluate-test.sh: New file.
39351
39352 2014-02-14 Joseph Myers <joseph@codesourcery.com>
39353
39354 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39355 separate $(objpfx)tst-fopenloc-cmp.out and
39356 $(objpfx)tst-fopenloc-mem.out targets.
39357 (tests): Update dependencies.
39358 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39359 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39360 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39361 (tst-rxspencer-no-utf8-ARGS): New variable.
39362 (tst-rxspencer-no-utf8-ENV): Likewise.
39363 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39364 instead of $(objpfx)tst-rxspencer-mem.
39365 ($(objpfx)tst-rxspencer-mem): Change target to
39366 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
39367 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39368 * posix/tst-rxspencer-no-utf8.c: New file.
39369
39370 * elf/Makefile ($(objpfx)order.out): Remove rule.
39371 [$(run-built-tests) = yes] (tests): Depend on
39372 $(objpfx)order-cmp.out.
39373 ($(objpfx)order-cmp.out): New rule.
39374 [$(run-built-tests) = yes] (tests): Depend on
39375 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39376 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39377 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39378 $(objpfx)tst-array5-static-cmp.out.
39379 ($(objpfx)tst-array1.out): Remove rule.
39380 ($(objpfx)tst-array1-cmp.out): New rule.
39381 ($(objpfx)tst-array1-static.out): Remove rule.
39382 ($(objpfx)tst-array1-static-cmp.out): New rule.
39383 ($(objpfx)tst-array2.out): Remove rule.
39384 ($(objpfx)tst-array2-cmp.out): New rule.
39385 ($(objpfx)tst-array3.out): Remove rule.
39386 ($(objpfx)tst-array3-cmp.out): New rule.
39387 ($(objpfx)tst-array4.out): Remove rule.
39388 ($(objpfx)tst-array4-cmp.out): New rule.
39389 ($(objpfx)tst-array5.out): Remove rule.
39390 ($(objpfx)tst-array5-cmp.out): New rule.
39391 ($(objpfx)tst-array5-static.out): Remove rule.
39392 ($(objpfx)tst-array5-static-cmp.out): New rule.
39393 [$(run-built-tests) = yes] (tests): Depend on
39394 $(objpfx)order2-cmp.out.
39395 ($(objpfx)order2.out): Remove rule.
39396 ($(objpfx)order2-cmp.out): New rule.
39397 ($(objpfx)tst-initorder.out): Remove rule.
39398 [$(run-built-tests) = yes] (tests): Depend on
39399 $(objpfx)tst-initorder-cmp.out.
39400 ($(objpfx)tst-initorder-cmp.out): New rule.
39401 ($(objpfx)tst-initorder2.out): Remove rule.
39402 [$(run-built-tests) = yes] (tests): Depend on
39403 $(objpfx)tst-initorder2-cmp.out.
39404 ($(objpfx)tst-initorder2-cmp.out): New rule.
39405 [$(run-built-tests) = yes] (tests): Depend on
39406 $(objpfx)tst-unused-dep-cmp.out.
39407 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39408 ($(objpfx)tst-unused-dep-cmp.out): New rule.
39409 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39410 on $(objpfx)tst-setvbuf1-cmp.out.
39411 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39412 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39413 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39414 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39415 ($(objpfx)tst-svc.out): Remove rule.
39416 ($(objpfx)tst-svc-cmp.out): New rule.
39417
39418 2014-02-13 Joseph Myers <joseph@codesourcery.com>
39419
39420 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39421 * ctype/ctype.h [__USE_MISC]: Likewise.
39422 * dirent/dirent.h [__USE_MISC]: Likewise.
39423 * grp/grp.h [__USE_MISC]: Likewise.
39424 * io/fcntl.h [__USE_MISC]: Likewise.
39425 * io/sys/stat.h [__USE_MISC]: Likewise.
39426 * libio/stdio.h [__USE_MISC]: Likewise.
39427 * posix/unistd.h [__USE_MISC]: Likewise.
39428 * pwd/pwd.h [__USE_MISC]: Likewise.
39429 * stdlib.h [__USE_MISC]: Likewise.
39430 * string/bits/string2.h [__USE_MISC]: Likewise.
39431 * string/string.h [__USE_MISC]: Likewise.
39432 * time/time.h [__USE_MISC]: Likewise.
39433
39434 2014-02-13 Andreas Schwab <schwab@suse.de>
39435
39436 [BZ #16574]
39437 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39438 second answer buffer if it was separately allocated.
39439
39440 2014-02-12 Joseph Myers <joseph@codesourcery.com>
39441
39442 * sysdeps/mips/math-tests.h: Include <features.h>.
39443 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39444 (ROUNDING_TESTS_long_double): Do not define.
39445 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39446 (EXCEPTION_TESTS_long_double): Likewise.
39447 * sysdeps/mips/mips64/libm-test-ulps: Update.
39448
39449 * include/features.h (__USE_BSD): Remove macro definitions.
39450 (__USE_SVID): Likewise.
39451 (_BSD_SOURCE): Likewise.
39452 (_SVID_SOURCE): Likewise.
39453 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39454 from definition of _DEFAULT_SOURCE.
39455 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39456 [_DEFAULT_SOURCE].
39457 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39458 * bits/mman.h [__USE_BSD]: Likewise.
39459 * bits/termios.h [__USE_BSD]: Likewise.
39460 * bits/waitstatus.h [__USE_BSD]: Likewise.
39461 * ctype/ctype.h [__USE_SVID]: Likewise.
39462 * dirent/dirent.h [__USE_BSD]: Likewise.
39463 * grp/grp.h [__USE_SVID]: Likewise.
39464 [__USE_BSD]: Likewise.
39465 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39466 * io/fcntl.h [__USE_BSD]: Likewise.
39467 * io/ftw.h [__USE_BSD]: Likewise.
39468 * io/sys/stat.h [__USE_BSD]: Likewise.
39469 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39470 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39471 * libio/stdio.h [__USE_SVID]: Likewise.
39472 [__USE_BSD]: Likewise.
39473 * math/math.h [__USE_SVID]: Likewise.
39474 [__USE_BSD]: Likewise.
39475 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39476 * misc/bits/syslog.h [__USE_BSD]: Likewise.
39477 * misc/search.h [__USE_SVID]: Likewise.
39478 * misc/sys/mman.h [__USE_BSD]: Likewise.
39479 * misc/sys/syslog.h [__USE_BSD]: Likewise.
39480 * misc/sys/uio.h [__USE_BSD]: Likewise.
39481 * posix/bits/unistd.h [__USE_BSD]: Likewise.
39482 * posix/glob.h [__USE_BSD]: Likewise.
39483 * posix/regex.h [__USE_BSD]: Likewise.
39484 * posix/sys/types.h [__USE_BSD]: Likewise.
39485 [__USE_SVID]: Likewise.
39486 * posix/sys/utsname.h [__USE_SVID]: Likewise.
39487 * posix/sys/wait.h [__USE_BSD]: Likewise.
39488 [__USE_SVID]: Likewise.
39489 * posix/unistd.h [__USE_BSD]: Likewise.
39490 [__USE_SVID]: Likewise.
39491 * pwd/pwd.h [__USE_SVID]: Likewise.
39492 * resolv/netdb.h [__USE_BSD]: Likewise.
39493 * setjmp/setjmp.h [__USE_BSD]: Likewise.
39494 * signal/signal.h [__USE_BSD]: Likewise.
39495 [__USE_SVID]: Likewise.
39496 * socket/sys/socket.h [__USE_BSD]: Likewise.
39497 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39498 * stdlib/stdlib.h [__USE_BSD]: Likewise.
39499 [__USE_SVID]: Likewise.
39500 * string/bits/string2.h [__USE_BSD]: Likewise.
39501 [__USE_SVID]: Likewise.
39502 * string/bits/string3.h [__USE_BSD]: Likewise.
39503 * string/endian.h [__USE_BSD]: Likewise.
39504 * string/string.h [__USE_SVID]: Likewise.
39505 [__USE_BSD]: Likewise.
39506 * string/strings.h [__USE_BSD]: Likewise.
39507 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39508 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39509 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39510 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39511 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39512 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39513 Likewise.
39514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39515 Likewise.
39516 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39517 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39518 Likewise.
39519 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39520 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39521 Likewise.
39522 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39523 Likewise.
39524 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39525 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39526 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39527 Likewise.
39528 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39529 Likewise.
39530 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39531 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39532 * termios/termios.h [__USE_BSD]: Likewise.
39533 * time/sys/time.h [__USE_BSD]: Likewise.
39534 * time/time.h [__USE_BSD]: Likewise.
39535 [__USE_SVID]: Likewise.
39536
39537 * Makefile (subdir_targets): Remove subdir_lint.out.
39538
39539 * stdio-common/Makefile (do-tst-unbputc): Remove target.
39540 (do-tst-printf): Likewise.
39541 (tests): Depend directly on $(objpfx)tst-unbputc.out and
39542 $(objpfx)tst-printf.out.
39543
39544 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39545
39546 * Makerules (check-abi-%): Change target to
39547 $(objpfx)check-abi-%.out.
39548 (check-abi target): Update dependencies.
39549 (check-abi-pattern variable): Redirect output of diff to $@.
39550 (check-abi variable): Likewise.
39551 * elf/Makefile (check-abi): Update dependencies.
39552
39553 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39554 unused.
39555 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39556 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39557 subnormal range.
39558 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39559 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39560 value has largest subnormal exponent.
39561 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39562 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39563 * sysdeps/aarch64/soft-fp/sfp-machine.h
39564 (_FP_TININESS_AFTER_ROUNDING): New macro.
39565 * sysdeps/alpha/soft-fp/sfp-machine.h
39566 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39567 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39568 Likewise.
39569 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39570 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39571 * sysdeps/mips/soft-fp/sfp-machine.h
39572 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39573 * sysdeps/powerpc/soft-fp/sfp-machine.h
39574 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39575 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39576 Likewise.
39577 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39578 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39579 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39580 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39581 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39582 Likewise.
39583
39584 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
39585
39586 [BZ #16545]
39587 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39588 model 1.
39589
39590 2014-02-12 Richard Henderson <rth@redhat.com>
39591
39592 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39593 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39594 * sysdeps/unix/sysv/linux/alpha: Move directory from
39595 ports/sysdeps/unix/sysv/linux/alpha.
39596 * README: Update listing for alpha-*-linux-gnu.
39597
39598 2014-02-11 Joseph Myers <joseph@codesourcery.com>
39599
39600 * include/features.h: Update comment documenting feature test
39601 macros.
39602 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
39603 _DEFAULT_SOURCE.
39604 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39605 (_SVID_SOURCE): Likewise.
39606 (_DEFAULT_SOURCE): Update description of default features.
39607 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39608 with _GNU_SOURCE.
39609 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39610 (S_ISVTX): Likewise.
39611 * manual/math.texi (Mathematical Constants): Likewise.
39612 * manual/signal.texi (Interrupted Primitives): Likewise.
39613 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39614 * math/test-matherr.c (_SVID_SOURCE): Do not define.
39615 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39616 Don't refer to _SVID_SOURCE in warning text.
39617
39618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39619
39620 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39621 already defined.
39622 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39623 * sysdeps/mips/dl-lookup.c: Remove.
39624 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39625
39626 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
39627
39628 [BZ #16447]
39629 * math/auto-libm-test-in: Add testcase for expl.
39630 * math/auto-libm-test-out: Regenerate.
39631 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39632 calculation of unsafe.
39633 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39634
39635 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
39636
39637 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39638 * sysdeps/unix/sysv/linux/aarch64: Move directory from
39639 ports/sysdeps/unix/sysv/linux/aarch64.
39640 * README: Update listing for aarch64*-*-linux-gnu.
39641
39642 2014-02-11 Will Newton <will.newton@linaro.org>
39643
39644 * manual/probes.texi (Mathematical Function Probes): Use
39645 "triggered" instead of "hit".
39646
39647 * manual/probes.texi (Internal Probes): Add documentation
39648 of setjmp, longjmp and longjmp_target probes.
39649
39650 * include/stap-probe.h: Add comment about probe argument
39651 format.
39652
39653 * malloc/mtrace.c (attribute_hidden): Remove unused macro
39654 definition. (tr_where, tr_freehook, tr_mallochook,
39655 tr_reallochook, tr_memalignhook): Use ANSI protoype.
39656
39657 2014-02-11 David S. Miller <davem@davemloft.net>
39658
39659 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39660 processing int_tests.
39661
39662 2014-02-10 Joseph Myers <joseph@codesourcery.com>
39663
39664 * sysdeps/mips: Move directory from ports/sysdeps/mips.
39665 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39666 * sysdeps/unix/sysv/linux/mips: Move directory from
39667 ports/sysdeps/unix/sysv/linux/mips.
39668 * README: Update listing for mips-*-linux-gnu and
39669 mips64-*-linux-gnu.
39670
39671 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
39672
39673 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39674 * sysdeps/unix/sysv/linux/m68k: Move directory from
39675 ports/sysdeps/unix/sysv/linux/m68k.
39676 * README: Update listing for m68k-*-linux-gnu.
39677
39678 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
39679
39680 * sysdeps/tile: Move directory from ports/sysdeps/tile.
39681 * sysdeps/unix/sysv/linux/generic: Move directory from
39682 ports/sysdeps/unix/sysv/linux/generic.
39683 * sysdeps/unix/sysv/linux/tile: Move directory from
39684 ports/sysdeps/unix/sysv/linux/tile.
39685 * README: Update listing for tile*-*-linux-gnu.
39686
39687 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
39688
39689 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39690 __builtin_expect.
39691 * benchtests/bench-memmem.c (simple_memmem): Likewise.
39692 * catgets/open_catalog.c (__open_catalog): Likewise.
39693 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39694 * debug/confstr_chk.c: Likewise.
39695 * debug/fread_chk.c (__fread_chk): Likewise.
39696 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39697 * debug/getgroups_chk.c: Likewise.
39698 * debug/mbsnrtowcs_chk.c: Likewise.
39699 * debug/mbsrtowcs_chk.c: Likewise.
39700 * debug/mbstowcs_chk.c: Likewise.
39701 * debug/memcpy_chk.c: Likewise.
39702 * debug/memmove_chk.c: Likewise.
39703 * debug/mempcpy_chk.c: Likewise.
39704 * debug/memset_chk.c: Likewise.
39705 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39706 * debug/strcat_chk.c (__strcat_chk): Likewise.
39707 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39708 * debug/strncat_chk.c (__strncat_chk): Likewise.
39709 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39710 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39711 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39712 * debug/wcpncpy_chk.c: Likewise.
39713 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39714 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39715 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39716 * debug/wcsncpy_chk.c: Likewise.
39717 * debug/wcsnrtombs_chk.c: Likewise.
39718 * debug/wcsrtombs_chk.c: Likewise.
39719 * debug/wcstombs_chk.c: Likewise.
39720 * debug/wmemcpy_chk.c: Likewise.
39721 * debug/wmemmove_chk.c: Likewise.
39722 * debug/wmempcpy_chk.c: Likewise.
39723 * debug/wmemset_chk.c: Likewise.
39724 * dirent/scandirat.c (SCANDIRAT): Likewise.
39725 * dlfcn/dladdr1.c (dladdr1): Likewise.
39726 * dlfcn/dladdr.c (dladdr): Likewise.
39727 * dlfcn/dlclose.c (dlclose_doit): Likewise.
39728 * dlfcn/dlerror.c (__dlerror): Likewise.
39729 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39730 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39731 * dlfcn/dlopen.c (dlopen_doit): Likewise.
39732 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39733 * dlfcn/dlsym.c (dlsym_doit): Likewise.
39734 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39735 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39736 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39737 Likewise.
39738 * elf/dl-conflict.c: Likewise.
39739 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39740 * elf/dl-dst.h: Likewise.
39741 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39742 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39743 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39744 * elf/dl-init.c (call_init, _dl_init): Likewise.
39745 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39746 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39747 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39748 Likewise.
39749 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39750 Likewise.
39751 * elf/dl-minimal.c (__libc_memalign): Likewise.
39752 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39753 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39754 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39755 * elf/dl-sym.c (do_sym): Likewise.
39756 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39757 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39758 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39759 * elf/dl-writev.h (_dl_writev): Likewise.
39760 * elf/ldconfig.c (search_dir): Likewise.
39761 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39762 (dl_main): Likewise.
39763 * elf/setup-vdso.h (setup_vdso): Likewise.
39764 * grp/compat-initgroups.c (compat_call): Likewise.
39765 * grp/fgetgrent.c (fgetgrent): Likewise.
39766 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39767 * grp/putgrent.c (putgrent): Likewise.
39768 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39769 Likewise.
39770 * hurd/hurdinit.c: Likewise.
39771 * iconvdata/8bit-gap.c (struct): Likewise.
39772 * iconvdata/ansi_x3.110.c : Likewise.
39773 * iconvdata/big5.c : Likewise.
39774 * iconvdata/big5hkscs.c : Likewise.
39775 * iconvdata/cp1255.c: Likewise.
39776 * iconvdata/cp1258.c : Likewise.
39777 * iconvdata/cp932.c : Likewise.
39778 * iconvdata/euc-cn.c: Likewise.
39779 * iconvdata/euc-jisx0213.c : Likewise.
39780 * iconvdata/euc-jp.c: Likewise.
39781 * iconvdata/euc-jp-ms.c : Likewise.
39782 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39783 * iconvdata/gb18030.c : Likewise.
39784 * iconvdata/gbbig5.c (const): Likewise.
39785 * iconvdata/gbgbk.c: Likewise.
39786 * iconvdata/gbk.c : Likewise.
39787 * iconvdata/ibm1364.c : Likewise.
39788 * iconvdata/ibm930.c : Likewise.
39789 * iconvdata/ibm932.c: Likewise.
39790 * iconvdata/ibm933.c : Likewise.
39791 * iconvdata/ibm935.c : Likewise.
39792 * iconvdata/ibm937.c : Likewise.
39793 * iconvdata/ibm939.c : Likewise.
39794 * iconvdata/ibm943.c: Likewise.
39795 * iconvdata/iso_11548-1.c: Likewise.
39796 * iconvdata/iso-2022-cn.c : Likewise.
39797 * iconvdata/iso-2022-cn-ext.c : Likewise.
39798 * iconvdata/iso-2022-jp-3.c: Likewise.
39799 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39800 * iconvdata/iso-2022-kr.c : Likewise.
39801 * iconvdata/iso646.c (gconv_end): Likewise.
39802 * iconvdata/iso_6937-2.c : Likewise.
39803 * iconvdata/iso_6937.c : Likewise.
39804 * iconvdata/iso8859-1.c: Likewise.
39805 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39806 * iconvdata/shift_jisx0213.c : Likewise.
39807 * iconvdata/sjis.c : Likewise.
39808 * iconvdata/t.61.c : Likewise.
39809 * iconvdata/tcvn5712-1.c : Likewise.
39810 * iconvdata/tscii.c: Likewise.
39811 * iconvdata/uhc.c : Likewise.
39812 * iconvdata/unicode.c (gconv_end): Likewise.
39813 * iconvdata/utf-16.c (gconv_end): Likewise.
39814 * iconvdata/utf-32.c (gconv_end): Likewise.
39815 * iconvdata/utf-7.c (base64): Likewise.
39816 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39817 * iconv/gconv_close.c (__gconv_close): Likewise.
39818 * iconv/gconv_open.c (__gconv_open): Likewise.
39819 * iconv/gconv_simple.c (internal_ucs4_loop_single)
39820 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39821 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39822 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39823 (ucs4le_internal_loop_single): Likewise.
39824 * iconv/iconv.c (iconv): Likewise.
39825 * iconv/iconv_close.c: Likewise.
39826 * iconv/loop.c (SINGLE): Likewise.
39827 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39828 * include/atomic.h: Likewise.
39829 * inet/inet6_option.c (option_alloc): Likewise.
39830 * intl/bindtextdom.c (set_binding_values): Likewise.
39831 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39832 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39833 * intl/localealias.c (read_alias_file): Likewise.
39834 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39835 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39836 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39837 * libio/fmemopen.c (fmemopen): Likewise.
39838 * libio/iofgets.c (_IO_fgets): Likewise.
39839 * libio/iofgets_u.c (fgets_unlocked): Likewise.
39840 * libio/iofgetws.c (fgetws): Likewise.
39841 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39842 * libio/iogetdelim.c (_IO_getdelim): Likewise.
39843 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39844 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39845 * locale/findlocale.c (_nl_find_locale): Likewise.
39846 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39847 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39848 Likewise.
39849 * locale/setlocale.c (setlocale): Likewise.
39850 * login/programs/pt_chown.c (main): Likewise.
39851 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39852 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39853 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39854 (mmap, mmap64, mremap, munmap): Likewise.
39855 * math/e_exp2l.c: Likewise.
39856 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39857 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39858 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39859 * math/s_catan.c (__catan): Likewise.
39860 * math/s_catanf.c (__catanf): Likewise.
39861 * math/s_catanh.c (__catanh): Likewise.
39862 * math/s_catanhf.c (__catanhf): Likewise.
39863 * math/s_catanhl.c (__catanhl): Likewise.
39864 * math/s_catanl.c (__catanl): Likewise.
39865 * math/s_ccosh.c (__ccosh): Likewise.
39866 * math/s_ccoshf.c (__ccoshf): Likewise.
39867 * math/s_ccoshl.c (__ccoshl): Likewise.
39868 * math/s_cexp.c (__cexp): Likewise.
39869 * math/s_cexpf.c (__cexpf): Likewise.
39870 * math/s_cexpl.c (__cexpl): Likewise.
39871 * math/s_clog10.c (__clog10): Likewise.
39872 * math/s_clog10f.c (__clog10f): Likewise.
39873 * math/s_clog10l.c (__clog10l): Likewise.
39874 * math/s_clog.c (__clog): Likewise.
39875 * math/s_clogf.c (__clogf): Likewise.
39876 * math/s_clogl.c (__clogl): Likewise.
39877 * math/s_csin.c (__csin): Likewise.
39878 * math/s_csinf.c (__csinf): Likewise.
39879 * math/s_csinh.c (__csinh): Likewise.
39880 * math/s_csinhf.c (__csinhf): Likewise.
39881 * math/s_csinhl.c (__csinhl): Likewise.
39882 * math/s_csinl.c (__csinl): Likewise.
39883 * math/s_csqrt.c (__csqrt): Likewise.
39884 * math/s_csqrtf.c (__csqrtf): Likewise.
39885 * math/s_csqrtl.c (__csqrtl): Likewise.
39886 * math/s_ctan.c (__ctan): Likewise.
39887 * math/s_ctanf.c (__ctanf): Likewise.
39888 * math/s_ctanh.c (__ctanh): Likewise.
39889 * math/s_ctanhf.c (__ctanhf): Likewise.
39890 * math/s_ctanhl.c (__ctanhl): Likewise.
39891 * math/s_ctanl.c (__ctanl): Likewise.
39892 * math/w_pow.c: Likewise.
39893 * math/w_powf.c: Likewise.
39894 * math/w_powl.c: Likewise.
39895 * math/w_scalb.c (sysv_scalb): Likewise.
39896 * math/w_scalbf.c (sysv_scalbf): Likewise.
39897 * math/w_scalbl.c (sysv_scalbl): Likewise.
39898 * misc/error.c (error_tail): Likewise.
39899 * misc/pselect.c (__pselect): Likewise.
39900 * nis/nis_callback.c (__nis_create_callback): Likewise.
39901 * nis/nis_call.c (__nisfind_server): Likewise.
39902 * nis/nis_creategroup.c (nis_creategroup): Likewise.
39903 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39904 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39905 * nis/nis_getservlist.c (nis_getservlist): Likewise.
39906 * nis/nis_lookup.c (nis_lookup): Likewise.
39907 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39908 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39909 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39910 * nis/nis_xdr.c (xdr_endpoint): Likewise.
39911 * nis/nss_compat/compat-grp.c (getgrent_next_file)
39912 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39913 * nis/nss_compat/compat-initgroups.c (add_group)
39914 (internal_getgrent_r): Likewise.
39915 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39916 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39917 * nis/nss_compat/compat-spwd.c (getspent_next_file)
39918 (internal_getspnam_r): Likewise.
39919 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39920 (_nss_nis_getaliasbyname_r): Likewise.
39921 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39922 (_nss_nis_getntohost_r): Likewise.
39923 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39924 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39925 (_nss_nis_getgrgid_r): Likewise.
39926 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39927 (internal_nis_gethostent_r, internal_gethostbyname2_r)
39928 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39929 (_nss_nis_gethostbyname4_r): Likewise.
39930 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39931 (initgroups_netid): Likewise.
39932 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39933 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39934 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39935 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39936 (_nss_nis_getprotobynumber_r): Likewise.
39937 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39938 (_nss_nis_getsecretkey): Likewise.
39939 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39940 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39941 (_nss_nis_getpwuid_r): Likewise.
39942 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39943 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39944 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39945 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39946 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39947 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39948 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39949 Likewise.
39950 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39951 (_nss_nisplus_getntohost_r): Likewise.
39952 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39953 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39954 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39955 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39956 Likewise.
39957 * nis/nss_nisplus/nisplus-initgroups.c
39958 (_nss_nisplus_initgroups_dyn): Likewise.
39959 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39960 (_nss_nisplus_getnetbyaddr_r): Likewise.
39961 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39962 (_nss_nisplus_getprotobynumber_r): Likewise.
39963 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39964 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39965 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39966 Likewise.
39967 * nis/nss_nisplus/nisplus-service.c
39968 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39969 (_nss_nisplus_getservbyport_r): Likewise.
39970 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39971 (_nss_nisplus_getspnam_r): Likewise.
39972 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39973 Likewise.
39974 * nscd/aicache.c (addhstaiX): Likewise.
39975 * nscd/cache.c (cache_search, prune_cache): Likewise.
39976 * nscd/connections.c (register_traced_file, send_ro_fd)
39977 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39978 (main_loop_epoll): Likewise.
39979 * nscd/grpcache.c (addgrbyX): Likewise.
39980 * nscd/hstcache.c (addhstbyX): Likewise.
39981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39982 * nscd/mem.c (gc, mempool_alloc): Likewise.
39983 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39984 (addinnetgrX): Likewise.
39985 * nscd/nscd-client.h (__nscd_acquire_maplock)
39986 (__nscd_drop_map_ref): Likewise.
39987 * nscd/nscd_getai.c (__nscd_getai): Likewise.
39988 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39989 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39990 Likewise.
39991 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39992 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39993 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39994 (__nscd_get_map_ref): Likewise.
39995 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39996 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39997 Likewise.
39998 * nscd/pwdcache.c (addpwbyX): Likewise.
39999 * nscd/selinux.c (preserve_capabilities): Likewise.
40000 * nscd/servicescache.c (addservbyX): Likewise.
40001 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40002 * posix/fnmatch.c (fnmatch): Likewise.
40003 * posix/getopt.c (_getopt_internal_r): Likewise.
40004 * posix/glob.c (glob, glob_in_dir): Likewise.
40005 * posix/wordexp.c (exec_comm_child): Likewise.
40006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40007 (getanswer_r, gaih_getanswer_slice): Likewise.
40008 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40009 * resolv/res_init.c: Likewise.
40010 * resolv/res_mkquery.c (res_nmkquery): Likewise.
40011 * resolv/res_query.c (__libc_res_nquery): Likewise.
40012 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40013 Likewise.
40014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40015 * stdio-common/perror.c (perror): Likewise.
40016 * stdio-common/printf_fp.c (___printf_fp): Likewise.
40017 * stdio-common/tmpnam.c (tmpnam): Likewise.
40018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40019 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40020 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40021 Likewise.
40022 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40023 * stdlib/putenv.c (putenv): Likewise.
40024 * stdlib/setenv.c (__add_to_environ): Likewise.
40025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40026 * stdlib/strtol_l.c (INTERNAL): Likewise.
40027 * string/memmem.c (memmem): Likewise.
40028 * string/strerror.c (strerror): Likewise.
40029 * string/strnlen.c (__strnlen): Likewise.
40030 * string/test-memmem.c (simple_memmem): Likewise.
40031 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40032 * sunrpc/pm_getport.c (__get_socket): Likewise.
40033 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40034 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40035 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40036 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40037 Likewise.
40038 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40040 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40041 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40042 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40043 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40044 Likewise.
40045 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40046 Likewise.
40047 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40048 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40049 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40050 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40051 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40053 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40054 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40055 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40056 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40057 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40059 Likewise.
40060 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40061 Likewise.
40062 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40063 Likewise.
40064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40066 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40068 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40069 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40070 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40079 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40080 Likewise.
40081 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40082 Likewise.
40083 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40084 Likewise.
40085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40086 Likewise.
40087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40089 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40090 Likewise.
40091 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40092 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40093 * sysdeps/posix/opendir.c (__opendirat): Likewise.
40094 * sysdeps/posix/sleep.c: Likewise.
40095 * sysdeps/posix/tempname.c: Likewise.
40096 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40097 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40098 Likewise.
40099 * sysdeps/powerpc/powerpc32/dl-machine.h
40100 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40101 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40103 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40104 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40105 Likewise.
40106 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40107 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40108 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40109 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40110 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40111 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40112 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40113 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40114 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40115 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40116 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40117 (elf_machine_lazy_rel): Likewise.
40118 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40119 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40120 (elf_machine_lazy_rel): Likewise.
40121 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40122 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40123 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40124 * sysdeps/unix/grantpt.c (grantpt): Likewise.
40125 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40126 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40127 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40129 Likewise.
40130 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40131 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40132 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40133 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40134 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40135 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40136 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40137 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40139 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40140 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40141 Likewise.
40142 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40143 (__posix_fallocate64_l64): Likewise.
40144 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40145 (posix_fallocate): Likewise.
40146 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40147 Likewise.
40148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40149 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40150 (getifaddrs_internal): Likewise.
40151 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40152 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40153 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40154 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40155 * sysdeps/unix/sysv/linux/posix_fallocate64.c
40156 (__posix_fallocate64_l64): Likewise.
40157 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40158 Likewise.
40159 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40161 (__get_clockfreq): Likewise.
40162 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40163 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40164 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40165 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40167 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40168 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40169 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40170 Likewise.
40171 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40172 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40173 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40175 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40176 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40177 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40178 Likewise.
40179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40180 (posix_fallocate): Likewise.
40181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40182 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40183 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40184 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40185 (elf_machine_rela, elf_machine_rela_relative)
40186 (elf_machine_lazy_rel): Likewise.
40187 * time/asctime.c (asctime_internal): Likewise.
40188 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40189 * time/tzset.c (__tzset_parse_tz): Likewise.
40190 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40191 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40192 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40193 * wcsmbs/wcsmbsload.h: Likewise.
40194
40195 [BZ #15894]
40196 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40197
40198 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40199 (arena_get2): Remove THREAD_STATS conditionals.
40200 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40201 (__malloc_stats, int): Likewise.
40202
40203 2014-02-08 Mike Frysinger <vapier@gentoo.org>
40204
40205 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40206 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
40207
40208 * manual/setjmp.texi: Fix typos/grammar errors.
40209
40210 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40211 Only return early when n is <= 0. Delete unused return statement.
40212
40213 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40214 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40215 * debug/tst-longjmp_chk3.c: New file.
40216
40217 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40218 (test_main): Replace code with set_fortify_handler call.
40219 * debug/test-strcpy_chk.c: Likewise.
40220 * debug/tst-chk1.c: Likewise.
40221 * debug/tst-longjmp_chk.c: Likewise.
40222 * test-skeleton.c: Include fcntl.h & paths.h
40223 (set_fortify_handler): Define.
40224
40225 * debug/tst-longjmp_chk.c: Add header comment and include
40226 ../test-skeleton.c.
40227 (do_test): Mark static.
40228 (TEST_FUNCTION): Define.
40229
40230 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40231 (IP_PMTUDISC_INTERFACE): Likewise.
40232 (IP_MULTICAST_IF): Likewise.
40233 (IP_MULTICAST_TTL): Likewise.
40234 (IP_MULTICAST_LOOP): Likewise.
40235 (IP_ADD_MEMBERSHIP): Likewise.
40236 (IP_DROP_MEMBERSHIP): Likewise.
40237 (IP_UNBLOCK_SOURCE): Likewise.
40238 (IP_BLOCK_SOURCE): Likewise.
40239 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40240 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40241 (IP_MSFILTER): Likewise.
40242 (MCAST_JOIN_GROUP): Likewise.
40243 (MCAST_BLOCK_SOURCE): Likewise.
40244 (MCAST_UNBLOCK_SOURCE): Likewise.
40245 (MCAST_LEAVE_GROUP): Likewise.
40246 (MCAST_JOIN_SOURCE_GROUP): Likewise.
40247 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40248 (MCAST_MSFILTER): Likewise.
40249 (IP_MULTICAST_ALL): Likewise.
40250 (IP_UNICAST_IF): Likewise.
40251
40252 * timezone/Makefile: Delete $(have-ksh) check.
40253 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40254 * timezone/tzselect.ksh: Add +x mode bits.
40255
40256 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40257 (ANON_INODE_FS_MAGIC): Likewise.
40258 (BDEVFS_MAGIC): Likewise.
40259 (BINFMTFS_MAGIC): Likewise.
40260 (BTRFS_TEST_MAGIC): Likewise.
40261 (CRAMFS_MAGIC_WEND): Likewise.
40262 (DEBUGFS_MAGIC): Likewise.
40263 (ECRYPTFS_SUPER_MAGIC): Likewise.
40264 (EXT3_SUPER_MAGIC): Likewise.
40265 (EXT4_SUPER_MAGIC): Likewise.
40266 (FUTEXFS_SUPER_MAGIC): Likewise.
40267 (HOSTFS_SUPER_MAGIC): Likewise.
40268 (HUGETLBFS_MAGIC): Likewise.
40269 (MINIX3_SUPER_MAGIC): Likewise.
40270 (MTD_INODE_FS_MAGIC): Likewise.
40271 (NILFS_SUPER_MAGIC): Likewise.
40272 (OPENPROM_SUPER_MAGIC): Likewise.
40273 (PIPEFS_MAGIC): Likewise.
40274 (PSTOREFS_MAGIC): Likewise.
40275 (QNX6_SUPER_MAGIC): Likewise.
40276 (RAMFS_MAGIC): Likewise.
40277 (REISERFS_SUPER_MAGIC_STRING): Likewise.
40278 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40279 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40280 (SECURITYFS_MAGIC): Likewise.
40281 (SELINUX_MAGIC): Likewise.
40282 (SMACK_MAGIC): Likewise.
40283 (SOCKFS_MAGIC): Likewise.
40284 (SQUASHFS_MAGIC): Likewise.
40285 (STACK_END_MAGIC): Likewise.
40286 (TMPFS_MAGIC): Likewise.
40287 (USBDEVICE_SUPER_MAGIC): Likewise.
40288 (V9FS_MAGIC): Likewise.
40289 (XENFS_SUPER_MAGIC): Likewise.
40290 (CRAMFS_MAGIC): Fix typo in comment.
40291 (EXT2_SUPER_MAGIC): Update comment.
40292 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40293
40294 2014-02-08 Joseph Myers <joseph@codesourcery.com>
40295
40296 * sysdeps/arm: Move directory from ports/sysdeps/arm.
40297 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40298 * sysdeps/unix/sysv/linux/arm: Move directory from
40299 ports/sysdeps/unix/sysv/linux/arm.
40300 * README: Update listing for arm-*-linux-gnueabi.
40301
40302 * README: Remove mention of am33.
40303
40304 2014-02-07 Roland McGrath <roland@hack.frob.com>
40305
40306 * bits/sigset.h (__sigemptyset): Use a statement expression rather
40307 than the comma operator, to avoid "rhs of comma has no effect"
40308 compiler warnings.
40309 (__sigfillset, __sigandset, __sigorset): Likewise.
40310 * include/signal.h (__sigemptyset): Likewise.
40311 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40312
40313 2014-02-07 Allan McRae <allan@archlinux.org>
40314
40315 * version.h (RELEASE): Set to "development".
40316 (VERSION): Set to "2.19.90"
40317 * NEWS: Add 2.20 section.
40318
40319 2014-02-06 Carlos O'Donell <carlos@redhat.com>
40320
40321 [BZ #16529]
40322 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40323
40324 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40325
40326 * manual/contrib.texi: Update entry for Carlos O'Donell,
40327 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40328
40329 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
40330
40331 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40332
40333 * sysdeps/unix/sysv/linux/kernel-features.h
40334 [__LINUX_KERNEL_VERSION >= 0x020621]
40335 (__ASSUME_PROC_PID_TASK_COMM): Define.
40336
40337 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40338
40339 [BZ #16398]
40340 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40341 conversion when destination buffer does not have enough space.
40342 * libio/tst-ftell-partial-wide.c: New test case.
40343 * libio/Makefile (tests): Add tst-ftell-partial-wide.
40344
40345 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40346 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
40347 Leonard and Allan McRae.
40348
40349 2014-02-04 David S. Miller <davem@davemloft.net>
40350
40351 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40352 32-bit.
40353
40354 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40355
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40357 New file
40358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40359 New file
40360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40361 New file.
40362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40363 New file.
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40365 New file.
40366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40367 New file.
40368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40369 New file.
40370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40371 New file.
40372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40373 New file.
40374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40375 New file.
40376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40377 New file.
40378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40379 New file.
40380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40381 New file.
40382
40383 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40384
40385 * nptl/shlib-versions: Change powerpc*le start to 2.17.
40386 * shlib-versions: Likewise.
40387
40388 2014-02-04 Roland McGrath <roland@hack.frob.com>
40389 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40390
40391 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40392 (abilist-pattern): New variable, set to %-le.abilist.
40393
40394 * Makerules (abilist-pattern): New variable.
40395 (vpath): Use $(abilist-pattern) in place of %.abilist.
40396 (check-abi-% pattern rule): Likewise.
40397 (check-abi, update-abi): Likewise.
40398
40399 2014-02-04 Eric Wong <normalperson@yhbt.net>
40400
40401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40402
40403 2014-02-03 Carlos O'Donell <carlos@redhat.com>
40404
40405 * manual/startup.texi: Add next, previous, and top entries for
40406 the `Program Arguments' and `Environment Variables' nodes.
40407
40408 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
40409
40410 * manual/macros.texi: Add comments before MTASC-safety macros.
40411
40412 * manual/users.texi: Document MTASC-safety properties.
40413
40414 * manual/threads.texi (pthread_key_create, pthread_key_delete)
40415 (pthread_getspecific, pthread_setspecific): Format with
40416 @deftypefun, and add @safety note.
40417 * manual/signal.texi: Move comments that analyze the above
40418 functions to their home place.
40419
40420 2014-02-03 Allan McRae <allan@archlinux.org>
40421
40422 * po/sl.po: Update Slovenian translation from translation project.
40423
40424 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
40425
40426 * manual/time.texi (timegm): Add missing blank after @c.
40427 Reported by Joseph Myers <joseph@codesourcery.com>.
40428
40429 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
40430
40431 * manual/check-safety.sh: New.
40432 * manual/Makefile ($(objpfx)stamp-summary): Run it.
40433
40434 * manual/terminal.texi: Document MTASC-safety properties.
40435
40436 * manual/filesys.texi: Document MTASC-safety properties.
40437
40438 * manual/errno.texi: Document MTASC-safety properties.
40439
40440 * manual/intro.texi: Document safety identifiers and
40441 conditionals.
40442
40443 * manual/string.texi (wcstok): Fix prototype.
40444 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40445
40446 * manual/time.texi: Document MTASC-safety properties.
40447
40448 * manual/string.texi: Document MTASC-safety properties.
40449
40450 * manual/threads.texi: Document MTASC-safety properties.
40451
40452 * manual/stdio.texi: Document MTASC-safety properties.
40453
40454 * manual/syslog.texi: Document MTASC-safety properties.
40455
40456 * manual/sysinfo.texi: Document MTASC-safety properties.
40457
40458 * manual/startup.texi: Document MTASC-safety properties.
40459
40460 * manual/socket.texi: Document MTASC-safety properties.
40461
40462 * manual/signal.texi: Document MTASC-safety properties.
40463
40464 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
40465
40466 * manual/setjmp.texi: Document MTASC-safety properties.
40467
40468 * manual/search.texi: Document MTASC-safety properties.
40469
40470 * manual/resource.texi: Document MTASC-safety properties.
40471
40472 * manual/process.texi: Document MTASC-safety properties.
40473
40474 * manual/platform.texi: Document MTASC-safety properties.
40475
40476 * manual/pipe.texi: Document MTASC-safety properties.
40477
40478 * manual/pattern.texi: Document MTASC-safety properties.
40479
40480 * manual/message.texi: Document MTASC-safety properties.
40481
40482 [BZ #12751]
40483 * manual/memory.texi: Document MTASC-safety properties.
40484
40485 * manual/math.texi: Document MTASC-safety properties.
40486
40487 * manual/locale.texi: Document MTASC-safety properties.
40488
40489 * manual/llio.texi: Document MTASC-safety properties.
40490
40491 * manual/libdl.texi: New.
40492
40493 * manual/lang.texi: Document MTASC-safety properties.
40494
40495 * manual/job.texi: Document MTASC-safety properties.
40496
40497 * manual/getopt.texi: Document MTASC-safety properties.
40498
40499 * manual/ctype.texi: Document MTASC-safety properties.
40500
40501 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
40502
40503 [BZ #16046]
40504 * csu/libc-tls.c (static_map): Remove variable.
40505 (__libc_setup_tls): Use main executable's link map for TLS data.
40506 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40507 casing for LM_ID_BASE and GL(dl_nns).
40508 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40509 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
40510 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40511 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40512 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40513 member.
40514 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40515 l_phnum members.
40516
40517 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
40518
40519 * manual/debug.texi: Document MTASC-safety properties.
40520
40521 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
40522
40523 [BZ #16510]
40524 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40525 of __x86_64__ when disabling x87 inline functions.
40526
40527 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
40528
40529 * manual/charset.texi: Document MTASC-safety properties.
40530
40531 * manual/crypt.texi: Document MTASC-safety properties.
40532
40533 * manual/conf.texi: Document MTASC-safety properties.
40534
40535 * manual/arith.texi: Document MTASC-safety properties.
40536
40537 * manual/argp.texi: Document MTASC-safety properties.
40538
40539 * manual/macros.texi: Introduce macros to document multi
40540 thread, asynchronous signal and asynchronous cancellation
40541 safety properties.
40542 * manual/intro.texi: Introduce the properties themselves.
40543
40544 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40545
40546 * sysdeps/sh/sh4/Makefile: New file.
40547
40548 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
40549
40550 * math/gen-libm-test.pl ($srcdir): New variable.
40551 ($auto_input): Use it.
40552
40553 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40554
40555 [BZ #16506]
40556 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40557 access beyond array bounds when parsing netgroups file.
40558
40559 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40560 the old buffer before realloc.
40561
40562 2014-01-27 Allan McRae <allan@archlinux.org>
40563
40564 * po/fr.po: Update French translation from translation project.
40565
40566 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40567
40568 * sysdeps/sh/libm-test-ulps: Regenerate.
40569
40570 2014-01-24 David S. Miller <davem@davemloft.net>
40571
40572 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40573
40574 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40575
40576 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40577 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40578
40579 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40580
40581 [BZ #16474]
40582 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40583 string pointers after reallocation.
40584
40585 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40586
40587 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40588 __SH4A__ instead of __SH_FPU_ANY__.
40589
40590 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40591
40592 * sysdeps/sh/fpu_control.h: New file.
40593 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40594 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40595 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40596 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40597 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40598 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40599 * sysdeps/sh/sys/ucontext.h: Remove.
40600 * sysdeps/sh/sys: Remove directory.
40601
40602 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40603
40604 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40605 s390/sys/ucontext.h.
40606 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40607 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40608
40609 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
40610
40611 [BZ #15605]
40612 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40613
40614 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40615
40616 [BZ#16431]
40617 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40618 Adjust the vDSO correctly for internal calls.
40619 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40620
40621 2014-01-20 Allan McRae <allan@archlinux.org>
40622
40623 * po/ca.po: Update Catalan translation from translation project.
40624
40625 2014-01-16 Mike Frysinger <vapier@gentoo.org>
40626
40627 * sysdeps/s390/sotruss-lib.c: New file.
40628
40629 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40630
40631 [BZ#16430]
40632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40633 (__GI___gettimeofday): Alias for a different internal symbol to avoid
40634 local calls issues by not having a PLT stub required for IFUNC calls.
40635 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40636
40637 2014-01-16 Joseph Myers <joseph@codesourcery.com>
40638
40639 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40640 * math/test-fpucw-static.c: Likewise.
40641
40642 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40643
40644 [BZ #16453]
40645 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40646
40647 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40648
40649 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40650 implementation for powerpc.
40651
40652 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
40653
40654 [BZ #14782]
40655 * sysdeps/posix/system.c (__libc_system): Do not enable
40656 asynchronous cancellation.
40657
40658 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40659
40660 [BZ #16427]
40661 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40662 handling only for numbers special also in the IEEE case.
40663
40664 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40665
40666 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40667
40668 2014-01-11 Allan McRae <allan@archlinux.org>
40669
40670 * po/bg.po: Update Bulgarian translation from translation project.
40671
40672 * po/de.po: Update German translation from translation project.
40673
40674 2014-01-10 Roland McGrath <roland@hack.frob.com>
40675
40676 * sysdeps/generic/gcc-compat.h: New file.
40677
40678 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40679
40680 * benchtests/asin-inputs: Correct slow inputs.
40681 * benchtests/acos-inputs: Likewise.
40682
40683 2014-01-10 Allan McRae <allan@archlinux.org>
40684
40685 * po:sv.po: Update Swedish translation from translation project.
40686
40687 * po/vi.po: Update Vietnamese translation from translation project.
40688
40689 * po/eo.po: Update Esperanto translation from translation project.
40690
40691 * po/cs.po: Update Czech translation from translation project.
40692
40693 * po/nl.po: Update Dutch translation from translation project.
40694
40695 * po/pl.po: Update Polish translation from translation project.
40696
40697 * po/ru.po: Update Russian translation from translation project.
40698
40699 * po/uk.po: Update Ukrainian translation from translation project.
40700
40701 2014-01-08 Brooks Moses <bmoses@google.com>
40702
40703 * elf/dl-load.c: Fix comment typo.
40704
40705 2014-01-08 Carlos O'Donell <carlos@redhat.com>
40706
40707 * po/header.pot: Rename to...
40708 * po/pot.header: ... this.
40709 * po/Makefile: Use pot.header.
40710
40711 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
40712 Maxim Kuvyrkov <maxim@kugelworks.com>
40713
40714 [BZ #16394]
40715 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40716 SRC and DEST against LEN.
40717
40718 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40719
40720 [BZ #16414]
40721 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40722 implementation.
40723 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40724
40725 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40726
40727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40728
40729 2014-01-08 Joseph Myers <joseph@codesourcery.com>
40730
40731 [BZ #16408]
40732 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40733 for large positive arguments.
40734
40735 2014-01-07 Joseph Myers <joseph@codesourcery.com>
40736
40737 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40738
40739 * math/auto-libm-test-in: Mark various tests with
40740 xfail-rounding:ldbl-128ibm.
40741 * math/auto-libm-test-out: Regenerated.
40742
40743 [BZ #16407]
40744 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40745 Increase overflow threshold.
40746
40747 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
40748
40749 [BZ #14286]
40750 * stdio-common/vfprintf.c: Check for integer overflow.
40751
40752 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40753
40754 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40755 the first argument and return value of __tls_get_addr_internal.
40756
40757 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40758
40759 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40760 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40761
40762 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40763
40764 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40765 * sysdeps/s390/rtld-global-offsets.sym: New file.
40766 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40767 GLIBC_2.19 symbol.
40768 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40769 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40770 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40771 ... this.
40772 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40773 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40774 ... this.
40775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40776 Regenerate.
40777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40778 Regenerate.
40779 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40780 halfs of GPRs for high_gprs contexts.
40781 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40782 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
40783 field.
40784 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40785 uc_flags field.
40786 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40787 64 bit versions:
40788 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40789 for high GPRs (uc_high_gprs) and for future extensions
40790 (__reserved).
40791 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40792 for future extensions (__reserved).
40793 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40794 64 bit versions:
40795 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40796 SC_HIGHGPRS offset definition.
40797 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40798 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40799
40800 * Versions.def: Add GLIBC_2.19 for libpthread.
40801 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40802 siglongjmp for libpthread with GLIBC_2.19 symver.
40803 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40804 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40805 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40806 * sysdeps/s390/__longjmp.c: New file.
40807 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40808 * sysdeps/s390/longjmp.c: New file.
40809 * sysdeps/s390/setjmp.S: New file.
40810 * sysdeps/s390/sigjmp.S: New file.
40811 * sysdeps/s390/v1-longjmp.c: New file.
40812 * sysdeps/s390/v1-setjmp.h: New file.
40813 * sysdeps/s390/v1-sigjmp.c: New file.
40814 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40815 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40816 GLIBC_2.19 version.
40817 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40818 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40819 versioned symbols for ____longjmp_chk.
40820 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40821 Likewise.
40822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40823 Regenerate.
40824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40825 Regenerate.
40826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40827 Regenerate.
40828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40829 Regenerate.
40830 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40831 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40832 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40833 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40834 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40835 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40836 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40837 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40838 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40839 * sysdeps/s390/rtld-__longjmp.c: New file.
40840 * sysdeps/s390/rtld-setjmp.S: New file.
40841
40842 2014-01-06 Joseph Myers <joseph@codesourcery.com>
40843
40844 [BZ #16400]
40845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40846 Return -__logl (x) for small positive arguments without evaluating
40847 a polynomial.
40848
40849 2014-01-06 Mike Frysinger <vapier@gentoo.org>
40850
40851 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40852 Rename to ...
40853 (__ptrace_peeksiginfo_args): ... this.
40854 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40856 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40857
40858 2014-01-06 Allan McRae <allan@archlinux.org>
40859
40860 * inet/netinet/in.h: Fix typo in comment.
40861
40862 2014-01-05 Andreas Jaeger <aj@suse.de>
40863
40864 * sysdeps/i386/fpu/libm-test-ulps: Update.
40865
40866 2014-01-05 Allan McRae <allan@archlinux.org>
40867
40868 * po/libc.pot: Regenerated.
40869
40870 * malloc/memusagestat.c: Fix gettext call formatting.
40871
40872 2014-01-04 Sami Kerola <kerolasa@iki.fi>
40873
40874 * nscd/nscd.c: Improve usage() output.
40875
40876 2014-01-04 Mike Frysinger <vapier@gentoo.org>
40877
40878 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40879 * sysdeps/unix/sysv/linux/configure: Regenerated.
40880 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40881 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40882
40883 2014-01-03 Joseph Myers <joseph@codesourcery.com>
40884
40885 [BZ #16390]
40886 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40887 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40888
40889 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40890
40891 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40892 extra tokens at end of #undef directive.
40893 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40894 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40895 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40896
40897 2014-01-03 Joseph Myers <joseph@codesourcery.com>
40898
40899 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40900
40901 * math/auto-libm-test-in: Mark various tests with
40902 xfail-rounding:ldbl-128ibm.
40903 * math/auto-libm-test-out: Regenerated.
40904
40905 2014-01-02 Joseph Myers <joseph@codesourcery.com>
40906
40907 [BZ #16386]
40908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40909 numbers with subnormal high part when calculating exponent.
40910
40911 [BZ #16385]
40912 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40913 fabs.
40914
40915 [BZ #16384]
40916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40917 M_LN2l.
40918 (__ieee754_acoshl): Use __log1pl not __log1p.
40919
40920 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
40921
40922 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40923 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40924 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40925 (grow_heap, heap_trim, _int_new_arena, get_free_list)
40926 (reused_arena, arena_get2): Convert to GNU style.
40927 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40928 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40929 (memalign_check, __malloc_set_state): Likewise.
40930 * malloc/mallocbug.c (main): Likewise.
40931 * malloc/malloc.c (__malloc_assert, malloc_init_state)
40932 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40933 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40934 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40935 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40936 (__posix_memalign, malloc_info): Likewise.
40937 * malloc/malloc.h: Likewise.
40938 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40939 (mallochook, memalignhook, reallochook, mabort): Likewise.
40940 * malloc/mcheck.h: Likewise.
40941 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40942 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40943 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40944 * malloc/morecore.c (__default_morecore): Likewise.
40945 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40946 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40947 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40948 (print_and_abort): Likewise.
40949 * malloc/obstack.h: Likewise.
40950 * malloc/set-freeres.c (__libc_freeres): Likewise.
40951 * malloc/tst-mallocstate.c (main): Likewise.
40952 * malloc/tst-mtrace.c (main): Likewise.
40953 * malloc/tst-realloc.c (do_test): Likewise.
40954
40955 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40956
40957 [BZ #16366]
40958 * nscd/netgroupcache.c (do_notfound): New function.
40959 (addgetnetgrentX): Use it.
40960
40961 [BZ # 16365]
40962 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40963 NSS_STATUS_NOTFOUND.
40964
40965 2014-01-01 Joseph Myers <joseph@codesourcery.com>
40966
40967 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40969
40970 2014-01-01 Allan McRae <allan@archlinux.org>
40971
40972 * scripts/update-copyrights: Update configure input file suffix.
40973
40974 * NEWS: Update copyright year.
40975 * catgets/gencat.c: Likewise.
40976 * csu/version.c: Likewise.
40977 * debug/catchsegv.sh: Likewise.
40978 * debug/pcprofiledump.c: Likewise.
40979 * debug/xtrace.sh: Likewise.
40980 * elf/ldconfig.c: Likewise.
40981 * elf/ldd.bash.in: Likewise.
40982 * elf/pldd.c: Likewise.
40983 * elf/sotruss.ksh: Likewise.
40984 * elf/sprof.c: Likewise.
40985 * iconv/iconv_prog.c: Likewise.
40986 * iconv/iconvconfig.c: Likewise.
40987 * locale/programs/locale.c: Likewise.
40988 * locale/programs/localedef.c: Likewise.
40989 * login/programs/pt_chown.c: Likewise.
40990 * malloc/memusage.sh: Likewise.
40991 * malloc/memusagestat.c: Likewise.
40992 * malloc/mtrace.pl: Likewise.
40993 * manual/libc.texinfo: Likewise.
40994 * nscd/nscd.c: Likewise.
40995 * nss/getent.c: Likewise.
40996 * nss/makedb.c: Likewise.
40997 * posix/getconf.c: Likewise.
40998 * scripts/test-installation.pl: Likewise.
40999
41000 * All files with FSF copyright notices: Update copyright dates
41001 using scripts/update-copyrights.
41002 * intl/plural.c: Regenerated.
41003 * locale/programs/charmap-kw.h: Likewise.
41004 * locale/programs/locfile-kw.h: Likewise.
41005
41006 2013-12-31 Mike Frysinger <vapier@gentoo.org>
41007
41008 * sysdeps/unix/sysv/linux/configure: Regenerated.
41009 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41010 the linux/fanotify.h header.
41011 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41012 HAVE_LINUX_FANOTIFY_H is defined.
41013
41014 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41015
41016 * benchtests/cos-inputs: New inputs.
41017 * benchtests/sin-inputs: Likewise.
41018
41019 * benchtests/atan-inputs: New inputs. Fix name of multiple
41020 precision fallback inputs.
41021
41022 * benchtests/atanh-inputs: New inputs.
41023 * benchtests/tanh-inputs: Likewise.
41024
41025 * benchtests/acosh-inputs: New inputs.
41026 * benchtests/asinh-inputs: Likewise.
41027
41028 * benchtests/cosh-inputs: New inputs.
41029 * benchtests/sinh-inputs: Likewise.
41030
41031 * benchtests/acos-inputs: Add more inputs.
41032 * benchtests/asin-inputs: Likewise.
41033
41034 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
41035
41036 [BZ #16375]
41037 * manual/arith.texi: Fix spelling.
41038 * manual/charset.texi: Likewise.
41039 * manual/errno.texi: Likewise.
41040 * manual/filesys.texi: Likewise.
41041 * manual/lang.texi: Likewise.
41042 * manual/llio.texi: Likewise.
41043 * manual/locale.texi: Likewise.
41044 * manual/message.texi: Likewise.
41045 * manual/resource.texi: Likewise.
41046 * manual/search.texi: Likewise.
41047 * manual/setjmp.texi: Likewise.
41048 * manual/stdio.texi: Likewise.
41049 * manual/string.texi: Likewise.
41050 * manual/sysinfo.texi: Likewise.
41051 * manual/time.texi: Likewise.
41052
41053 2013-12-27 Carlos O'Donell <carlos@redhat.com>
41054
41055 * po/sl.po: New file.
41056
41057 2013-12-27 Mike Frysinger <vapier@gentoo.org>
41058
41059 * .gitignore: Add core/.gdbinit/.gdb_history.
41060
41061 2013-12-27 Allan McRae <allan@archlinux.org>
41062
41063 [BZ #16369]
41064 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41065 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41066
41067 2013-12-24 Brooks Moses <bmoses@google.com>
41068
41069 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41070 all compilers that claim C++98 compliance, not just GCC.
41071 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41072 Likewise.
41073
41074 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
41075
41076 * NEWS: Restore accidentally deleted bug-fix entries.
41077
41078 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
41079 Ondřej Bílka <neleai@seznam.cz>
41080
41081 [BZ #15073]
41082 * malloc/malloc.c (_int_free): Perform sanity check only if we
41083 have_lock.
41084
41085 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
41086
41087 [BZ #12986]
41088 * manual/stdio.texi (String Input Conversions): Clarify that character
41089 classes are not supported.
41090
41091 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41092
41093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41094
41095 2013-12-22 Joseph Myers <joseph@codesourcery.com>
41096
41097 [BZ #16337]
41098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41099 Calculate results for small negative arguments directly rather
41100 than using reflection formula with special underflow handling.
41101
41102 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41103 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41104 sysdeps/unix/bsd/bsd4.4/syscalls.list.
41105 (fchflags): Likewise.
41106 (revoke): Likewise.
41107 (setlogin): Likewise.
41108 (sigaltstack): Likewise.
41109 (wait4): Likewise.
41110 (sigblock): Remove.
41111 (sigsetmask): Likewise.
41112 (wait3): Likewise.
41113 (waitpid): Likewise.
41114 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41115 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41116 file.
41117 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41118 * sysdeps/unix/bsd/Makefile: ... here.
41119 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41120 * sysdeps/unix/bsd/Versions: ... here.
41121 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41122 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41123 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41124 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41125 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41126 * sysdeps/unix/bsd/sigblock.c: ... here.
41127 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41128 * sysdeps/unix/bsd/sigsetmask.c: ... here.
41129 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41130 * sysdeps/unix/bsd/sigvec.c: ... here.
41131 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41132 * sysdeps/unix/bsd/tcdrain.c: ... here.
41133 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41134 * sysdeps/unix/bsd/tcgetattr.c: ... here.
41135 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41136 * sysdeps/unix/bsd/tcsetattr.c: ... here.
41137 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41138 * sysdeps/unix/bsd/wait.c: ... here.
41139 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41140 * sysdeps/unix/bsd/wait3.c: ... here.
41141 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41142 * sysdeps/unix/bsd/waitpid.c: ... here.
41143
41144 2013-12-21 Joseph Myers <joseph@codesourcery.com>
41145
41146 [BZ #16356]
41147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41148 round-to-nearest for [!USE_AS_EXPM1L].
41149 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41150 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
41151 more tests of exp and exp10. Expect some exp10 tests to miss
41152 exceptions or fail in directed rounding modes.
41153 * math/auto-libm-test-out: Regenerated.
41154 * math/libm-test.inc (exp10_tonearest_test_data): New array.
41155 (exp10_test_tonearest): New function.
41156 (exp10_towardzero_test_data): New array.
41157 (exp10_test_towardzero): New function.
41158 (exp10_downward_test_data): New array.
41159 (exp10_test_downward): New function.
41160 (exp10_upward_test_data): New array.
41161 (exp10_test_upward): New function.
41162 (main): Call the new functions.
41163 * sysdeps/i386/fpu/libm-test-ulps: Update.
41164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41165
41166 2013-12-20 Joseph Myers <joseph@codesourcery.com>
41167
41168 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41169 asinh, atan, atan2, atanh, cbrt, cos and cosh.
41170 * math/auto-libm-test-out: Regenerated.
41171 * math/libm-test.inc (acosh_test_data): Add more tests.
41172 (atanh_test_data): Likewise.
41173 (ceil_test_data): Likewise.
41174 (copysign_test_data): Likewise.
41175 * sysdeps/i386/fpu/libm-test-ulps: Update.
41176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41177
41178 * timezone/checktab.awk: Update from tzcode 2013i.
41179 * timezone/private.h: Likewise.
41180 * timezone/scheck.c: Likewise.
41181 * timezone/tzfile.h: Likewise.
41182 * timezone/tzselect.ksh: Likewise.
41183 * timezone/zdump.c: Likewise.
41184 * timezone/zic.c: Likewise.
41185
41186 * math/auto-libm-test-in: Add tests of cpow.
41187 * math/auto-libm-test-out: Regenerated.
41188 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41189 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41190 mpc_cc_c.
41191 (func_calc_desc): Add mpc_cc_c union field.
41192 (test_functions): Add cpow.
41193 (special_fill_2pi): New function.
41194 (special_real_inputs): Add 2pi.
41195 (calc_generic_results): Handle mpc_cc_c.
41196 * sysdeps/i386/fpu/libm-test-ulps: Update.
41197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41198
41199 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41200 csqrt, ctan and ctanh.
41201 * math/auto-libm-test-out: Regenerated.
41202 * math/libm-test.inc (TEST_COND_x86_64): New macro.
41203 (TEST_COND_x86): Likewise.
41204 (ccos_test_data): Use AUTO_TESTS_c_c.
41205 (ccosh_test_data): Likewise.
41206 (cexp_test_data): Likewise.
41207 (clog_test_data): Likewise.
41208 (csqrt_test_data): Likewise.
41209 (ctan_test_data): Likewise.
41210 (ctan_tonearest_test_data): Likewise.
41211 (ctan_towardzero_test_data): Likewise.
41212 (ctan_downward_test_data): Likewise.
41213 (ctan_upward_test_data): Likewise.
41214 (ctanh_test_data): Likewise.
41215 (ctanh_tonearest_test_data): Likewise.
41216 (ctanh_towardzero_test_data): Likewise.
41217 (ctanh_downward_test_data): Likewise.
41218 (ctanh_upward_test_data): Likewise.
41219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41220 mpc_c_c.
41221 (func_calc_desc): Add mpc_c_c union field.
41222 (FUNC_mpc_c_c): New macro.
41223 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41224 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41225 ctanh.
41226 (special_fill_min_subnorm_p120): New function.
41227 (special_real_inputs): Add min_subnorm_p120.
41228 (calc_generic_results): Handle mpc_c_c.
41229 * sysdeps/i386/fpu/libm-test-ulps: Update.
41230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41231
41232 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41233
41234 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41235 (do_sin_slow): New functions.
41236 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41237 (cslow2, csloww1, csloww2): Use the new functions.
41238
41239 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41240 Use M to change sign of result instead of X. Assume X is
41241 positive.
41242 (csloww1): Likewise.
41243 (__sin): Adjust.
41244 (__cos): Adjust.
41245
41246 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41247 arguments A and DA.
41248 (__sin): Adjust.
41249 (__cos): Likewise.
41250
41251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41252 (__cos): Likewise.
41253 (sloww1): Don't adjust sign of DX.
41254 (csloww1): Likewise.
41255 (sloww2): Use X directly and don't adjust sign of DX.
41256 (csloww2): Likewise.
41257
41258 2013-12-19 Joseph Myers <joseph@codesourcery.com>
41259
41260 * math/auto-libm-test-in: Add tests of cabs and carg.
41261 * math/auto-libm-test-out: Regenerated.
41262 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41263 (carg_test_data): Likewise.
41264 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41265 mpc_c_f.
41266 (func_calc_desc): Add mpc_c_f union field.
41267 (test_functions): Add cabs and carg.
41268 (calc_generic_results): Handle mpc_c_f.
41269
41270 * sysdeps/powerpc/powerpc32/libgcc-compat.S
41271 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41272 as a macro and a compat symbol.
41273 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41274 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41275 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41276 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41277 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41278 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41279 not use .hidden.
41280 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41281 Likewise.
41282 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41283 Likewise.
41284 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41285 Likewise.
41286 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41287 Likewise.
41288 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41289 Likewise.
41290 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41291 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41292 from GLIBC_2.3.2.
41293
41294 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41295
41296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41297
41298 2013-12-19 Joseph Myers <joseph@codesourcery.com>
41299
41300 * manual/texinfo.tex: Update to version 2013-11-26.10 with
41301 trailing whitespace removed.
41302 * scripts/config.guess: Update to version 2013-11-29.
41303 * scripts/config.sub: Update to version 2013-10-01.
41304
41305 * math/auto-libm-test-in: Add tests of sincos.
41306 * math/auto-libm-test-out: Regenerated.
41307 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41308 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41309 mpfr_f_11.
41310 (func_calc_desc): Add mpfr_f_11 union field.
41311 (test_functions): Add sincos.
41312 (calc_generic_results): Handle mpfr_f_11.
41313 * sysdeps/i386/fpu/libm-test-ulps: Update.
41314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41315
41316 2013-12-19 Andreas Schwab <schwab@suse.de>
41317
41318 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41319 CALL_MCOUNT.
41320 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41321 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41322 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41323
41324 2013-12-19 Joseph Myers <joseph@codesourcery.com>
41325
41326 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41327 * sysdeps/i386/fpu/libm-test-ulps: Update.
41328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41329
41330 [BZ #16293]
41331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41332 round-to-nearest mode when using frndint.
41333 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41334 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41335 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41336 Likewise.
41337 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
41338 sinh test to fail.
41339 * math/auto-libm-test-out: Regenerated.
41340 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41341 (TEST_COND_x86): Likewise.
41342 (expm1_tonearest_test_data): New array.
41343 (expm1_test_tonearest): New function.
41344 (expm1_towardzero_test_data): New array.
41345 (expm1_test_towardzero): New function.
41346 (expm1_downward_test_data): New array.
41347 (expm1_test_downward): New function.
41348 (expm1_upward_test_data): New array.
41349 (expm1_test_upward): New function.
41350 (main): Run the new test functions.
41351 * sysdeps/i386/fpu/libm-test-ulps: Update.
41352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41353
41354 * include/features.h: Update comment documenting feature test
41355 macros. Mention _DEFAULT_SOURCE in comment.
41356 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41357 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41358 _BSD_SOURCE and _SVID_SOURCE.
41359 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41360 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41361 !_SVID_SOURCE]: Likewise.
41362 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41363 (__USE_POSIX_IMPLICITLY): Define.
41364 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41365 (_POSIX_SOURCE): Undefine and redefine.
41366 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41367 (_POSIX_C_SOURCE): Likewise.
41368 * manual/creature.texi (_DEFAULT_SOURCE): Document.
41369 (Feature Test Macros): Update documentation of default features.
41370
41371 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41372
41373 * benchtests/Makefile: Add bench-strtok.
41374 * benchtests/bench-strtok.c: New file: strtok benchtest.
41375
41376 2013-12-19 Allan McRae <allan@archlinux.org>
41377
41378 * manual/install.texi: Suppress menu for plain text output.
41379 * INSTALL: Regenerated.
41380
41381 2013-12-18 Brooks Moses <bmoses@google.com>
41382
41383 [BZ #15846]
41384 * misc/getauxval.c: Include errno.h.
41385 (__getauxval): Set errno to ENOENT if the requested type is not
41386 found.
41387 * misc/sys/auxv.h (getauxval): Document that it may set errno;
41388 don't declare with __attribute_const__.
41389 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41390 * manual/startup.texi: Document that getauxval sets errno.
41391
41392 2013-12-18 Joseph Myers <joseph@codesourcery.com>
41393
41394 * math/auto-libm-test-in: Add tests of jn and yn.
41395 * math/auto-libm-test-out: Regenerated.
41396 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41397 (yn_test_data): Likewise.
41398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41399 mpfr_if_f.
41400 (func_calc_desc): Add mpfr_if_f union field.
41401 (FUNC_mpfr_if_f): New macro.
41402 (test_functions): Add jn and yn.
41403 (calc_generic_results): Assert type of second input for
41404 mpfr_ff_f. Handle mpfr_if_f.
41405 (output_for_one_input_case): Disable all checking for arguments
41406 fitting floating-point types in case of an integer argument.
41407 * sysdeps/i386/fpu/libm-test-ulps: Update.
41408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41409
41410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41411 Don't expect fegetround reference in libm.so.
41412
41413 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41414
41415 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41416 $(config-cflags-nofma).
41417
41418 2013-12-18 Joseph Myers <joseph@codesourcery.com>
41419
41420 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41421 * math/auto-libm-test-out: Regenerated.
41422
41423 [BZ #16338]
41424 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41425 to determine exponent and adjust argument to have exponent of -1.
41426 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41427 log2.
41428 * math/auto-libm-test-out: Regenerated.
41429 * sysdeps/i386/fpu/libm-test-ulps: Update.
41430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41431
41432 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
41433
41434 * manual/probes.texi: Remove cases when per-thread arenas are
41435 disabled.
41436
41437 2013-12-18 Andreas Schwab <schwab@suse.de>
41438
41439 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41440 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41441 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41442 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41443 * sysdeps/i386/i686/multiarch/Makefile: Update.
41444 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41445
41446 2013-12-17 Joseph Myers <joseph@codesourcery.com>
41447
41448 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41449 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41450
41451 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
41452
41453 [BZ #15968]
41454 Support TZ transition times < 00:00:00.
41455 This is needed for version-3 tz-format files; it supports time
41456 stamps past 2037 for America/Godthab (the only entry in the tz
41457 database for which this change is relevant).
41458 * manual/time.texi (TZ Variable): Document transition times
41459 from -167:59:59 through -00:00:01.
41460 * time/tzset.c (tz_rule): Time of day is now signed.
41461 (__tzset_parse_tz): Parse negative time of day.
41462
41463 Document TZ transition times >= 25:00:00.
41464 * manual/time.texi (TZ Variable): Document transition times from
41465 25:00:00 through 167:59:59. These are already supported, and this
41466 support will help with version-3 tz-format files.
41467
41468 * manual/time.texi (TZ Variable): Modernize North America example
41469 to reflect current (i.e., 2007-and-later) daylight saving rules.
41470
41471 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41472
41473 2013-12-17 Joseph Myers <joseph@codesourcery.com>
41474
41475 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41476 * sysdeps/unix/bsd/bits/stat.h: Likewise.
41477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41479 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41480 * sysdeps/unix/bsd/bsdstat.h: Likewise.
41481 * sysdeps/unix/bsd/clock.c: Likewise.
41482 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41483 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41484 * sysdeps/unix/bsd/init-posix.c: Likewise.
41485 * sysdeps/unix/bsd/poll.c: Likewise.
41486 * sysdeps/unix/bsd/ptsname.c: Likewise.
41487 * sysdeps/unix/bsd/seekdir.c: Likewise.
41488 * sysdeps/unix/bsd/setegid.c: Likewise.
41489 * sysdeps/unix/bsd/seteuid.c: Likewise.
41490 * sysdeps/unix/bsd/setgid.c: Likewise.
41491 * sysdeps/unix/bsd/setrgid.c: Likewise.
41492 * sysdeps/unix/bsd/setruid.c: Likewise.
41493 * sysdeps/unix/bsd/setsid.c: Likewise.
41494 * sysdeps/unix/bsd/setuid.c: Likewise.
41495 * sysdeps/unix/bsd/sigaction.c: Likewise.
41496 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41497 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41498 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41499 * sysdeps/unix/bsd/telldir.c: Likewise.
41500 * sysdeps/unix/bsd/times.c: Likewise.
41501 * sysdeps/unix/bsd/usleep.c: Likewise.
41502
41503 * misc/Makefile (install-lib): Remove libbsd-compat.a.
41504 ($(objpfx)libbsd-compat.a): Remove rule.
41505
41506 * include/features.h (__FAVOR_BSD): Do not define.
41507 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41508 features conflicting with POSIX.
41509 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41510 (_BSD_SOURCE): Remove description of not being a subset of other
41511 feature test macros.
41512 * manual/job.texi (getpgrp): Do not document BSD version.
41513 (getpgid): Do not document by reference to BSD getpgrp.
41514 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41515 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41516 * signal/signal.h [__FAVOR_BSD]: Likewise.
41517 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41518 instead of making contents conditional on [__FAVOR_BSD].
41519 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41520
41521 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41522
41523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41524
41525 2013-12-17 Joseph Myers <joseph@codesourcery.com>
41526
41527 [BZ #16314]
41528 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41529 values below 2**-450, not 2**-500.
41530 * math/auto-libm-test-in: Don't allow spurious underflow from
41531 hypot.
41532 * math/auto-libm-test-out: Regenerated.
41533
41534 [BZ #16316]
41535 [BZ #16330]
41536 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41537 values of ha and hb and sort them after adjusting subnormal
41538 arguments.
41539 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41540 Likewise.
41541 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41542 values of ea and eb and sort them after adjusting subnormal
41543 arguments.
41544 * math/auto-libm-test-in: Do not expect some hypot tests of
41545 subnormals to fail. Add more hypot tests.
41546 * math/auto-libm-test-out: Regenerated.
41547
41548 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41549
41550 [BZ #13304]
41551 * sysdeps/sh/s_fma.c: New file.
41552 * sysdeps/sh/s_fmaf.c: New file.
41553 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
41554 version.
41555 * sysdeps/sh/Implies: Add sh/soft-fp.
41556
41557 2013-12-16 Roland McGrath <roland@hack.frob.com>
41558
41559 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
41560 level of indirection to members `objname', `errstring', `malloced'.
41561 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41562 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
41563 it as the __longjmp argument (just pass 1 instead).
41564 (_dl_catch_error): Initialize C with argument pointers and address of
41565 volatile local ERRCODE rather than copying values out of C at return.
41566
41567 2013-12-16 Joseph Myers <joseph@codesourcery.com>
41568
41569 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41570 * math/auto-libm-test-out: Regenerated.
41571 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41572 (hypot_test_data): Likewise.
41573 (pow_test_data): Likewise.
41574 (pow_tonearest_test_data): Likewise.
41575 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41576 mpfr_ff_f.
41577 (func_calc_desc): Add mpfr_ff_f union field.
41578 (FUNC_mpfr_ff_f): New macro.
41579 (test_functions): Add atan2, hypot and pow.
41580 (special_fill_min): New function.
41581 (special_fill_minus_min): Likewise.
41582 (special_fill_min_subnorm): Likewise.
41583 (special_fill_minus_min_subnorm): Likewise.
41584 (special_real_inputs): Add min, -min, min_subnorm and
41585 -min_subnorm.
41586 (calc_generic_results): Handle mpfr_ff_f.
41587 * sysdeps/i386/fpu/libm-test-ulps: Update.
41588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41589
41590 2013-12-16 Will Newton <will.newton@linaro.org>
41591
41592 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41593 (Aligned Memory Blocks): Add documentation for aligned_alloc
41594 and suggest it as an alternative to posix_memalign.
41595 (Hooks for Malloc): Document __memalign_hook is also called
41596 for aligned_alloc. (Summary of Malloc): Add summary for
41597 aligned alloc. Document __memalign_hook is also called
41598 for aligned_alloc.
41599
41600 2013-12-16 Will Newton <will.newton@linaro.org>
41601
41602 * manual/memory.texi (Malloc Examples): Clarify default
41603 alignment documentation. Suggest posix_memalign rather
41604 than memalign or valloc.
41605 (Aligned Memory Blocks): Remove suggestion to use memalign
41606 or valloc. Remove obsolete comment about BSD.
41607 Document memalign errno values and mark the function obsolete.
41608 Document posix_memalign returned error codes. Mark valloc
41609 as obsolete. (Hooks for Malloc): __memalign_hook is also
41610 called for posix_memalign and valloc.
41611 (Summary of Malloc): Add posix_memalign to function summary.
41612 __memalign_hook is also called for posix_memalign and valloc.
41613
41614 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41615
41616 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41617 TAYLOR_SIN.
41618 (__sin): Adjust.
41619 (__cos): Likewise.
41620 (sloww): Use mynumber union. Expand ternary operator into
41621 if-else statements.
41622 (cslow): use mynumber union.
41623
41624 2013-12-16 Allan McRae <allan@archlinux.org>
41625
41626 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41627 * configure: Regenerated.
41628
41629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41630
41631 [BZ #14120]
41632 * configure.ac: Added --enable-maintainer-mode. Check for
41633 autoconf when enabled.
41634 * configure: Regenerated.
41635
41636 * nscd/nscd.service: New file.
41637 * nscd/nscd.tmpfiles: New file.
41638
41639 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
41640
41641 [BZ #12100]
41642 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41643 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41644 * sysdeps/x86_64/multiarch/strstr.c: ... here.
41645 (strstr): Add __strstr_sse2_unaligned ifunc.
41646 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41647 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41648 (strcasestr): Remove __strcasestr_sse42 ifunc.
41649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41652
41653 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41654
41655 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41656 * sysdeps/sh/bits/fenv.h: ... here.
41657 * sysdeps/sh/sh4/fpu/bits: Remove directory.
41658
41659 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41660
41661 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41662
41663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41664 hypotf multiarch implementations.
41665 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41668 multiarch hypot for PPC64.
41669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41672 multiarch hypotf for PPC64.
41673
41674 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41675 modff multiarch implementations.
41676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41679 multiarch modf for PPC64.
41680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41683 multiarch modff for PPC64.
41684
41685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41686 and logl multiarch implementations.
41687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41690 multiarch logb for PPC64.
41691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41694 multiarch logb for PPC64.
41695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41698 multiarch logb for PPC64.
41699
41700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41701 isinff multiarch implementation.
41702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41703 file.
41704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41706 multiarch isinf for PPC64.
41707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41708 file.
41709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41710 multiarch isinff for PPC64.
41711
41712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41713 finitef multiarch implementation.
41714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41715 file.
41716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41718 multiarch finite for PPC64.
41719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41720 file.
41721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41722 multiarch finitef for PPC64.
41723
41724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41725 lrint multiarch implementation.
41726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41727 file.
41728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41730 multiarch llrint for PPC64.
41731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41732 multiarch lrint for PPC64.
41733
41734 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41735 copysignf multiarch implementation.
41736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41737 file.
41738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41739 file.
41740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41741 multiarch copysign for PPC64.
41742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41743 multiarch copysignf for PPC64.
41744
41745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41746 multiarch implementation.
41747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41748 file.
41749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41750 file.
41751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41752 file.
41753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41754 file.
41755 multiarch llround for PPC64.
41756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41757 multiarch trunc for PPC64.
41758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41759 multiarch truncf for PPC64.
41760
41761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41762 multiarch implementation.
41763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41764 file.
41765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41766 file.
41767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41768 file.
41769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41770 file.
41771 multiarch llround for PPC64.
41772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41773 multiarch round for PPC64.
41774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41775 multiarch roundf for PPC64.
41776
41777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41778 multiarch implementation.
41779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41780 file.
41781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41782 file.
41783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41784 file.
41785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41786 file.
41787 multiarch llround for PPC64.
41788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41789 multiarch floor for PPC64.
41790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41791 multiarch floorf for PPC64.
41792
41793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41794 multiarch implementation.
41795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41796 file.
41797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41798 file.
41799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41800 file.
41801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41802 file.
41803 multiarch llround for PPC64.
41804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41805 multiarch ceil for PPC64.
41806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41807 multiarch ceilf for PPC64.
41808
41809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41810 multiarch implementation.
41811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41812 file.
41813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41814 file.
41815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41816 file.
41817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41818 multiarch llround for PPC64.
41819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41820 multiarch lround for PPC64.
41821
41822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41823 multiarch implementation.
41824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41827 file.
41828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41831 multiarch isnan for PPC64.
41832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41833 multiarch isnanf for PPC64.
41834
41835 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41836 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41837 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41838 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41839 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41841
41842 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41843 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41846
41847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41848 multiarch implementations.
41849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41850 (__libc_ifunc_impl_list): Likewise.
41851 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41852 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41853 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41854 multiarch stpcpy for PPC64.
41855
41856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41857 multiarch implementations.
41858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41859 (__libc_ifunc_impl_list): Likewise.
41860 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41861 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41862 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41863 multiarch strcpy for PPC64.
41864
41865 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41866 redefine function name.
41867 (_wordcopy_fwd_dest_aligned): Likewise.
41868 (_wordcopy_bwd_aligned): Likewise.
41869 (_wordcopy_bwd_dest_aligned): Likewise.
41870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41871 multiarch implementations.
41872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41873 (__libc_ifunc_impl_list): Likewise.
41874 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41875 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41876 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41878 multiarch wcscpy for PPC64.
41879
41880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41881 multiarch implementations.
41882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41883 (__libc_ifunc_impl_list): Likewise.
41884 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41886 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41888 multiarch wcscpy for PPC64.
41889
41890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41891 multiarch implementations.
41892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41893 (__libc_ifunc_impl_list): Likewise.
41894 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41896 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41898 multiarch wcsrchr for PPC64.
41899
41900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41901 multiarch implementations.
41902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41903 (__libc_ifunc_impl_list): Likewise.
41904 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41905 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41906 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41907 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41908 multiarch wcschr for PPC64.
41909
41910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41911 multiarch implementations.
41912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41913 (__libc_ifunc_impl_list): Likewise.
41914 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41915 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41916 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41917 multiarch strchrnul for PPC64.
41918
41919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41920 implementations.
41921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41922 (__libc_ifunc_impl_list): Likewise.
41923 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41924 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41925 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41926 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41927 strchr for PPC64.
41928
41929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41930 implementations.
41931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41932 (__libc_ifunc_impl_list): Likewise.
41933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41934 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41935 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41936 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41937 strncmp for PPC64.
41938
41939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41940 multiarch implementations.
41941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41942 (__libc_ifunc_impl_list): Likewise.
41943 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41944 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41945 strncasecmp for PPC64.
41946 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41947 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41948 multiarch strncasecmp_l for PPC64.
41949
41950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41951 multiarch implementations.
41952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41953 (__libc_ifunc_impl_list): Likewise.
41954 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41956 multiarch strcasecmp for PPC64.
41957 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41958 file.
41959 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41960 multiarch strcasecmp_l for PPC64.
41961
41962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41963 implementations.
41964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41965 (__libc_ifunc_impl_list): Likewise.
41966 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41967 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41968 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41969 strnlen for PPC64.
41970
41971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41972 implementations.
41973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41974 (__libc_ifunc_impl_list): Likewise.
41975 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41976 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41977 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41978 strlen for PPC64.
41979
41980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41981 implementations.
41982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41983 (__libc_ifunc_impl_list): Likewise.
41984 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41985 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41986 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41987 rawmemrchr for PPC64.
41988
41989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41990 implementation.
41991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41992 (__libc_ifunc_impl_list): Likewise.
41993 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41994 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41995 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41996 memrchr for PPC64.
41997
41998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41999 implementation.
42000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42001 (__libc_ifunc_impl_list): Likewise.
42002 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42003 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42004 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42005 memchr for PPC64.
42006
42007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42008 implementation.
42009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42010 (__libc_ifunc_impl_list): Likewise.
42011 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42012 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42013 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42014 mempcpy for PPC64.
42015
42016 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42017 avoid cretion of __bzero symbol.
42018 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42019 Likewise.
42020 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42021 Likewise.
42022 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42023 Likewise.
42024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42025 multiarch implementations.
42026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42027 (__libc_ifunc_impl_list): Likewise.
42028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42029 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42030 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42031 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42032 bzero for PPC32.
42033 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42034 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42035 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42036 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42037 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42038 memset for PPC64.
42039 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42040
42041 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42043 implementations.
42044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42045 (__libc_ifunc_impl_list): Likewise.
42046 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42048 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42049 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42050 memcmp for PPC64.
42051
42052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42053 multiarch for POWER/PPC64.
42054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42055 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42056 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42062 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42063 memcpy for PPC64.
42064
42065 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42066 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42067 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42068 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42069 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42070 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42071 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42072 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42073 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42074 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42075 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42076 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42077 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42078 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42079 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42087
42088 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42089
42090 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42091
42092 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42093
42094 * benchtests/Makefile (bench): Add exp2 and log2.
42095 (LDLIBS-bench-exp2): Add -lm.
42096 (LDLIBS-bench-log2): Likewise.
42097 * benchtests/exp2-inputs: New inputs file.
42098 * benchtests/log2-inputs: New inputs file.
42099 * benchtests/log-inputs: Add new inputs.
42100 * benchtests/tan-inputs: Likewise.
42101
42102 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42103
42104 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42105 definition...
42106 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42107 (csloww2): ... from here.
42108
42109 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42110 instead of structures.
42111 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42112 (POLYNOMIAL): Likewise.
42113 (TAYLOR_SLOW): Likewise.
42114 (__sin): Likewise.
42115 (__cos): Likewise.
42116 (slow1): Likewise.
42117 (slow2): Likewise.
42118 (sloww): Likewise.
42119 (sloww1); Likewise.
42120 (sloww2): Likewise.
42121 (bsloww1): Likewise.
42122 (bsloww2): Likewise.
42123 (cslow2): Likewise.
42124 (csloww): Likewise.
42125 (csloww1): Likewise.
42126 (csloww2): Likewise.
42127
42128 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
42129
42130 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42131 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42132 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42133 * malloc/hooks.c (realloc_check): Likewise.
42134
42135 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42136 * malloc/arena.c: Remove PER_THREAD conditional.
42137 [!PER_THREAD]: Remove code.
42138 (ptmalloc_unlock_all2): Likewise.
42139 (ptmalloc_init): Likewise.
42140 (_int_new_arena): Likewise.
42141 (arena_get2): Likewise.
42142 * malloc/hooks.c (__malloc_get_state): Likewise.
42143 (__malloc_set_state): Likewise.
42144 * malloc/malloc.c: Likewise.
42145 (struct malloc_state): Likewise.
42146 (struct malloc_par): Likewise.
42147 (__libc_realloc): Likewise.
42148 (__libc_mallopt): Likewise.
42149
42150 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42151
42152 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42153
42154 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
42155
42156 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42157 macro to a function. Check for zero perturb_byte.
42158 (_int_malloc, _int_free): Remove zero perturb_byte checks.
42159
42160 * malloc/malloc.c: (force_reg): Remove.
42161 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42162 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42163 force_reg by atomic_forced_read.
42164 * malloc/arena.c (ptmalloc_init): Likewise.
42165 * malloc/hooks.c (top_check): Likewise.
42166
42167 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42168
42169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42170
42171 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
42172
42173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42174
42175 2013-12-08 Joseph Myers <joseph@codesourcery.com>
42176
42177 * math/auto-libm-test-in: Add tests of lgamma.
42178 * math/auto-libm-test-out: Regenerated.
42179 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42180 (M_LOG_2_SQRT_PIl): Likewise.
42181 (lgamma_test_data): Use AUTO_TESTS_f_f1.
42182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42183 mpfr_f_f1.
42184 (func_calc_desc): Add mpfr_f_f1 union field.
42185 (ARGS1): New macro.
42186 (ARGS2): Likewise.
42187 (ARGS3): Likewise.
42188 (ARGS4): Likewise.
42189 (RET1): Likewise.
42190 (RET2): Likewise.
42191 (CALC): Likewise.
42192 (FUNC): Likewise.
42193 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42194 (test_functions): Add lgamma.
42195 (calc_generic_results): Handle mpfr_f_f1.
42196 * sysdeps/i386/fpu/libm-test-ulps: Update.
42197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42198
42199 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42200
42201 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42202 __mpn_add_n for PowerPC64/POWER7.
42203 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42204 __mpn_sub_n for PowerPC64/POWER7.
42205
42206 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42207 __mpn_addmul_1 for PowerPC64.
42208 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42209 __mpn_submul_1 for PowerPC64.
42210 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42211 for PowerPC64.
42212 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42213 for PowerPC64.
42214
42215 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
42216
42217 [BZ #15089]
42218 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42219
42220 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42221
42222 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42223
42224 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42225 add multiarch folders.
42226 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42227 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42228 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42229 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42230 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42231 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42232 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42233 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42234 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42235 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42236 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42243
42244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42245 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42247 New file.
42248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42249 New file.
42250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42251 multiarch __ieee754_hypot for PowerPC32.
42252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42253 New file.
42254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42255 New file.
42256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42257 multiarch __ieee754_hypotf for PowerPC32.
42258
42259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42260 long_double_symbol only if __logbl is defined.
42261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42262 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42264 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42266 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42268 path for implementation.
42269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42272 logb, and logbl multiarch implementations for PowerPC32.
42273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42274 file.
42275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42276 file.
42277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42278 multiarch logb for PowerPC32.
42279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42280 file.
42281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42282 file.
42283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42284 multiarch logbf for PowerPC32.
42285 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42287 file.
42288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42289 multiarch logbl implementation for PowerPC32.
42290
42291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42292 and modff multiarch implementations.
42293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42294 New file.
42295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42296 New file.
42297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42298 multiarch modf for PowerPC32.
42299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42300 New file.
42301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42302 New file.
42303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42304 multiarch modff for PowerPC32.
42305
42306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42307 and lrintf multiarch implementations.
42308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42309 New file.
42310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42311 New file.
42312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42313 multiarch lrint for PowerPC32.
42314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42315 file: multiarch lrintf for PowerPC32.
42316
42317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42318 and lroundf multiarch implementations.
42319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42320 New file.
42321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42322 New file.
42323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42324 New file.
42325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42326 multiarch lround for PowerPC32.
42327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42328 file: multiarch lroundf for PowerPC32.
42329
42330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42331 copysign and copysignf multiarch implementations.
42332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42333 New file.
42334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42335 New file.
42336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42337 file: multiarch copysign for PowerPC32.
42338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42339 file: multiarch copysignf for PowerPC32.
42340
42341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42342 and truncf multiarch implementations.
42343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42344 New file.
42345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42346 file.
42347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42348 multiarch trunc for PowerPC32.
42349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42350 New file.
42351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42352 New file.
42353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42354 multiarch truncf for PowerPC32.
42355
42356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42357 and roundf multiarch implementations.
42358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42359 New file.
42360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42361 file.
42362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42363 multiarch round for PowerPC32.
42364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42365 New file.
42366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42367 New file.
42368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42369 multiarch roundf for PowerPC32.
42370
42371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42372 and floorf multiarch implementations.
42373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42374 New file.
42375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42376 file.
42377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42378 multiarch floor for PowerPC32.
42379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42380 New file.
42381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42382 New file.
42383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42384 multiarch floorf for PowerPC32.
42385
42386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42387 and ceilf multiarch implementations.
42388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42389 New file.
42390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42391 file.
42392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42393 multiarch ceil for PowerPC32.
42394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42395 New file.
42396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42397 file.
42398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42399 multiarch ceilf for PowerPC32.
42400
42401 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42402 is defined.
42403 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42404 FINITEF is defined.
42405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42406 and finitef multiarch implementations.
42407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42408 New file.
42409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42410 file.
42411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42412 multiarch finite for PowerPC32.
42413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42414 New file.
42415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42416 file: multiarch finitef for PowerPC32.
42417
42418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42419 and isinff multiarch implementations.
42420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42421 file.
42422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42423 file.
42424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42425 multiarch isinf for PowerPC32.
42426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42427 New file.
42428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42429 multiarch isinff for PowerPC32.
42430
42431 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42432 alias when __isnan is defined.
42433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42434 and isnanf multiarch implementations.
42435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42436 file.
42437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42438 file.
42439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42440 file.
42441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42442 file.
42443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42444 multiarch isnan for PowerPC32.
42445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42446 New file.
42447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42448 New file.
42449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42450 multiarch isnanf for PowerPC32.
42451
42452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42453 and sqrtf multiarch implementations.
42454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42455 file.
42456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42457 file.
42458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42459 multiarch sqrt for PowerPC32.
42460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42461 file.
42462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42463 file.
42464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42465 multiarch sqrtf for PowerPC32.
42466
42467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42468 and llroundf multiarch implementations.
42469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42470 New file.
42471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42472 New file.
42473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42474 New file.
42475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42476 file: multiarch llround for PowerPC32.
42477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42478 file: multiarch llroundf for PowerPC32.
42479
42480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42481 multiarch PowerPC32 fpu implementations.
42482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42483 New file.
42484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42485 New file.
42486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42487 multiarch llrint for PowerPC32.
42488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42489 New file.
42490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42491 New file.
42492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42493 file.
42494
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42496
42497 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42498 file.
42499 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42500 file.
42501 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42502 file.
42503 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42504 multiarch wordcopy for PPC32.
42505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42506 wordcopy objects.
42507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42508 (__libc_ifunc_impl_list): Likewise.
42509 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42510 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42511 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42512 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42514 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42515
42516 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42518 file.
42519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42520 file.
42521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42522 file.
42523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42524 multiarch wcscpy for PPC32.
42525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42526 multiarch objects.
42527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42528 (__libc_ifunc_impl_list): Likewise.
42529 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42530 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42531 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42532 sysdeps/powerpc/power6/wcscpy.c.
42533
42534 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42536 file.
42537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42538 file.
42539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42540 file.
42541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42542 multiarch wcsrchr for PPC32.
42543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42544 multiarch objects.
42545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42546 (__libc_ifunc_impl_list): Likewise.
42547 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42548 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42549 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42550 sysdeps/powerpc/power6/wcsrchr.c.
42551
42552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42553 file.
42554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42555 file.
42556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42558 multiarch wcschr for PPc32.
42559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42560 multiarch objects.
42561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42562 (__libc_ifunc_impl_list): Likewise.
42563 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42564 * sysdeps/powerpc/power6/wcschr.c: ... to here.
42565 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42566 sysdeps/powerpc/power6/wcschr.c.
42567
42568 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42569 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42570 file.
42571 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42572 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42573 file: multiarch strchr for PPC32.
42574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42575 multiarch objects.
42576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42577 (__libc_ifunc_impl_list): Likewise.
42578
42579 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42580 name.
42581 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42582 file.
42583 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42584 file.
42585 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42586 multiarch strchrnul for PPC32.
42587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42588 multiarch objects.
42589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42590 (__libc_ifunc_impl_list): Likewise.
42591
42592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42593 file.
42594 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42595 multiarch strncasecmp for PPC32.
42596 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42597 file.
42598 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42599 multiarch strncasecmp_l for PPC32.
42600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42601 strncasecmp multiarch objects.
42602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42603 (__libc_ifunc_impl_list): Likewise.
42604
42605 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42606 file.
42607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42608 multiarch strncasecmp for PPC32.
42609 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42610 New file.
42611 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42612 multiarch strcasecmp_l for PPC32.
42613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42614 multiarch objects.
42615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42616 (__libc_ifunc_impl_list): Likewise.
42617
42618 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42619 file.
42620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42621 file.
42622 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42623 multiarch strncmp for PPC32.
42624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42625 multiarch objects.
42626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42627 (__libc_ifunc_impl_list): Likewise.
42628
42629 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42630 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42631 file.
42632 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42633 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42635 multiarch objects.
42636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42637 (__libc_ifunc_impl_list): Likewise.
42638
42639 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42640 file.
42641 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42642 file.
42643 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42645 multiarch objects.
42646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42647 (__libc_ifunc_impl_list): Likewise.
42648
42649 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42650 file.
42651 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42652 file.
42653 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42654 multiarch rawmemchr for PPC32.
42655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42656 multiarch objects.
42657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42658 (__libc_ifunc_impl_list): Likewise.
42659
42660 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42661 file.
42662 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42663 file.
42664 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42665 file: memrchr multiarch for PPC32.
42666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42667 multiarch objects.
42668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42669 (__libc_ifunc_impl_list): Likewise.
42670
42671 * string/memchr.c (__memchr): Using macro to redefine symbol name.
42672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42673 file.
42674 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42675 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42676 multiarch memchr for PPC32.
42677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42678 multiarch objects.
42679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42680 (__libc_ifunc_impl_list): Likewise.
42681
42682 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42683 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42684 file.
42685 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42686 file.
42687 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42688 file: multiarch mempcpy for PPC32.
42689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42690 multiarch objects.
42691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42692 (__libc_ifunc_impl_list): Likewise.
42693
42694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42696 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42698 multiarch bzero for PPC32.
42699 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42700 file.
42701 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42702 file.
42703 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42704 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42705 file: multiarch memset for PPC32.
42706 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42708 memset multiarch objects.
42709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42710 (__libc_ifunc_impl_list): Likewise.
42711
42712 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42713 file.
42714 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42716 memcmp for PPC32.
42717 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42719 multiarch objects.
42720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42721 (__libc_ifunc_impl_list): Likewise.
42722
42723 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42724 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42726 file.
42727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42728 file.
42729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42730 file.
42731 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42732 multiarch memcpy for PPC32.
42733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42734 multiarch objects.
42735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42736 (__libc_ifunc_impl_list): Likewise.
42737
42738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42739 support multiarch for POWER/PPC32.
42740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42741 Likewise.
42742 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42744 Implies file to make multiarch folder appers before the fpu and
42745 default folder for power4 configuration.
42746
42747 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42748
42749 * scripts/bench.pl: Append volatile keyword to type.
42750
42751 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42752
42753 * sysdeps/sh/sotruss-lib.c: New file.
42754 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42755
42756 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42757
42758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42759
42760 2013-12-05 Joseph Myers <joseph@codesourcery.com>
42761
42762 [BZ #6810]
42763 * math/w_tgamma.c: Include <errno.h>.
42764 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
42765 * math/w_tgammaf.c: Include <errno.h>.
42766 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
42767 * math/w_tgammal.c: Include <errno.h>.
42768 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
42769 * math/auto-libm-test-in: Do not allow missing errno on tgamma
42770 underflow. Add more tgamma tests.
42771 * math/auto-libm-test-out: Regenerated.
42772 * sysdeps/i386/fpu/libm-test-ulps: Update.
42773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42774
42775 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42776 sin, sinh, tan, tanh, tgamma, y0 and y1.
42777 * math/auto-libm-test-out: Regenerated.
42778 * math/libm-test.inc (TEST_COND_x86_64): New macro.
42779 (TEST_COND_x86): Likewise.
42780 (M_E2l): Remove macro.
42781 (M_E3l): Likewise.
42782 (M_2_SQRT_PIl): Likewise.
42783 (M_SQRT_PIl): Likewise.
42784 (M_1_DIV_El): Likewise.
42785 (log_test_data): Use AUTO_TESTS_f_f.
42786 (log10_test_data): Likewise.
42787 (log1p_test_data): Likewise.
42788 (log2_test_data): Likewise.
42789 (sin_test_data): Likewise.
42790 (sin_tonearest_test_data): Likewise.
42791 (sin_towardzero_test_data): Likewise.
42792 (sin_downward_test_data): Likewise.
42793 (sin_upward_test_data): Likewise.
42794 (sinh_test_data): Likewise.
42795 (sinh_tonearest_test_data): Likewise.
42796 (sinh_towardzero_test_data): Likewise.
42797 (sinh_downward_test_data): Likewise.
42798 (sinh_upward_test_data): Likewise.
42799 (tan_test_data): Likewise.
42800 (tan_tonearest_test_data): Likewise.
42801 (tan_towardzero_test_data): Likewise.
42802 (tan_downward_test_data): Likewise.
42803 (tan_upward_test_data): Likewise.
42804 (tanh_test_data): Likewise.
42805 (tgamma_test_data): Likewise.
42806 (y0_test_data): Likewise.
42807 (y1_test_data): Likewise.
42808 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42809 (special_real_inputs): Add pi/4.
42810 * sysdeps/i386/fpu/libm-test-ulps: Update.
42811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42812
42813 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42814
42815 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42816 "longjmp_target" static probes.
42817 (__longjmp): Rename to __longjmp_symbol.
42818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42819 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42820 on which longjmp to generate.
42821 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42822 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42823 probe.
42824 (__sigsetjmp): Rename to __sigsetjmp_symbol.
42825 (__sigjmp_save): Rename to __sigjmp_save_symbol.
42826 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42827 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42828 and __sigjmp_save_symbol based on which sigsetjmp to generated.
42829 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42831 __longjmp_symbol based on which __longjmp to generate.
42832 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42833 probe.
42834 (setjmp): Rename to setjmp_symbol.
42835 (__sigsetjmp): Rename to __sigsetjmp_symbol.
42836 (_setjmp): Rename to _setjmp_symbol.
42837 (__sigsetjmp): Rename to __sigsetjmp_symbol.
42838 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42839 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42840 which setjmp to generate.
42841 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42842 "longjmp_target" static probes.
42843
42844 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42845
42846 * benchtests/README: Add note about output arguments.
42847 * benchtests/bench-sincos.c: Remove file.
42848 * benchtests/sincos-inputs: New file.
42849 * scripts/bench.pl: Identify output arguments and define
42850 static variables for them.
42851
42852 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42853
42854 [BZ #15941]
42855 * Makefile (INSTALL): Add install-plain.texi as the primary
42856 dependency.
42857 * manual/install-plain.texi: New file.
42858 * manual/install.texi: Include node directive only for
42859 non-plaintext output.
42860
42861 2013-12-04 Joseph Myers <joseph@codesourcery.com>
42862
42863 * stdlib/longlong.h: Update from GCC.
42864
42865 [BZ #6807]
42866 [BZ #15901]
42867 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42868 * math/w_j0f.c (y0f): Likewise.
42869 * math/w_j0l.c (__y0l): Likewise.
42870 * math/w_j1.c (y1): Likewise.
42871 * math/w_j1f.c (y1f): Likewise.
42872 * math/w_j1l.c (__y1l): Likewise.
42873 * math/w_jn.c (yn): Likewise.
42874 * math/w_jnf.c (ynf): Likewise.
42875 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42876 Bessel function pole errors in _POSIX_ mode. Use NAN as return
42877 value for Bessel function domain errors outside _SVID_ mode.
42878 Adjust sign of return value for yn (negative integer, 0).
42879 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42880 by zero in return for negative x and set sign appropriately for
42881 negative n.
42882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42884 * math/libm-test.inc (y0_test_data): Add more tests and adjust
42885 expectations in error cases.
42886 (y1_test_data): Likewise.
42887 (yn_test_data): Likewise.
42888 * sysdeps/i386/fpu/libm-test-ulps: Update.
42889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42890
42891 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42892
42893 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42894 "64" to "64-v1". Add "64-v2".
42895 (abi-64-options): Rename to ...
42896 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
42897 (abi-64-condition): Rename to ...
42898 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
42899 (abi-64-ld-soname): Rename to ...
42900 (abi-64-v1-ld-soname): ... this.
42901 (abi-64-v2-options): Define.
42902 (abi-64-v2-condition): Likewise.
42903 (abi-64-v2-ld-soname): Likewise.
42904 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42905 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42909
42910 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42911 Alan Modra <amodra@gmail.com>
42912
42913 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42914 New versions for use with the ELFv2 ABI.
42915 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42916 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42917 declaration.
42918 (struct La_ppc64v2_retval): Likewise.
42919 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42920 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42921 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42922 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42923 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42924 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42925 Do not save or restore CR.
42926 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42927 (_dl_profile_resolve): Do no save or restore CR. Support extended
42928 return values for ELFv2 ABI. Fix location of FPR return registers.
42929 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42930 updated values for _CALL_ELF == 2.
42931 (La_regs, La_retval, int_retval): Likewise.
42932
42933 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42934
42935 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42936 (FRAME_MIN_SIZE_PARM): Likewise.
42937 (FRAME_BACKCHAIN): Likewise.
42938 (FRAME_CR_SAVE): Likewise.
42939 (FRAME_LR_SAVE): Likewise.
42940 (FRAME_TOC_SAVE): Likewise.
42941 (FRAME_PARM_SAVE): Likewise.
42942 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42943 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42944 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42945 (call_mcount_parm_offset): New macro.
42946 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42947 (PROF): Use symbolic stack frame offsets.
42948 (TAIL_CALL_SYSCALL_ERROR): Likewise.
42949 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42950 Redefine in terms of FRAME_MIN_SIZE.
42951 (_dl_runtime_resolve): Use symbolic stack frame offsets.
42952 (_dl_profile_resolve): Likewise. Update comment.
42953 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42954 symbols stack frame offsets.
42955 (__sigsetjmp): Likewise.
42956 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42957 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42958 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42959 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42960
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42962 (FRAME_BACKCHAIN): Remove.
42963 (FRAME_CR_SAVE): Likewise.
42964 (FRAME_LR_SAVE): Likewise.
42965 (FRAME_COMPILER_DW): Likewise.
42966 (FRAME_LINKER_DW): Likewise.
42967 (FRAME_TOC_SAVE): Likewise.
42968 (FRAME_PARM_SAVE): Likewise.
42969 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42970 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42971 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42973 (CHECK_SP): Use symbolic stack frame offsets.
42974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42975 zone" instead of caller's parameter save area for temp storage.
42976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42977 Likewise. Also, use symbolic stack frame offsets.
42978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42979 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42980 our own stack frame instead of the caller's.
42981 (__socket): Use symbolic stack frame offsets.
42982
42983 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42984 Alan Modra <amodra@gmail.com>
42985
42986 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42987 Define.
42988 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42989 (PPC64_LOCAL_ENTRY_OFFSET): Define.
42990 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42991 New function.
42992 (elf_machine_fixup_plt): Call it.
42993 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
42994 reloc arguments.
42995 (elf_machine_rela): Update call to elf_machine_plt_conflict.
42996 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42997 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42998 r2 before calling target.
42999
43000 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43001 Alan Modra <amodra@gmail.com>
43002
43003 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43004 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43005 versions of macros to support ELFv2 ABI.
43006 (LOCALENTRY): New macro.
43007 (ENTRY, EALIGN): Use it.
43008 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43009 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43010 fall through into ENTRY entry point.
43011 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43012 Only define if _CALL_ELF != 2.
43013
43014 (elf_machine_matches_host): Verify ABI version matches.
43015 (RTLD_START): Use LOCALENTRY.
43016 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43017 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43018 (PLT_ENTRY_WORDS): New macro.
43019 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43020 (elf_machine_runtime_setup): Support ELFv2 ABI.
43021 (elf_machine_fixup_plt): Likewise.
43022 (elf_machine_plt_conflict): Likewise.
43023 (resolve_ifunc): Likewise.
43024 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43025 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43026 Likewise.
43027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43028 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43030 (makecontext): Support ELFv2 ABI.
43031 * elf/elf.h (EF_PPC64_ABI): Define.
43032
43033 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43034
43035 * sysdeps/powerpc/powerpc64/sysdep.h
43036 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43037 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43038 (ENTRY) [ASSEMBLER]: ... but instead here ...
43039 (EALIGN) [ASSEMBLER]: ... and here.
43040 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43041 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43042 (ENTRY_2) [!ASSEMBLER]: Use it.
43043 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43044 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
43045 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43046 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43047 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43049 Use PPC64_LOAD_FUNCPTR.
43050
43051 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43052
43053 2013-12-04 Alan Modra <amodra@gmail.com>
43054
43055 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43056 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43057 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43058 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43059
43060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43061 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43062 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43063 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43064 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43065 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43066
43067 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43068
43069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43070 (__makecontext): Fix incorrect CFI when backtracing out of
43071 context created via makecontext.
43072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43073 (__setcontext): Fix incorrect CFI during switch to new context.
43074 (__novec_setcontext): Likewise.
43075
43076 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
43077
43078 [BZ #4772]
43079 * time/strptime_l.c (__strptime_internal): Allow modifiers
43080 in strptime.
43081 * time/tst-strptime.c (day_tests): Add testcase.
43082
43083 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43084
43085 * scripts/bench.pl: Skip over blank lines.
43086
43087 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
43088
43089 [BZ #926]
43090 * manual/time.texi (Calendar Time): Clarify what timezone functions
43091 use.
43092
43093 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43094
43095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43096
43097 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
43098
43099 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43100 implementation.
43101 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43102 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43103 * debug/memset_chk.c (__memset_chk): Likewise.
43104 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43105 * debug/strncpy_chk.c: Likewise.
43106
43107 2013-12-03 Joseph Myers <joseph@codesourcery.com>
43108
43109 [BZ #15268]
43110 [BZ #15425]
43111 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43112 (__ieee754_exp): For possibly underflowing results, check size of
43113 result and force underflow exception if required.
43114 * math/auto-libm-test-in: Add more tests of exp.
43115 * math/auto-libm-test-out: Regenerated.
43116 * sysdeps/i386/fpu/libm-test-ulps: Update.
43117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43118
43119 [BZ #16283]
43120 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43121 * math/w_exp2f.c (__exp2f): Likewise.
43122 * math/w_exp2l.c (__exp2l): Likewise.
43123 * math/auto-libm-test-in: Do not allow missing errno on exp2
43124 underflow.
43125 * math/auto-libm-test-out: Regenerated.
43126
43127 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
43128
43129 [BZ #16274]
43130 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43131 handle filename validation.
43132 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43133 (do_open): Delete.
43134
43135 2013-12-03 Joseph Myers <joseph@codesourcery.com>
43136
43137 [BZ #6786]
43138 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43139 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43140 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43141 <float.h>.
43142 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43143 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43144 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43146 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43148 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43149 * math/auto-libm-test-in: Don't allow missing errno from erfc.
43150 Add more erfc tests.
43151 * math/auto-libm-test-out: Regenerated.
43152 * sysdeps/i386/fpu/libm-test-ulps: Update.
43153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43154
43155 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43156 exp2, expm1, j0 and j1.
43157 * math/auto-libm-test-out: Regenerated.
43158 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43159 (erfc_test_data): Likewise.
43160 (exp_test_data): Likewise.
43161 (exp_tonearest_test_data): Likewise.
43162 (exp_towardzero_test_data): Likewise.
43163 (exp_downward_test_data): Likewise.
43164 (exp_upward_test_data): Likewise.
43165 (exp10_test_data): Likewise.
43166 (exp2_test_data): Likewise.
43167 (expm1_test_data): Likewise.
43168 (j0_test_data): Likewise.
43169 (j1_test_data): Likewise.
43170 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43171 (input_flag_type): Add flag_xfail_rounding.
43172 (input_flags): Add xfail-rounding.
43173 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43174 (output_for_one_input_case): Handle flag_xfail_rounding.
43175 * sysdeps/i386/fpu/libm-test-ulps: Update.
43176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43177
43178 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
43179
43180 [BZ #16289]
43181 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43182 division by 0.
43183
43184 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
43185
43186 [BZ #16195]
43187 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43188 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43189 (STAP_PROBE0): New macro.
43190 (STAP_PROBE1): Likewise.
43191 (STAP_PROBE2): Likewise.
43192 (STAP_PROBE3): Likewise.
43193 (STAP_PROBE4): Likewise.
43194
43195 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
43196
43197 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43198
43199 2013-12-02 Steve Ellcey <sellcey@mips.com>
43200
43201 * benchtests/Makefile (bench): Add sqrt.
43202 (LDLIBS-bench-sqrt): New.
43203 * benchtests/sqrt-input: New.
43204
43205 2013-12-02 Pavel Simerda <psimerda@redhat.com>
43206
43207 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43208 (GAIH_EAI): Likewise.
43209 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43210 (gaih_inet): Likewise.
43211 (getaddrinfo): Don't use GAIH_EAI.
43212
43213 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43214 (struct gaih): Remove definition.
43215
43216 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43217
43218 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43219 Use HERRNOP directly.
43220
43221 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43222
43223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43224
43225 2013-11-30 Joseph Myers <joseph@codesourcery.com>
43226
43227 * math/gen-auto-libm-tests.c (test_functions): Add more
43228 single-argument functions.
43229 (special_fill_pi_2): New function.
43230 (special_fill_minus_pi_2): Likewise.
43231 (special_fill_pi_6): Likewise.
43232 (special_fill_minus_pi_6): Likewise.
43233 (special_fill_pi_3): Likewise.
43234 (special_fill_2pi_3): Likewise.
43235 (special_fill_e): Likewise.
43236 (special_fill_1_e): Likewise.
43237 (special_fill_e_minus_1): Likewise.
43238 (special_real_inputs): Add more special inputs.
43239 (output_for_one_input_case): Do not require ERANGE on underflow to
43240 zero if round-to-nearest result does not underflow to zero, unless
43241 exact results required.
43242 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43243 atan, atanh, cbrt, cos and cosh.
43244 * math/auto-libm-test-out: Regenerated.
43245 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43246 (acos_tonearest_test_data): Likewise.
43247 (acos_towardzero_test_data): Likewise.
43248 (acos_downward_test_data): Likewise.
43249 (acos_upward_test_data): Likewise.
43250 (acosh_test_data): Likewise.
43251 (asin_test_data): Likewise.
43252 (asin_tonearest_test_data): Likewise.
43253 (asin_towardzero_test_data): Likewise.
43254 (asin_upward_test_data): Likewise.
43255 (asinh_test_data): Likewise.
43256 (atan_test_data): Likewise.
43257 (atanh_test_data): Likewise.
43258 (cbrt_test_data): Likewise.
43259 (cos_test_data): Likewise.
43260 (cos_tonearest_test_data): Likewise.
43261 (cos_towardzero_test_data): Likewise.
43262 (cos_downward_test_data): Likewise.
43263 (cos_upward_test_data): Likewise.
43264 (cosh_test_data): Likewise.
43265 (cosh_tonearest_test_data): Likewise.
43266 (cosh_towardzero_test_data): Likewise.
43267 (cosh_downward_test_data): Likewise.
43268 (cosh_upward_test_data): Likewise.
43269 * sysdeps/i386/fpu/libm-test-ulps: Update.
43270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43271
43272 2013-11-29 Joseph Myers <joseph@codesourcery.com>
43273
43274 [BZ #6787]
43275 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43276 * math/w_exp10f.c (__exp10f): Likewise.
43277 * math/w_exp10l.c (__exp10l): Likewise.
43278 * math/libm-test.inc (exp10_test_data): Add more tests and expect
43279 errno settings in existing tests.
43280
43281 [BZ #14032]
43282 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43283 precision control set to double precision.
43284 * sysdeps/i386/fpu/w_sqrt.c: New file.
43285 * math/auto-libm-test-in: Add more tests.
43286 * math/auto-libm-test-out: Update.
43287
43288 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43289 (sqrt_test_tonearest): New function.
43290 (sqrt_towardzero_test_data): New variable.
43291 (sqrt_test_towardzero): New function.
43292 (sqrt_downward_test_data): New variable.
43293 (sqrt_test_downward): New function.
43294 (sqrt_upward_test_data): New variable.
43295 (sqrt_test_upward): New function.
43296 (main): Call the new functions.
43297
43298 * math/gen-auto-libm-tests.c: New file.
43299 * math/auto-libm-test-in: Likewise.
43300 * math/auto-libm-test-out: New generated file.
43301 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43302 variables.
43303 (%beautify): Add generated representations of zero.
43304 (top level): Set $auto_input and call parse_auto_input.
43305 (beautify): Remove trailing "f" from hex float constants.
43306 (parse_args): Handle XFAIL_TEST.
43307 (convert_condition): New function.
43308 (or_value): Likewise.
43309 (or_cond_value): Likewise.
43310 (generate_testfile): Handle AUTO_TESTS_* lines.
43311 (parse_auto_input): New function.
43312 * math/libm-test.inc (XFAIL_TEST): New macro.
43313 (ERRNO_UNCHANGED): Update value.
43314 (ERRNO_EDOM): Likewise.
43315 (ERRNO_ERANGE): Likewise.
43316 (IGNORE_RESULT): Likewise.
43317 (TEST_COND_flt_32): New macro.
43318 (TEST_COND_dbl_64): Likewise.
43319 (TEST_COND_ldbl_96_intel): Likewise.
43320 (TEST_COND_ldbl_96_m68k): Likewise.
43321 (TEST_COND_ldbl_128): Likewise.
43322 (TEST_COND_ldbl_128ibm): Likewise.
43323 (TEST_COND_long32): Likewise.
43324 (TEST_COND_long64): Likewise.
43325 (TEST_COND_before_rounding): Likewise.
43326 (TEST_COND_after_rounding): Likewise.
43327 (enable_test): Handle XFAIL_TEST flag.
43328 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43329 with finite results.
43330 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43331 auto-libm-test-out.
43332
43333 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43334 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43335
43336 [BZ #16214]
43337 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43338 __tls_get_addr_internal instead of __tls_get_offset in order to
43339 avoid GOT pointer dependency. Make rtld export
43340 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43341 __tls_get_addr since we are a __tls_get_offset platform.
43342 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43343 GOT pointer being set up before.
43344 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43345
43346 2013-11-28 Joseph Myers <joseph@codesourcery.com>
43347
43348 * manual/math.texi (Errors in Math Functions): Document accuracy
43349 goals.
43350
43351 [BZ #15004]
43352 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43353 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43354 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43355 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43356 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43357 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43358 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43359 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43360 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43361 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43362 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43363 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43364 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43365 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43366 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43367 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43368
43369 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43370 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43371 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43372 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43373 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43374 Likewise.
43375 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43376 Likewise.
43377 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43378 Likewise.
43379 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43380 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43381 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43382 atomic-feupdateenv and flt-rounds.
43383 * sysdeps/powerpc/nofpu/Versions (libc): Add
43384 __atomic_feholdexcept, __atomic_feclearexcept,
43385 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43386 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43387 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43388 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43389 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43390 here.
43391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43392 Update.
43393
43394 * manual/arith.texi (FP Exceptions): Document that exceptions may
43395 not be raised when matherr is used.
43396 (Math Error Reporting): Document overflow in directed rounding
43397 modes. Document that errno may not be set when finite values are
43398 returned on overflow. Document intent to set errno on underflow
43399 only for underflow to zero.
43400
43401 [BZ #16271]
43402 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43403 round-to-nearest then adjust result for other rounding modes.
43404 * include/fenv.h (fegetround): Use libm_hidden_proto.
43405 * math/fegetround.c (fegetround): Use libm_hidden_def.
43406 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43407 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43408 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43409 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43410 Likewise.
43411 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43412 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43413 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43414 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43415
43416 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43417
43418 [BZ #16077]
43419 * nss/Versions (libnss_files): Add
43420 _nss_files_gethostbyname3_r.
43421 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43422 New function.
43423 (HOST_DB_LOOKUP): Remove macro.
43424 (_nss_files_gethostbyname_r): Implement function without the
43425 HOST_DB_LOOKUP macro.
43426 (_nss_files_gethostbyname2_r): Likewise.
43427
43428 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
43429
43430 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43431
43432 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
43433
43434 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43435 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43436 warning.
43437
43438 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43439
43440 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43441 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43442 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43443 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43444 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43445 __fe_nomask_env_priv and attribute_hidden.
43446 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43447 (libc_feupdateenv_test_ppc): Likewise.
43448 (libc_feresetround_ppc): Likewise.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43450 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43451 compat_symbol macro.
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43453 (__fe_nomask_env): Likewise.
43454 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43455
43456 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43457
43458 * string/Makefile: Remove ifunc tests.
43459 * string/test-string.h: Define TEST_IFUNC.
43460 * string/test-bcopy-ifunc.c: Remove.
43461 * string/test-bzero-ifunc.c: Likewise.
43462 * string/test-memccpy-ifunc.c: Likewise.
43463 * string/test-memchr-ifunc.c: Likewise.
43464 * string/test-memcmp-ifunc.c: Likewise.
43465 * string/test-memcpy-ifunc.c: Likewise.
43466 * string/test-memmem-ifunc.c: Likewise.
43467 * string/test-memmove-ifunc.c: Likewise.
43468 * string/test-mempcpy-ifunc.c: Likewise.
43469 * string/test-memrchr-ifunc.c: Likewise.
43470 * string/test-memset-ifunc.c: Likewise.
43471 * string/test-rawmemchr-ifunc.c: Likewise.
43472 * string/test-stpcpy-ifunc.c: Likewise.
43473 * string/test-stpncpy-ifunc.c: Likewise.
43474 * string/test-strcasecmp-ifunc.c: Likewise.
43475 * string/test-strcasestr-ifunc.c: Likewise.
43476 * string/test-strcat-ifunc.c: Likewise.
43477 * string/test-strchr-ifunc.c: Likewise.
43478 * string/test-strchrnul-ifunc.c: Likewise.
43479 * string/test-strcmp-ifunc.c: Likewise.
43480 * string/test-strcpy-ifunc.c: Likewise.
43481 * string/test-strcspn-ifunc.c: Likewise.
43482 * string/test-strlen-ifunc.c: Likewise.
43483 * string/test-strncasecmp-ifunc.c: Likewise.
43484 * string/test-strncat-ifunc.c: Likewise.
43485 * string/test-strncmp-ifunc.c: Likewise.
43486 * string/test-strncpy-ifunc.c: Likewise.
43487 * string/test-strnlen-ifunc.c: Likewise.
43488 * string/test-strpbrk-ifunc.c: Likewise.
43489 * string/test-strrchr-ifunc.c: Likewise.
43490 * string/test-strspn-ifunc.c: Likewise.
43491 * string/test-strstr-ifunc.c: Likewise.
43492
43493 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43494
43495 * benchtests/Makefile: Remove ifunc tests.
43496 * benchtests/bench-string.h: Define TEST_IFUNC.
43497 * benchtests/bench-bcopy-ifunc.c: Remove.
43498 * benchtests/bench-bzero-ifunc.c: Likewise.
43499 * benchtests/bench-memccpy-ifunc.c: Likewise.
43500 * benchtests/bench-memchr-ifunc.c: Likewise.
43501 * benchtests/bench-memcmp-ifunc.c: Likewise.
43502 * benchtests/bench-memcpy-ifunc.c: Likewise.
43503 * benchtests/bench-memmem-ifunc.c: Likewise.
43504 * benchtests/bench-memmove-ifunc.c: Likewise.
43505 * benchtests/bench-mempcpy-ifunc.c: Likewise.
43506 * benchtests/bench-memrchr-ifunc.c: Likewise.
43507 * benchtests/bench-memset-ifunc.c: Likewise.
43508 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43509 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43510 * benchtests/bench-stpcpy-ifunc.c: Likewise.
43511 * benchtests/bench-stpncpy-ifunc.c: Likewise.
43512 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43513 * benchtests/bench-strcasestr-ifunc.c: Likewise.
43514 * benchtests/bench-strcat-ifunc.c: Likewise.
43515 * benchtests/bench-strchr-ifunc.c: Likewise.
43516 * benchtests/bench-strchrnul-ifunc.c: Likewise.
43517 * benchtests/bench-strcmp-ifunc.c: Likewise.
43518 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43519 * benchtests/bench-strcpy-ifunc.c: Likewise.
43520 * benchtests/bench-strcspn-ifunc.c: Likewise.
43521 * benchtests/bench-strlen-ifunc.c: Likewise.
43522 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43523 * benchtests/bench-strncat-ifunc.c: Likewise.
43524 * benchtests/bench-strncmp-ifunc.c: Likewise.
43525 * benchtests/bench-strncpy-ifunc.c: Likewise.
43526 * benchtests/bench-strnlen-ifunc.c: Likewise.
43527 * benchtests/bench-strpbrk-ifunc.c: Likewise.
43528 * benchtests/bench-strrchr-ifunc.c: Likewise.
43529 * benchtests/bench-strsep-ifunc.c: Likewise.
43530 * benchtests/bench-strspn-ifunc.c: Likewise.
43531 * benchtests/bench-strstr-ifunc.c: Likewise.
43532
43533 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43534
43535 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43536
43537 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43538
43539 * resolv/netdb.h: Use __glibc_reserved instead __unused.
43540 * rt/aio.h: Likewise.
43541 * sysdeps/gnu/bits/utmp.h: Likewise.
43542 * sysdeps/gnu/bits/utmpx.h: Likewise.
43543 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43544 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43545 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43546 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43547 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43548 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43549 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43550 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43551 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43552 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43553 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43554 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43555 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43557 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43558 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43559 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43560 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43561 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43562 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43563 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43564 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43565 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43566 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43567 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43569 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43570 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43571 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43572 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43573 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43574 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43575 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43576 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43577 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43578 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43579 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43580 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43581 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43582 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43583 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43584 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43585
43586 2013-11-25 Carlos O'Donell <carlos@redhat.com>
43587
43588 [BZ #16245]
43589 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43590 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43591
43592 2013-11-25 Joseph Myers <joseph@codesourcery.com>
43593
43594 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43595 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43596 Likewise.
43597
43598 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43599
43600 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43601 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43602 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43603 (__fesetround): Remove define.
43604 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43605 rounding and exceptions handling.
43606 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43607 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43608 (__fe_nomask_env): Likewise.
43609 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43610 __fegetround instead of fegetround.
43611 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43612 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43613
43614 2013-11-21 Roland McGrath <roland@hack.frob.com>
43615
43616 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43617 it's there.
43618
43619 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43620
43621 2013-11-21 Meador Inge <meadori@codesourcery.com>
43622
43623 [BZ #11157]
43624 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43625 (encrypt_r): Likewise.
43626 * malloc/obstack.h (obstack_free): Likewise.
43627 * posix/unistd.h (encrypt): Likewise.
43628
43629 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
43630
43631 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43632 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43633 DL_CALL_DT_FINI() that call the functions directly.
43634 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43635 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43636 * elf/dl-fini.c: Likewise.
43637
43638 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
43639
43640 * malloc/hooks.c (memalign_check): Add alignment rounding.
43641 * malloc/malloc.c (_mid_memalign): New function.
43642 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43643 Implement by calling _mid_memalign.
43644 * manual/probes.texi (Memory Allocation Probes): Remove
43645 memory_valloc_retry and memory_pvalloc_retry.
43646
43647 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
43648
43649 * locale/programs/locarchive.c (open_archive): Add const
43650 qualifier to ARCHIVEFNAME and copy default fname to
43651 DEFAULT_FNAME.
43652
43653 [BZ #15601]
43654 * libio/tst-widetext.input: Rename Oriya to Odia.
43655 * locale/iso-639.def: Likewise.
43656
43657 * manual/probes.texi (Mathematical Function Probes): Add
43658 documentation for sin, cos, asin and acos probes.
43659 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43660 (__sin32): Add slowasin probe.
43661 (__cos32): Add slowacos probe.
43662 (__mpsin): Add slowsin probe.
43663 (__mpcos): Add slowcos probe.
43664
43665 2013-11-19 Joseph Myers <joseph@codesourcery.com>
43666
43667 [BZ #15483]
43668 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43669 thread-local __sim_exceptions_thread and global
43670 __sim_exceptions_global.
43671 (__sim_disabled_exceptions): Change to thread-local
43672 __sim_disabled_exceptions_thread and global
43673 __sim_disabled_exceptions_global.
43674 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43675 and global __sim_round_mode_global.
43676 (__simulate_exceptions): Use thread-local floating-point state and
43677 set global state from it as needed.
43678 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43679 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43680 __sim_round_mode_thread.
43681 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43682 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43683 and global __sim_exceptions_global.
43684 (__sim_disabled_exceptions): Change to thread-local
43685 __sim_disabled_exceptions_thread and global
43686 __sim_disabled_exceptions_global.
43687 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43688 and global __sim_round_mode_global.
43689 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43690 (SIM_SET_GLOBAL): Likewise.
43691 * sysdeps/powerpc/soft-fp/sfp-machine.h
43692 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43693 __sim_round_mode_thread.
43694 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43695 __sim_disabled_exceptions_thread.
43696 (__sim_exceptions): Change to __sim_exceptions_thread.
43697 (__sim_disabled_exceptions): Change to
43698 __sim_disabled_exceptions_thread.
43699 (__sim_round_mode): Change to __sim_round_mode_thread.
43700 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43701 thread-local floating-point state and set global state from it as
43702 needed.
43703 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43704 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43705 (__sim_disabled_exceptions): Remove extern declaration.
43706 (feenableexcept): Use thread-local floating-point state and set
43707 global state from it as needed.
43708 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43709 extern declaration.
43710 (__sim_disabled_exceptions): Likewise.
43711 (__sim_round_mode): Likewise.
43712 (__fegetenv): Use thread-local floating-point state.
43713 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43714 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43715 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43716 floating-point state and set global state from it as needed.
43717 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43718 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43719 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43720 Likewise.
43721 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43722 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43723 Likewise.
43724 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43725 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43726 Use __sim_round_mode_thread.
43727 * math/test-fenv-tls.c: New file.
43728 * math/Makefile (tests): Add test-fenv-tls.
43729 ($(objpfx)test-fenv-tls): Depend on
43730 $(common-objpfx)nptl/libpthread.so.
43731
43732 2013-11-19 Andreas Schwab <schwab@suse.de>
43733
43734 * locale/programs/locale.c (show_info): Decode wordarray elements.
43735 * locale/categories.def (LC_MONETARY): Add element for
43736 _NL_MONETARY_CRNCYSTR.
43737 * locale/C-monetary.c (conversion_rate): New variable.
43738 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43739 element.
43740
43741 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
43742
43743 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43744 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43745
43746 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43747
43748 * elf/Makefile (tst-auxv): New test.
43749 * elf/tst-auxv.c: New
43750 * elf/rtld.c (dl_main): Adjust AT_EXECFN
43751
43752 2013-11-18 Joseph Myers <joseph@codesourcery.com>
43753
43754 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43755 (hidden_proto): Caller changed.
43756 (hidden_tls_proto): New macro.
43757 (libc_hidden_tls_proto): Likewise.
43758 (rtld_hidden_tls_proto): Likewise.
43759 (libm_hidden_tls_proto): Likewise.
43760 (libresolv_hidden_tls_proto): Likewise.
43761 (librt_hidden_tls_proto): Likewise.
43762 (libdl_hidden_tls_proto): Likewise.
43763 (libnss_files_hidden_tls_proto): Likewise.
43764 (libnsl_hidden_tls_proto): Likewise.
43765 (libnss_nisplus_hidden_tls_proto): Likewise.
43766 (libutil_hidden_tls_proto): Likewise.
43767
43768 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
43769
43770 [BZ #10253]
43771 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43772 (decompose_rpath): Defer expansion to fillin_rpath.
43773 (_dl_init_paths): Pass linkmap to fillin_rpath.
43774
43775 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43776
43777 * benchtests/Makefile: Add strsep.
43778 * benchtests/bench-strsep.c: New file: strsep benchtest.
43779 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43780
43781 2013-11-18 Andreas Schwab <schwab@suse.de>
43782
43783 * locale/programs/locale.c (show_info) [case byte]: Check for
43784 '\377' instead of '\177'.
43785 * locale/C-monetary.c (not_available): Always use "\377".
43786 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43787 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
43788 detect unavailable sign_posn locale elements.
43789 * locale/localeconv.c (__localeconv): For grouping and
43790 mon_grouping handle "\177" and "\377" like no grouping.
43791 (INT_ELEM): New macro. Use it to set all numeric members.
43792 * locale/programs/ld-monetary.c (monetary_read)
43793 <tok_mon_grouping>: Normalize single -1 to the empty string.
43794 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43795 Likewise.
43796
43797 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
43798
43799 [BZ #16055]
43800 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43801 when we match (nil).
43802 * stdio-common/tst-sscanf.c (struct test): Add testcase.
43803
43804 2013-11-16 Joseph Myers <joseph@codesourcery.com>
43805
43806 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43807 (NO_TEST_INLINE): Update value.
43808 (ERRNO_UNCHANGED): Likewise.
43809 (ERRNO_EDOM): Likewise.
43810 (ERRNO_ERANGE): Likewise.
43811 (IGNORE_RESULT): Likewise.
43812 (check_float_internal): Check signs of NaN results if
43813 TEST_NAN_SIGN used.
43814 (check_complex): Pass TEST_NAN_SIGN flag through to second
43815 check_float_internal call.
43816 (copysign_test_data): Add tests with quiet NaNs as second
43817 argument. Use TEST_NAN_SIGN.
43818 (fabs_test_data): Add test of negative quiet NaN argument. Use
43819 TEST_NAN_SIGN.
43820 (signbit_test_data): Add tests of quiet NaN argument.
43821 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43822
43823 * math/gen-libm-test.pl (show_exceptions): Take extra argument
43824 $ignore_result.
43825 (parse_args): Handle function results specified as IGNORE.
43826 * math/libm-test.inc (IGNORE_RESULT): New macro.
43827 (check_float_internal): Do not check numerical result if flag
43828 IGNORE_RESULT set.
43829 (check_complex): Pass through IGNORE_RESULT to second
43830 check_float_internal call.
43831 (check_int): Do not check numerical result if flag IGNORE_RESULT
43832 set.
43833 (check_long): Likewise.
43834 (check_bool): Likewise.
43835 (check_longlong): Likewise.
43836 (lrint_test_data): Add tests of infinite and NaN arguments.
43837 (lrint_tonearest_test_data): Likewise.
43838 (lrint_towardzero_test_data): Likewise.
43839 (lrint_downward_test_data): Likewise.
43840 (lrint_upward_test_data): Likewise.
43841 (llrint_test_data): Likewise.
43842 (llrint_tonearest_test_data): Likewise.
43843 (llrint_towardzero_test_data): Likewise.
43844 (llrint_downward_test_data): Likewise.
43845 (llrint_upward_test_data): Likewise.
43846 (lround_test_data): Likewise.
43847 (llround_test_data): Likewise.
43848
43849 * math/libm-test.inc (NO_TEST_INLINE): New macro.
43850 (ERRNO_UNCHANGED): Update value.
43851 (ERRNO_EDOM): Likewise.
43852 (ERRNO_ERANGE): Likewise.
43853 (NO_TEST_INLINE_FLOAT): New macro.
43854 (NO_TEST_INLINE_DOUBLE): Likewise.
43855 (enable_test): New function.
43856 (RUN_TEST_f_f): Check enable_test before running test.
43857 (RUN_TEST_2_f): Likewise.
43858 (RUN_TEST_fff_f): Likewise.
43859 (RUN_TEST_c_f): Likewise.
43860 (RUN_TEST_f_f1): Likewise.
43861 (RUN_TEST_fF_f1): Likewise.
43862 (RUN_TEST_fI_f1): Likewise.
43863 (RUN_TEST_ffI_f1): Likewise.
43864 (RUN_TEST_c_c): Likewise.
43865 (RUN_TEST_cc_c): Likewise.
43866 (RUN_TEST_f_i): Likewise.
43867 (RUN_TEST_f_i_tg): Likewise.
43868 (RUN_TEST_ff_i_tg): Likewise.
43869 (RUN_TEST_f_b): Likewise.
43870 (RUN_TEST_f_b_tg): Likewise.
43871 (RUN_TEST_f_l): Likewise.
43872 (RUN_TEST_f_L): Likewise.
43873 (RUN_TEST_fFF_11): Likewise.
43874 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43875 conditionals.
43876 (cosh_test_data): Likewise.
43877 (exp_test_data): Likewise.
43878 (expm1_test_data): Likewise.
43879 (hypot_test_data): Likewise.
43880 (pow_test_data): Likewise.
43881 (sinh_test_data): Likewise.
43882 (tanh_test_data): Likewise.
43883 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43884 flags argument.
43885
43886 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43887 tests with quiet NaN input and output.
43888 (acosh_test_data): Likewise.
43889 (asin_test_data): Likewise.
43890 (asinh_test_data): Likewise.
43891 (atan_test_data): Likewise.
43892 (atanh_test_data): Likewise.
43893 (atan2_test_data): Likewise.
43894 (cbrt_test_data): Likewise.
43895 (cos_test_data): Likewise.
43896 (cosh_test_data): Likewise.
43897 (erf_test_data): Likewise.
43898 (erfc_test_data): Likewise.
43899 (exp_test_data): Likewise.
43900 (exp10_test_data): Likewise.
43901 (exp2_test_data): Likewise.
43902 (expm1_test_data): Likewise.
43903 (hypot_test_data): Likewise.
43904 (j0_test_data): Likewise.
43905 (j1_test_data): Likewise.
43906 (jn_test_data): Likewise.
43907 (lgamma_test_data): Likewise.
43908 (log_test_data): Likewise.
43909 (log10_test_data): Likewise.
43910 (log1p_test_data): Likewise.
43911 (log2_test_data): Likewise.
43912 (pow_test_data): Likewise.
43913 (scalb_test_data): Likewise.
43914 (sin_test_data): Likewise.
43915 (sincos_test_data): Likewise.
43916 (sinh_test_data): Likewise.
43917 (tan_test_data): Likewise.
43918 (tanh_test_data): Likewise.
43919 (tgamma_test_data): Likewise.
43920 (y0_test_data): Likewise.
43921 (y1_test_data): Likewise.
43922 (yn_test_data): Likewise.
43923
43924 [BZ #16167]
43925 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43926 argument being NaN and avoid computations with second argument in
43927 that case.
43928 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43929 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43930 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43931
43932 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
43933
43934 * locale/iso-639.def: Add Chitwani Tharu (the).
43935
43936 2013-11-14 Andreas Schwab <schwab@suse.de>
43937
43938 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43939 word instead of empty string.
43940
43941 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43942
43943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43944 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43946 (__fe_nomask_env): Likewise.
43947
43948 2013-11-13 Steve Ellcey <sellcey@mips.com>
43949
43950 * benchtests/bench-timing.h: Include time.h.
43951
43952 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
43953
43954 [BZ #15997]
43955 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43956 to 3.4.0 for x32.
43957 * sysdeps/unix/sysv/linux/configure: Regenerated.
43958
43959 2013-11-13 Joseph Myers <joseph@codesourcery.com>
43960
43961 [BZ #16151]
43962 * stdlib/strtod_l.c (round_and_return): Do not consider
43963 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43964 exponent one less than half the least subnormal exponent.
43965 * stdlib/test-strtod-round-data: Add more tests.
43966 * stdlib/tst-strtod-round.c (tests): Regenerated.
43967
43968 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43969
43970 [BZ #14143]
43971 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43972 (__fe_mask_env): Likewise.
43973 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43974 libm_hidden_proto and add function prototype.
43975 (__fe_mask_env): Add function prototype.
43976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43977 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43979 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43981 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43982
43983 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43984
43985 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43986 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43987
43988 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43989
43990 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43991 of htab_find_slot().
43992
43993 2013-11-11 David S. Miller <davem@davemloft.net>
43994
43995 [BZ #16150]
43996 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43997 symbol in the non-vis3 case in static builds.
43998 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43999 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44000 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44001 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44002
44003 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
44004
44005 [BZ #387]
44006 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44007 it is empty.
44008
44009 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44010
44011 * benchtests/Makefile: Add bench-strtod.
44012 * benchtests/bench-strtod.c: New file: strtod benchtest
44013
44014 2013-11-11 Andreas Schwab <schwab@suse.de>
44015
44016 [BZ #16153]
44017 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44018 terminating NUL in key length.
44019
44020 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44021
44022 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44023 Add artificial ODP entry for vDSO symbol for PPC64.
44024 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44025 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44026
44027 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
44028
44029 [BZ #15374]
44030 * nss/getent.c (services_keys): Recognize services starting with digit.
44031
44032 2013-11-06 David S. Miller <davem@davemloft.net>
44033
44034 [BZ #15985]
44035 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44036 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44037
44038 2013-11-06 Will Newton <will.newton@linaro.org>
44039
44040 * manual/memory.texi (Malloc Examples): Remove register
44041 keyword from examples.
44042
44043 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
44044
44045 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44046
44047 2013-11-04 Joseph Myers <joseph@codesourcery.com>
44048
44049 [BZ #6981]
44050 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44051 depending on [__GCC_IEC_559 > 0].
44052 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44053 depending on [__GCC_IEC_559_COMPLEX > 0].
44054
44055 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
44056
44057 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44058 to iso-639.def.
44059
44060 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
44061
44062 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44063
44064 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
44065
44066 [BZ #16112]
44067 * malloc/malloc (malloc_info): Do not handle first bin as
44068 special case.
44069
44070 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
44071
44072 * locale/iso-639.def: Add Central Nahuatl (nhn).
44073
44074 2013-11-01 Bruno Haible <bruno@clisp.org>
44075
44076 [BZ #7003]
44077 * manual/math.texi (BSD Random): Specify range upper bound as
44078 in POSIX.
44079
44080 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
44081
44082 * locale/iso-639.def: Add Meadow Mari (mhr).
44083
44084 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
44085
44086 [BZ #14752], [BZ #15763]
44087 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44088 Validate name.
44089 * rt/tst_shm.c: Add test for escaping directory.
44090
44091 2013-10-31 Andreas Schwab <schwab@suse.de>
44092
44093 [BZ #15917]
44094 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44095 followed by 'x' as part of digit sequence.
44096 * stdio-common/tst-sscanf.c (double_tests2): New tests.
44097
44098 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44099
44100 [BZ #16037]
44101 * configure.ac: allow GNU Make 4.0 and greater.
44102 * configure: Regenerated.
44103
44104 2013-10-30 Will Newton <will.newton@linaro.org>
44105
44106 [BZ #16038]
44107 * malloc/hooks.c (memalign_check): Limit alignment to the
44108 maximum representable power of two.
44109 * malloc/malloc.c (__libc_memalign): Likewise.
44110 * malloc/tst-memalign.c (do_test): Add test for very
44111 large alignment values.
44112 * malloc/tst-posix_memalign.c (do_test): Likewise.
44113
44114 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
44115
44116 [BZ #11087]
44117 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44118 (munmap_chunk): Likewise.
44119 (mremap_chunk): Likewise.
44120
44121 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
44122
44123 [BZ #15799]
44124 * stdlib/div.c (div): Remove obsolete code.
44125 * stdlib/ldiv.c (ldiv): Likewise.
44126 * stdlib/lldiv.c (lldiv): Likewise.
44127
44128 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44129
44130 [BZ #16071]
44131 * nss/nss_files/files-XXX.c (get_contents_ret): New
44132 enumerator.
44133 (get_contents): New function.
44134 (internal_getent): Use it. Expand size of LINEBUFLEN.
44135
44136 2013-10-30 Mike Frysinger <vapier@gentoo.org>
44137
44138 * configure.in: Moved to ...
44139 * configure.ac: ... here. Change reference to configure.in
44140 to configure.ac.
44141 * sysdeps/arm/preconfigure.ac: ... here.
44142 configure.in to configure.ac.
44143 * sysdeps/gnu/configure.in: Moved to ...
44144 * sysdeps/gnu/configure.ac: ... here.
44145 * sysdeps/i386/configure.in: Moved to ...
44146 * sysdeps/i386/configure.ac: ... here.
44147 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44148 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44149 * sysdeps/mach/configure.in: Moved to ...
44150 * sysdeps/mach/configure.ac: ... here.
44151 * sysdeps/mach/hurd/configure.in: Moved to ...
44152 * sysdeps/mach/hurd/configure.ac: ... here.
44153 * sysdeps/powerpc/configure.in: Moved to ...
44154 * sysdeps/powerpc/configure.ac: ... here.
44155 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44156 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44157 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44158 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44159 * sysdeps/s390/s390-32/configure.in: Moved to ...
44160 * sysdeps/s390/s390-32/configure.ac: ... here.
44161 * sysdeps/s390/s390-64/configure.in: Moved to ...
44162 * sysdeps/s390/s390-64/configure.ac: ... here.
44163 * sysdeps/sh/configure.in: Moved to ...
44164 * sysdeps/sh/configure.ac: ... here.
44165 * sysdeps/sparc/configure.in: Moved to ...
44166 * sysdeps/sparc/configure.ac: ... here.
44167 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44168 * sysdeps/unix/sysv/linux/configure.ac: ... here.
44169 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44170 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44171 * sysdeps/x86_64/configure.in: Moved to ...
44172 * sysdeps/x86_64/configure.ac: ... here.
44173 * sysdeps/x86_64/preconfigure.in: Moved to ...
44174 * sysdeps/x86_64/preconfigure.ac: ... here.
44175 * aclocal.m4: Change reference to configure.in to configure.ac.
44176 * config.h.in: Likewise.
44177 * manual/install.texi: Likewise.
44178 * manual/maint.texi: Likewise.
44179 * Makefile: Likewise.
44180 * malloc/Makefile: Likewise.
44181 * nscd/Makefile: Likewise.
44182 * Makeconfig: Change reference to configure.in and
44183 preconfigure.in to configure.ac and preconfigure.ac
44184 respectively.
44185 * INSTALL: Regenerated.
44186 * configure: Likewise.
44187 * sysdeps/gnu/configure: Likewise.
44188 * sysdeps/i386/configure: Likewise.
44189 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44190 * sysdeps/mach/configure: Likewise.
44191 * sysdeps/mach/hurd/configure: Likewise.
44192 * sysdeps/powerpc/configure: Likewise.
44193 * sysdeps/powerpc/powerpc32/configure: Likewise.
44194 * sysdeps/powerpc/powerpc64/configure: Likewise.
44195 * sysdeps/s390/s390-32/configure: Likewise.
44196 * sysdeps/s390/s390-64/configure: Likewise.
44197 * sysdeps/sh/configure: Likewise.
44198 * sysdeps/sparc/configure: Likewise.
44199 * sysdeps/unix/sysv/linux/configure: Likewise.
44200 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44201 * sysdeps/x86_64/configure: Likewise.
44202 * sysdeps/x86_64/preconfigure: Likewise.
44203
44204 2013-10-29 Andreas Schwab <schwab@suse.de>
44205
44206 * stdio-common/Makefile (tst-swscanf-ENV): Define.
44207
44208 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44209
44210 * benchtests/pow-inputs: Add new inputs.
44211
44212 * benchtests/exp-inputs: Add new inputs.
44213
44214 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44215 conditional check for return value.
44216 (__cos32): Likewise.
44217
44218 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44219
44220 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44221 to provide a boost for large inputs with word alignment.
44222 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44223 implementation based on optimized PPC64 strcpy.
44224 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44225 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44226 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44227 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44228
44229 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
44230
44231 [BZ #2801]
44232 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44233
44234 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
44235
44236 [BZ #14876]
44237 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44238 * time/tst-strptime.c (day_tests): Add testcase.
44239
44240 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
44241
44242 [BZ #14029]
44243 * manual/pattern.texi: Acknowledge that fnmatch can fail.
44244
44245 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
44246
44247 [BZ #16074]
44248 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44249 MAP_FAILED on error.
44250
44251 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44252
44253 [BZ #16072]
44254 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44255 heap for large requests.
44256
44257 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
44258
44259 [BZ #9954]
44260 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44261 result if the result has no associated interface.
44262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44263 interface for all 127.X.Y.Z addresses.
44264
44265 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
44266
44267 * locale/iso-639.def: Add Ligurian (lij)
44268
44269 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
44270
44271 [BZ #15825]
44272 * sunrpc/rpc_main.c: Document rpcgen -5.
44273
44274 2013-10-19 Michael Stahl <mstahl@redhat.com>
44275
44276 * elf/rtld.c (do_preload): Print the reason why preloading failed.
44277
44278 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
44279
44280 [BZ #10278]
44281 * posix/glob.c: Match only directories when trailing slash is present.
44282 * posix/tst-gnuglob.c (my_opendir): Do not open files.
44283 (main): Add testcase.
44284
44285 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
44286
44287 [BZ #15670]
44288 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44289
44290 2013-10-18 Carlos O'Donell <carlos@redhat.com>
44291
44292 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44293 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44294 AUTH_DES and cindex for FIPS 140-2.
44295 (DES Encryption): Add cindex FIPS 46-3.
44296
44297 * locale/locarchive.h (struct locarhandle): Add fname.
44298 * locale/programs/localedef.c (main): Pass ARGV[remaining]
44299 if an optional argument was specified to --list-archive,
44300 otherwise NULL.
44301 * locale/programs/locarchive.c (show_archive_content): Take new
44302 argument fname and pass it via ah.fname to open_archive.
44303 * locale/programs/localedef.h: Update decl.
44304 (open_archive): If AH->fname is non-null, open that file
44305 rather than the default file name, and don't ignore ENOENT.
44306 (create_archive): Set AH.fname to NULL.
44307 (delete_locales_from_archive): Likewise.
44308 (add_locales_to_archive): Likewise.
44309 * locale/programs/locfile.c (write_all_categories): Likewise.
44310
44311 2013-10-18 Joseph Myers <joseph@codesourcery.com>
44312 Aldy Hernandez <aldyh@redhat.com>
44313
44314 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44315 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44316 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44317 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44318 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44319 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44320 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44321 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44322 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44323 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44324 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44325 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44326 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44327 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44328 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44329 Likewise.
44330 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44331 Likewise.
44332 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44333 Likewise.
44334 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44335 Likewise.
44336 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44337 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44338 Likewise.
44339 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44340 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44341 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44342 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44343 Likewise.
44344 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44345 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44346 * sysdeps/powerpc/preconfigure: Likewise.
44347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44348 Likewise.
44349 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44350 Replace contents of file by #include of <fenv_libc.h>.
44351 * sysdeps/powerpc/soft-fp/sfp-machine.h
44352 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44353 and <sys/prctl.h>.
44354 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44358 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44361 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44364 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44367 Allow copysignl PLT reference to be missing.
44368
44369 2013-10-18 Richard Sandiford <richard@codesourcery.com>
44370 Joseph Myers <joseph@codesourcery.com
44371
44372 [BZ #15948]
44373 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44374 single character.
44375 (add_to_tablewc): Assert sequence of wide characters is nonempty.
44376
44377 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44378
44379 * elf/tst-tls-dlinfo.c: Don't include tls.h.
44380 * elf/tst-tls1.c: Likewise.
44381 * elf/tst-tls10.h: Likewise.
44382 * elf/tst-tls14.c: Likewise.
44383 * elf/tst-tls2.c: Likewise.
44384 * elf/tst-tls3.c: Likewise.
44385 * elf/tst-tls4.c: Likewise.
44386 * elf/tst-tls5.c: Likewise.
44387 * elf/tst-tls6.c: Likewise.
44388 * elf/tst-tls7.c: Likewise.
44389 * elf/tst-tls8.c: Likewise.
44390 * elf/tst-tls9.c: Likewise.
44391 * elf/tst-tlsmod1.c: Likewise.
44392 * elf/tst-tlsmod13.c: Likewise.
44393 * elf/tst-tlsmod13a.c: Likewise.
44394 * elf/tst-tlsmod14a.c: Likewise.
44395 * elf/tst-tlsmod16a.c: Likewise.
44396 * elf/tst-tlsmod16b.c: Likewise.
44397 * elf/tst-tlsmod2.c: Likewise.
44398 * elf/tst-tlsmod3.c: Likewise.
44399 * elf/tst-tlsmod4.c: Likewise.
44400 * elf/tst-tlsmod5.c: Likewise.
44401 * elf/tst-tlsmod6.c: Likewise.
44402
44403 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
44404
44405 [BZ #12486]
44406 * malloc/malloc.c: remove checks for statistics.
44407
44408 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
44409
44410 [BZ #15277]
44411 * inet/inet_net.c (inet_network): Detect additional invalid strings.
44412 * inet/tst-network.c: Add testcase.
44413
44414 2013-10-17 Andreas Schwab <schwab@suse.de>
44415
44416 [BZ #15218]
44417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44418 to determine canonical name.
44419
44420 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
44421
44422 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44423 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44439 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44440 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44441 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44446 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44447 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44452 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44467 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44471 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44472 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44473 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44474 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44475 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44477 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44480
44481 2013-10-17 Joseph Myers <joseph@codesourcery.com>
44482
44483 [BZ #16041]
44484 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44485 make result into a quiet NaN.
44486
44487 2013-10-16 Joseph Myers <joseph@codesourcery.com>
44488
44489 * soft-fp/adddf3.c: Fix horizontal whitespace.
44490 * soft-fp/addsf3.c: Likewise.
44491 * soft-fp/addtf3.c: Likewise.
44492 * soft-fp/divdf3.c: Likewise.
44493 * soft-fp/divsf3.c: Likewise.
44494 * soft-fp/divtf3.c: Likewise.
44495 * soft-fp/double.h: Likewise.
44496 * soft-fp/eqdf2.c: Likewise.
44497 * soft-fp/eqsf2.c: Likewise.
44498 * soft-fp/eqtf2.c: Likewise.
44499 * soft-fp/extenddftf2.c: Likewise.
44500 * soft-fp/extended.h: Likewise.
44501 * soft-fp/extendsfdf2.c: Likewise.
44502 * soft-fp/extendsftf2.c: Likewise.
44503 * soft-fp/extendxftf2.c: Likewise.
44504 * soft-fp/fixdfdi.c: Likewise.
44505 * soft-fp/fixdfsi.c: Likewise.
44506 * soft-fp/fixdfti.c: Likewise.
44507 * soft-fp/fixsfdi.c: Likewise.
44508 * soft-fp/fixsfsi.c: Likewise.
44509 * soft-fp/fixsfti.c: Likewise.
44510 * soft-fp/fixtfdi.c: Likewise.
44511 * soft-fp/fixtfsi.c: Likewise.
44512 * soft-fp/fixtfti.c: Likewise.
44513 * soft-fp/fixunsdfdi.c: Likewise.
44514 * soft-fp/fixunsdfsi.c: Likewise.
44515 * soft-fp/fixunsdfti.c: Likewise.
44516 * soft-fp/fixunssfdi.c: Likewise.
44517 * soft-fp/fixunssfsi.c: Likewise.
44518 * soft-fp/fixunssfti.c: Likewise.
44519 * soft-fp/fixunstfdi.c: Likewise.
44520 * soft-fp/fixunstfsi.c: Likewise.
44521 * soft-fp/fixunstfti.c: Likewise.
44522 * soft-fp/floatdidf.c: Likewise.
44523 * soft-fp/floatdisf.c: Likewise.
44524 * soft-fp/floatditf.c: Likewise.
44525 * soft-fp/floatsidf.c: Likewise.
44526 * soft-fp/floatsisf.c: Likewise.
44527 * soft-fp/floatsitf.c: Likewise.
44528 * soft-fp/floattidf.c: Likewise.
44529 * soft-fp/floattisf.c: Likewise.
44530 * soft-fp/floattitf.c: Likewise.
44531 * soft-fp/floatundidf.c: Likewise.
44532 * soft-fp/floatundisf.c: Likewise.
44533 * soft-fp/floatunditf.c: Likewise.
44534 * soft-fp/floatunsidf.c: Likewise.
44535 * soft-fp/floatunsisf.c: Likewise.
44536 * soft-fp/floatunsitf.c: Likewise.
44537 * soft-fp/floatuntidf.c: Likewise.
44538 * soft-fp/floatuntisf.c: Likewise.
44539 * soft-fp/floatuntitf.c: Likewise.
44540 * soft-fp/fmadf4.c: Likewise.
44541 * soft-fp/fmasf4.c: Likewise.
44542 * soft-fp/fmatf4.c: Likewise.
44543 * soft-fp/gedf2.c: Likewise.
44544 * soft-fp/gesf2.c: Likewise.
44545 * soft-fp/getf2.c: Likewise.
44546 * soft-fp/ledf2.c: Likewise.
44547 * soft-fp/lesf2.c: Likewise.
44548 * soft-fp/letf2.c: Likewise.
44549 * soft-fp/muldf3.c: Likewise.
44550 * soft-fp/mulsf3.c: Likewise.
44551 * soft-fp/multf3.c: Likewise.
44552 * soft-fp/negdf2.c: Likewise.
44553 * soft-fp/negsf2.c: Likewise.
44554 * soft-fp/negtf2.c: Likewise.
44555 * soft-fp/op-1.h: Likewise.
44556 * soft-fp/op-2.h: Likewise.
44557 * soft-fp/op-4.h: Likewise.
44558 * soft-fp/op-8.h: Likewise.
44559 * soft-fp/op-common.h: Likewise.
44560 * soft-fp/quad.h: Likewise.
44561 * soft-fp/single.h: Likewise.
44562 * soft-fp/soft-fp.h: Likewise.
44563 * soft-fp/sqrtdf2.c: Likewise.
44564 * soft-fp/sqrtsf2.c: Likewise.
44565 * soft-fp/sqrttf2.c: Likewise.
44566 * soft-fp/subdf3.c: Likewise.
44567 * soft-fp/subsf3.c: Likewise.
44568 * soft-fp/subtf3.c: Likewise.
44569 * soft-fp/truncdfsf2.c: Likewise.
44570 * soft-fp/trunctfdf2.c: Likewise.
44571 * soft-fp/trunctfsf2.c: Likewise.
44572 * soft-fp/trunctfxf2.c: Likewise.
44573 * soft-fp/unorddf2.c: Likewise.
44574 * soft-fp/unordsf2.c: Likewise.
44575 * soft-fp/unordtf2.c: Likewise.
44576
44577 2013-10-15 Joseph Myers <joseph@codesourcery.com>
44578
44579 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44580 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44581
44582 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
44583
44584 * elf/dl-libc.c: Clear initfini list after freeing.
44585
44586 2013-10-14 Joseph Myers <joseph@codesourcery.com>
44587
44588 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44589 * soft-fp/addsf3.c: Likewise.
44590 * soft-fp/addtf3.c: Likewise.
44591 * soft-fp/divdf3.c: Likewise.
44592 * soft-fp/divsf3.c: Likewise.
44593 * soft-fp/divtf3.c: Likewise.
44594 * soft-fp/double.h: Likewise.
44595 * soft-fp/eqdf2.c: Likewise.
44596 * soft-fp/eqsf2.c: Likewise.
44597 * soft-fp/eqtf2.c: Likewise.
44598 * soft-fp/extenddftf2.c: Likewise.
44599 * soft-fp/extended.h: Likewise.
44600 * soft-fp/extendsfdf2.c: Likewise.
44601 * soft-fp/extendsftf2.c: Likewise.
44602 * soft-fp/extendxftf2.c: Likewise.
44603 * soft-fp/fixdfdi.c: Likewise.
44604 * soft-fp/fixdfsi.c: Likewise.
44605 * soft-fp/fixdfti.c: Likewise.
44606 * soft-fp/fixsfdi.c: Likewise.
44607 * soft-fp/fixsfsi.c: Likewise.
44608 * soft-fp/fixsfti.c: Likewise.
44609 * soft-fp/fixtfdi.c: Likewise.
44610 * soft-fp/fixtfsi.c: Likewise.
44611 * soft-fp/fixtfti.c: Likewise.
44612 * soft-fp/fixunsdfdi.c: Likewise.
44613 * soft-fp/fixunsdfsi.c: Likewise.
44614 * soft-fp/fixunsdfti.c: Likewise.
44615 * soft-fp/fixunssfdi.c: Likewise.
44616 * soft-fp/fixunssfsi.c: Likewise.
44617 * soft-fp/fixunssfti.c: Likewise.
44618 * soft-fp/fixunstfdi.c: Likewise.
44619 * soft-fp/fixunstfsi.c: Likewise.
44620 * soft-fp/fixunstfti.c: Likewise.
44621 * soft-fp/floatdidf.c: Likewise.
44622 * soft-fp/floatdisf.c: Likewise.
44623 * soft-fp/floatditf.c: Likewise.
44624 * soft-fp/floatsidf.c: Likewise.
44625 * soft-fp/floatsisf.c: Likewise.
44626 * soft-fp/floatsitf.c: Likewise.
44627 * soft-fp/floattidf.c: Likewise.
44628 * soft-fp/floattisf.c: Likewise.
44629 * soft-fp/floattitf.c: Likewise.
44630 * soft-fp/floatundidf.c: Likewise.
44631 * soft-fp/floatundisf.c: Likewise.
44632 * soft-fp/floatunsidf.c: Likewise.
44633 * soft-fp/floatunsisf.c: Likewise.
44634 * soft-fp/floatuntidf.c: Likewise.
44635 * soft-fp/floatuntisf.c: Likewise.
44636 * soft-fp/floatuntitf.c: Likewise.
44637 * soft-fp/fmadf4.c: Likewise.
44638 * soft-fp/fmasf4.c: Likewise.
44639 * soft-fp/fmatf4.c: Likewise.
44640 * soft-fp/gedf2.c: Likewise.
44641 * soft-fp/gesf2.c: Likewise.
44642 * soft-fp/getf2.c: Likewise.
44643 * soft-fp/ledf2.c: Likewise.
44644 * soft-fp/lesf2.c: Likewise.
44645 * soft-fp/letf2.c: Likewise.
44646 * soft-fp/muldf3.c: Likewise.
44647 * soft-fp/mulsf3.c: Likewise.
44648 * soft-fp/multf3.c: Likewise.
44649 * soft-fp/negdf2.c: Likewise.
44650 * soft-fp/negsf2.c: Likewise.
44651 * soft-fp/negtf2.c: Likewise.
44652 * soft-fp/op-1.h: Likewise.
44653 * soft-fp/op-2.h: Likewise.
44654 * soft-fp/op-4.h: Likewise.
44655 * soft-fp/op-8.h: Likewise.
44656 * soft-fp/op-common.h: Likewise.
44657 * soft-fp/quad.h: Likewise.
44658 * soft-fp/single.h: Likewise.
44659 * soft-fp/soft-fp.h: Likewise.
44660 * soft-fp/sqrtdf2.c: Likewise.
44661 * soft-fp/sqrtsf2.c: Likewise.
44662 * soft-fp/sqrttf2.c: Likewise.
44663 * soft-fp/subdf3.c: Likewise.
44664 * soft-fp/subsf3.c: Likewise.
44665 * soft-fp/subtf3.c: Likewise.
44666 * soft-fp/truncdfsf2.c: Likewise.
44667 * soft-fp/trunctfdf2.c: Likewise.
44668 * soft-fp/trunctfsf2.c: Likewise.
44669 * soft-fp/trunctfxf2.c: Likewise.
44670 * soft-fp/unorddf2.c: Likewise.
44671 * soft-fp/unordsf2.c: Likewise.
44672 * soft-fp/unordtf2.c: Likewise.
44673
44674 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
44675
44676 [BZ #15672]
44677 * misc/error.c (error_tail): Fix possible buffer overflow.
44678
44679 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
44680
44681 [BZ #13028]
44682 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44683 address.
44684
44685 2013-10-14 P. J. McDermott <pj@pehjota.net>
44686
44687 [BZ #832]
44688 * elf/ldd.bash.in (try_trace): New function. Delete previous code
44689 testing pipefail option.
44690
44691 2013-10-12 Joseph Myers <joseph@codesourcery.com>
44692
44693 * soft-fp/double.h: Indent preprocessor directives inside #if.
44694 * soft-fp/extended.h: Likewise.
44695 * soft-fp/op-2.h: Likewise.
44696 * soft-fp/op-4.h: Likewise.
44697 * soft-fp/op-common.h: Likewise.
44698 * soft-fp/quad.h: Likewise.
44699 * soft-fp/single.h: Likewise.
44700 * soft-fp/soft-fp.h: Likewise.
44701
44702 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
44703
44704 * iconv/iconv_prog.c: Fix typos.
44705 * stdio-common/psiginfo-data.h: Likewise.
44706
44707 2013-10-12 Reuben Thomas <rrt@sc3d.org>
44708
44709 [BZ #15764]
44710 * locale/setlocale.c: Fix typo.
44711
44712 2013-10-12 Joseph Myers <joseph@codesourcery.com>
44713
44714 [BZ #16036]
44715 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44716 signaling NaN arguments.
44717 * soft-fp/unordsf2.c (__unordsf2): Likewise.
44718 * soft-fp/unordtf2.c (__unordtf2): Likewise.
44719
44720 [BZ #14910]
44721 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44722 unordered operands.
44723 * soft-fp/gesf2.c (__gesf2): Likewise.
44724 * soft-fp/getf2.c (__getf2): Likewise.
44725 * soft-fp/ledf2.c (__ledf2): Likewise.
44726 * soft-fp/lesf2.c (__lesf2): Likewise.
44727 * soft-fp/letf2.c (__letf2): Likewise.
44728
44729 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44730 * soft-fp/eqsf2.c (__eqsf2): Likewise.
44731 * soft-fp/eqtf2.c (__eqtf2): Likewise.
44732 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44733 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44734 * soft-fp/fixdfti.c (__fixdfti): Likewise.
44735 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44736 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44737 * soft-fp/fixsfti.c (__fixsfti): Likewise.
44738 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44739 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44740 * soft-fp/fixtfti.c (__fixtfti): Likewise.
44741 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44742 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44743 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44744 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44745 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44746 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44747 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44748 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44749 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44750 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44751 * soft-fp/floatdisf.c (__floatdisf): Likewise.
44752 * soft-fp/floatsisf.c (__floatsisf): Likewise.
44753 * soft-fp/floattidf.c (__floattidf): Likewise.
44754 * soft-fp/floattisf.c (__floattisf): Likewise.
44755 * soft-fp/floattitf.c (__floattitf): Likewise.
44756 * soft-fp/floatundidf.c (__floatundidf): Likewise.
44757 * soft-fp/floatundisf.c (__floatundisf): Likewise.
44758 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44759 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44760 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44761 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44762 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44763 * soft-fp/gesf2.c (__gesf2): Likewise.
44764 * soft-fp/getf2.c (__getf2): Likewise.
44765 * soft-fp/ledf2.c (__ledf2): Likewise.
44766 * soft-fp/lesf2.c (__lesf2): Likewise.
44767 * soft-fp/letf2.c (__letf2): Likewise.
44768
44769 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44770 Undefine and redefine.
44771 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44772 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44773 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44774 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44775 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44776 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44777 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44778 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44779 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44780 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44781 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44782 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44783 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44784 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44785 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44786
44787 [BZ #16032]
44788 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44789 without decrementing exponent if mantissa >= that for the
44790 denominator, not >.
44791 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44792 denominator, not >. Decrement exponent in < case instead of
44793 incrementing in >= case.
44794 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44795 without decrementing exponent if mantissa >= that for the
44796 denominator, not >.
44797
44798 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44799 computing saturated result for unsigned overflow.
44800
44801 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44802 Jeff Law <law@redhat.com>
44803
44804 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44805 (atan2Mp): Add systemtap probe marker.
44806 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44807 (__ieee754_log): Add systemtap probe marker.
44808 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44809 (atanMp): Add systemtap probe marker.
44810 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44811 (tanMp): Add systemtap probe marker.
44812 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44813 (__slowexp): Add systemtap probe marker.
44814 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44815 (__slowpow): Add systemtap probe marker.
44816 * manual/probes.texi: Document probes.
44817
44818 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
44819
44820 [BZ #15362]
44821 * libio/fileops.c (_IO_new_file_write): Return count of bytes
44822 written.
44823 (_IO_new_file_xsputn): Don't return EOF if nothing has been
44824 written.
44825 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44826 written to buffer but not flushed.
44827 * libio/iofwrite_u.c: Likewise.
44828 * libio/iopadn.c: Return bytes returned even if EOF was
44829 encountered.
44830 * libio/iowpadn.c: Likewise.
44831 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44832 if _IO_padn does not write the whole buffer.
44833 [!COMPILE_WPRINTF] (PAD): Likewise.
44834
44835 2013-10-10 David S. Miller <davem@davemloft.net>
44836
44837 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44838 directory block.
44839
44840 2013-10-10 Joseph Myers <joseph@codesourcery.com>
44841
44842 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
44843 instead of FSF address.
44844 * soft-fp/fixdfti.c: Likewise.
44845 * soft-fp/fixsfti.c: Likewise.
44846 * soft-fp/fixtfti.c: Likewise.
44847 * soft-fp/fixunsdfti.c: Likewise.
44848 * soft-fp/fixunssfti.c: Likewise.
44849 * soft-fp/fixunstfti.c: Likewise.
44850 * soft-fp/floattidf.c: Likewise.
44851 * soft-fp/floattisf.c: Likewise.
44852 * soft-fp/floattitf.c: Likewise.
44853 * soft-fp/floatuntidf.c: Likewise.
44854 * soft-fp/floatuntisf.c: Likewise.
44855 * soft-fp/floatuntitf.c: Likewise.
44856 * soft-fp/trunctfxf2.c: Likewise.
44857
44858 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
44859 * soft-fp/fixdfti.c: Likewise.
44860 * soft-fp/fixsfti.c: Likewise.
44861 * soft-fp/fixtfti.c: Likewise.
44862 * soft-fp/fixunsdfti.c: Likewise.
44863 * soft-fp/fixunssfti.c: Likewise.
44864 * soft-fp/fixunstfti.c: Likewise.
44865 * soft-fp/floattidf.c: Likewise.
44866 * soft-fp/floattisf.c: Likewise.
44867 * soft-fp/floattitf.c: Likewise.
44868 * soft-fp/floatuntidf.c: Likewise.
44869 * soft-fp/floatuntisf.c: Likewise.
44870 * soft-fp/floatuntitf.c: Likewise.
44871 * soft-fp/trunctfxf2.c: Likewise.
44872
44873 2013-10-10 David S. Miller <davem@davemloft.net>
44874
44875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44876
44877 2013-10-10 Joseph Myers <joseph@codsourcery.com>
44878
44879 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44880 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44881 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44882 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44883 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44884 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44885 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44886
44887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44888 for NaNs before doing comparisons on argument.
44889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44890 Likewise.
44891
44892 2013-10-10 Will Newton <will.newton@linaro.org>
44893
44894 * malloc/hooks.c (memalign_check): Ensure the value of bytes
44895 passed to _int_memalign does not overflow.
44896
44897 2013-10-10 Torvald Riegel <triegel@redhat.com>
44898
44899 * scripts/bench.pl: Add include-sources directive.
44900 * benchtests/README: Update documentation.
44901
44902 2013-10-10 Joseph Myers <joseph@codesourcery.com>
44903
44904 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44905 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44906 instead of FP_INIT_ROUNDMODE.
44907 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44908 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44909
44910 [BZ #16034]
44911 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
44912 copy class of input value.
44913 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
44914 not handle exceptions.
44915 * soft-fp/negsf2.c (__negsf2): Likewise.
44916 * soft-fp/negtf2.c (__negtf2): Likewise.
44917 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44918
44919 2013-10-09 Joseph Myers <joseph@codesourcery.com>
44920
44921 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44922 semicolon. From Linux kernel.
44923
44924 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
44925
44926 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44927
44928 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
44929
44930 [BZ #156]
44931 * manual/socket.texi: Added statement about buffer
44932 for gethostbyname2_r.
44933
44934 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
44935
44936 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44937 Use .p2align directive instead, throughout.
44938 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44939 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44940 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44941 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44943 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44944 * sysdeps/x86_64/strchr.S: Likewise.
44945 * sysdeps/x86_64/strrchr.S: Likewise.
44946
44947 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44948
44949 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44950
44951 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44952
44953 * sysdeps/generic/math_private.h (__mpsin1): Remove
44954 declaration.
44955 (__mpcos1): Likewise.
44956 (__mpsin): New argument __range_reduce.
44957 (__mpcos): Likewise.
44958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44959 (slow): Use __mpsin and __mpcos.
44960 (slow1): Likewise.
44961 (slow2): Likewise.
44962 (sloww): Likewise.
44963 (sloww1): Likewise.
44964 (sloww2): Likewise.
44965 (bsloww): Likewise.
44966 (bsloww1): Likewise.
44967 (bsloww2): Likewise.
44968 (cslow2): Likewise.
44969 (csloww): Likewise.
44970 (csloww1): Likewise.
44971 (csloww2): Likewise.
44972 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44973 range_reduce. Merge in __mpsin1.
44974 (__mpcos): Likewise.
44975 (__mpsin1): Remove.
44976 (__mpcos1): Likewise.
44977
44978 2013-10-07 Joseph Myers <joseph@codesourcery.com>
44979
44980 * locale/loadlocale.c (_nl_intern_locale_data): Use
44981 LOCFILE_ALIGNED_P.
44982 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44983 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44984 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44985 obstack data is appropriately aligned.
44986 (obstack_int32_grow_fast): Likewise.
44987 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44988 * locale/programs/locfile.c (add_locale_uint32): Likewise.
44989 (add_locale_uint32_array): Likewise.
44990
44991 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
44992
44993 * benchtests/Makefile: Remove ARGLIST and RET variables.
44994 ($(objpfx)bench-%.c): Pass only function name to the script.
44995 * benchtests/README: Update documentation.
44996 * benchtests/acos-inputs: Add new directives.
44997 * benchtests/acosh-inputs: Likewise.
44998 * benchtests/asin-inputs: Likewise.
44999 * benchtests/asinh-inputs: Likewise.
45000 * benchtests/atan-inputs: Likewise.
45001 * benchtests/atanh-inputs: Likewise.
45002 * benchtests/cos-inputs: Likewise.
45003 * benchtests/cosh-inputs: Likewise.
45004 * benchtests/exp-inputs: Likewise.
45005 * benchtests/log-inputs: Likewise.
45006 * benchtests/pow-inputs: Likewise.
45007 * benchtests/rint-inputs: Likewise.
45008 * benchtests/sin-inputs: Likewise.
45009 * benchtests/sinh-inputs: Likewise.
45010 * benchtests/tan-inputs: Likewise.
45011 * benchtests/tanh-inputs: Likewise.
45012 * scripts/bench.pl: Add support for new directives.
45013
45014 2013-10-07 Alan Modra <amodra@gmail.com>
45015
45016 * README: Fix careless merge.
45017
45018 2013-10-05 Alan Modra <amodra@gmail.com>
45019
45020 * NEWS: Mention powerpc64le support and bugs fixed.
45021 * README: Both big-endian and little-endian powerpc64 supported.
45022
45023 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
45024
45025 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45026 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45027 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45028 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45029
45030 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
45031
45032 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45033 match prototype.
45034
45035 2013-10-04 Joseph Myers <joseph@codesourcery.com>
45036
45037 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45038 Move -mhard-float appending from
45039 ports/sysdeps/powerpc/powerpc32/Makefile.
45040 [$(with-fp) = yes] (ASFLAGS): Likewise.
45041 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45042 * sysdeps/powerpc/nofpu: Move directory from
45043 ports/sysdeps/powerpc/nofpu.
45044 * sysdeps/powerpc/soft-fp: Move directory from
45045 ports/sysdeps/powerpc/soft-fp.
45046 * sysdeps/powerpc/powerpc32/405: Move directory from
45047 ports/sysdeps/powerpc/powerpc32/405.
45048 * sysdeps/powerpc/powerpc32/440: Move directory from
45049 ports/sysdeps/powerpc/powerpc32/440.
45050 * sysdeps/powerpc/powerpc32/464: Move directory from
45051 ports/sysdeps/powerpc/powerpc32/464.
45052 * sysdeps/powerpc/powerpc32/476: Move directory from
45053 ports/sysdeps/powerpc/powerpc32/476.
45054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45055 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45057 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45059 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45061 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45063 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45064 * README: Update for powerpc-*-linux-gnu software floating point
45065 support in libc.
45066
45067 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45068 case to powerpc/powerpc32*.
45069 * sysdeps/unix/sysv/linux/configure: Regenerated.
45070
45071 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45072 (_FPU_MASK_OM): Define as 0x04.
45073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45075 0x00c10080.
45076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45077 0x0000003c.
45078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45079
45080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45081 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45082 getcontext_e500.
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45084 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45085 setcontext_e500.
45086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45087 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45088 and setcontext_e500.
45089
45090 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
45091
45092 * locale/iso-3166.def: Update iso-1366.def and related occurrences
45093
45094 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45095
45096 * manual/threads.texi (Default Thread Attributes): Fix typo.
45097
45098 2013-10-04 Will Newton <will.newton@linaro.org>
45099
45100 * malloc/Makefile: Add tst-memalign.
45101 * malloc/tst-memalign.c: New file.
45102
45103 * malloc/tst-posix_memalign.c: Add comments.
45104 (do_test): Add comments and call free on all potentially
45105 allocated pointers. Add space after cast.
45106
45107 * malloc/tst-pvalloc.c: Add comments.
45108 (do_test): Add comments and call free on all potentially
45109 allocated pointers. Remove duplicate check for NULL pointer.
45110 Add space after cast.
45111
45112 * malloc/tst-valloc.c: Add comments.
45113 (do_test): Add comments and call free on all potentially
45114 allocated pointers. Remove duplicate check for NULL pointer.
45115 Add space after cast.
45116
45117 2013-10-04 Alan Modra <amodra@gmail.com>
45118
45119 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45120 Use stdint types in rather than __attribute__((mode())).
45121 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45122
45123 2013-10-04 Alan Modra <amodra@gmail.com>
45124
45125 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45126 Correct handling of unaligned relocs for little-endian.
45127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45128
45129 2013-10-04 Alan Modra <amodra@gmail.com>
45130
45131 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45132 * configure: Regenerate.
45133 * nptl/shlib-versions: Powerpc*le starts at 2.18.
45134 * shlib-versions: Likewise.
45135
45136 2013-10-04 Alan Modra <amodra@gmail.com>
45137
45138 * string/tester.c (test_memrchr): Increment reported test cycle.
45139
45140 2013-10-04 Alan Modra <amodra@gmail.com>
45141
45142 * string/test-memcpy.c (do_one_test): When reporting errors, print
45143 string address and don't overrun end of string.
45144
45145 2013-10-04 Alan Modra <amodra@gmail.com>
45146
45147 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45148 insrdi. Make better use of reg selection to speed exit slightly.
45149 Schedule entry path a little better. Remove useless "are we done"
45150 checks on entry to main loop. Handle wrapping around zero address.
45151 Correct main loop count. Handle single left-over word from main
45152 loop inline rather than by using loop_small. Remove extra word
45153 case in loop_small caused by wrong loop count. Add little-endian
45154 support.
45155 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45156 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
45157 cache hint.
45158 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45159 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45160 support. Avoid rlwimi.
45161 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45162
45163 2013-10-04 Alan Modra <amodra@gmail.com>
45164
45165 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45166 insrdi. Formatting.
45167 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45168 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45169 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45170 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45171 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45172 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45173
45174 2013-10-04 Alan Modra <amodra@gmail.com>
45175
45176 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45179 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45180 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45181 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45183 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45184 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
45185 use of regs. Use power7 mtocrf. Tidy function tails.
45186
45187 2013-10-04 Alan Modra <amodra@gmail.com>
45188
45189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45190 Formatting. Consistently use rXXX register defines or rN defines.
45191 Use early exit labels that avoid restoring unused non-volatile regs.
45192 Make cr field use more consistent with rWORDn compares. Rename
45193 regs used as shift registers for unaligned loop, using rN defines
45194 for short lifetime/multiple use regs.
45195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45196 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
45197 addi 1,1,64 to pop stack frame. Simplify return value code.
45198 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45199
45200 2013-10-04 Alan Modra <amodra@gmail.com>
45201
45202 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45203 support. Correct typos, formatting. Optimize tail. Use insrdi
45204 rather than rlwimi.
45205 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45206 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45207 little-endian support. Correct typos.
45208 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
45209 rather than rlwimi.
45210 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
45211 in loop and entry code to keep "and." results.
45212 (strchr): Add little-endian support. Comment. Move cntlzd
45213 earlier in tail.
45214 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45215
45216 2013-10-04 Alan Modra <amodra@gmail.com>
45217
45218 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45219 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45220 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45221 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45222
45223 2013-10-04 Alan Modra <amodra@gmail.com>
45224
45225 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45226 (rTMP): Define as r11.
45227 (strcmp): Add little-endian support. Optimise tail.
45228 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45229 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45230 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45231 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45232 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45233 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45235
45236 2013-10-04 Alan Modra <amodra@gmail.com>
45237
45238 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45239 little-endian support. Remove unnecessary "are we done" tests.
45240 Handle "s" wrapping around zero and extremely large "size".
45241 Correct main loop count. Handle single left-over word from main
45242 loop inline rather than by using small_loop. Correct comments.
45243 Delete "zero" tail, use "end_max" instead.
45244 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45245
45246 2013-10-04 Alan Modra <amodra@gmail.com>
45247
45248 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45249 support. Don't branch over align.
45250 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45251 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45252 support. Rearrange tmp reg use to suit. Comment.
45253 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45254
45255 2013-10-04 Alan Modra <amodra@gmail.com>
45256
45257 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45258
45259 2013-10-04 Alan Modra <amodra@gmail.com>
45260
45261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45262 conditional form of branch and link when obtaining pc.
45263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45264
45265 2013-10-04 Alan Modra <amodra@gmail.com>
45266
45267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45268 HIWORD/LOWORD.
45269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45271
45272 2013-10-04 Alan Modra <amodra@gmail.com>
45273
45274 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45275 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45276 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45277 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45278 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45279 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45280 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45281 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45282 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45283 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45284
45285 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45286 Alistair Popple <alistair@ozlabs.au.ibm.com>
45287 Alan Modra <amodra@gmail.com>
45288
45289 [BZ #15723]
45290 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45291 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45292 _dl_hwcap access for little-endian.
45293 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
45294 destroy vmx regs when saving unaligned.
45295 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45296 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
45297 destroy vmx regs when saving unaligned.
45298
45299 2013-10-04 Alan Modra <amodra@gmail.com>
45300
45301 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45302 Don't use a union to pack hi/low value.
45303
45304 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45305
45306 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45307 for little-endian.
45308 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45309 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45310 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45311 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45312 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45313
45314 2013-10-04 Alan Modra <amodra@gmail.com>
45315
45316 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45317 constants to usual value for .cst8 section, and remove redundant
45318 high address load.
45319 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45320 constant for 0x1p52. Load little-endian words of double from
45321 correct stack offsets.
45322
45323 2013-10-04 Alan Modra <amodra@gmail.com>
45324
45325 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45326 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45327 words of double from correct stack offsets.
45328 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45329 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45330 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45331 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45333 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45334 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45335 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45336 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45338 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45339 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45340 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45341 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45342 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45343 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45344 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45345
45346 2013-10-04 Alan Modra <amodra@gmail.com>
45347
45348 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45349 64-bit int/double union.
45350 (_FPU_SETCW): Likewise.
45351 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45352 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45353
45354 2013-10-04 Alan Modra <amodra@gmail.com>
45355
45356 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45357 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45358
45359 2013-10-04 Alan Modra <amodra@gmail.com>
45360
45361 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45362 use vector int constants.
45363 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45364
45365 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45366
45367 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45368 array with long long.
45369 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45370 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45371 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45372 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45373 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45374 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45375 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45376 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45377 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45378 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45379 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45380 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45381 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45382
45383 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45384
45385 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45386 (__signbit): Likewise. Correct for little-endian.
45387 (__signbitl): Call __signbit.
45388 (lrint): Correct for little-endian.
45389 (lrintf): Call lrint.
45390
45391 2013-10-04 Alan Modra <amodra@gmail.com>
45392
45393 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45394 union 32-bit int array member with 64-bit int array.
45395 (t515, tm256): Double rather than long double.
45396 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45397
45398 2013-10-04 Alan Modra <amodra@gmail.com>
45399
45400 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45401 Delete.
45402 (IEEE854_LONG_DOUBLE_BIAS): Delete.
45403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45404 version of math_ldbl.h.
45405
45406 2013-10-04 Alan Modra <amodra@gmail.com>
45407
45408 [BZ #15734], [BZ #15735]
45409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45410 all uses of ieee875 long double macros and unions. Simplify test
45411 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
45412 ldbl_extract_mantissa value for ix,iy exponents. Properly
45413 normalize after ldbl_extract_mantissa, and don't add hidden bit
45414 already handled. Don't treat low word of ieee854 mantissa like
45415 low word of IBM long double and mask off bit when testing for
45416 zero.
45417 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45418 all uses of ieee875 long double macros and unions. Simplify tests
45419 for 0.0L and inf. Correct double adjustment of k. Delete dead code
45420 adjusting ha,hb. Simplify code setting kld. Delete two600 and
45421 two1022, instead use their values. Recognise that tests for large
45422 "a" and small "b" are mutually exclusive. Rename vars. Comment.
45423 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45424 Rewrite all uses of ieee875 long double macros and unions. Simplify
45425 test for 0.0L and nan. Correct negation.
45426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45427 ieee875 long double macros and unions. Correct output for large
45428 magnitude x. Correct absolute value calculation.
45429 (__erfcl): Likewise.
45430 * math/libm-test.inc: Add tests for errors discovered in IBM long
45431 double versions of fmodl, remainderl, erfl and erfcl.
45432
45433 2013-10-04 Alan Modra <amodra@gmail.com>
45434
45435 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45436 all uses of ieee854 long double macros and unions. Simplify tests
45437 for long doubles that are fully specified by the high double.
45438 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45439 Likewise.
45440 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45441 Remove dead code too.
45442 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45443 (__ieee754_ynl): Likewise.
45444 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45445 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45447 Remove dead code too.
45448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45449 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45450 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45451 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45452 Simplify.
45453 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45454 Simplify.
45455 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45456 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45458 Comment on variable precision.
45459 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45460 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45461 Likewise.
45462 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45463 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45465 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45466 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45467
45468 2013-10-04 Alan Modra <amodra@gmail.com>
45469
45470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45471 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45472 all uses of ieee854 long double macros and unions.
45473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45475 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45476 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45477 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45478 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45479 Likewise.
45480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45482 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45483 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45484 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45485 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45486 Simplify sign and nan test too.
45487 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45488 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45489 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45490 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45491 Likewise.
45492 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45493 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45494 Likewise.
45495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45496 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45497 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45498 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45499 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45501
45502 2013-10-04 Alan Modra <amodra@gmail.com>
45503
45504 * stdio-common/printf_size.c (__printf_size): Don't use
45505 union ieee854_long_double in fpnum union.
45506 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
45507 signbit macro to retrieve sign from long double.
45508 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45509 retrieve sign from long double.
45510 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45511 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45512 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45513 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45514 * math/test-misc.c (main): Don't use union ieee854_long_double.
45515
45516 2013-10-04 Alan Modra <amodra@gmail.com>
45517
45518 [BZ #15680]
45519 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45520 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45521 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45522 calculation. Remove unnecessary test for denormal exponent.
45523 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45524 Correct handling of denormals. Avoid undefined shift behaviour.
45525 Correct normalisation of low mantissa when low double is denormal.
45526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45527 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
45528 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45529 Correct normalisation of low mantissa. Test for overflow of high
45530 mantissa and normalise.
45531 (ldbl_nearbyint): Use more readable constant for two52.
45532 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45533 (__mpn_construct_long_double): Fix test for overflow of high
45534 mantissa and correct normalisation. Avoid undefined shift.
45535
45536 2013-10-04 Alan Modra <amodra@gmail.com>
45537
45538 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45539 (union ibm_extended_long_double): Define as an array of ieee754_double.
45540 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45541 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45542 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45543 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45544 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45545 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45547 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45548 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45549 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45550 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45551
45552 2013-10-03 Joseph Myers <joseph@codesourcery.com>
45553
45554 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45555 page size instead of calling getpagesize.
45556
45557 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45558 (LOCFILE_ALIGN_MASK): Likewise.
45559 (LOCFILE_ALIGN_UP): Likewise.
45560 (LOCFILE_ALIGNED_P): Likewise.
45561 * locale/programs/ld-collate.c (collate_output): Use the new
45562 macros instead of __alignof__ (int32_t).
45563 * locale/weight.h (findidx): Likewise.
45564
45565 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
45566
45567 [BZ #431]
45568 * manual/string.texi: Fix strncat and wcsncat.
45569
45570 2013-10-03 Brooks Moses <bmoses@google.com>
45571
45572 [BZ #15915]
45573 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45574 * Makerules: ...here, and adjust associated comments.
45575
45576 2013-10-02 Will Newton <will.newton@linaro.org>
45577
45578 * malloc/Makefile: Add tst-pvalloc.
45579 * malloc/tst-pvalloc.c: New file.
45580
45581 2013-10-02 Will Newton <will.newton@linaro.org>
45582
45583 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45584 improve test coverage.
45585
45586 2013-10-02 Will Newton <will.newton@linaro.org>
45587
45588 * malloc/Makefile: Add tst-posix_memalign.
45589 * malloc/tst-posix_memalign.c: New file.
45590
45591 2013-10-01 Eric Blake <eblake@redhat.com>
45592
45593 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45594 Use __THROWNL rather than __THROW on static functions.
45595
45596 2013-09-30 Petr Machata <pmachata@redhat.com>
45597
45598 * elf/elf.h (R_AARCH64_ABS16): New macro.
45599 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45600 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45601 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45602 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45603 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45604 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45605 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45606 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45607 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45608 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45609 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45610 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45611 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45612 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45613 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45614 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45615 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45616 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45617 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45618 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45619 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45620 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45621 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45622 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45623 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45624 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45625 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45626 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45627 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45628 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45629 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45630 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45631 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45632 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45633 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45634 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45635 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45636 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45637 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45638 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45639 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45640 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45641 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45642 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45643 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45644 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45645 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45646 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45647 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45648 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45649 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45650 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45651 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45652 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45653 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45654 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45655 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45656 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45657 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45658 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45659 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45660 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45661 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45662 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45663 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45664 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45665 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45666 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45667 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45668 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45669 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45670 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45671 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45672 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45673 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45674 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45675 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45676 (R_AARCH64_TLSDESC_LDR): Likewise.
45677 (R_AARCH64_TLSDESC_ADD): Likewise.
45678 (R_AARCH64_TLSDESC_CALL): Likewise.
45679
45680 2013-09-30 Andreas Schwab <schwab@suse.de>
45681
45682 [BZ #15048]
45683 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45684 the nss database lookup.
45685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45687
45688 2013-09-28 Mike Frysinger <vapier@gentoo.org>
45689
45690 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45691
45692 2013-09-28 P. J. McDermott <pj@pehjota.net>
45693
45694 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45695 ${Bash-specific parameter/pattern/string} parameter expansion.
45696 * sysdeps/unix/make-syscalls.sh: Likewise.
45697
45698 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45699
45700 * sysdeps/sh/stackguard-macros.h: New file.
45701
45702 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
45703
45704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45706 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45707 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45708 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45709 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45710
45711 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45712
45713 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45714 Fix thread ID register.
45715
45716 2013-09-25 Joseph Myers <joseph@codesourcery.com>
45717
45718 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45719 [POSIX || UNIX98]: Require rather than permitting all symbols from
45720 <time.h>.
45721 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45722 element of struct sched_param.
45723 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45724 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45725 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45726 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45727 constant.
45728
45729 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
45730
45731 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45732 argument calculation.
45733
45734 2013-09-24 Joseph Myers <joseph@codesourcery.com>
45735
45736 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45737 Expect macro.
45738 [POSIX] (pthread_attr_t): Do not require type.
45739 [POSIX] (pthread_cond_t): Likewise.
45740 [POSIX] (pthread_condattr_t): Likewise.
45741 [POSIX] (pthread_key_t): Likewise.
45742 [POSIX] (pthread_mutex_t): Likewise.
45743 [POSIX] (pthread_mutexattr_t): Likewise.
45744 [POSIX] (pthread_once_t): Likewise.
45745 [POSIX] (pthread_t): Likewise.
45746 [POSIX-based standards] (pthread_atfork): Expect function.
45747
45748 2013-09-24 Joseph Myers <joseph@codesourcery.com>
45749 Richard Sandiford <richard@codesourcery.com>
45750
45751 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45752 (swap_endianness_p): New extern variable.
45753 (set_big_endian): New inline function.
45754 (maybe_swap_uint32): Likewise.
45755 (maybe_swap_uint32_array): Likewise.
45756 (maybe_swap_uint32_obstack): Likewise.
45757 * locale/programs/locfile.c: Include <stdbool.h>.
45758 (swap_endianness_p): New variable.
45759 (add_locale_uint32): Call maybe_swap_uint32.
45760 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45761 (write_locale_data): Call maybe_swap_uint32_array.
45762 * locale/programs/ld-collate.c (obstack_int32_grow): Call
45763 maybe_swap_uint32.
45764 (obstack_int32_grow_fast): Likewise.
45765 (output_weightwc): Call maybe_swap_uint32_obstack.
45766 (collate_output): Likewise.
45767 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45768 (OPT_LITTLE_ENDIAN): Likewise.
45769 (options): Add --little-endian and --big-endian options.
45770 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45771 * locale/programs/locarchive.c: Include "locfile.h".
45772 (GET): New macro.
45773 (SET): Likewise.
45774 (INC): Likewise.
45775 (create_archive): Use the new macros to access fields of
45776 structures directly mapped from or written to locale archives.
45777 (oldlocrecentcmp): Likewise.
45778 (enlarge_archive): Likewise.
45779 (insert_name): Likewise.
45780 (add_alias): Likewise.
45781 (add_locale): Likewise.
45782 (delete_locales_from_archive): Likewise.
45783 (show_archive_content): Likewise.
45784 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
45785 locale data.
45786
45787 2013-09-24 Roland McGrath <roland@hack.frob.com>
45788
45789 * manual/freemanuals.texi: Updated from (newly) canonical copy at
45790 http://www.gnu.org/doc/freemanuals.texi.
45791 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45792
45793 2013-09-24 Will Newton <will.newton@linaro.org>
45794
45795 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45796 macro.
45797
45798 2013-09-23 Joseph Myers <joseph@codesourcery.com>
45799
45800 * locale/hashval.h (compute_hashval): Interpret bytes of key as
45801 unsigned char.
45802
45803 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
45804
45805 * manual/threads.texi (POSIX Threads): Fix a typo.
45806
45807 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
45808
45809 [BZ #14547]
45810 * string/tst-strcoll-overflow.c: New test case.
45811 * string/Makefile (xtests): Add tst-strcoll-overflow.
45812 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45813 cache if string sizes may cause integer overflow.
45814
45815 [BZ #14547]
45816 * string/strcoll_l.c (coll_seq): New members rule, idx,
45817 save_idx and back_us.
45818 (get_next_seq_nocache): New function.
45819 (do_compare_nocache): New function.
45820 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45821 when malloc fails.
45822
45823 2013-09-23 Carlos O'Donell <carlos@redhat.com>
45824
45825 [BZ #15754]
45826 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45827 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45828 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45829
45830 [BZ #15754]
45831 * elf/Makefile (tests): Add tst-ptrguard1.
45832 (tests-static): Add tst-ptrguard1-static.
45833 (tst-ptrguard1-ARGS): Define.
45834 (tst-ptrguard1-static-ARGS): Define.
45835 * elf/tst-ptrguard1.c: New file.
45836 * elf/tst-ptrguard1-static.c: New file.
45837 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45838 * sysdeps/i386/stackguard-macros.h: Likewise.
45839 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45840 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45841 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45842 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45843 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45844 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45845
45846 2013-09-23 Hector Marco <hecmargi@upv.es>
45847 Ismael Ripoll <iripoll@disca.upv.es>
45848 Carlos O'Donell <carlos@redhat.com>
45849
45850 [BZ #15754]
45851 * sysdeps/generic/stackguard-macros.h: Define
45852 __pointer_chk_guard_local and POINTER_CHK_GUARD.
45853 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45854 Define __pointer_chk_guard_local.
45855 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45856 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45857
45858 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
45859
45860 [BZ #15859]
45861 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45862
45863 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
45864
45865 * include/string.h (__ffs): Declare as hidden.
45866 * string/ffs.c (__ffs): Define as hidden.
45867 * sysdeps/i386/ffs.c (__ffs): Likewise.
45868 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45869 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45870 * sysdeps/s390/ffs.c (__ffs): Likewise.
45871 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45872
45873 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
45874
45875 * NEWS: Mention malloc probes.
45876
45877 * malloc/arena.c (new_heap): New memory_heap_new probe.
45878 (grow_heap): New memory_heap_more probe.
45879 (shrink_heap): New memory_heap_less probe.
45880 (heap_trim): New memory_heap_free probe.
45881 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45882 (systrim): New memory_sbrk_less probe.
45883 * manual/probes.texi: Document them.
45884
45885 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45886 * manual/probes.texi: Document it.
45887
45888 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45889 (__libc_realloc): Add memory_realloc_retry probe.
45890 (__libc_memalign): Add memory_memalign_retry probe.
45891 (__libc_valloc): Add memory_valloc_retry probe.
45892 (__libc_pvalloc): Add memory_pvalloc_retry probe.
45893 (__libc_calloc): Add memory_calloc_retry probe.
45894 * manual/probes.texi: Document them.
45895
45896 * malloc/arena.c (get_free_list): Add probe
45897 memory_arena_reuse_free_list.
45898 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45899 and memory_arena_reuse.
45900 (arena_get2) [!PER_THREAD]: Likewise.
45901 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45902 memory_arena_reuse_realloc.
45903 * manual/probes.texi: Document them.
45904
45905 * malloc/malloc.c (__libc_free): Add
45906 memory_mallopt_free_dyn_thresholds probe.
45907 (__libc_mallopt): Add multiple memory_mallopt probes.
45908 * manual/probes.texi: Document them.
45909
45910 * malloc/malloc.c: Include stap-probe.h.
45911 (__libc_mallopt): Add memory_mallopt probe.
45912 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45913 * manual/probes.texi: New.
45914 * manual/Makefile (chapters): Add probes.
45915 * manual/threads.texi: Set next node.
45916
45917 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
45918
45919 [BZ #15963, #13985]
45920 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45921 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45922 Add `Chinese' to `nan' entry name.
45923
45924 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45925
45926 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45927 (POLYNOMIAL): Likewise.
45928 (TAYLOR_SINCOS): Likewise.
45929 (TAYLOR_SLOW): Likewise.
45930 (__sin): Use TAYLOR_SINCOS.
45931 (__cos): Likewise.
45932 (slow): Use TAYLOR_SLOW.
45933 (sloww): Likewise.
45934 (bsloww): Likewise.
45935 (csloww): Likewise.
45936
45937 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45938
45939 * stdlib/strtod_l.c: Fix buffer overrun.
45940
45941 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45942
45943 * benchtests/Makefile (bench): Add sincos.
45944 * benchtests/bench-sincos.c: New file.
45945
45946 * math/libm-test.inc (cos_test_data): New test inputs.
45947 (sin_test_data): Likewise.
45948
45949 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45950 macro.
45951 (__sin): Use it.
45952 (__cos): Likewise.
45953 (slow1): Likewise.
45954 (slow2): Likewise.
45955 (sloww1): Likewise.
45956 (sloww2): Likewise.
45957 (bsloww1): Likewise.
45958 (bsloww2): Likewise.
45959 (cslow2): Likewise.
45960 (csloww1): Likewise.
45961 (csloww2): Likewise.
45962
45963 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45964 function.
45965 (__sin): Use it.
45966 (__cos): Likewise.
45967
45968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45969 gotos.
45970 (__cos): Likewise.
45971
45972 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
45973
45974 * config.h.in (HAVE_MIPS_NAN2008): New macro.
45975 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45976 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45977 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45978 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45979 * elf/cache.c (print_entry): Handle the new cache flags.
45980
45981 2013-09-18 Joseph Myers <joseph@codesourcery.com>
45982 Aldy Hernandez <aldyh@redhat.com>
45983
45984 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45985 Change condition to [_SOFT_FLOAT].
45986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45998 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45999 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46001 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46002 declaration.
46003
46004 2013-09-18 Joseph Myers <joseph@codesourcery.com>
46005
46006 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46007 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46008 (__longjmp): Use LOAD_GP to load saved GPRs.
46009 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46010 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46011 (__sigsetjmp): Use SAVE_GP to save GPRs.
46012
46013 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46014 Do not append -msoft-float.
46015 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46016
46017 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46018
46019 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46020
46021 2013-09-17 Joseph Myers <joseph@codesourcery.com>
46022
46023 [BZ #15966]
46024 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46025 (_FPU_GETCW): Use initial "__" on variable and field names but not
46026 on macro parameter name.
46027 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
46028 parentheses around reference to macro parameter.
46029
46030 2013-09-13 Richard Sandiford <richard@codesourcery.com>
46031
46032 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46033 prototype.
46034 (ctype_startup): Use uint32_t in cast and sizeof for
46035 ctype->charnames.
46036
46037 2013-09-11 Jia Liu <proljc@gmail.com>
46038
46039 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46040 __daddr_t_defined.
46041 [__FreeBSD__]: Likewise.
46042
46043 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
46044
46045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46046 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46047 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46048 (strchr): Remove __strchr_sse42 ifunc selection.
46049 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46050 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46051
46052 2013-09-11 Will Newton <will.newton@linaro.org>
46053
46054 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46055 parameter to RES. Remove hardcoded 1000 value.
46056 * benchtests/bench-skeleton.c (main): Pass RES parameter
46057 to TIMING_INIT and multiply result by 1000.
46058
46059 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46060
46061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46062
46063 2013-09-11 Andreas Schwab <schwab@suse.de>
46064
46065 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46066 if not defined.
46067 (O_TMPFILE) [__USE_GNU]: Define.
46068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46069 Define.
46070
46071 2013-09-11 Will Newton <will.newton@linaro.org>
46072
46073 [BZ #15857]
46074 * malloc/malloc.c (__libc_memalign): Check the value of bytes
46075 does not overflow.
46076
46077 2013-09-11 Will Newton <will.newton@linaro.org>
46078
46079 [BZ #15856]
46080 * malloc/malloc.c (__libc_valloc): Check the value of bytes
46081 does not overflow.
46082
46083 2013-09-11 Will Newton <will.newton@linaro.org>
46084
46085 [BZ #15855]
46086 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46087 does not overflow.
46088
46089 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
46090
46091 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46092 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46093 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46094 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46095 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46096
46097 2013-09-10 Allan McRae <allan@archlinux.org>
46098
46099 [BZ #15748]
46100 * manual/arith.texi (Parsing of Floats): Clarify
46101 cross-reference.
46102
46103 [BZ #15849]
46104 * manual/install.texi (Running make install): Mention
46105 --enable-pt-chown.
46106 * INSTALL: Regenerated.
46107
46108 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
46109
46110 * csu/init-first.c (_init): Remove the !SHARED condition around
46111 FPU control word initialization.
46112 * elf/dl-support.c (_dl_fpu_control): New variable.
46113 (_dl_aux_init) <AT_FPUCW>: Initialize it.
46114 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46115 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46116 * math/test-fpucw-static.c: New file.
46117 * math/test-fpucw-ieee.c: New file.
46118 * math/test-fpucw-ieee-static.c: New file.
46119 * math/Makefile (tests): Add `test-fpucw-ieee' and
46120 `$(tests-static)'.
46121 (tests-static): New variable.
46122 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46123 dependency to...
46124 [($(build-shared),yes)]
46125 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46126 ... this.
46127 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46128 New dependency.
46129
46130 2013-09-09 Allan McRae <allan@archlinux.org>
46131
46132 [BZ #15939]
46133 * manual/string.texi (Collation Functions): Fix typo in
46134 strcoll example.
46135 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46136
46137 [BZ #15893]
46138 * stdlib/isomac.c (get_null_defines): Fix memory leak.
46139
46140 [BZ #15892]
46141 * libio/memstream.c (open_memstream): Fix memory leak.
46142 * libio/wmemstream.c (open_wmemstream): Likewise.
46143
46144 [BZ #15895]
46145 * nscd/netgroupcache.c: Fix nesting of ifdefs.
46146
46147 2013-09-09 Will Newton <will.newton@linaro.org>
46148
46149 * malloc/Makefile: Add tst-realloc to tests.
46150 * malloc/tst-realloc.c: New file.
46151
46152 2013-09-09 Allan McRae <allan@archlinux.org>
46153
46154 [BZ #15844]
46155 * COPYING: Update from GNU website to fix FSF address.
46156 * COPYING.LIB: Likewise.
46157
46158 2013-09-06 David S. Miller <davem@davemloft.net>
46159
46160 * po/zh_TW.po: Update Chinese (traditional) translation from
46161 translation project.
46162
46163 2013-09-06 Richard Sandiford <richard@codesourcery.com>
46164 Joseph Myers <joseph@codesourcery.com>
46165
46166 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46167 "localeinfo.h".
46168 (obstack_chunk_alloc): New macro.
46169 (obstack_chunk_free): Likewise.
46170 (record_offset): New function.
46171 (init_locale_data): Likewise.
46172 (align_locale_data): Likewise.
46173 (add_locale_empty): Likewise.
46174 (add_locale_raw_data): Likewise.
46175 (add_locale_raw_obstack): Likewise.
46176 (add_locale_string): Likewise.
46177 (add_locale_wstring): Likewise.
46178 (add_locale_uint32): Likewise.
46179 (add_locale_uint32_array): Likewise.
46180 (add_locale_char): Likewise.
46181 (start_locale_structure): Likewise.
46182 (end_locale_structure): Likewise.
46183 (start_locale_prelude): Likewise.
46184 (end_locale_prelude): Likewise.
46185 (write_locale_data): Take locale_file structure rather than an
46186 iovec.
46187 * locale/programs/locfile.h: Include "obstack.h".
46188 (struct locale_file): Change to store locale file contents instead
46189 of header.
46190 (init_locale_data): New prototype.
46191 (align_locale_data): Likewise.
46192 (add_locale_empty): Likewise.
46193 (add_locale_raw_data): Likewise.
46194 (add_locale_raw_obstack): Likewise.
46195 (add_locale_string): Likewise.
46196 (add_locale_wstring): Likewise.
46197 (add_locale_uint32): Likewise.
46198 (add_locale_uint32_array): Likewise.
46199 (add_locale_char): Likewise.
46200 (start_locale_structure): Likewise.
46201 (end_locale_structure): Likewise.
46202 (start_locale_prelude): Likewise.
46203 (end_locale_prelude): Likewise.
46204 (write_locale_data): Update prototype.
46205 * locale/programs/3level.h (struct TABLE): Remove result field.
46206 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46207 Use new locale_file interface.
46208 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46209 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46210 * locale/programs/ld-address.c (address_output): Use new
46211 locale_file interface.
46212 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46213 NO_ADD_LOCALE.
46214 (collate_finish): Don't call collseq_table_finalize.
46215 (collate_output): Use new locale_file interface.
46216 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46217 in file.
46218 (NO_FINALIZE): Change to NO_ADD_LOCALE.
46219 (TABLE): Move defines earlier in file.
46220 (ELEMENT): Likewise.
46221 (DEFAULT): Likewise.
46222 (wctrans_table_add): Move macro and inline function earlier in
46223 file.
46224 (struct wctype_table): Move type earlier in file.
46225 (add_locale_wctype_table): New static prototype.
46226 (struct locale_ctype_t): Use logical types instead of struct iovec
46227 pointers for members.
46228 (ctype_output): Use new locale_file interface.
46229 (wctype_table_finalize): Change to add_locale_wctype_table. Use
46230 new locale_file interface.
46231 (allocate_arrays): Update for use of new locale_file interface.
46232 * locale/programs/ld-identification.c (identification_output): Use
46233 new locale_file interface.
46234 * locale/programs/ld-measurement.c (measurement_output): Likewise.
46235 * locale/programs/ld-messages.c (messages_output): Likewise.
46236 * locale/programs/ld-monetary.c (monetary_output): Likewise.
46237 * locale/programs/ld-name.c (name_output): Likewise.
46238 * locale/programs/ld-numeric.c (numeric_output): Likewise.
46239 * locale/programs/ld-paper.c (paper_output): Likewise.
46240 * locale/programs/ld-telephone.c (telephone_output): Likewise.
46241 * locale/programs/ld-time.c (time_output): Likewise.
46242
46243 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46244
46245 * benchtests/Makefile: Add memrchr benchmark.
46246 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46247 benchmark as memrchr.
46248 * benchtests/bench-memrchr-ifunc.c: New file.
46249 * benchtests/bench-memrchr.c: New file.
46250
46251 2013-09-06 Will Newton <will.newton@linaro.org>
46252
46253 * benchtests/Makefile (string-bench): Add memcpy.
46254
46255 2013-09-05 Carlos O'Donell <carlos@redhat.com>
46256 Cong Wang <amwang@redhat.com>
46257
46258 [BZ #15850]
46259 * sysdeps/unix/sysv/linux/bits/in.h
46260 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46261 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46262 before __USE_KERNEL_IPV6_DEFS uses.
46263 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46264 IPPROTO_BEETPH.
46265 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46266 sockaddr_in6, or ipv6_mreq.
46267
46268 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46269
46270 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46271 memory access for final bytes in some large inputs.
46272 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46273
46274 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46275
46276 * string/test-memrchr.c: New file.
46277 * string/test-memrchr-ifunc.c: New file.
46278 * string/Makefile: Add new memrchr testcase.
46279
46280 2013-09-05 Mike Frysinger <vapier@gentoo.org>
46281
46282 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46283 fanotify_init returns EPERM.
46284
46285 2013-09-04 Joseph Myers <joseph@codesourcery.com>
46286
46287 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46288 errors.
46289 (top level): Treat second token from macro or constant entries for
46290 allowed headers as allowed.
46291 * include/complex.h: Condition internal declarations on
46292 [!_ISOMAC].
46293 * include/fenv.h: Condition include of <stdbool.h> and internal
46294 declarations on [!_ISOMAC].
46295
46296 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
46297
46298 [BZ #15923]
46299 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46300
46301 2013-09-04 Joseph Myers <joseph@codesourcery.com>
46302
46303 * configure.in (--enable-versioning): Remove configure option.
46304 (libc_cv_asm_symver_directive): Remove configure test.
46305 (libc_cv_ld_version_script_option): Likewise.
46306 (VERSIONING): Remove variable and AC_SUBST.
46307 (DO_VERSIONING): Remove AC_DEFINE.
46308 * configure: Regenerated.
46309 * config.h.in (DO_VERSIONING): Remove macro.
46310 * Makerules [$(versioning) = yes]: Change conditionals to
46311 [$(build-shared) = yes].
46312 * config.make.in (versioning): Remove variable.
46313 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46314 [$(build-shared) = yes].
46315 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46316 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46317 * elf/Makefile [$(versioning) = yes]: Change conditionals to
46318 [$(build-shared) = yes].
46319 * extra-lib.mk [$(versioning) = yes]: Likewise.
46320 * hurd/Makefile [$(versioning) = yes]: Likewise.
46321 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46322 [SHARED].
46323 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46324 [SHARED].
46325 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46326 [SHARED && !NO_HIDDEN].
46327 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46328 [SHARED].
46329 [SHARED && DO_VERSIONING]: Likewise..
46330 * libio/Makefile [$(versioning) = yes]: Change conditionals to
46331 [$(build-shared) = yes].
46332 * manual/install.texi (--disable-versioning): Remove
46333 documentation.
46334 * INSTALL: Regenerated.
46335 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46336 to [SHARED].
46337 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46338 [$(build-shared) = yes].
46339 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46340 * sysdeps/i386/i686/multiarch/strstr-c.c
46341 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46342 [SHARED && !NO_HIDDEN].
46343 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46344 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46345 * sysdeps/powerpc/powerpc32/dl-machine.c
46346 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46347 * sysdeps/powerpc/powerpc32/sysdep.h
46348 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46349 to [SHARED && PIC && !NO_HIDDEN].
46350 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46351 conditional to [SHARED].
46352
46353 2013-09-04 Will Newton <will.newton@linaro.org>
46354
46355 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46356 * benchtests/bench-string.h: Include bench-timing.h instead
46357 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46358 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46359 call to HP_TIMING_DIFF_INIT.
46360 * benchtests/bench-memccpy.c: Use bench-timing.h macros
46361 instead of hp-timing.h macros.
46362 * benchtests/bench-memchr.c: Likewise.
46363 * benchtests/bench-memcmp.c: Likewise.
46364 * benchtests/bench-memcpy.c: Likewise.
46365 * benchtests/bench-memmem.c: Likewise.
46366 * benchtests/bench-memmove.c: Likewise.
46367 * benchtests/bench-memset.c: Likewise.
46368 * benchtests/bench-rawmemchr.c: Likewise.
46369 * benchtests/bench-strcasecmp.c: Likewise.
46370 * benchtests/bench-strcasestr.c: Likewise.
46371 * benchtests/bench-strcat.c: Likewise.
46372 * benchtests/bench-strchr.c: Likewise.
46373 * benchtests/bench-strcmp.c: Likewise.
46374 * benchtests/bench-strcpy.c: Likewise.
46375 * benchtests/bench-strcpy_chk.c: Likewise.
46376 * benchtests/bench-strlen.c: Likewise.
46377 * benchtests/bench-strncasecmp.c: Likewise.
46378 * benchtests/bench-strncat.c: Likewise.
46379 * benchtests/bench-strncmp.c: Likewise.
46380 * benchtests/bench-strncpy.c: Likewise.
46381 * benchtests/bench-strnlen.c: Likewise.
46382 * benchtests/bench-strpbrk.c: Likewise.
46383 * benchtests/bench-strrchr.c: Likewise.
46384 * benchtests/bench-strspn.c: Likewise.
46385 * benchtests/bench-strstr.c: Likewise.
46386
46387 2013-09-04 Will Newton <will.newton@linaro.org>
46388
46389 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46390
46391 2013-09-03 Joseph Myers <joseph@codesourcery.com>
46392
46393 [BZ #15427]
46394 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46395 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46396 * math/libm-test.inc (lgamma_test_data): Add more tests.
46397 * sysdeps/i386/fpu/libm-test-ulps: Update.
46398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46399
46400 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
46401
46402 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46404 Add ifunc.
46405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46406 Add strcmp-sse2-unaligned
46407 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46408
46409 2013-09-02 Mike Frysinger <vapier@gentoo.org>
46410
46411 * Versions.def (libc): Add GLIBC_2.19.
46412
46413 2013-09-02 Mike Frysinger <vapier@gentoo.org>
46414
46415 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46416 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46417
46418 2013-09-02 Joseph Myers <joseph@codesourcery.com>
46419
46420 [BZ #14155]
46421 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46422 intermediate calculations in recurrence.
46423 (__ieee754_ynf): Likewise.
46424 * math/libm-test.inc (jn_test_data): Do not allow spurious
46425 underflow exception. Add more tests.
46426 (yn_test_data): Add more tests.
46427 * sysdeps/i386/fpu/libm-test-ulps: Update.
46428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46429
46430 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
46431
46432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46433
46434 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
46435
46436 * csu/init-first.c: Fix then/than typos.
46437 * locale/programs/ld-collate.c: Likewise.
46438 * locale/programs/linereader.h: Likewise.
46439 * manual/charset.texi: Likewise.
46440 * manual/filesys.texi: Likewise.
46441 * manual/stdio.texi: Likewise.
46442 * manual/string.texi: Likewise.
46443 * stdlib/fmtmsg.c: Likewise.
46444 * sysdeps/i386/stpncpy.S: Likewise.
46445 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46446 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46447 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46448 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46449
46450 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
46451
46452 * elf/dl-open.c: Fix typos.
46453 * iconvdata/gbbig5.c: Likewise.
46454 * iconvdata/iso-2022-jp.c: Likewise.
46455 * iconv/gconv_int.h: Likewise.
46456 * iconv/loop.c: Likewise.
46457 * nis/rpcsvc/nis.h: Likewise.
46458 * resolv/ns_name.c: Likewise.
46459 * stdio-common/vfscanf.c: Likewise.
46460 * streams/stropts.h: Likewise.
46461 * sunrpc/rpc_thread.c: Likewise.
46462 * sysdeps/i386/strpbrk.S: Likewise.
46463 * sysdeps/ieee754/k_standard.c: Likewise.
46464 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46466 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46467 * sysdeps/mach/hurd/profil.c: Likewise.
46468 * sysdeps/s390/dl-procinfo.h: Likewise.
46469 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46470 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46471 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46472 * sysdeps/x86_64/dl-trampoline.S: Likewise.
46473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46474
46475 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
46476
46477 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46479
46480 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
46481
46482 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46483 aix specific files.
46484 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46485 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46486 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46487 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46488 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46489 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46490 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46491 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46492
46493 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
46494 Roland McGrath <roland@hack.frob.com>
46495
46496 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46497 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46498
46499 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
46500
46501 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46502 __executable_start symbol instead of _start.
46503
46504 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
46505
46506 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46507 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46508 Move macros to...
46509 * sysdeps/gnu/ldsodefs.h: ... this new file.
46510
46511 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46512 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46513 instead of ELFOSABI_LINUX.
46514
46515 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46516 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46517 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46518 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46519 Likewise.
46520 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46521 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46522 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46523 Likewise.
46524 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46525 (ibm_extended_long_double): Add ieee_nan member.
46526 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46527 (do_test): New function.
46528
46529 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46530 TEST_TRUNC.
46531 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46532 functions, renamed from truncdfsf_test, trunctfsf_test,
46533 trunctfdf_test.
46534 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46535 functions.
46536 (do_test): Run all these.
46537
46538 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
46539
46540 * argp/argp-help.c: Fix typos.
46541 * argp/argp-parse.c: Likewise.
46542 * debug/backtracesyms.c: Likewise.
46543 * elf/elf.h: Likewise.
46544 * malloc/malloc.c: Likewise.
46545 * nis/nis_print.c: Likewise.
46546 * resolv/res_comp.c: Likewise.
46547 * stdlib/stdlib.h: Likewise.
46548 * sunrpc/clnt_tcp.c: Likewise.
46549 * sunrpc/clnt_udp.c: Likewise.
46550 * sunrpc/clnt_unix.c: Likewise.
46551 * sysdeps/unix/bsd/ptsname.c: Likewise.
46552 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46553 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46555 Likewise.
46556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46557 Likewise.
46558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46559 Likewise.
46560 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46561
46562 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46563
46564 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46566
46567 2013-08-27 Mike Frysinger <vapier@gentoo.org>
46568
46569 [BZ #15897]
46570 * dlfcn/Makefile (tests): Add bug-dl-leaf.
46571 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46572 ($(objpfx)bug-dl-leaf): New rule.
46573 ($(objpfx)bug-dl-leaf.so): Likewise.
46574 ($(objpfx)bug-dl-leaf.out): Likewise.
46575 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46576 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46577 * dlfcn/bug-dl-leaf.c: New test.
46578 * dlfcn/bug-dl-leaf-lib.c: Likewise.
46579 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46580 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46581 (dlclose): Likewise.
46582 (dlmopen): Likewise.
46583
46584 2013-08-27 Roland McGrath <roland@hack.frob.com>
46585
46586 * include/netdb.h [!_ISOMAC]:
46587 Don't include <tls.h>.
46588 (h_errno, __libc_h_errno): Move declaration and macros out of
46589 [_LIBC_REENTRANT].
46590
46591 * include/resolv.h [_RESOLV_H_]:
46592 Don't include <tls.h>.
46593 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46594 * resolv/res_libc.c: Don't include <tls.h>.
46595 (_res): Use __attribute__ ((nocommon)) in place of
46596 __attribute__ ((section (".bss"))).
46597
46598 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46599 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46600
46601 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46602
46603 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46604 only under [SIOCGIFCONF && SIOCGIFNETMASK].
46605
46606 * resolv/res_mkquery.c: Include <sys/time.h>.
46607
46608 * inet/ifreq.c: Moved to ...
46609 * sysdeps/unix/ifreq.c: ... here.
46610 * inet/ifreq.c: New file, true stub version.
46611
46612 * socket/sa_len.c: New file.
46613 * socket/Makefile (aux): Add it.
46614 * sysdeps/unix/sysv/linux/Makefile
46615 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46616 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46617 and #include <socket/sa_len.c>.
46618 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46619 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46620
46621 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46622 * bits/socket.h: ... here.
46623
46624 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46625 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46626 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46627
46628 2013-08-27 Andreas Schwab <schwab@suse.de>
46629
46630 [BZ #15736]
46631 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46632 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46633 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46634 * string/test-strcasecmp.c (test_main): Run tests in several
46635 locales.
46636 * string/test-strncasecmp.c (test_main): Likewise.
46637
46638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46639 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46640 to __strcasecmp_nonascii and __strncasecmp_nonascii.
46641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46642 (__strncasecmp_ssse3) [PIC]: Likewise.
46643
46644 2013-08-26 Roland McGrath <roland@hack.frob.com>
46645
46646 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46647
46648 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46649 instead of explicitly declaring xdecrypt.
46650 * nis/nss_nis/nis-publickey.c: Likewise.
46651
46652 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46653
46654 [BZ #15890]
46655 * nscd/aicache.c: Include res_hconf.h.
46656 (addhstaiX): Initialize res_hconf.
46657
46658 2013-08-26 Andreas Schwab <schwab@suse.de>
46659
46660 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46661 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46662
46663 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46664
46665 * nscd/aicache.c (addhstaiX): Fix indentation.
46666
46667 2013-08-25 Mike Frysinger <vapier@gentoo.org>
46668
46669 * configure.ac: Quote $build_pt_chown test.
46670 * configure: Regenerated.
46671
46672 2013-08-23 Joseph Myers <joseph@codesourcery.com>
46673
46674 [BZ #15532]
46675 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46676 * math/s_cexpf.c (__cexpf): Likewise.
46677 * math/s_cexpl.c (__cexpl): Likewise.
46678 * math/libm-test.inc (cexp_test_data): Correct expected return
46679 value for NaN + i0. Add another test.
46680
46681 2013-08-22 David S. Miller <davem@davemloft.net>
46682
46683 * po/ca.po: Update Catalan translation from translation project.
46684 * po/uk.po: Add Ukrainian translations from translation project.
46685
46686 2013-08-21 Joseph Myers <joseph@codesourcery.com>
46687
46688 [BZ #15797]
46689 * math/s_fdim.c (__fdim): Check for infinite arguments if result
46690 is infinite, not alongside NaN test.
46691 * math/s_fdimf.c (__fdimf): Likewise.
46692 * math/s_fdiml.c (__fdiml): Likewise.
46693 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
46694 errno is unchanged.
46695
46696 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
46697
46698 * argp/argp-help.c: Fix typos.
46699 * crypt/speeds.c: Likewise.
46700 * csu/check_fds.c: Likewise.
46701 * elf/dl-load.c: Likewise.
46702 * elf/dl-open.c: Likewise.
46703 * elf/reldep3.c: Likewise.
46704 * elf/reldep.c: Likewise.
46705 * elf/sprof.c: Likewise.
46706 * iconv/iconv_charmap.c: Likewise.
46707 * iconv/skeleton.c: Likewise.
46708 * iconv/strtab.c: Likewise.
46709 * io/lockf64.c: Likewise.
46710 * libio/libioP.h: Likewise.
46711 * resolv/gai_notify.c: Likewise.
46712 * resolv/ns_name.c: Likewise.
46713 * resolv/ns_samedomain.c: Likewise.
46714 * resolv/res_send.c: Likewise.
46715 * stdlib/random.c: Likewise.
46716 * sunrpc/rpc/xdr.h: Likewise.
46717 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46718 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46721 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46724 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46725 * sysdeps/mach/hurd/check_fds.c: Likewise.
46726 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46727 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46728 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46729 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46730 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46731 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46732 * sysdeps/pthread/aio_notify.c: Likewise.
46733 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46734 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46737 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46738
46739 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46740
46741 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46742 version if bit_Slow_SSE4_2 is set.
46743 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46744 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46745
46746 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46747
46748 [BZ #15867]
46749 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46750 trampoline stack frame information.
46751 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46752 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46753 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46754 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46755 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46756 * sysdeps/unix/sysv/linux/powerpc/init-first.c
46757 (_libc_vdso_platform_setup): Initialize the signal trampolines.
46758 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46759 sa_flags value.
46760 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46761 interrupting a syscall and set with option SA_SIGINFO.
46762
46763 2013-08-20 Joseph Myers <joseph@codesourcery.com>
46764
46765 [BZ #15531]
46766 * math/s_cproj.c (__cproj): Only return an infinity if one part of
46767 argument is infinite.
46768 * math/s_cprojf.c (__cprojf): Likewise.
46769 * math/s_cprojl.c (__cprojl): Likewise.
46770 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46771 * math/libm-test.inc (cproj_test_data): Add more tests.
46772
46773 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46774
46775 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46776 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46777 size. Use __ffs to determine corresponding shift.
46778
46779 2013-08-20 Joseph Myers <joseph@codesourcery.com>
46780 Roland McGrath <roland@hack.frob.com>
46781
46782 * Makefile (INSTALL): Remove trailing blank lines from output of
46783 makeinfo.
46784
46785 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46786
46787 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46788 Align 32 bit compat elf_greg to 8 bytes.
46789
46790 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
46791
46792 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46793
46794 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46795
46796 * string/strcoll_l.c (coll_seq): New structure.
46797 (get_next_seq_cached): New function.
46798 (get_next_seq): New function.
46799 (do_compare): New function.
46800 (STRCOLL): Use GNU style definition. Simplify implementation
46801 by using get_next_seq, get_next_seq_cached and do_compare.
46802
46803 2013-08-16 Florian Weimer <fweimer@redhat.com>
46804
46805 [BZ #14699]
46806 CVE-2013-4237
46807 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46808 member.
46809 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46810 member.
46811 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46812 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46813 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
46814 conditional.
46815 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46816 GETDENTS_64BIT_ALIGNED.
46817 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46818 * manual/filesys.texi (Reading/Closing Directory): Document
46819 ENAMETOOLONG return value of readdir_r. Recommend readdir more
46820 strongly.
46821 * manual/conf.texi (Limits for Files): Add portability note to
46822 NAME_MAX, PATH_MAX.
46823 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46824
46825 2013-08-13 Andreas Schwab <schwab@suse.de>
46826
46827 [BZ #15749]
46828 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46829 of fabs.
46830 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46831 LDBL_MAX_EXP >= 16384]: Add tests for it.
46832
46833 2013-08-12 David S. Miller <davem@davemloft.net>
46834
46835 * version.h (RELEASE): Set to "development".
46836 (VERSION): Set to "2.18.90".
46837 * NEWS: Add 2.19 section.
46838
46839 2013-08-03 David S. Miller <davem@davemloft.net>
46840
46841 * po/ko.po: Update Korean translation from translation project.
46842
46843 2013-08-01 David S. Miller <davem@davemloft.net>
46844
46845 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
46846 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46847 Bilka.
46848
46849 2013-07-30 David S. Miller <davem@davemloft.net>
46850
46851 * po/fr.po: Update French translation from translation project.
46852
46853 2013-07-28 David S. Miller <davem@davemloft.net>
46854
46855 * po/cs.po: Update Czech translation from translation project.
46856
46857 * po/sv.po: Update Swedish translation from translation project.
46858
46859 2013-07-27 David S. Miller <davem@davemloft.net>
46860
46861 * po/eo.po: Update Esperanto translation from translation project.
46862
46863 * po/vi.po: Update Vietnamese translation from translation project.
46864
46865 * po/de.po: Update German translation from translation project.
46866
46867 2013-07-26 David S. Miller <davem@davemloft.net>
46868
46869 * po/bg.po: Update Bulgarian translation from translation project.
46870
46871 * po/nl.po: Update Dutch translation from translation project.
46872 * po/pl.po: Update Polish translation from translation project.
46873 * po/ru.po: Update Russian translation from translation project.
46874
46875 2013-07-24 David S. Miller <davem@davemloft.net>
46876
46877 * po/libc.pot: Update.
46878
46879 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46880
46881 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46882 variable page size.
46883 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46884 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46885 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46886
46887 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46888
46889 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46890
46891 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46892 Andreas Schwab <schwab@suse.de>
46893 Roland McGrath <roland@hack.frob.com>
46894 Joseph Myers <joseph@codesourcery.com>
46895 Carlos O'Donell <carlos@redhat.com>
46896
46897 [BZ #15755]
46898 * config.h.in: Define HAVE_PT_CHOWN.
46899 * config.make.in (build-pt-chown): New variable.
46900 * configure.in (--enable-pt_chown): New configure option.
46901 * configure: Regenerate.
46902 * login/Makefile: Include Makeconfig. Build pt_chown only if
46903 build-pt-chown is enabled.
46904 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46905 pt_chown to fix pty ownership.
46906 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46907 CLOSE_ALL_FDS.
46908 * manual/install.texi (Configuring and compiling): Mention
46909 --enable-pt_chown. Add @findex for grantpt.
46910 * INSTALL: Regenerate.
46911
46912 2013-07-20 David S. Miller <davem@davemloft.net>
46913
46914 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46915 difference between 32-bit and 64-bit.
46916
46917 2013-07-15 Carlos O'Donell <carlos@redhat.com>
46918
46919 [BZ #15711]
46920 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46921 Avoid system header dependency with -ffreestanding.
46922 ($(objpfx)bits/syscall%d): Likewise.
46923
46924 2013-07-13 David S. Miller <davem@davemloft.net>
46925
46926 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46927 underflows from atanl/atan2l due to bug 15319.
46928 (casinh_test_data): Likewise.
46929
46930 2013-07-07 David S. Miller <davem@davemloft.net>
46931
46932 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46933
46934 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
46935
46936 * sysdeps/i386/fpu/libm-test-ulps: Update.
46937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46938
46939 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46940
46941 * configure.in (--enable-lock-elision): Fix message text.
46942 * INSTALL: Regenerate.
46943 * configure: Regenerate.
46944
46945 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46946
46947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46948
46949 2013-07-03 Andreas Jaeger <aj@suse.de>
46950
46951 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46952 define.
46953 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46954 (ptrace_peeksiginfo_args): Add.
46955 (__ptrace_peeksiginfo_flags): Add.
46956 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46958 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46959
46960 2013-07-03 Allan McRae <allan@archlinux.org>
46961
46962 * sysdeps/i386/fpu/libm-test-ulps: Update.
46963
46964 2013-07-02 David S. Miller <davem@davemloft.net>
46965
46966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46967
46968 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
46969
46970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46971
46972 2013-07-02 Joseph Myers <joseph@codesourcery.com>
46973
46974 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46976
46977 2013-07-02 Andi Kleen <ak@linux.intel.com>
46978
46979 * config.h.in (ENABLE_LOCK_ELISION): Add.
46980 * configure.in (--enable-lock-elision): Add option.
46981 * manual/install.texi: Document --enable lock elision.
46982 * configure: Regenerate
46983 * INSTALL: Regenerate.
46984
46985 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
46986
46987 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46988 SSE4.2 strcasecmp for libc.a.
46989 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46990
46991 2013-07-02 Joseph Myers <joseph@codesourcery.com>
46992
46993 [BZ #13304]
46994 * soft-fp/op-common.h (_FP_FMA): New macro.
46995 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46996 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
46997 (_FP_MUL_MEAT_1_imm): ... here.
46998 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
46999 (_FP_MUL_MEAT_1_wide): ... here.
47000 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
47001 (_FP_MUL_MEAT_1_hard): ... here.
47002 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47003 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
47004 (_FP_MUL_MEAT_2_wide): ... here.
47005 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
47006 (_FP_MUL_MEAT_2_wide_3mul): ... here.
47007 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
47008 (_FP_MUL_MEAT_2_gmp): ... here.
47009 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47010 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
47011 (_FP_MUL_MEAT_4_wide): ... here.
47012 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
47013 (_FP_MUL_MEAT_4_gmp): ... here.
47014 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47015 (_FP_WFRACBITS_DW_S): Likewise.
47016 (_FP_WFRACXBITS_DW_S): Likewise.
47017 (_FP_HIGHBIT_DW_S): Likewise.
47018 (FP_FMA_S): Likewise.
47019 (_FP_FRAC_HIGH_DW_S): Likewise.
47020 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47021 (_FP_WFRACBITS_DW_D): Likewise.
47022 (_FP_WFRACXBITS_DW_D): Likewise.
47023 (_FP_HIGHBIT_DW_D): Likewise.
47024 (FP_FMA_D): Likewise.
47025 (_FP_FRAC_HIGH_DW_D): Likewise.
47026 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47027 (_FP_WFRACBITS_DW_E): Likewise.
47028 (_FP_WFRACXBITS_DW_E): Likewise.
47029 (_FP_HIGHBIT_DW_E): Likewise.
47030 (FP_FMA_E): Likewise.
47031 (_FP_FRAC_HIGH_DW_E): Likewise.
47032 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47033 (_FP_WFRACBITS_DW_Q): Likewise.
47034 (_FP_WFRACXBITS_DW_Q): Likewise.
47035 (_FP_HIGHBIT_DW_Q): Likewise.
47036 (FP_FMA_Q): Likewise.
47037 (_FP_FRAC_HIGH_DW_Q): Likewise.
47038 * soft-fp/fmasf4.c: New file.
47039 * soft-fp/fmadf4.c: Likewise.
47040 * soft-fp/fmatf4.c: Likewise.
47041
47042 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47043
47044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47045 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47046 Silvermont.
47047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47048 macro.
47049 (index_Slow_SSE4_2): Likewise.
47050 (index_Prefer_PMINUB_for_stringop): Likewise.
47051 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47052 bit_Slow_SSE4_2 is set.
47053 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47054 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47055
47056 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47057
47058 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47059 rtld_global._dl_hwcap2.
47060 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47061 POWER8.
47062 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47063 POWER8 feature descriptions defined in _dl_hwcap2.
47064 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47065 string handling for POWER8 feature bits.
47066 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47067 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47068 _dl_powerpc_cap_flags.
47069 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47070 * sysdeps/powerpc/rtld-global-offsets.sym
47071 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47072 _dl_hwcap2 in the rtld_global_ro structure.
47073
47074 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47075
47076 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47077 hardware capabilities in support of AT_HWCAP2.
47078 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47079 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47080 GLRO(dl_hwcap2).
47081 (_dl_show_auxv): Add support for calling _dl_procinfo to display
47082 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
47083 explicitly the unknown a_type display mechanism is used.
47084 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47085 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47086 struct member.
47087 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47088 to macro prototype for AT_HWCAP2 support.
47089 * sysdeps/i386/dl-procinfo.h: Likewise.
47090 * sysdeps/s390/dl-procinfo.h: Likewise.
47091 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47092 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
47093 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
47094 return -1 for unknown a_type display fallback.
47095 * sysdeps/sparc/dl-procinfo.h: Likewise.
47096 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47097 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47098
47099 2013-06-28 Joseph Myers <joseph@codesourcery.com>
47100
47101 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47102 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47103
47104 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
47105
47106 [BZ #12492]
47107 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47108 mprotect making __stack_prot writable.
47109
47110 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
47111 Joseph Myers <joseph@codesourcery.com>
47112
47113 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47114 as being properly aligned.
47115
47116 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
47117
47118 * dlfcn/modstatic5.c: New file.
47119 * dlfcn/tststatic5.c: New file.
47120 * dlfcn/Makefile (tests): Add tststatic5.
47121 (tests-static): Likewise.
47122 (modules-names): Add modstatic5.
47123 (tststatic5-ENV): New variable.
47124 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47125
47126 [BZ #15022]
47127 * elf/dl-support.c (_dl_main_map): New variable.
47128 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47129 (_dl_nns, _dl_load_adds): Set to 1.
47130 (_dl_initial_searchlist): Refer to _dl_main_map.
47131 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47132 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47133 call to _dl_get_origin.
47134 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47135 around call_map.
47136 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47137 * dlfcn/modstatic3.c: New file.
47138 * dlfcn/tststatic3.c: New file.
47139 * dlfcn/tststatic4.c: New file.
47140 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47141 (tests-static): Likewise.
47142 (modules-names): Add modstatic3.
47143 (tststatic3-ENV, tststatic4-ENV): New variables.
47144 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47145 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47146
47147 2013-06-26 Joseph Myers <joseph@codesourcery.com>
47148
47149 * configure.in (CC): Require GCC version 4.4 or later.
47150 * configure: Regenerated.
47151 * manual/install.texi (Tools for Compilation): Update GCC version
47152 requirement.
47153 * INSTALL: Regenerated.
47154
47155 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47156
47157 [BZ #15674]
47158 * string/test-memcmp.c (check2): New.
47159 (main): Call check2.
47160
47161 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47162
47163 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
47164
47165 [BZ #15022]
47166 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47167 over to...
47168 (dl_open_worker) [!SHARED]: ... here.
47169
47170 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47171
47172 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47173
47174 2013-06-25 Richard Henderson <rth@redhat.com>
47175
47176 * locale/programs/locarchive.c: Include <libc-internal.h>
47177
47178 2013-06-25 Joseph Myers <joseph@codesourcery.com>
47179
47180 * manual/texinfo.tex: Update to version 2013-06-21.17, with
47181 trailing whitespace removed.
47182
47183 2013-06-24 Mike Frysinger <vapier@gentoo.org>
47184
47185 [BZ #10283]
47186 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47187 * locale/programs/locarchive.c: Include libc-mmap.h.
47188 (prepare_address_space): Take two new outputs (the mmap base and len).
47189 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
47190 values.
47191 (create_archive): Declare new mmap base and len values for
47192 prepare_address_space, and store the result in ah.
47193 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47194 (enlarge_archive): If ah->mmap_base is not NULL, use that and
47195 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47196 Declare new mmap base and len values for
47197 prepare_address_space, and store the result in new_ah.
47198 (open_archive): Declare new mmap base and len values for
47199 prepare_address_space, and store the result in ah.
47200 (close_archive): If ah->mmap_base is not NULL, use that and
47201 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47202 * sysdeps/generic/libc-mmap.h: New file.
47203
47204 2013-06-24 Mike Frysinger <vapier@gentoo.org>
47205
47206 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47207 (ALIGN_UP): Likewise.
47208 (PTR_ALIGN_DOWN): Likewise.
47209 (PTR_ALIGN_UP): Likewise.
47210
47211 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47212
47213 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47214 entry mapped to PPC_PLATFORM_POWER8.
47215 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47216 POWER8.
47217 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47218 (_dl_string_platform): Add case for exporting platform position for
47219 POWER8.
47220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47221 search path to sysdeps/powerpc/powerpc32/power8 directory.
47222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47223 search path to sysdeps/powerpc/powerpc64/power8 directory.
47224 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47225 power7 directories.
47226 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47227 power7 directories.
47228
47229 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47230
47231 * INSTALL: Regenerate.
47232
47233 * nscd/connections.c (nscd_init): Fix comment.
47234
47235 2013-06-22 Joseph Myers <joseph@codesourcery.com>
47236
47237 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47238
47239 [BZ #15667]
47240 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47241 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47242
47243 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
47244
47245 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47246 DL_DST_REQ_STATIC.
47247 (DL_DST_REQ_STATIC): Remove macro.
47248
47249 2013-06-21 Joseph Myers <joseph@codesourcery.com>
47250
47251 [BZ #7006]
47252 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47253 with a shift of 0 bits.
47254
47255 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
47256
47257 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47258 $(tststatic-ENV).
47259
47260 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47261
47262 [BZ #15655]
47263 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47264
47265 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47266
47267 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47268 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47269 accepts -fno-tree-loop-distribute-patterns.
47270 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47271 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47272 recursive call.
47273 * string/memset.c (memset): Likewise.
47274 * string/test-memmove.c (simple_memmove): Disable loop transformation
47275 to library calls.
47276 * string/test-memset.c (simple_memset): Likewise.
47277 * benchtests/bench-memmove.c (simple_memmove): Likewise.
47278 * benchtests/bench-memset.c (simple_memset): Likewise.
47279 * configure: Regenerated.
47280
47281 2013-06-20 Joseph Myers <joseph@codesourcery.com>
47282
47283 * math/test-misc.c (main): Ignore fesetround failure when failures
47284 of subsequent rounding tests would be ignored.
47285
47286 [BZ #15654]
47287 * math/fedisblxcpt.c (fedisableexcept): Return 0.
47288 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47289 * math/fegetenv.c (__fegetenv): Return 0.
47290 * math/fegetexcept.c (fegetexcept): Return 0.
47291 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47292 FE_TONEAREST.
47293 * math/feholdexcpt.c (feholdexcept): Return 0.
47294 * math/fesetenv.c (__fesetenv): Return 0.
47295 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47296 argument FE_TONEAREST.
47297 * math/feupdateenv.c (__feupdateenv): Return 0.
47298 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47299
47300 2013-06-18 Roland McGrath <roland@hack.frob.com>
47301
47302 * elf/rtld-Rules (rtld-compile-command.S): New variable.
47303 (rtld-compile-command.s, rtld-compile-command.c): New variables.
47304 ($(objpfx)rtld-%.os rules): Use them.
47305
47306 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47307
47308 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47309 fields.
47310
47311 2013-06-17 Roland McGrath <roland@hack.frob.com>
47312
47313 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47314 length of target pattern, then descending length of dependency pattern.
47315 * configure.in (AWK): Require gawk 3.1.2 or newer.
47316 * manual/install.texi (Tools for Compilation): Say that we do.
47317 * configure: Regenerated.
47318
47319 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47320 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47321 * scripts/sysd-rules.awk: ... this new script.
47322 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47323 than a glob-style pattern.
47324
47325 2013-06-17 Joseph Myers <joseph@codesourcery.com>
47326
47327 * math/test-misc.c (main): Do not treat incorrectly rounded
47328 conversions as failure unless ROUNDING_TESTS passes.
47329
47330 2013-06-15 Joseph Myers <joseph@codesourcery.com>
47331
47332 [BZ #15631]
47333 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47334 restore exception state around main square root computation, then
47335 check for inexactness explicitly.
47336
47337 * math/libm-test.inc (fma_test_data): Add another test.
47338
47339 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47340
47341 * manual/threads.texi (Non-POSIX Extensions): New document
47342 node. Document pthread_getattr_default_np and
47343 pthread_setattr_default_np.
47344
47345 * Versions.def (libpthread): Add GLIBC_2.18.
47346 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47348 Likewise.
47349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47350 Likewise.
47351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47352 Likewise.
47353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47354 Likewise.
47355 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47356 Likewise.
47357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47358 Likewise.
47359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47360 Likewise.
47361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47362 Likewise.
47363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47364 Likewise.
47365
47366 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47367
47368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47369 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47370
47371 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47372 H.J. Lu <hjl.tools@gmail.com>
47373
47374 [BZ #15627]
47375 * sysdeps/x86_64/rtld-memset.c: Remove file.
47376 * sysdeps/x86_64/rtld-memset.S: New file.
47377
47378 2013-06-14 Joseph Myers <joseph@codesourcery.com>
47379
47380 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47381 (test_in_one_mode): Take arguments for whether the rounding mode
47382 is supported for each floating-point type.
47383 (do_test): Pass new arguments to test_in_one_mode using
47384 ROUNDING_TESTS.
47385
47386 2013-06-13 Roland McGrath <roland@hack.frob.com>
47387
47388 * posix/tst-waitid.c (do_test): Distinguish different instances of
47389 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
47390 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47391 before entering the kernel for waitpid.
47392
47393 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
47394
47395 * NEWS: Fix note on clock function precision. Text by Roland
47396 McGrath.
47397
47398 2013-06-13 Roland McGrath <roland@hack.frob.com>
47399
47400 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47401 it into place only when and if the sanity check passes.
47402
47403 2013-06-13 Joseph Myers <joseph@codesourcery.com>
47404
47405 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47406 output for whether conversion result is exact. Take argument
47407 indicating whether type is IBM long double.
47408 (round_for_all): Change need_exact field to ibm_ld.
47409 * stdlib/tst-strtod-round.c (struct exactness): New type.
47410 (struct test): Change bool ld_ok field to struct exactness exact.
47411 (TEST): Update all definitions for change to field.
47412 (tests): Regenerate array contents.
47413 (test_in_one_mode): Take pointer to new field instead of old ld_ok
47414 field value. Check for IBM long double here.
47415 (do_test): Update calls to test_in_one_mode.
47416
47417 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
47418
47419 [BZ #12515]
47420 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47421 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47422
47423 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47424
47425 [BZ #15605]
47426 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47427 generated by the compiler on loop optimizations.
47428 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47429 general definitions.
47430
47431 2013-06-12 Joseph Myers <joseph@codesourcery.com>
47432
47433 * math/bug-nextafter.c: Include <math-tests.h>.
47434 (main): Only test for exceptions if EXCEPTION_TESTS is true for
47435 the relevant type.
47436 * math/bug-nexttoward.c: Include <math-tests.h>.
47437 (main): Only test for exceptions if EXCEPTION_TESTS is true for
47438 the relevant type.
47439 * math/test-misc.c: Include <math-tests.h>.
47440 (main): Only test for exceptions if EXCEPTION_TESTS is true for
47441 the relevant type.
47442
47443 2013-06-12 Andreas Jaeger <aj@suse.de>
47444
47445 * po/ia.po: Update Interlingua translation from translation
47446 project.
47447
47448 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
47449
47450 * include/fenv.h: Include stdbool.h.
47451 (struct rm_ctx): New structure.
47452 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47453 Define macro.
47454 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47455 (SET_RESTORE_ROUNDF): Likewise.
47456 (SET_RESTORE_ROUNDL): Likewise.
47457 (SET_RESTORE_ROUND_NOEX): Likewise.
47458 (SET_RESTORE_ROUND_NOEXF): Likewise.
47459 (SET_RESTORE_ROUND_NOEXL): Likewise.
47460 (SET_RESTORE_ROUND_53BIT): Likewise.
47461 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47462 (libc_feresetround_noexf_ctx): Likewise.
47463 (libc_feresetround_noexl_ctx): Likewise.
47464 (libc_feholdsetround_53bit_ctx): Likewise.
47465 (libc_feresetround_53bit_ctx): Likewise.
47466 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47467 (libc_feholdexcept_setround_sse_ctx): New function.
47468 (libc_fesetenv_sse_ctx): Likewise.
47469 (libc_feupdateenv_sse_ctx): Likewise.
47470 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47471 (libc_feholdexcept_setround_387_ctx): Likewise.
47472 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47473 (libc_feholdsetround_387_prec_ctx): Likewise.
47474 (libc_feholdsetround_387_ctx): Likewise.
47475 (libc_feholdsetround_387_53bit_ctx): Likewise.
47476 (libc_feholdsetround_sse_ctx): Likewise.
47477 (libc_feresetround_sse_ctx): Likewise.
47478 (libc_feresetround_387_ctx): Likewise.
47479 (libc_feupdateenv_387_ctx): Likewise.
47480 (libc_feholdexcept_setroundf_ctx): Define macro.
47481 (libc_fesetenvf_ctx): Likewise.
47482 (libc_feupdateenvf_ctx): Likewise.
47483 (libc_feholdsetroundf_ctx): Likewise.
47484 (libc_feresetroundf_ctx): Likewise.
47485 (libc_feholdexcept_setround_ctx): Likewise.
47486 (libc_fesetenv_ctx): Likewise.
47487 (libc_feupdateenv_ctx): Likewise.
47488 (libc_feholdsetround_ctx): Likewise.
47489 (libc_feresetround_ctx): Likewise.
47490 (libc_feholdexcept_setroundl_ctx): Likewise.
47491 (libc_feupdateenvl_ctx): Likewise.
47492 (libc_feholdsetroundl_ctx): Likewise.
47493 (libc_feresetroundl_ctx): Likewise.
47494 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47495 (libc_feresetround_53bit_ctx): Likewise.
47496
47497 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47498
47499 * locale/iso-639.def: Convert to UTF-8.
47500
47501 2013-06-11 Joseph Myers <joseph@codesourcery.com>
47502
47503 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47504 (EXCEPTION_TESTS_double): Likewise.
47505 (EXCEPTION_TESTS_long_double): Likewise.
47506 (EXCEPTION_TESTS): Likewise.
47507 * math/libm-test.inc (test_exceptions): Only test exceptions if
47508 EXCEPTION_TESTS (FLOAT).
47509
47510 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47511
47512 * benchtests/Makefile (string-bench): Add strcpy_chk and
47513 stpcpy_chk.
47514 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47515 * benchtests/bench-stpcpy_chk.c: New file.
47516 * benchtests/bench-strcpy_chk-ifunc.c: New file.
47517 * benchtests/bench-strcpy_chk.c: New file.
47518 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47519 code.
47520 (do_test): Likewise.
47521
47522 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47523
47524 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47525 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47526 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47527 with tabs where appropriate.
47528 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47529 dl-procinfo.h.
47530 [PPC_PLATFORM_PPC440]: Likewise.
47531 [PPC_PLATFORM_PPC464]: Likewise.
47532 [PPC_PLATFORM_PPC476]: Likewise.
47533 (_dl_string_platform): Add support for detecting ppc405, ppc440,
47534 ppc464, and ppc476 platform strings merging from ports/
47535 dl-procinfo.h.
47536
47537 2013-06-11 Andreas Schwab <schwab@suse.de>
47538
47539 [BZ #14991]
47540 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47541 (from_ucs4_idx): Regenerate.
47542 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47543 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47544 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47545 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47546 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47547 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47548 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47549 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47550 from FROM_LOOP and TO_LOOP specific macros.
47551 (BODY): Handle combining characters.
47552 * iconvdata/BIG5HKSCS.irreversible: Update.
47553 * iconvdata/BIG5HKSCS.precomposed: New file.
47554 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47555 characters.
47556 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47557
47558 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47559
47560 * include/sys/time.h: Fix indentation and add copyright header.
47561
47562 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47563 (do_test): Likewise.
47564 * string/test-memchr.c (do_one_test): Likewise.
47565 (do_test): Likewise.
47566 * string/test-memcmp.c (do_one_test): Likewise.
47567 (do_test): Likewise.
47568 * string/test-memcpy.c (do_one_test): Likewise.
47569 (do_test): Likewise.
47570 * string/test-memmem.c (do_one_test): Likewise.
47571 (do_test): Likewise.
47572 (do_random_tests): Likewise.
47573 * string/test-memmove.c (do_one_test): Likewise.
47574 (do_test): Likewise.
47575 * string/test-memset.c (do_one_test): Likewise.
47576 (do_test): Likewise.
47577 * string/test-rawmemchr.c (do_one_test): Likewise.
47578 (do_test): Likewise.
47579 * string/test-strcasecmp.c (do_one_test): Likewise.
47580 (do_test): Likewise.
47581 * string/test-strcasestr.c (do_one_test): Likewise.
47582 (do_test): Likewise.
47583 * string/test-strcat.c (do_one_test): Likewise.
47584 (do_test): Likewise.
47585 * string/test-strchr.c (do_one_test): Likewise.
47586 (do_test): Likewise.
47587 * string/test-strcmp.c (do_one_test): Likewise.
47588 (do_test): Likewise.
47589 * string/test-strcpy.c (do_one_test): Likewise.
47590 (do_test): Likewise.
47591 * string/test-string.h: Likewise.
47592 (test_init): Likewise.
47593 * string/test-strlen.c (do_one_test): Likewise.
47594 (do_test): Likewise.
47595 * string/test-strncasecmp.c (do_one_test): Likewise.
47596 (do_test): Likewise.
47597 * string/test-strncat.c (do_one_test): Likewise.
47598 (do_test): Likewise.
47599 * string/test-strncmp.c (do_one_test): Likewise.
47600 (do_test_limit): Likewise.
47601 (do_test): Likewise.
47602 * string/test-strncpy.c (do_one_test): Likewise.
47603 (do_test): Likewise.
47604 * string/test-strnlen.c (do_one_test): Likewise.
47605 (do_test): Likewise.
47606 * string/test-strpbrk.c (do_one_test): Likewise.
47607 (do_test): Likewise.
47608 * string/test-strrchr.c (do_one_test): Likewise.
47609 (do_test): Likewise.
47610 * string/test-strspn.c (do_one_test): Likewise.
47611 (do_test): Likewise.
47612 * string/test-strstr.c (do_one_test): Likewise.
47613 (do_test): Likewise.
47614
47615 * benchtests/Makefile (string-bench): Add string benchmarks.
47616 * benchtests/bench-bcopy-ifunc.c: New file.
47617 * benchtests/bench-bcopy.c: New file.
47618 * benchtests/bench-bzero-ifunc.c: New file.
47619 * benchtests/bench-bzero.c: New file.
47620 * benchtests/bench-memccpy-ifunc.c: New file.
47621 * benchtests/bench-memccpy.c: New file.
47622 * benchtests/bench-memchr-ifunc.c: New file.
47623 * benchtests/bench-memchr.c: New file.
47624 * benchtests/bench-memcmp-ifunc.c: New file.
47625 * benchtests/bench-memcmp.c: New file.
47626 * benchtests/bench-memmem-ifunc.c: New file.
47627 * benchtests/bench-memmem.c: New file.
47628 * benchtests/bench-memmove-ifunc.c: New file.
47629 * benchtests/bench-memmove.c: New file.
47630 * benchtests/bench-mempcpy-ifunc.c: New file.
47631 * benchtests/bench-mempcpy.c: New file.
47632 * benchtests/bench-memset-ifunc.c: New file.
47633 * benchtests/bench-memset.c: New file.
47634 * benchtests/bench-rawmemchr-ifunc.c: New file.
47635 * benchtests/bench-rawmemchr.c: New file.
47636 * benchtests/bench-stpcpy-ifunc.c: New file.
47637 * benchtests/bench-stpcpy.c: New file.
47638 * benchtests/bench-stpncpy-ifunc.c: New file.
47639 * benchtests/bench-stpncpy.c: New file.
47640 * benchtests/bench-strcasecmp-ifunc.c: New file.
47641 * benchtests/bench-strcasecmp.c: New file.
47642 * benchtests/bench-strcasestr-ifunc.c: New file.
47643 * benchtests/bench-strcasestr.c: New file.
47644 * benchtests/bench-strcat-ifunc.c: New file.
47645 * benchtests/bench-strcat.c: New file.
47646 * benchtests/bench-strchr-ifunc.c: New file.
47647 * benchtests/bench-strchr.c: New file.
47648 * benchtests/bench-strchrnul-ifunc.c: New file.
47649 * benchtests/bench-strchrnul.c: New file.
47650 * benchtests/bench-strcmp-ifunc.c: New file.
47651 * benchtests/bench-strcmp.c: New file.
47652 * benchtests/bench-strcpy-ifunc.c: New file.
47653 * benchtests/bench-strcpy.c: New file.
47654 * benchtests/bench-strcspn-ifunc.c: New file.
47655 * benchtests/bench-strcspn.c: New file.
47656 * benchtests/bench-strlen-ifunc.c: New file.
47657 * benchtests/bench-strlen.c: New file.
47658 * benchtests/bench-strncasecmp-ifunc.c: New file.
47659 * benchtests/bench-strncasecmp.c: New file.
47660 * benchtests/bench-strncat-ifunc.c: New file.
47661 * benchtests/bench-strncat.c: New file.
47662 * benchtests/bench-strncmp-ifunc.c: New file.
47663 * benchtests/bench-strncmp.c: New file.
47664 * benchtests/bench-strncpy-ifunc.c: New file.
47665 * benchtests/bench-strncpy.c: New file.
47666 * benchtests/bench-strnlen-ifunc.c: New file.
47667 * benchtests/bench-strnlen.c: New file.
47668 * benchtests/bench-strpbrk-ifunc.c: New file.
47669 * benchtests/bench-strpbrk.c: New file.
47670 * benchtests/bench-strrchr-ifunc.c: New file.
47671 * benchtests/bench-strrchr.c: New file.
47672 * benchtests/bench-strspn-ifunc.c: New file.
47673 * benchtests/bench-strspn.c: New file.
47674 * benchtests/bench-strstr-ifunc.c: New file.
47675 * benchtests/bench-strstr.c: New file.
47676
47677 * benchtests/Makefile: Disable parallel execution of targets.
47678 (string-bench): Add memcpy.
47679 (benchset): New variable to store a list of benchmark sets.
47680 (bench-func): Renamed from bench.
47681 (bench-set): New target.
47682 (bench): Depend on bench-func and bench-set.
47683 * benchtests/README: Add section on benchmark sets.
47684 * benchtests/bench-memcpy-ifunc.c: New file.
47685 * benchtests/bench-memcpy.c: New file.
47686 * benchtests/bench-string.h: New file.
47687
47688 2013-06-11 Andreas Schwab <schwab@suse.de>
47689
47690 [BZ #15577]
47691 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47692 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47693 values in the triple.
47694 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47695 terminator in the group key.
47696
47697 2013-06-11 Andreas Jaeger <aj@suse.de>
47698
47699 * po/zh_TW.po: Update Chinese (traditional) translation from
47700 translation project.
47701
47702 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47703
47704 * include/time.h (__clock_gettime): Add libc_hidden_proto.
47705 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47706 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
47707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47708 (clock_getcpuclockid): Likewise.
47709 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47710 Add weak_alias and libc_hidden_def.
47711 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47712 * rt/clock_gettime.c (clock_gettime): Rename to
47713 __clock_gettime. Add weak_alias and libc_hidden_def.
47714 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47715 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47716 __clock_nanosleep. Add weak_alias and libc_hidden_def.
47717 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47718 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47719 Likewise.
47720 * rt/clock_settime.c (clock_settime): Rename to
47721 __clock_settime. Add weak_alias and libc_hidden_def.
47722 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47723
47724 2013-06-10 Joseph Myers <joseph@codesourcery.com>
47725
47726 * mach/err_boot.sub: Remove trailing whitespace.
47727 * mach/err_ipc.sub: Likewise.
47728 * mach/err_mach.sub: Likewise.
47729
47730 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47731 (ROUNDING_TESTS_double): Likewise.
47732 (ROUNDING_TESTS_long_double): Likewise.
47733 (ROUNDING_TESTS): Likewise.
47734 * math/libm-test.inc: Include <math-tests.h>.
47735 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47736 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47737 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47738 (IF_ROUND_INIT_FE_UPWARD): Likewise.
47739
47740 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47741
47742 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47743 of assigning.
47744
47745 2013-06-08 Joseph Myers <joseph@codesourcery.com>
47746
47747 * sysdeps/gnu/errlist.awk: Do not generate space at end of
47748 otherwise empty TRANS lines.
47749 * sysdeps/gnu/errlist.c: Regenerated.
47750
47751 * catgets/gencat.c (error_print): Use (void) in function
47752 definition.
47753 * crypt/crypt_util.c (__init_des): Likewise.
47754 * crypt/speeds.c (Stop): Likewise.
47755 (main): Likewise.
47756 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47757 * inet/ruserpass.c (token): Likewise.
47758 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47759 * intl/localealias.c (extend_alias_table): Likewise.
47760 * intl/plural-exp.c (init_germanic_plural): Likewise.
47761 * libio/fcloseall.c (__fcloseall): Likewise.
47762 * libio/genops.c (_IO_flush_all): Likewise.
47763 (_IO_flush_all_linebuffered): Likewise.
47764 (_IO_cleanup): Likewise.
47765 (_IO_iter_begin): Likewise.
47766 (_IO_iter_end): Likewise.
47767 (_IO_list_lock): Likewise.
47768 (_IO_list_unlock): Likewise.
47769 (_IO_list_resetlock): Likewise.
47770 * libio/getchar.c (getchar): Likewise.
47771 * libio/getchar_u.c (getchar_unlocked): Likewise.
47772 * libio/getwchar.c (getwchar): Likewise.
47773 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47774 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47775 * login/getpt.c (__getpt): Likewise.
47776 * login/tst-utmp.c (main): Likewise.
47777 * malloc/hooks.c (__malloc_check_init): Likewise.
47778 * malloc/malloc.c (__malloc_stats): Likewise.
47779 * malloc/mtrace.c (tr_break): Likewise.
47780 (mtrace): Likewise.
47781 (muntrace): Likewise.
47782 * misc/fstab.c (endfsent): Likewise.
47783 * misc/getclktck.c (__getclktck): Likewise.
47784 * misc/getdtsz.c (__getdtablesize): Likewise.
47785 * misc/gethostid.c (gethostid): Likewise.
47786 * misc/getpagesize.c (__getpagesize): Likewise.
47787 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47788 (__get_nprocs): Likewise.
47789 (__get_phys_pages): Likewise.
47790 (__get_avphys_pages): Likewise.
47791 * misc/getttyent.c (getttyent): Likewise.
47792 (setttyent): Likewise.
47793 (endttyent): Likewise.
47794 * misc/getusershell.c (getusershell): Likewise.
47795 (endusershell): Likewise.
47796 (setusershell): Likewise.
47797 (initshells): Likewise.
47798 * misc/hsearch.c (__hdestroy): Likewise.
47799 * misc/sync.c (sync): Likewise.
47800 * misc/syslog.c (closelog_internal): Likewise.
47801 (closelog): Likewise.
47802 * misc/ttyslot.c (ttyslot): Likewise.
47803 * misc/vhangup.c (vhangup): Likewise.
47804 * posix/fork.c (__fork): Likewise.
47805 * posix/getegid.c (__getegid): Likewise.
47806 * posix/geteuid.c (__geteuid): Likewise.
47807 * posix/getgid.c (__getgid): Likewise.
47808 * posix/getpid.c (__getpid): Likewise.
47809 * posix/getppid.c (__getppid): Likewise.
47810 * posix/getuid.c (__getuid): Likewise.
47811 * posix/pause.c (pause): Likewise.
47812 * posix/setpgrp.c (setpgrp): Likewise.
47813 * posix/setsid.c (__setsid): Likewise.
47814 * posix/test-vfork.c (noop): Likewise.
47815 * resolv/gethnamaddr.c (_endhtent): Likewise.
47816 (_gethtent): Likewise.
47817 (ht_endhostent): Likewise.
47818 (gethostent): Likewise.
47819 (dns_service): Likewise.
47820 * stdlib/drand48.c (drand48): Likewise.
47821 * stdlib/lrand48.c (lrand48): Likewise.
47822 * stdlib/mrand48.c (mrand48): Likewise.
47823 * stdlib/rand.c (rand): Likewise.
47824 * stdlib/random.c (__random): Likewise.
47825 * stdlib/setenv.c (clearenv): Likewise.
47826 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47827 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47828 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47829 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47830 (__get_nprocs): Likewise.
47831 (__get_phys_pages): Likewise.
47832 (__get_avphys_pages): Likewise.
47833 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47834 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47835 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47836 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47837 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47838 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47839 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47840 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47841 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47842 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47843 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47844 * sysdeps/mach/hurd/sync.c (sync): Likewise.
47845 * sysdeps/posix/clock.c (clock): Likewise.
47846 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47847 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47848 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47849 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47850 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47852 (__get_nprocs_conf): Likewise.
47853 (__get_phys_pages): Likewise.
47854 (__get_avphys_pages): Likewise.
47855 * time/clock.c (clock): Likewise.
47856 * time/tzset.c (__tzname_max): Likewise.
47857
47858 2013-06-07 Joseph Myers <joseph@codesourcery.com>
47859
47860 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47861 (__bswap_32): Do not use "register".
47862 * crypt/crypt.c (_ufc_doit_r): Likewise.
47863 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47864 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47865 * gmon/gmon.c (__monstartup): Likewise.
47866 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47867 * hurd/hurdmalloc.c (more_memory): Likewise.
47868 (malloc): Likewise.
47869 (free): Likewise.
47870 (realloc): Likewise.
47871 (malloc_fork_prepare): Likewise.
47872 (malloc_fork_parent): Likewise.
47873 (malloc_fork_child): Likewise.
47874 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47875 (_svcauth_des): Likewise.
47876 * inet/inet_lnaof.c (inet_lnaof): Likewise.
47877 * inet/inet_net.c (inet_network): Likewise.
47878 * inet/inet_netof.c (inet_netof): Likewise.
47879 * inet/rcmd.c (__validuser2_sa): Likewise.
47880 * io/fts.c (fts_open): Likewise.
47881 (fts_load): Likewise.
47882 (fts_close): Likewise.
47883 (fts_read): Likewise.
47884 (fts_children): Likewise.
47885 (fts_build): Likewise.
47886 (fts_stat): Likewise.
47887 (fts_sort): Likewise.
47888 (fts_alloc): Likewise.
47889 (fts_lfree): Likewise.
47890 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47891 (_IO_file_xsgetn): Likewise.
47892 (_IO_file_xsgetn_mmap): Likewise.
47893 * libio/iofopncook.c (_IO_cookie_read): Likewise.
47894 (_IO_cookie_write): Likewise.
47895 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47896 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47897 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47898 * malloc/obstack.c (_obstack_begin): Likewise.
47899 (_obstack_begin_1): Likewise.
47900 (_obstack_newchunk): Likewise.
47901 (_obstack_allocated_p): Likewise.
47902 (obstack_free): Likewise.
47903 (_obstack_memory_used): Likewise.
47904 * misc/getttyent.c (getttynam): Likewise.
47905 (getttyent): Likewise.
47906 (skip): Likewise.
47907 (value): Likewise.
47908 * misc/getusershell.c (initshells): Likewise.
47909 * misc/syslog.c (__vsyslog_chk): Likewise.
47910 * misc/ttyslot.c (ttyslot): Likewise.
47911 * nis/nis_hash.c (__nis_hash): Likewise.
47912 * posix/fnmatch_loop.c (FCT): Likewise.
47913 * posix/getconf.c (print_all): Likewise.
47914 (main): Likewise.
47915 * posix/getopt.c (exchange): Likewise.
47916 * posix/glob.c (globfree): Likewise.
47917 (prefix_array): Likewise.
47918 (__glob_pattern_type): Likewise.
47919 * resolv/arpa/nameser.h (NS_GET16): Likewise.
47920 (NS_GET32): Likewise.
47921 (NS_PUT16): Likewise.
47922 (NS_PUT32): Likewise.
47923 * resolv/gethnamaddr.c (getanswer): Likewise.
47924 (gethostbyname2): Likewise.
47925 (gethostbyaddr): Likewise.
47926 (_gethtent): Likewise.
47927 (_gethtbyname2): Likewise.
47928 (_gethtbyaddr): Likewise.
47929 * resolv/ns_print.c (dst_s_get_int16): Likewise.
47930 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47931 * resolv/res_init.c (__res_vinit): Likewise.
47932 (net_mask): Likewise.
47933 * resolv/res_mkquery.c (outchar): Likewise.
47934 (PRINT): Likewise.
47935 * stdio-common/printf_fp.c (outchar): Likewise.
47936 (PRINT): Likewise.
47937 * stdio-common/printf_fphex.c (outchar): Likewise.
47938 (PRINT): Likewise.
47939 * stdio-common/printf_size.c (outchar): Likewise.
47940 (PRINT): Likewise.
47941 * stdio-common/test_rdwr.c (main): Likewise.
47942 * stdio-common/tfformat.c (matches): Likewise.
47943 * stdio-common/vfprintf.c (outchar): Likewise.
47944 (printf_unknown): Likewise.
47945 (buffered_vfprintf): Likewise.
47946 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47947 * stdio-common/xbug.c (AppendToBuffer): Likewise.
47948 (ReadFile): Likewise.
47949 * stdlib/qsort.c (SWAP): Likewise.
47950 (_quicksort): Likewise.
47951 * stdlib/setenv.c (__add_to_environ): Likewise.
47952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47953 * stdlib/strtol_l.c (__strtol_l): Likewise.
47954 * stdlib/tst-strtod.c (main): Likewise.
47955 * stdlib/tst-strtol.c (main): Likewise.
47956 * stdlib/tst-strtoll.c (main): Likewise.
47957 * string/bits/string2.h (__strcmp_cc): Likewise.
47958 (__strcmp_cg): Likewise.
47959 (__strcspn_c1): Likewise.
47960 (__strcspn_c2): Likewise.
47961 (__strcspn_c3): Likewise.
47962 (__strspn_c1): Likewise.
47963 (__strspn_c2): Likewise.
47964 (__strspn_c3): Likewise.
47965 (__strsep_1c): Likewise.
47966 (__strsep_2c): Likewise.
47967 (__strsep_3c): Likewise.
47968 * string/memccpy.c (__memccpy): Likewise.
47969 * string/stpcpy.c (__stpcpy): Likewise.
47970 * string/strcmp.c (strcmp): Likewise.
47971 * string/strrchr.c (strrchr): Likewise.
47972 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47973 Likewise.
47974 * sysdeps/mach/hurd/getcwd.c
47975 (_hurd_canonicalize_directory_name_internal): Likewise.
47976 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47977 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47978 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47979 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47980 Likewise, in both definitions.
47981 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47982 definitions.
47983 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47984 64] (__bswap_64): Likewise.
47985 * time/test_time.c (main): Likewise.
47986 * time/tzfile.c (__tzfile_read): Likewise.
47987 (__tzfile_compute): Likewise.
47988 * time/tzset.c (__tzset_parse_tz): Likewise.
47989 (tzset_internal): Likewise.
47990 (compute_change): Likewise.
47991 * wcsmbs/wcscat.c (__wcscat): Likewise.
47992 * wcsmbs/wcschr.c (wcschr): Likewise.
47993 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47994 * wcsmbs/wcscspn.c (wcscspn): Likewise.
47995 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47996 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47997 * wcsmbs/wcsspn.c (wcsspn): Likewise.
47998 * wcsmbs/wcsstr.c (wcsstr): Likewise.
47999 * wcsmbs/wmemchr.c (wmemchr): Likewise.
48000 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48001 * wcsmbs/wmemset.c (wmemset): Likewise.
48002
48003 2013-06-06 Joseph Myers <joseph@codesourcery.com>
48004
48005 * scripts/config.guess: Update to version 2013-05-16.
48006 * scripts/config.sub: Update to version 2013-04-24.
48007 * scripts/install-sh: Update to version 2011-11-20.07.
48008 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48009 * scripts/move-if-change: Update to version 2012-01-06 07:23.
48010
48011 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
48012
48013 * debug/fgetws_u_chk.c: Fix leading whitespaces.
48014 * elf/sln.c: Likewise.
48015 * hurd/hurd/ioctl.h: Likewise.
48016 * hurd/hurdmalloc.c: Likewise.
48017 * hurd/xattr.c: Likewise.
48018 * include/shlib-compat.h: Likewise.
48019 * inet/ruserpass.c: Likewise.
48020 * libio/iofgets_u.c: Likewise.
48021 * libio/iofgetws_u.c: Likewise.
48022 * locale/programs/ld-identification.c: Likewise.
48023 * locale/programs/ld-time.c: Likewise.
48024 * mach/msg-destroy.c: Likewise.
48025 * nss/nss_files/files-netgrp.c: Likewise.
48026 * resolv/res_data.c: Likewise.
48027 * soft-fp/op-1.h: Likewise.
48028 * soft-fp/op-2.h: Likewise.
48029 * soft-fp/op-4.h: Likewise.
48030 * soft-fp/op-common.h: Likewise.
48031 * stdio-common/printf_fphex.c: Likewise.
48032 * stdlib/strtod_l.c: Likewise.
48033 * sunrpc/rpc/clnt.h: Likewise.
48034 * sysdeps/generic/framestate.c: Likewise.
48035 * sysdeps/i386/bsd-_setjmp.S: Likewise.
48036 * sysdeps/i386/bsd-setjmp.S: Likewise.
48037 * sysdeps/i386/__longjmp.S: Likewise.
48038 * sysdeps/i386/setjmp.S: Likewise.
48039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48040 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48049 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48052 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48055 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48056 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48057 * sysdeps/ieee754/support.c: Likewise.
48058 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48059 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48060 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48061 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48062 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48063 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48064 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48065 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48066 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48067 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48068 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48069 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48070 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48071 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48072 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48073 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48074 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48076
48077 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
48078
48079 * posix/transbug.c: Remove executable mode.
48080
48081 2013-06-05 Joseph Myers <joseph@codesourcery.com>
48082
48083 * crypt/speeds.c: Remove trailing whitespace.
48084 * dlfcn/default.c: Likewise.
48085 * elf/ifuncdep2.c: Likewise.
48086 * elf/ifuncmain1.c: Likewise.
48087 * elf/ifuncmain1vis.c: Likewise.
48088 * elf/testobj.h: Likewise.
48089 * elf/tst-stackguard1.c: Likewise.
48090 * gmon/sys/gmon.h: Likewise.
48091 * hurd/hurdmsg.c: Likewise.
48092 * hurd/new-fd.c: Likewise.
48093 * hurd/ports-get.c: Likewise.
48094 * iconvdata/ibm1008_420.c: Likewise.
48095 * inet/tst-getni1.c: Likewise.
48096 * inet/tst-getni2.c: Likewise.
48097 * libio/ioungetc.c: Likewise.
48098 * libio/wfiledoalloc.c: Likewise.
48099 * manual/libm-err-tab.pl: Likewise.
48100 * math/w_dremf.c: Likewise.
48101 * misc/ftruncate.c: Likewise.
48102 * posix/bug-glob2.c: Likewise.
48103 * posix/tst-pcre.c: Likewise.
48104 * posix/wait4.c: Likewise.
48105 * resolv/README: Likewise.
48106 * resolv/res_debug.h: Likewise.
48107 * resolv/tst-inet_ntop.c: Likewise.
48108 * setjmp/bug269-setjmp.c: Likewise.
48109 * soft-fp/extended.h: Likewise.
48110 * soft-fp/op-1.h: Likewise.
48111 * soft-fp/op-2.h: Likewise.
48112 * soft-fp/op-4.h: Likewise.
48113 * soft-fp/op-8.h: Likewise.
48114 * soft-fp/testit.c: Likewise.
48115 * stdio-common/bug16.c: Likewise.
48116 * stdlib/random.c: Likewise.
48117 * sunrpc/rpcsvc/rquota.x: Likewise.
48118 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48119 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48121 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48122 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48123 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48124 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48125 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48126 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48127 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48128 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48132 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48133 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48134 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48136 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48137 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48145 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48147 * sysdeps/ieee754/s_lib_version.c: Likewise.
48148 * sysdeps/mach/hurd/check_fds.c: Likewise.
48149 * sysdeps/mach/hurd/getsockname.c: Likewise.
48150 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48151 * sysdeps/mach/hurd/recvfrom.c: Likewise.
48152 * sysdeps/powerpc/bits/link.h: Likewise.
48153 * sysdeps/powerpc/dl-procinfo.c: Likewise.
48154 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48155 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48156 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48157 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48158 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48159 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48160 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48161 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48162 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48163 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48164 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48165 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48166 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48167 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48168 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48169 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48170 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48171 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48172 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48173 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48174 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48176 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48177 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48181 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48182 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48184 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48185 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48186 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48187 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48188 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48189 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48190 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48191 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48192 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48193 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48194 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48195 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48196 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48197 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48198 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48199 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48200 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48201 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48202 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48205 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48206 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48207 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48208 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48209 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48210 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48211 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48212 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48213 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48214 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48215 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48216 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48217 * sysdeps/powerpc/sysdep.h: Likewise.
48218 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48219 * sysdeps/s390/s390-64/sub_n.S: Likewise.
48220 * sysdeps/sh/dl-trampoline.S: Likewise.
48221 * sysdeps/sh/memset.S: Likewise.
48222 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48223 * sysdeps/sh/strlen.S: Likewise.
48224 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48225 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48226 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48227 * sysdeps/sparc/sparc32/rem.S: Likewise.
48228 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48229 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48230 * sysdeps/sparc/sparc32/strchr.S: Likewise.
48231 * sysdeps/sparc/sparc32/udiv.S: Likewise.
48232 * sysdeps/sparc/sparc32/urem.S: Likewise.
48233 * sysdeps/sparc/sparc64/add_n.S: Likewise.
48234 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48235 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48236 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48237 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48238 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48239 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48240 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48241 * sysdeps/unix/bsd/times.c: Likewise.
48242 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48243 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48247 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48248 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48249 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48250 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48251 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48252 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48253 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48254 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48255 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48256 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48257 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48258 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48259 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48260 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48261 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48262 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48263 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48264 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48265 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48266 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48267 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48268 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48269 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48270 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48271 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48272 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48273 * sysdeps/x86_64/strcspn.S: Likewise.
48274
48275 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48276
48277 * locale/C-translit.h: Revert #include <stdint.h> because this is a
48278 generated file. Regenerate properly from gen-translit.pl.
48279 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
48280 locale/C-translit.h.
48281
48282 2013-06-05 Andreas Schwab <schwab@suse.de>
48283
48284 [BZ #15100]
48285 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48286 week as 6 instead of -1.
48287 * time/tst-strptime.c (day_tests): Add test case.
48288
48289 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
48290
48291 * sysdeps/generic/math_private.h
48292 (libc_feholdexcept_setround_53bit): Replace with
48293 libc_feholdsetround_53bit.
48294 (libc_feupdateenv_53bit): Replace with
48295 libc_feresetround_53bit.
48296 (SET_RESTORE_ROUND_53BIT): Adjust.
48297
48298 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
48299
48300 * string/test-strchrnul.c: Add copyright header.
48301
48302 * posix/tst-getaddrinfo4.c: Increase test timeout.
48303
48304 2013-06-03 Carlos O'Donell <carlos@redhat.com>
48305
48306 [BZ #15536]
48307 * math/libm-test.inc (MAX_EXP): Remove
48308 (MIN_EXP): Define.
48309 (ulp): Use MIN_EXP - MANT_DIG.
48310 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48311
48312 2013-05-31 Carlos O'Donell <carlos@redhat.com>
48313
48314 * po/be.po: Revert last change.
48315 * po/zh_CN.po: Likewise.
48316 * po/header.pot: Likewise.
48317
48318 2013-05-31 Joseph Myers <joseph@codesourcery.com>
48319
48320 * Makefile ($(common-objpfx)linkobj/libc.so): Define
48321 link-libc-deps to empty as target-specific variable.
48322 * Makerules (link-libc-args): New variable.
48323 (libc-for-link): Likewise.
48324 (link-libc-deps): Likewise.
48325 (lib%.so): Depend on $(link-libc-deps). Link with
48326 $(link-libc-args).
48327 (build-module): Link with $(link-libc-args).
48328 (build-module-asneeded): Likewise.
48329 (build-module-helper-objlist): Filter out $(link-libc-deps) from
48330 list of objects.
48331 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48332 target-specific variable.
48333 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48334 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48335 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48336 libc.
48337 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48338 libc and ld.so.
48339 ($(objpfx)libpcprofile.so): Likewise.
48340 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48341 libc_nonshared.a.
48342 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48343 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48344 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48345 $(link-libc-deps).
48346 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48347 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48348 * login/Makefile ($(objpfx)libutil.so): Likewise.
48349 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48350 * math/Makefile ($(objpfx)libm.so): Likewise.
48351 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48352 $(objpfx)libnsl.so): Define libc-for-link as target-specific
48353 variable instead of depending directly on libc.
48354 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48355 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48356 $(link-libc-deps).
48357 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48358 libc.
48359 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48360 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48361 ($(objpfx)libanl.so): Likewise.
48362 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48363 ld.so.
48364 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48365 $(link-libc-deps).
48366 * sysdeps/i386/fpu/Makefile: Remove file.
48367 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48368 ($(objpfx)libm.so): Remove dependency on ld.so.
48369
48370 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
48371
48372 [BZ # 15553]
48373 * nis/yp_xdr.c (XDRMAXNAME): Define.
48374 (XDRMAXRECORD): Define.
48375 (xdr_domainname): Use XDRMAXNAME.
48376 (xdr_mapname): Likewise.
48377 (xdr_peername): Likewise.
48378 (xdr_keydat): Use XDRMAXRECORD.
48379 (xdr_valdat): Likewise.
48380
48381 2013-05-30 Jeff Law <law@redhat.com>
48382
48383 [BZ #14256]
48384 * manual/errno.texi (ESTALE): Update to account for more than
48385 just NFS file systems.
48386 * sysdeps/gnu/errlist.c: Regenerated.
48387
48388 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48389
48390 [BZ #15465]
48391 * elf/Makefile (tests): Add tst-null-argv.
48392 (modules-names): Add tst-null-argv-lib.
48393 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48394 (tst-null-argv-ENV): Set environment for tst-null-argv.
48395 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48396 (RTLD_PROGNAME): New macro.
48397 * elf/tst-null-argv.c: New test case.
48398 * elf/tst-null-argv-lib.c: Library for test case.
48399 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48400 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48401 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48402 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48403 * elf/dl-init.c (call_init): Likewise.
48404 (_dl_init): Likewise.
48405 * elf/dl-load.c (print_search_path): Likewise.
48406 (_dl_map_object): Likewise.
48407 * elf/dl-lookup.c (do_lookup_x): Likewise.
48408 (add_dependency): Likewise.
48409 (_dl_lookup_symbol_x): Likewise.
48410 (_dl_debug_bindings): Likewise.
48411 * elf/dl-open.c (_dl_show_scope): Likewise.
48412 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48413 * elf/dl-version.c (match_symbol): Likewise.
48414 (_dl_check_map_versions): Likewise.
48415 * elf/rtld.c (dl_main): Likewise.
48416 (print_unresolved): Use RTLD_PROGNAME.
48417 (print_missing_version): Likewise.
48418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48419 (elf_machine_rela): Likewise.
48420 * sysdeps/powerpc/powerpc32/dl-machine.c
48421 (__process_machine_rela): Likewise.
48422 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48423 Likewise.
48424 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48425 Likewise.
48426 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48427 Likewise.
48428 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48430 Likewise.
48431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48432 Likewise.
48433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48434
48435 2013-05-28 Carlos O'Donell <carlos@redhat.com>
48436
48437 * po/be.po: Add descriptive title.
48438 * po/zh_CN.po: Likewise.
48439 * po/header.pot: Likewise.
48440
48441 2013-05-28 Mike Frysinger <vapier@gentoo.org>
48442
48443 * locale/programs/locarchive.c (create_archive): Inlucde fname in
48444 error message.
48445 (enlarge_archive): Likewise.
48446
48447 2013-05-28 Ben North <ben@redfrontdoor.org>
48448
48449 * manual/arith.texi (frexp): It is the magnitude of the return
48450 value which lies in [0.5, 1), not the return value itself.
48451
48452 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48453
48454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48455
48456 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
48457
48458 * stdio-common/bug26.c (main): Correct fscanf template.
48459
48460 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48461 declare _dl_skip_args.
48462
48463 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48464 Don't declare.
48465
48466 * manual/platform.texi: Add missing @end deftypefun.
48467
48468 2013-05-24 Joseph Myers <joseph@codesourcery.com>
48469
48470 [BZ #15529]
48471 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48472 bit of mantissa of 2^16382.
48473 * math/libm-test.inc (hypot_test_data): Add more tests.
48474
48475 * math/libm-test.inc: Add drem and pow10 to list of tested
48476 functions.
48477 (pow10_test): New function.
48478 (drem_test): Likewise.
48479 (drem_test_tonearest): Likewise.
48480 (drem_test_towardzero): Likewise.
48481 (drem_test_downward): Likewise.
48482 (drem_test_upward): Likewise.
48483 (main): Call the new functions.
48484
48485 * math/libm-test.inc (finite_test_data): Remove.
48486 (finite_test): Run tests from isfinite_test_data.
48487 (gamma_test_data): Remove.
48488 (gamma_test): Run tests from lgamma_test_data.
48489 * sysdeps/i386/fpu/libm-test-ulps: Update.
48490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48491
48492 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48493
48494 * manual/platform.texi: Add PowerPC PPR function set documentation.
48495 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48496 implementation.
48497
48498 2013-05-24 Carlos O'Donell <carlos@redhat.com>
48499
48500 * math/libm-test.inc (MAX_EXP): Define.
48501 (ULPDIFF): Define.
48502 (ulp): New function.
48503 (check_float_internal): Use ULPDIFF.
48504 (cpow_test): Disable failing test.
48505 (check_ulp): Test ulp() implemetnation.
48506 (main): Call check_ulp before starting tests.
48507
48508 2013-05-24 Joseph Myers <joseph@codesourcery.com>
48509
48510 * math/gen-libm-test.pl (generate_testfile): Do not handle
48511 START_DATA and END_DATA.
48512 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48513 END_DATA.
48514 (acos_tonearest_test_data): Likewise.
48515 (acos_towardzero_test_data): Likewise.
48516 (acos_downward_test_data): Likewise.
48517 (acos_upward_test_data): Likewise.
48518 (acosh_test_data): Likewise.
48519 (asin_test_data): Likewise.
48520 (asin_tonearest_test_data): Likewise.
48521 (asin_towardzero_test_data): Likewise.
48522 (asin_downward_test_data): Likewise.
48523 (asin_upward_test_data): Likewise.
48524 (asinh_test_data): Likewise.
48525 (atan_test_data): Likewise.
48526 (atanh_test_data): Likewise.
48527 (atan2_test_data): Likewise.
48528 (cabs_test_data): Likewise.
48529 (cacos_test_data): Likewise.
48530 (cacosh_test_data): Likewise.
48531 (carg_test_data): Likewise.
48532 (casin_test_data): Likewise.
48533 (casinh_test_data): Likewise.
48534 (catan_test_data): Likewise.
48535 (catanh_test_data): Likewise.
48536 (cbrt_test_data): Likewise.
48537 (ccos_test_data): Likewise.
48538 (ccosh_test_data): Likewise.
48539 (ceil_test_data): Likewise.
48540 (cexp_test_data): Likewise.
48541 (cimag_test_data): Likewise.
48542 (clog_test_data): Likewise.
48543 (clog10_test_data): Likewise.
48544 (conj_test_data): Likewise.
48545 (copysign_test_data): Likewise.
48546 (cos_test_data): Likewise.
48547 (cos_tonearest_test_data): Likewise.
48548 (cos_towardzero_test_data): Likewise.
48549 (cos_downward_test_data): Likewise.
48550 (cos_upward_test_data): Likewise.
48551 (cosh_test_data): Likewise.
48552 (cosh_tonearest_test_data): Likewise.
48553 (cosh_towardzero_test_data): Likewise.
48554 (cosh_downward_test_data): Likewise.
48555 (cosh_upward_test_data): Likewise.
48556 (cpow_test_data): Likewise.
48557 (cproj_test_data): Likewise.
48558 (creal_test_data): Likewise.
48559 (csin_test_data): Likewise.
48560 (csinh_test_data): Likewise.
48561 (csqrt_test_data): Likewise.
48562 (ctan_test_data): Likewise.
48563 (ctan_tonearest_test_data): Likewise.
48564 (ctan_towardzero_test_data): Likewise.
48565 (ctan_downward_test_data): Likewise.
48566 (ctan_upward_test_data): Likewise.
48567 (ctanh_test_data): Likewise.
48568 (ctanh_tonearest_test_data): Likewise.
48569 (ctanh_towardzero_test_data): Likewise.
48570 (ctanh_downward_test_data): Likewise.
48571 (ctanh_upward_test_data): Likewise.
48572 (erf_test_data): Likewise.
48573 (erfc_test_data): Likewise.
48574 (exp_test_data): Likewise.
48575 (exp_tonearest_test_data): Likewise.
48576 (exp_towardzero_test_data): Likewise.
48577 (exp_downward_test_data): Likewise.
48578 (exp_upward_test_data): Likewise.
48579 (exp10_test_data): Likewise.
48580 (exp2_test_data): Likewise.
48581 (expm1_test_data): Likewise.
48582 (fabs_test_data): Likewise.
48583 (fdim_test_data): Likewise.
48584 (finite_test_data): Likewise.
48585 (floor_test_data): Likewise.
48586 (fma_test_data): Likewise.
48587 (fma_towardzero_test_data): Likewise.
48588 (fma_downward_test_data): Likewise.
48589 (fma_upward_test_data): Likewise.
48590 (fmax_test_data): Likewise.
48591 (fmin_test_data): Likewise.
48592 (fmod_test_data): Likewise.
48593 (fpclassify_test_data): Likewise.
48594 (frexp_test_data): Likewise.
48595 (gamma_test_data): Likewise.
48596 (hypot_test_data): Likewise.
48597 (ilogb_test_data): Likewise.
48598 (isfinite_test_data): Likewise.
48599 (isgreater_test_data): Likewise.
48600 (isgreaterequal_test_data): Likewise.
48601 (isinf_test_data): Likewise.
48602 (isless_test_data): Likewise.
48603 (islessequal_test_data): Likewise.
48604 (islessgreater_test_data): Likewise.
48605 (isnan_test_data): Likewise.
48606 (isnormal_test_data): Likewise.
48607 (issignaling_test_data): Likewise.
48608 (isunordered_test_data): Likewise.
48609 (j0_test_data): Likewise.
48610 (j1_test_data): Likewise.
48611 (jn_test_data): Likewise.
48612 (ldexp_test_data): Likewise.
48613 (lgamma_test_data): Likewise.
48614 (lrint_test_data): Likewise.
48615 (lrint_tonearest_test_data): Likewise.
48616 (lrint_towardzero_test_data): Likewise.
48617 (lrint_downward_test_data): Likewise.
48618 (lrint_upward_test_data): Likewise.
48619 (llrint_test_data): Likewise.
48620 (llrint_tonearest_test_data): Likewise.
48621 (llrint_towardzero_test_data): Likewise.
48622 (llrint_downward_test_data): Likewise.
48623 (llrint_upward_test_data): Likewise.
48624 (log_test_data): Likewise.
48625 (log10_test_data): Likewise.
48626 (log1p_test_data): Likewise.
48627 (log2_test_data): Likewise.
48628 (logb_test_data): Likewise.
48629 (logb_downward_test_data): Likewise.
48630 (lround_test_data): Likewise.
48631 (llround_test_data): Likewise.
48632 (modf_test_data): Likewise.
48633 (nearbyint_test_data): Likewise.
48634 (nextafter_test_data): Likewise.
48635 (nexttoward_test_data): Likewise.
48636 (pow_test_data): Likewise.
48637 (pow_tonearest_test_data): Likewise.
48638 (pow_towardzero_test_data): Likewise.
48639 (pow_downward_test_data): Likewise.
48640 (pow_upward_test_data): Likewise.
48641 (remainder_test_data): Likewise.
48642 (remainder_tonearest_test_data): Likewise.
48643 (remainder_towardzero_test_data): Likewise.
48644 (remainder_downward_test_data): Likewise.
48645 (remainder_upward_test_data): Likewise.
48646 (remquo_test_data): Likewise.
48647 (rint_test_data): Likewise.
48648 (rint_tonearest_test_data): Likewise.
48649 (rint_towardzero_test_data): Likewise.
48650 (rint_downward_test_data): Likewise.
48651 (rint_upward_test_data): Likewise.
48652 (round_test_data): Likewise.
48653 (scalb_test_data): Likewise.
48654 (scalbn_test_data): Likewise.
48655 (scalbln_test_data): Likewise.
48656 (signbit_test_data): Likewise.
48657 (sin_test_data): Likewise.
48658 (sin_tonearest_test_data): Likewise.
48659 (sin_towardzero_test_data): Likewise.
48660 (sin_downward_test_data): Likewise.
48661 (sin_upward_test_data): Likewise.
48662 (sincos_test_data): Likewise.
48663 (sinh_test_data): Likewise.
48664 (sinh_tonearest_test_data): Likewise.
48665 (sinh_towardzero_test_data): Likewise.
48666 (sinh_downward_test_data): Likewise.
48667 (sinh_upward_test_data): Likewise.
48668 (sqrt_test_data): Likewise.
48669 (tan_test_data): Likewise.
48670 (tan_tonearest_test_data): Likewise.
48671 (tan_towardzero_test_data): Likewise.
48672 (tan_downward_test_data): Likewise.
48673 (tan_upward_test_data): Likewise.
48674 (tanh_test_data): Likewise.
48675 (tgamma_test_data): Likewise.
48676 (trunc_test_data): Likewise.
48677 (y0_test_data): Likewise.
48678 (y1_test_data): Likewise.
48679 (yn_test_data): Likewise.
48680 (significand_test_data): Likewise.
48681
48682 * math/gen-libm-test.pl (@functions): Remove variable.
48683 (generate_testfile): Don't handle START and END lines.
48684 * math/libm-test.inc (START): New macro.
48685 (END): Likewise.
48686 (END_COMPLEX): Likewise.
48687 (acos_test): Use END macro without arguments.
48688 (acos_test_tonearest): Likewise.
48689 (acos_test_towardzero): Likewise.
48690 (acos_test_downward): Likewise.
48691 (acos_test_upward): Likewise.
48692 (acosh_test): Likewise.
48693 (asin_test): Likewise.
48694 (asin_test_tonearest): Likewise.
48695 (asin_test_towardzero): Likewise.
48696 (asin_test_downward): Likewise.
48697 (asin_test_upward): Likewise.
48698 (asinh_test): Likewise.
48699 (atan_test): Likewise.
48700 (atanh_test): Likewise.
48701 (atan2_test): Likewise.
48702 (cabs_test): Likewise.
48703 (cacos_test): Use END_COMPLEX macro without arguments.
48704 (cacosh_test): Likewise.
48705 (carg_test): Use END macro without arguments.
48706 (casin_test): Use END_COMPLEX macro without arguments.
48707 (casinh_test): Likewise.
48708 (catan_test): Likewise.
48709 (catanh_test): Likewise.
48710 (cbrt_test): Use END macro without arguments.
48711 (ccos_test): Use END_COMPLEX macro without arguments.
48712 (ccosh_test): Likewise.
48713 (ceil_test): Use END macro without arguments.
48714 (cexp_test): Use END_COMPLEX macro without arguments.
48715 (cimag_test): Use END macro without arguments.
48716 (clog_test): Use END_COMPLEX macro without arguments.
48717 (clog10_test): Likewise.
48718 (conj_test): Likewise.
48719 (copysign_test): Use END macro without arguments.
48720 (cos_test): Likewise.
48721 (cos_test_tonearest): Likewise.
48722 (cos_test_towardzero): Likewise.
48723 (cos_test_downward): Likewise.
48724 (cos_test_upward): Likewise.
48725 (cosh_test): Likewise.
48726 (cosh_test_tonearest): Likewise.
48727 (cosh_test_towardzero): Likewise.
48728 (cosh_test_downward): Likewise.
48729 (cosh_test_upward): Likewise.
48730 (cpow_test): Use END_COMPLEX macro without arguments.
48731 (cproj_test): Likewise.
48732 (creal_test): Use END macro without arguments.
48733 (csin_test): Use END_COMPLEX macro without arguments.
48734 (csinh_test): Likewise.
48735 (csqrt_test): Likewise.
48736 (ctan_test): Likewise.
48737 (ctan_test_tonearest): Likewise.
48738 (ctan_test_towardzero): Likewise.
48739 (ctan_test_downward): Likewise.
48740 (ctan_test_upward): Likewise.
48741 (ctanh_test): Likewise.
48742 (ctanh_test_tonearest): Likewise.
48743 (ctanh_test_towardzero): Likewise.
48744 (ctanh_test_downward): Likewise.
48745 (ctanh_test_upward): Likewise.
48746 (erf_test): Use END macro without arguments.
48747 (erfc_test): Likewise.
48748 (exp_test): Likewise.
48749 (exp_test_tonearest): Likewise.
48750 (exp_test_towardzero): Likewise.
48751 (exp_test_downward): Likewise.
48752 (exp_test_upward): Likewise.
48753 (exp10_test): Likewise.
48754 (exp2_test): Likewise.
48755 (expm1_test): Likewise.
48756 (fabs_test): Likewise.
48757 (fdim_test): Likewise.
48758 (finite_test): Likewise.
48759 (floor_test): Likewise.
48760 (fma_test): Likewise.
48761 (fma_test_towardzero): Likewise.
48762 (fma_test_downward): Likewise.
48763 (fma_test_upward): Likewise.
48764 (fmax_test): Likewise.
48765 (fmin_test): Likewise.
48766 (fmod_test): Likewise.
48767 (fpclassify_test): Likewise.
48768 (frexp_test): Likewise.
48769 (gamma_test): Likewise.
48770 (hypot_test): Likewise.
48771 (ilogb_test): Likewise.
48772 (isfinite_test): Likewise.
48773 (isgreater_test): Likewise.
48774 (isgreaterequal_test): Likewise.
48775 (isinf_test): Likewise.
48776 (isless_test): Likewise.
48777 (islessequal_test): Likewise.
48778 (islessgreater_test): Likewise.
48779 (isnan_test): Likewise.
48780 (isnormal_test): Likewise.
48781 (issignaling_test): Likewise.
48782 (isunordered_test): Likewise.
48783 (j0_test): Likewise.
48784 (j1_test): Likewise.
48785 (jn_test): Likewise.
48786 (ldexp_test): Likewise.
48787 (lgamma_test): Likewise.
48788 (lrint_test): Likewise.
48789 (lrint_test_tonearest): Likewise.
48790 (lrint_test_towardzero): Likewise.
48791 (lrint_test_downward): Likewise.
48792 (lrint_test_upward): Likewise.
48793 (llrint_test): Likewise.
48794 (llrint_test_tonearest): Likewise.
48795 (llrint_test_towardzero): Likewise.
48796 (llrint_test_downward): Likewise.
48797 (llrint_test_upward): Likewise.
48798 (log_test): Likewise.
48799 (log10_test): Likewise.
48800 (log1p_test): Likewise.
48801 (log2_test): Likewise.
48802 (logb_test): Likewise.
48803 (logb_test_downward): Likewise.
48804 (lround_test): Likewise.
48805 (llround_test): Likewise.
48806 (modf_test): Likewise.
48807 (nearbyint_test): Likewise.
48808 (nextafter_test): Likewise.
48809 (nexttoward_test): Likewise.
48810 (pow_test): Likewise.
48811 (pow_test_tonearest): Likewise.
48812 (pow_test_towardzero): Likewise.
48813 (pow_test_downward): Likewise.
48814 (pow_test_upward): Likewise.
48815 (remainder_test): Likewise.
48816 (remainder_test_tonearest): Likewise.
48817 (remainder_test_towardzero): Likewise.
48818 (remainder_test_downward): Likewise.
48819 (remainder_test_upward): Likewise.
48820 (remquo_test): Likewise.
48821 (rint_test): Likewise.
48822 (rint_test_tonearest): Likewise.
48823 (rint_test_towardzero): Likewise.
48824 (rint_test_downward): Likewise.
48825 (rint_test_upward): Likewise.
48826 (round_test): Likewise.
48827 (scalb_test): Likewise.
48828 (scalbn_test): Likewise.
48829 (scalbln_test): Likewise.
48830 (signbit_test): Likewise.
48831 (sin_test): Likewise.
48832 (sin_test_tonearest): Likewise.
48833 (sin_test_towardzero): Likewise.
48834 (sin_test_downward): Likewise.
48835 (sin_test_upward): Likewise.
48836 (sincos_test): Likewise.
48837 (sinh_test): Likewise.
48838 (sinh_test_tonearest): Likewise.
48839 (sinh_test_towardzero): Likewise.
48840 (sinh_test_downward): Likewise.
48841 (sinh_test_upward): Likewise.
48842 (sqrt_test): Likewise.
48843 (tan_test): Likewise.
48844 (tan_test_tonearest): Likewise.
48845 (tan_test_towardzero): Likewise.
48846 (tan_test_downward): Likewise.
48847 (tan_test_upward): Likewise.
48848 (tanh_test): Likewise.
48849 (tgamma_test): Likewise.
48850 (trunc_test): Likewise.
48851 (y0_test): Likewise.
48852 (y1_test): Likewise.
48853 (yn_test): Likewise.
48854 (significand_test): Likewise.
48855
48856 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
48857
48858 [BZ #15381]
48859 * libio/genops.c (_IO_no_init): Initialize wide struct info.
48860
48861 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
48862
48863 [BZ #14894]
48864 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48865 __ppc_mdoio and __ppc_mdoom.
48866 * manual/platform.texi: Document new functions __ppc_yield,
48867 __ppc_mdoio and __ppc_mdoom.
48868
48869 2013-05-22 Carlos O'Donell <carlos@redhat.com>
48870
48871 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48872 (main): Mention "tls" pseudo-hwcap is legacy.
48873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48874
48875 2013-05-22 Joseph Myers <joseph@codesourcery.com>
48876
48877 * math/gen-libm-test.pl (parse_args): Output only string of
48878 arguments as text for test name, not full call or descriptions of
48879 tests for extra outputs.
48880 (generate_testfile): Do not pass function name to parse_args.
48881 Generate this_func variable from START.
48882 * math/libm-test.inc (struct test_f_f_data): Rename test_name
48883 field to arg_str.
48884 (struct test_ff_f_data): Likewise.
48885 (test_ff_f_data_nexttoward): Likewise.
48886 (struct test_fi_f_data): Likewise.
48887 (struct test_fl_f_data): Likewise.
48888 (struct test_if_f_data): Likewise.
48889 (struct test_fff_f_data): Likewise.
48890 (struct test_c_f_data): Likewise.
48891 (struct test_f_f1_data): Likewise. Remove field extra_name.
48892 (struct test_fF_f1_data): Likewise.
48893 (struct test_ffI_f1_data): Likewise.
48894 (struct test_c_c_data): Rename test_name field to arg_str.
48895 (struct test_cc_c_data): Likewise.
48896 (struct test_f_i_data): Likewise.
48897 (struct test_ff_i_data): Likewise.
48898 (struct test_f_l_data): Likewise.
48899 (struct test_f_L_data): Likewise.
48900 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
48901 and extra2_name.
48902 (COMMON_TEST_SETUP): New macro.
48903 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48904 (COMMON_TEST_CLEANUP): Likewise.
48905 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48906 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
48907 macros.
48908 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48909 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
48910 macros.
48911 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48912 (RUN_TEST_fff_f): Take argument string. Call new setup and
48913 cleanup macros.
48914 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48915 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
48916 macros.
48917 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48918 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
48919 macros.
48920 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48921 (RUN_TEST_fF_f1): Take argument string. Call new setup and
48922 cleanup macros.
48923 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48924 (RUN_TEST_fI_f1): Take argument string. Call new setup and
48925 cleanup macros.
48926 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48927 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
48928 cleanup macros.
48929 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48930 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
48931 macros.
48932 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48933 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
48934 macros.
48935 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48936 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
48937 macros.
48938 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48939 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
48940 cleanup macros.
48941 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48942 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
48943 cleanup macros.
48944 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48945 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
48946 macros.
48947 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48948 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
48949 cleanup macros.
48950 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48951 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
48952 macros.
48953 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48954 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
48955 macros.
48956 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48957 (RUN_TEST_fFF_11): Take argument string. Call new setup and
48958 cleanup macros.
48959 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48960
48961 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
48962
48963 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48964 to _sifields.sigfault.
48965 (si_addr_lsb): Define new macro.
48966 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48967 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48968 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48969
48970 2013-05-03 Carlos O'Donell <carlos at redhat.com>
48971
48972 [BZ #15441]
48973 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48974 returns -1.
48975 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48976 null return -1.
48977 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48978 loading the domain.
48979
48980 2013-05-22 Joseph Myers <joseph@codesourcery.com>
48981
48982 * math/gen-libm-test.pl (parse_args): Do not include expected
48983 result in test name.
48984 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48987 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48988 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48990
48991 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48992
48993 * benchtests/Makefile: Sort function entries.
48994
48995 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48996 tanh, asinh, acosh, atanh.
48997 * benchtests/acos-inputs: New file.
48998 * benchtests/acosh-inputs: New file.
48999 * benchtests/asin-inputs: New file.
49000 * benchtests/asinh-inputs: New file.
49001 * benchtests/atanh-inputs: New file.
49002 * benchtests/cosh-inputs: New file.
49003 * benchtests/log-inputs: New file.
49004 * benchtests/sinh-inputs: New file.
49005 * benchtests/tanh-inputs: New file.
49006
49007 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
49008
49009 [BZ #15339]
49010 * posix/tst-getaddrinfo4.c: New test.
49011 * posix/Makefile (tests): Add it.
49012
49013 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49014
49015 [BZ #15339]
49016 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49017 when no services were used.
49018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49019 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49020
49021 2013-05-21 Andreas Schwab <schwab@suse.de>
49022
49023 [BZ #15014]
49024 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49025 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49026 successful.
49027 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49028 redundant variable declarations and reallocation of buffer when
49029 parsing as IPv6 address. Always set NSS status when called from
49030 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
49031 buffer too small. Correct computation of needed size.
49032 * nss/Makefile (tests): Add test-digits-dots.
49033 * nss/test-digits-dots.c: New test.
49034
49035 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49036
49037 * benchtests/Makefile: Remove instructions for adding
49038 benchmark tests.
49039 * benchtests/README: New file to explain how to execute and
49040 enhance the benchmark tests.
49041
49042 2013-05-21 Andreas Schwab <schwab@suse.de>
49043
49044 [BZ #15493]
49045 * setjmp/Makefile (tests): Add tst-sigsetjmp.
49046 * setjmp/tst-sigsetjmp.c: New test.
49047
49048 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
49049
49050 * sysdeps/x86_64/memset.S (memset): New implementation.
49051 (__bzero): Likewise.
49052 (__memset_tail): New function.
49053
49054 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
49055
49056 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49057 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49058 __memcpy_sse2_unaligned ifunc selection.
49059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49060 Add memcpy-sse2-unaligned.S.
49061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49062 Add: __memcpy_sse2_unaligned.
49063
49064 2013-05-19 Joseph Myers <joseph@codesourcery.com>
49065
49066 [BZ #15490]
49067 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49068 math_force_eval before restoring floating-point envrionment.
49069 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49070 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49071 Likewise.
49072 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49073 <math_private.h>.
49074 (__nearbyintl): Use math_force_eval before restoring
49075 floating-point environment.
49076 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49077
49078 * math/gen-libm-test.pl (special_functions): Remove.
49079 (parse_args): Don't handle TEST_extra. Handle functions with no
49080 return value.
49081 * math/libm-test.inc (struct test_sincos_data): Replace with
49082 struct test_fFF_11_data.
49083 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49084 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49085 (sincos_test_data): Change element type to struct
49086 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
49087 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49088 RUN_TEST_LOOP_sincos.
49089 * math/README.libm-test: Don't mention special handling of
49090 individual functions.
49091 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49092 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49093 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49094 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49095 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49097
49098 * math/gen-libm-test.pl (get_variable): Remove function.
49099 (parse_args): Don't show pointer parameters to call in test
49100 names. Use "extra output N" in test names for extra outputs
49101 rather than naming variables.
49102
49103 2013-05-18 Joseph Myers <joseph@codesourcery.com>
49104
49105 [BZ #15488]
49106 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49107 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49108 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49109 double tests.
49110 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49111 disable.
49112 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49113 check_long_double.
49114
49115 * math/gen-libm-test.pl (@tests): Remove variable.
49116 ($count): Likewise.
49117 (new_test): Remove function.
49118 (show_exceptions): New function.
49119 (special_functions): Use show_exceptions instead of new_test.
49120 (parse_args): Likewise.
49121 (generate_testfile): Pass only function name in generated call to
49122 print_max_error or print_complex_max_error.
49123 (get_ulps): Do not handle complex tests specially.
49124 (output_test): Rename to ...
49125 (get_all_ulps_for_test): ... this. Return a string rather than
49126 printing to a file. Require ulps to be present.
49127 (output_ulps): Generate arrays rather than #defines.
49128 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49129 (struct ulp_data): New type.
49130 (BUILD_COMPLEX_ULP): Remove macro.
49131 (compare_ulp_data): New function.
49132 (find_ulps): Likewise.
49133 (find_test_ulps): Likewise.
49134 (find_function_ulps): Likewise.
49135 (find_complex_function_ulps): Likewise.
49136 (print_max_error): Determine allowed ulps using
49137 find_function_ulps.
49138 (print_complex_max_error): Determine allowed ulps using
49139 find_complex_function_ulps.
49140 (check_float_internal): Determine max ulps using find_test_ulps.
49141 (check_float): Do not take max_ulp parameter. Update call to
49142 check_float_internal.
49143 (check_complex): Likewise.
49144 (check_int): Do not take max_ulp parameter.
49145 (check_long): Likewise.
49146 (check_bool): Likewise.
49147 (check_longlong): Likewise.
49148 (struct test_f_f_data): Remove max_ulp field.
49149 (struct test_ff_f_data): Likewise.
49150 (struct test_ff_f_data_nexttoward): Likewise.
49151 (struct test_fi_f_data): Likewise.
49152 (struct test_fl_f_data): Likewise.
49153 (struct test_if_f_data): Likewise.
49154 (struct test_fff_f_data): Likewise.
49155 (struct test_c_f_data): Likewise.
49156 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49157 (struct test_fF_f1_data): Likewise.
49158 (struct test_ffI_f1_data): Likewise.
49159 (struct test_c_c_data): Remove max_ulp field.
49160 (struct test_cc_c_data): Likewise.
49161 (struct test_f_i_data): Likewise.
49162 (struct test_ff_i_data): Likewise.
49163 (struct test_f_l_data): Likewise.
49164 (struct test_f_L_data): Likewise.
49165 (struct test_sincos_data): Likewise.
49166 (RUN_TEST_f_f): Do not handle ulps.
49167 (RUN_TEST_LOOP_f_f): Likewise.
49168 (RUN_TEST_2_f): Likewise.
49169 (RUN_TEST_LOOP_2_f): Likewise.
49170 (RUN_TEST_fff_f): Likewise.
49171 (RUN_TEST_LOOP_fff_f): Likewise.
49172 (RUN_TEST_c_f): Likewise.
49173 (RUN_TEST_LOOP_c_f): Likewise.
49174 (RUN_TEST_f_f1): Likewise.
49175 (RUN_TEST_LOOP_f_f1): Likewise.
49176 (RUN_TEST_fF_f1): Likewise.
49177 (RUN_TEST_LOOP_fF_f1): Likewise.
49178 (RUN_TEST_fI_f1): Likewise.
49179 (RUN_TEST_LOOP_fI_f1): Likewise.
49180 (RUN_TEST_ffI_f1): Likewise.
49181 (RUN_TEST_LOOP_ffI_f1): Likewise.
49182 (RUN_TEST_c_c): Likewise.
49183 (RUN_TEST_LOOP_c_c): Likewise.
49184 (RUN_TEST_cc_c): Likewise.
49185 (RUN_TEST_LOOP_cc_c): Likewise.
49186 (RUN_TEST_f_i): Likewise.
49187 (RUN_TEST_LOOP_f_i): Likewise.
49188 (RUN_TEST_f_i_tg): Likewise.
49189 (RUN_TEST_LOOP_f_i_tg): Likewise.
49190 (RUN_TEST_ff_i_tg): Likewise.
49191 (RUN_TEST_LOOP_ff_i_tg): Likewise.
49192 (RUN_TEST_f_b): Likewise.
49193 (RUN_TEST_LOOP_f_b): Likewise.
49194 (RUN_TEST_f_b_tg): Likewise.
49195 (RUN_TEST_LOOP_f_b_tg): Likewise.
49196 (RUN_TEST_f_l): Likewise.
49197 (RUN_TEST_LOOP_f_l): Likewise.
49198 (RUN_TEST_f_L): Likewise.
49199 (RUN_TEST_LOOP_f_L): Likewise.
49200 (RUN_TEST_sincos): Likewise.
49201 (RUN_TEST_LOOP_sincos): Likewise.
49202
49203 2013-05-17 Joseph Myers <joseph@codesourcery.com>
49204
49205 [BZ #15480]
49206 [BZ #15485]
49207 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49208 main case of finite arguments, set rounding mode to FE_TONEAREST
49209 and discard exceptions.
49210 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49211 exceptions.
49212 (remainder_tonearest_test_data): New variable.
49213 (remainder_test_tonearest): New function.
49214 (remainder_towardzero_test_data): New variable.
49215 (remainder_test_towardzero): New function.
49216 (remainder_downward_test_data): New variable.
49217 (remainder_test_downward): New function.
49218 (remainder_upward_test_data): New variable.
49219 (remainder_test_upward): New function.
49220 (main): Call the new test functions.
49221
49222 * math/libm-test.inc (struct test_f_f1_data): Remove field
49223 extra_init.
49224 (struct test_fF_f1_data): Likewise.
49225 (struct test_ffI_f1_data): Likewise.
49226 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
49227 based on value of EXTRA_EXPECTED.
49228 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49229 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
49230 EXTRA_VAR based on value of EXTRA_EXPECTED.
49231 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49232 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
49233 EXTRA_VAR based on value of EXTRA_EXPECTED.
49234 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49235 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
49236 EXTRA_VAR based on value of EXTRA_EXPECTED.
49237 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49238 * math/gen-libm-test.pl (parse_args): Don't output initializers
49239 for extra output values.
49240
49241 * math/libm-test.inc (check_int): Expect result to be exactly
49242 equal to expected value and do not handle ulps.
49243 (check_long): Likewise.
49244 (check_longlong): Likewise.
49245
49246 * math/libm-test.inc (ceil_test_data): Test for "inexact"
49247 exceptions.
49248 (cimag_test_data): Likewise.
49249 (conj_test_data): Likewise.
49250 (copysign_test_data): Likewise.
49251 (cproj_test_data): Likewise.
49252 (creal_test_data): Likewise.
49253 (fabs_test_data): Likewise.
49254 (fdim_test_data): Likewise.
49255 (finite_test_data): Likewise.
49256 (floor_test_data): Likewise.
49257 (fmax_test_data): Likewise.
49258 (fmin_test_data): Likewise.
49259 (fmod_test_data): Likewise.
49260 (fpclassify_test_data): Likewise.
49261 (frexp_test_data): Likewise.
49262 (ilogb_test_data): Likewise.
49263 (isfinite_test_data): Likewise.
49264 (isgreater_test_data): Likewise.
49265 (isgreaterequal_test_data): Likewise.
49266 (isinf_test_data): Likewise.
49267 (isless_test_data): Likewise.
49268 (islessequal_test_data): Likewise.
49269 (islessgreater_test_data): Likewise.
49270 (isnan_test_data): Likewise.
49271 (isnormal_test_data): Likewise.
49272 (issignaling_test_data): Likewise.
49273 (isunordered_test_data): Likewise.
49274 (ldexp_test_data): Likewise.
49275 (lrint_test_data): Likewise.
49276 (lrint_test_data) [TEST_FLOAT]: Disable one test.
49277 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49278 (lrint_tonearest_test_data): Test for "inexact" exceptions.
49279 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49280 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49281 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49282 test input.
49283 (lrint_towardzero_test_data): Test for "inexact" exceptions.
49284 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49285 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49286 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49287 that test input.
49288 (lrint_downward_test_data): Test for "inexact" exceptions.
49289 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49290 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49291 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49292 test input.
49293 (lrint_upward_test_data): Test for "inexact" exceptions.
49294 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49295 test input.
49296 (llrint_test_data): Test for "inexact" exceptions.
49297 (llrint_test_data) [TEST_FLOAT]: Disable one test.
49298 (llrint_tonearest_test_data): Test for "inexact" exceptions.
49299 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49300 (llrint_towardzero_test_data): Test for "inexact" exceptions.
49301 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49302 (llrint_downward_test_data): Test for "inexact" exceptions.
49303 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49304 (llrint_upward_test_data): Test for "inexact" exceptions.
49305 (logb_test_data): Likewise.
49306 (logb_downward_test_data): Likewise.
49307 (nextafter_test_data): Likewise.
49308 (nexttoward_test_data): Likewise.
49309 (remainder_test_data): Likewise.
49310 (remquo_test_data): Likewise.
49311 (scalbn_test_data): Likewise.
49312 (scalbln_test_data): Likewise.
49313 (signbit_test_data): Likewise.
49314 (sqrt_test_data): Likewise.
49315 (significand_test_data): Likewise.
49316
49317 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49318
49319 [BZ #15424]
49320 * benchtests/bench-modf.c (struct args): Mark arg0 as
49321 volatile.
49322 * scripts/bench.pl: Mark members of struct args as volatile.
49323
49324 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49325
49326 [BZ # 15497]
49327 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49328 negative infinity on POWER6 or lower.
49329 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49330
49331 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
49332
49333 [BZ #15442]
49334 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49335 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49336 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49337 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49338 (_FP_SETQNAN): New macro.
49339 (_FP_SETQNAN_SEMIRAW): Likewise.
49340 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49341 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49342 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49343 (FP_EXTEND): Use _FP_FRAC_SNANP.
49344 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49345 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49346 into account.
49347 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49348 New macro.
49349 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49350 Likewise.
49351
49352 2013-05-16 Joseph Myers <joseph@codesourcery.com>
49353
49354 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49355 with DIVIDE_BY_ZERO_EXCEPTION.
49356 (gamma_test_data): Likewise.
49357 (lgamma_test_data): Likewise.
49358 (log_test_data): Likewise.
49359 (log10_test_data): Likewise.
49360 (log2_test_data): Likewise.
49361 (tgamma_test_data): Likewise.
49362
49363 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49364 (acos_test_tonearest): Likewise.
49365 (acos_test_towardzero): Likewise.
49366 (acos_test_downward): Likewise.
49367 (acos_test_upward): Likewise.
49368 (acosh_test): Likewise.
49369 (asin_test): Likewise.
49370 (asin_test_tonearest): Likewise.
49371 (asin_test_towardzero): Likewise.
49372 (asin_test_downward): Likewise.
49373 (asin_test_upward): Likewise.
49374 (asinh_test): Likewise.
49375 (atan_test): Likewise.
49376 (atanh_test): Likewise.
49377 (atan2_test): Likewise.
49378 (cabs_test): Likewise.
49379 (cacos_test): Likewise.
49380 (cacosh_test): Likewise.
49381 (casin_test): Likewise.
49382 (casinh_test): Likewise.
49383 (catan_test): Likewise.
49384 (catanh_test): Likewise.
49385 (cbrt_test): Likewise.
49386 (ccos_test): Likewise.
49387 (ccosh_test): Likewise.
49388 (cexp_test): Likewise.
49389 (clog_test): Likewise.
49390 (clog10_test): Likewise.
49391 (cos_test): Likewise.
49392 (cos_test_tonearest): Likewise.
49393 (cos_test_towardzero): Likewise.
49394 (cos_test_downward): Likewise.
49395 (cos_test_upward): Likewise.
49396 (cosh_test): Likewise.
49397 (cosh_test_tonearest): Likewise.
49398 (cosh_test_towardzero): Likewise.
49399 (cosh_test_downward): Likewise.
49400 (cosh_test_upward): Likewise.
49401 (cpow_test): Likewise.
49402 (csin_test): Likewise.
49403 (csinh_test): Likewise.
49404 (csqrt_test): Likewise.
49405 (ctan_test): Likewise.
49406 (ctan_test_tonearest): Likewise.
49407 (ctan_test_towardzero): Likewise.
49408 (ctan_test_downward): Likewise.
49409 (ctan_test_upward): Likewise.
49410 (ctanh_test): Likewise.
49411 (ctanh_test_tonearest): Likewise.
49412 (ctanh_test_towardzero): Likewise.
49413 (ctanh_test_downward): Likewise.
49414 (ctanh_test_upward): Likewise.
49415 (erf_test): Likewise.
49416 (erfc_test): Likewise.
49417 (exp_test): Likewise.
49418 (exp_test_tonearest): Likewise.
49419 (exp_test_towardzero): Likewise.
49420 (exp_test_downward): Likewise.
49421 (exp_test_upward): Likewise.
49422 (exp10_test): Likewise.
49423 (exp2_test): Likewise.
49424 (expm1_test): Likewise.
49425 (fmod_test): Likewise.
49426 (gamma_test): Likewise.
49427 (hypot_test): Likewise.
49428 (j0_test): Likewise.
49429 (j1_test): Likewise.
49430 (jn_test): Likewise.
49431 (lgamma_test): Likewise.
49432 (log_test): Likewise.
49433 (log10_test): Likewise.
49434 (log1p_test): Likewise.
49435 (log2_test): Likewise.
49436 (logb_test_downward): Likewise.
49437 (pow_test): Likewise.
49438 (pow_test_tonearest): Likewise.
49439 (pow_test_towardzero): Likewise.
49440 (pow_test_downward): Likewise.
49441 (pow_test_upward): Likewise.
49442 (remainder_test): Likewise.
49443 (remquo_test): Likewise.
49444 (sin_test): Likewise.
49445 (sin_test_tonearest): Likewise.
49446 (sin_test_towardzero): Likewise.
49447 (sin_test_downward): Likewise.
49448 (sin_test_upward): Likewise.
49449 (sincos_test): Likewise.
49450 (sinh_test): Likewise.
49451 (sinh_test_tonearest): Likewise.
49452 (sinh_test_towardzero): Likewise.
49453 (sinh_test_downward): Likewise.
49454 (sinh_test_upward): Likewise.
49455 (sqrt_test): Likewise.
49456 (tan_test): Likewise.
49457 (tan_test_tonearest): Likewise.
49458 (tan_test_towardzero): Likewise.
49459 (tan_test_downward): Likewise.
49460 (tan_test_upward): Likewise.
49461 (tanh_test): Likewise.
49462 (tgamma_test): Likewise.
49463 (y0_test): Likewise.
49464 (y1_test): Likewise.
49465 (yn_test): Likewise.
49466
49467 * math/gen-libm-test.pl (adjust_arg): Remove function.
49468 (special_function): Remove argument $in_func. Only handle
49469 generating output for tables of tests, not inside functions.
49470 (parse_args): Likewise.
49471 (generate_testfile): Remove variable $in_func. Update call to
49472 parse_args.
49473 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49474 (MINUS_ZERO_INIT): Rename macro to minus_zero.
49475 (PLUS_INFTY_INIT): Rename macro to plus_infty.
49476 (MINUS_INFTY_INIT): Rename macro to minus_infty.
49477 (QNAN_VALUE_INIT): Rename macro to qnan_value.
49478 (MAX_VALUE_INIT): Rename macro to max_value.
49479 (MIN_VALUE_INIT): Rename macro to min_value.
49480 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49481 (plus_zero): Remove variable.
49482 (minus_zero): Likewise.
49483 (plus_infty): Likewise.
49484 (minus_infty): Likewise.
49485 (qnan_value): Likewise.
49486 (max_value): Likewise.
49487 (min_value): Likewise.
49488 (min_subnorm_value): Likewise.
49489
49490 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49491
49492 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49493 uint64_t or uint32_t usage.
49494 * crypt/sha256-block.c: Likewise.
49495 * crypt/sha256-crypt.c: Likewise.
49496 * crypt/sha256.c: Likewise.
49497 * crypt/sha512-block.c: Likewise.
49498 * crypt/sha512-crypt.c: Likewise.
49499 * crypt/sha512.c: Likewise.
49500 * debug/backtrace-tst.c: Likewise.
49501 * debug/pcprofiledump.c: Likewise.
49502 * elf/cache.c: Likewise.
49503 * elf/dl-cache.c: Likewise.
49504 * elf/dl-misc.c: Likewise.
49505 * elf/dl-profile.c: Likewise.
49506 * elf/dl-support.c: Likewise.
49507 * elf/ldconfig.c: Likewise.
49508 * elf/sprof.c: Likewise.
49509 * iconv/dummy-repertoire.c: Likewise.
49510 * iconv/iconv_charmap.c: Likewise.
49511 * iconv/skeleton.c: Likewise.
49512 * iconvdata/8bit-generic.c: Likewise.
49513 * iconvdata/cp737.h: Likewise.
49514 * iconvdata/cp775.h: Likewise.
49515 * iconvdata/ibm1008.h: Likewise.
49516 * iconvdata/ibm1025.h: Likewise.
49517 * iconvdata/ibm1046.h: Likewise.
49518 * iconvdata/ibm1097.h: Likewise.
49519 * iconvdata/ibm1112.h: Likewise.
49520 * iconvdata/ibm1122.h: Likewise.
49521 * iconvdata/ibm1123.h: Likewise.
49522 * iconvdata/ibm1124.h: Likewise.
49523 * iconvdata/ibm1129.h: Likewise.
49524 * iconvdata/ibm1130.h: Likewise.
49525 * iconvdata/ibm1132.h: Likewise.
49526 * iconvdata/ibm1133.h: Likewise.
49527 * iconvdata/ibm1137.h: Likewise.
49528 * iconvdata/ibm1140.h: Likewise.
49529 * iconvdata/ibm1141.h: Likewise.
49530 * iconvdata/ibm1142.h: Likewise.
49531 * iconvdata/ibm1143.h: Likewise.
49532 * iconvdata/ibm1144.h: Likewise.
49533 * iconvdata/ibm1145.h: Likewise.
49534 * iconvdata/ibm1146.h: Likewise.
49535 * iconvdata/ibm1147.h: Likewise.
49536 * iconvdata/ibm1148.h: Likewise.
49537 * iconvdata/ibm1149.h: Likewise.
49538 * iconvdata/ibm1153.h: Likewise.
49539 * iconvdata/ibm1154.h: Likewise.
49540 * iconvdata/ibm1155.h: Likewise.
49541 * iconvdata/ibm1156.h: Likewise.
49542 * iconvdata/ibm1157.h: Likewise.
49543 * iconvdata/ibm1158.h: Likewise.
49544 * iconvdata/ibm1160.h: Likewise.
49545 * iconvdata/ibm1161.h: Likewise.
49546 * iconvdata/ibm1162.h: Likewise.
49547 * iconvdata/ibm1163.h: Likewise.
49548 * iconvdata/ibm1164.h: Likewise.
49549 * iconvdata/ibm1166.h: Likewise.
49550 * iconvdata/ibm1167.h: Likewise.
49551 * iconvdata/ibm12712.h: Likewise.
49552 * iconvdata/ibm1390.h: Likewise.
49553 * iconvdata/ibm1399.h: Likewise.
49554 * iconvdata/ibm16804.h: Likewise.
49555 * iconvdata/ibm4517.h: Likewise.
49556 * iconvdata/ibm4899.h: Likewise.
49557 * iconvdata/ibm4909.h: Likewise.
49558 * iconvdata/ibm4971.h: Likewise.
49559 * iconvdata/ibm5347.h: Likewise.
49560 * iconvdata/ibm803.h: Likewise.
49561 * iconvdata/ibm856.h: Likewise.
49562 * iconvdata/ibm901.h: Likewise.
49563 * iconvdata/ibm902.h: Likewise.
49564 * iconvdata/ibm9030.h: Likewise.
49565 * iconvdata/ibm9066.h: Likewise.
49566 * iconvdata/ibm921.h: Likewise.
49567 * iconvdata/ibm922.h: Likewise.
49568 * iconvdata/ibm9448.h: Likewise.
49569 * iconvdata/isiri-3342.h: Likewise.
49570 * iconvdata/jis0201.h: Likewise.
49571 * include/link.h: Likewise.
49572 * include/netdb.h: Likewise.
49573 * inet/check_native.c: Likewise.
49574 * inet/check_pf.c: Likewise.
49575 * inet/getipv4sourcefilter.c: Likewise.
49576 * inet/getnameinfo.c: Likewise.
49577 * inet/getsourcefilter.c: Likewise.
49578 * inet/htonl.c: Likewise.
49579 * inet/setipv4sourcefilter.c: Likewise.
49580 * inet/setsourcefilter.c: Likewise.
49581 * inet/test-inet6_opt.c: Likewise.
49582 * inet/tst-network.c: Likewise.
49583 * locale/C-collate.c: Likewise.
49584 * locale/C-ctype.c: Likewise.
49585 * locale/C-time.c: Likewise.
49586 * locale/C-translit.h: Likewise.
49587 * locale/loadarchive.c: Likewise.
49588 * locale/programs/3level.h: Likewise.
49589 * locale/programs/charmap.c: Likewise.
49590 * locale/programs/charmap.h: Likewise.
49591 * locale/programs/ld-address.c: Likewise.
49592 * locale/programs/ld-collate.c: Likewise.
49593 * locale/programs/ld-ctype.c: Likewise.
49594 * locale/programs/ld-identification.c: Likewise.
49595 * locale/programs/ld-measurement.c: Likewise.
49596 * locale/programs/ld-messages.c: Likewise.
49597 * locale/programs/ld-monetary.c: Likewise.
49598 * locale/programs/ld-name.c: Likewise.
49599 * locale/programs/ld-numeric.c: Likewise.
49600 * locale/programs/ld-paper.c: Likewise.
49601 * locale/programs/ld-telephone.c: Likewise.
49602 * locale/programs/ld-time.c: Likewise.
49603 * locale/programs/linereader.c: Likewise.
49604 * locale/programs/locale.c: Likewise.
49605 * locale/programs/locarchive.c: Likewise.
49606 * locale/programs/locfile.h: Likewise.
49607 * locale/programs/repertoire.c: Likewise.
49608 * locale/programs/simple-hash.c: Likewise.
49609 * locale/programs/simple-hash.h: Likewise.
49610 * malloc/memusage.c: Likewise.
49611 * malloc/memusagestat.c: Likewise.
49612 * nis/nis_defaults.c: Likewise.
49613 * nis/nis_hash.c: Likewise.
49614 * nis/nis_print.c: Likewise.
49615 * nis/nis_xdr.c: Likewise.
49616 * nscd/connections.c: Likewise.
49617 * nscd/hstcache.c: Likewise.
49618 * nscd/nscd_gethst_r.c: Likewise.
49619 * nscd/nscd_getserv_r.c: Likewise.
49620 * nscd/nscd_helper.c: Likewise.
49621 * nscd/servicescache.c: Likewise.
49622 * nss/makedb.c: Likewise.
49623 * nss/nss_db/db-XXX.c: Likewise.
49624 * nss/nss_db/db-initgroups.c: Likewise.
49625 * nss/nss_db/db-netgrp.c: Likewise.
49626 * nss/nss_files/files-network.c: Likewise.
49627 * nss/nss_files/files-parse.c: Likewise.
49628 * posix/bug-regex5.c: Likewise.
49629 * posix/fnmatch_loop.c: Likewise.
49630 * posix/regcomp.c: Likewise.
49631 * posix/regexec.c: Likewise.
49632 * posix/tst-rfc3484-2.c: Likewise.
49633 * posix/tst-rfc3484-3.c: Likewise.
49634 * posix/tst-rfc3484.c: Likewise.
49635 * resolv/nss_dns/dns-canon.c: Likewise.
49636 * resolv/nss_dns/dns-network.c: Likewise.
49637 * resolv/res_init.c: Likewise.
49638 * resolv/res_mkquery.c: Likewise.
49639 * resolv/tst-aton.c: Likewise.
49640 * stdlib/cxa_atexit.c: Likewise.
49641 * stdlib/cxa_finalize.c: Likewise.
49642 * stdlib/gen-fpioconst.c: Likewise.
49643 * stdlib/strtol_l.c: Likewise.
49644 * string/tst-endian.c: Likewise.
49645 * sunrpc/auth_des.c: Likewise.
49646 * sunrpc/clnt_udp.c: Likewise.
49647 * sunrpc/rtime.c: Likewise.
49648 * sunrpc/svcauth_des.c: Likewise.
49649 * sunrpc/xdr.c: Likewise.
49650 * sunrpc/xdr_intXX_t.c: Likewise.
49651 * sunrpc/xdr_rec.c: Likewise.
49652 * sysdeps/generic/ldconfig.h: Likewise.
49653 * sysdeps/generic/ldsodefs.h: Likewise.
49654 * sysdeps/generic/memusage.h: Likewise.
49655 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49656 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49657 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49661 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49663 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49665 * sysdeps/posix/getaddrinfo.c: Likewise.
49666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49668 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49670 * sysdeps/powerpc/test-gettimebase.c: Likewise.
49671 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49672 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49673 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49674 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49675 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49676 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49677 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49678 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49679 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49680 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49681 * sysdeps/x86_64/dl-tls.h: Likewise.
49682 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49683 * time/alt_digit.c: Likewise.
49684 * time/era.c: Likewise.
49685 * wcsmbs/tst-c16c32-1.c: Likewise.
49686
49687 2013-05-16 Joseph Myers <joseph@codesourcery.com>
49688
49689 * math/libm-test.inc (struct test_sincos_data): New type.
49690 (RUN_TEST_LOOP_sincos): New macro.
49691 (sincos_test_data): New variable.
49692 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49693
49694 2013-05-16 Richard Henderson <rth@redhat.com>
49695
49696 * math/atest-exp2.c (LIMB64): New macro.
49697 (CONSTSZ): New macro.
49698 (mp_exp1, mp_exp_m1, mp_log2): New variables.
49699 (hexdig): Move ...
49700 (print_mpn_fp): ... to function scope.
49701 (read_mpn_hex): Remove.
49702 (get_log2): Remove.
49703 (exp2_mpn): Use mp_log2.
49704 (main): Use mp_exp1.
49705
49706 2013-05-16 Joseph Myers <joseph@codesourcery.com>
49707
49708 * math/libm-test.inc: Remove comment about not testing "inexact"
49709 exceptions.
49710 (INEXACT_EXCEPTION): New macro.
49711 (NO_INEXACT_EXCEPTION): Likewise.
49712 (INVALID_EXCEPTION_OK): Update value.
49713 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49714 (OVERFLOW_EXCEPTION_OK): Likewise.
49715 (UNDERFLOW_EXCEPTION_OK): Likewise.
49716 (IGNORE_ZERO_INF_SIGN): Likewise.
49717 (ERRNO_UNCHANGED): Likewise.
49718 (ERRNO_EDOM): Likewise.
49719 (ERRNO_ERANGE): Likewise.
49720 (test_exceptions): Handle testing "inexact" exceptions.
49721 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49722 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49723 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49724 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49725 INEXACT_EXCEPTION.
49726 (rint_towardzero_test_data): Likewise.
49727 (rint_downward_test_data): Likewise.
49728 (rint_upward_test_data): Likewise.
49729
49730 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49731 with OVERFLOW_EXCEPTION.
49732 (exp10_test_data): Likewise.
49733 (exp2_test_data): Likewise.
49734 (expm1_test_data): Likewise.
49735 (lgamma_test_data): Likewise.
49736 (pow_test_data): Likewise.
49737 (tgamma_test_data): Likewise.
49738 (yn_test_data): Remove duplicate test of overflow.
49739
49740 * math/libm-test.inc (struct test_cc_c_data): New type.
49741 (RUN_TEST_LOOP_cc_c): New macro.
49742 (cpow_test_data): New variable.
49743 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49744
49745 * math/libm-test.inc (struct test_f_L_data): New type.
49746 (RUN_TEST_LOOP_f_L): New macro.
49747 (llrint_test_data): New variable.
49748 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49749 (llrint_tonearest_test_data): New variable.
49750 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49751 (llrint_towardzero_test_data): New variable.
49752 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49753 (llrint_downward_test_data): New variable.
49754 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49755 (llrint_upward_test_data): New variable.
49756 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49757 (llround_test_data): New variable.
49758 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49759
49760 2013-05-13 Peter Collingbourne <pcc@google.com>
49761
49762 * math/atest-exp2.c (get_log2): Remove const attribute.
49763
49764 2013-05-15 Joseph Myers <joseph@codesourcery.com>
49765
49766 * math/libm-test.inc (struct test_f_l_data): New type.
49767 (RUN_TEST_LOOP_f_l): New macro.
49768 (lrint_test_data): New variable.
49769 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49770 (lrint_tonearest_test_data): New variable.
49771 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49772 (lrint_towardzero_test_data): New variable.
49773 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49774 (lrint_downward_test_data): New variable.
49775 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49776 (lrint_upward_test_data): New variable.
49777 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49778 (lround_test_data): New variable.
49779 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49780
49781 2013-05-15 Peter Collingbourne <pcc@google.com>
49782
49783 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49784 (EXTRACT_WORDS64) Use where appropriate.
49785 (INSERT_WORDS64) Likewise.
49786
49787 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49788 constraints with x constraints.
49789 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49790
49791 * malloc/obstack.c (_obstack_compat): Add initializer.
49792
49793 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
49794
49795 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49796 si_trapno and add si_addr_lsb to _sifields.sigfault.
49797 (si_trapno): Remove macro.
49798 (si_addr_lsb): Define new macro.
49799 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49800
49801 2013-05-15 Joseph Myers <joseph@codesourcery.com>
49802
49803 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49804 instead of TEST_f_l.
49805 (llrint_test_tonearest): Likewise.
49806 (llrint_test_towardzero): Likewise.
49807 (llrint_test_downward): Likewise.
49808 (llrint_test_upward): Likewise.
49809 (llround_test): Likewise.
49810
49811 * math/libm-test.inc (struct test_f_i_data): Add comment.
49812 (RUN_TEST_LOOP_f_b): New macro.
49813 (RUN_TEST_LOOP_f_b_tg): Likewise.
49814 (finite_test_data): New variable.
49815 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49816 (isfinite_test_data): New variable.
49817 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49818 (isinf_test_data): New variable.
49819 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49820 (isnan_test_data): New variable.
49821 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49822 (isnormal_test_data): New variable.
49823 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49824 (issignaling_test_data): New variable.
49825 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49826 (signbit_test_data): New variable.
49827 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49828
49829 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49830 with INVALID_EXCEPTION.
49831 (acosh_test_data): Likewise.
49832 (asin_test_data): Likewise.
49833 (atanh_test_data): Likewise.
49834 (fmod_test_data): Likewise.
49835 (log_test_data): Likewise.
49836 (log10_test_data): Likewise.
49837 (log2_test_data): Likewise.
49838 (pow_test_data): Likewise.
49839 (sqrt_test_data): Likewise.
49840 (y0_test_data): Likewise.
49841 (y1_test_data): Likewise.
49842 (yn_test_data): Likewise.
49843
49844 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49845 function contents.
49846
49847 * math/libm-test.inc (struct test_ff_i_data): New type.
49848 (RUN_TEST_LOOP_ff_i_tg): New macro.
49849 (isgreater_test_data): New variable.
49850 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49851 (isgreaterequal_test_data): New variable.
49852 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49853 (isless_test_data): New variable.
49854 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49855 (islessequal_test_data): New variable.
49856 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49857 (islessgreater_test_data): New variable.
49858 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49859 (isunordered_test_data): New variable.
49860 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49861
49862 2013-05-14 David S. Miller <davem@davemloft.net>
49863
49864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49865
49866 2013-05-14 Joseph Myers <joseph@codesourcery.com>
49867
49868 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49869
49870 * math/libm-test.inc (struct test_fF_f1_data): Change type of
49871 extra_test to int.
49872 (struct test_f_i_data): Change type of max_ulp to int.
49873
49874 * math/libm-test.inc (test_ffI_f1_data): New type.
49875 (RUN_TEST_LOOP_ffI_f1): New macro.
49876 (remquo_test_data): New variable.
49877 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49878
49879 * setjmp/tst-setjmp-fp.c: New file.
49880 * setjmp/Makefile (tests): Add tst-setjmp-fp.
49881 (link-libm): New variable.
49882 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49883
49884 * math/libm-test.inc (struct test_f_i_data): New type.
49885 (RUN_TEST_LOOP_f_i): New macro.
49886 (RUN_TEST_LOOP_f_i_tg): Likewise.
49887 (fpclassify_test_data): New variable.
49888 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49889 (ilogb_test_data): New variable.
49890 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49891
49892 * math/libm-test.inc (scalbln_test): Correct function name in END
49893 call.
49894
49895 * math/libm-test.inc (struct test_f_f1_data): Add comment.
49896 (RUN_TEST_LOOP_fI_f1): New macro.
49897 (frexp_test_data): New variable.
49898 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49899
49900 * math/libm-test.inc (struct test_fF_f1_data): New type.
49901 (RUN_TEST_LOOP_fF_f1): New macro.
49902 (modf_test_data): New variable.
49903 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49904
49905 * math/libm-test.inc (struct test_f_f1_data): New type.
49906 (RUN_TEST_LOOP_f_f1): New macro.
49907 (gamma_test_data): New variable.
49908 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49909 (lgamma_test_data): New variable.
49910 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49911
49912 2013-05-13 Carlos O'Donell <carlos@redhat.com>
49913
49914 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49915 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49916 (main): Comment "tls" pseudo-hwcap.
49917
49918 2013-05-13 Joseph Myers <joseph@codesourcery.com>
49919
49920 * math/libm-test.inc (struct test_fl_f_data): New type.
49921 (RUN_TEST_LOOP_fl_f): New variable.
49922 (scalbln_test_data): New variable.
49923 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49924
49925 * math/libm-test.inc (struct test_fi_f_data): New type.
49926 (RUN_TEST_LOOP_fi_f): New macro.
49927 (ldexp_test_data): New variable.
49928 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49929 (scalbn_test_data): New variable.
49930 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49931
49932 * math/libm-test.inc (struct test_c_f_data): New type.
49933 (RUN_TEST_LOOP_c_f): New macro.
49934 (cabs_test_data): New variable.
49935 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49936 (carg_test_data): New variable.
49937 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49938 (cimag_test_data): New variable.
49939 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49940 (creal_test_data): New variable.
49941 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49942
49943 * math/libm-test.inc (struct test_if_f_data): New type.
49944 (RUN_TEST_LOOP_if_f): New macro.
49945 (jn_test_data): New variable.
49946 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49947 (yn_test_data): New variable.
49948 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49949
49950 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49951
49952 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49953
49954 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49955 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49956
49957 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
49958
49959 * benchtests/Makefile (CPPFLAGS-nonlib): Add
49960 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49961 (bench-deps): Add bench-timing.h.
49962 * benchtests-bench-skeleton.c: Include bench-timing.h.
49963 (main): Use TIMING_* macros instead of clock_gettime.
49964 * benchtests/bench-timing.h: New file.
49965
49966 [BZ #14582]
49967 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49968 Renamed from _LIB_VERSION.
49969 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49970
49971 2013-05-12 Joseph Myers <joseph@codesourcery.com>
49972
49973 * math/libm-test.inc (struct test_fff_f_data): New type.
49974 (RUN_TEST_LOOP_fff_f): New macro.
49975 (fma_test_data): New variable.
49976 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49977 (fma_towardzero_test_data): New variable.
49978 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49979 (fma_downward_test_data): New variable.
49980 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49981 (fma_upward_test_data): New variable.
49982 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49983
49984 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49985 (struct test_c_c_data): New type.
49986 (RUN_TEST_LOOP_c_c): New macro.
49987 (cacos_test_data): New variable.
49988 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49989 (cacosh_test_data): New variable.
49990 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49991 (casin_test_data): New variable.
49992 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49993 (casinh_test_data): New variable.
49994 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49995 (catan_test_data): New variable.
49996 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49997 (catanh_test_data): New variable.
49998 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49999 (ccos_test_data): New variable.
50000 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50001 (ccosh_test_data): New variable.
50002 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50003 (cexp_test_data): New variable.
50004 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50005 (clog_test_data): New variable.
50006 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50007 (clog10_test_data): New variable.
50008 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50009 (conj_test_data): New variable.
50010 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50011 (cproj_test_data): New variable.
50012 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50013 (csin_test_data): New variable.
50014 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50015 (csinh_test_data): New variable.
50016 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50017 (csqrt_test_data): New variable.
50018 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50019 (ctan_test_data): New variable.
50020 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50021 (ctan_tonearest_test_data): New variable.
50022 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50023 (ctan_towardzero_test_data): New variable.
50024 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50025 (ctan_downward_test_data): New variable.
50026 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50027 (ctan_upward_test_data): New variable.
50028 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50029 (ctanh_test_data): New variable.
50030 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50031 (ctanh_tonearest_test_data): New variable.
50032 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50033 (ctanh_towardzero_test_data): New variable.
50034 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50035 (ctanh_downward_test_data): New variable.
50036 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50037 (ctanh_upward_test_data): New variable.
50038 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50039 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50040 of BUILD_COMPLEX.
50041
50042 * math/libm-test.inc (struct test_ff_f_data): New type.
50043 (struct test_ff_f_data_nexttoward): Likewise.
50044 (RUN_TEST_LOOP_2_f): New macro.
50045 (RUN_TEST_LOOP_ff_f): Likewise.
50046 (atan2_test_data): New variable.
50047 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50048 (copysign_test_data): New variable.
50049 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50050 (fdim_test_data): New variable.
50051 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50052 (fmax_test_data): New variable.
50053 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50054 (fmin_test_data): New variable.
50055 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50056 (fmod_test_data): New variable.
50057 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50058 (hypot_test_data): New variable.
50059 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50060 (nextafter_test_data): New variable.
50061 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50062 (nexttoward_test_data): New variable.
50063 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50064 (pow_test_data): New variable.
50065 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50066 (pow_tonearest_test_data): New variable.
50067 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50068 (pow_towardzero_test_data): New variable.
50069 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50070 (pow_downward_test_data): New variable.
50071 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50072 (pow_upward_test_data): New variable.
50073 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50074 (remainder_test_data): New variable.
50075 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50076 (scalb_test_data): New variable.
50077 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50078 * sysdeps/i386/fpu/libm-test-ulps: Update.
50079
50080 2013-05-11 Joseph Myers <joseph@codesourcery.com>
50081
50082 * math/libm-test.inc (fma_test): Use max_value instead of local
50083 variable fltmax.
50084 (nextafter_test): Likewise.
50085
50086 * math/libm-test.inc (acos_towardzero_test_data): New variable.
50087 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50088 (acos_downward_test_data): New variable.
50089 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50090 (acos_upward_test_data): New variable.
50091 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50092 (acosh_test_data): New variable.
50093 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50094 (asin_test_data): New variable.
50095 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50096 (asin_tonearest_test_data): New variable.
50097 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50098 (asin_towardzero_test_data): New variable.
50099 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50100 (asin_downward_test_data): New variable.
50101 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50102 (asin_upward_test_data): New variable.
50103 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50104 (asinh_test_data): New variable.
50105 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50106 (atan_test_data): New variable.
50107 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50108 (atanh_test_data): New variable.
50109 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50110 (cbrt_test_data): New variable.
50111 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50112 (ceil_test_data): New variable.
50113 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50114 (cos_test_data): New variable.
50115 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50116 (cos_tonearest_test_data): New variable.
50117 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50118 (cos_towardzero_test_data): New variable.
50119 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50120 (cos_downward_test_data): New variable.
50121 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50122 (cos_upward_test_data): New variable.
50123 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50124 (cosh_test_data): New variable.
50125 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50126 (cosh_tonearest_test_data): New variable.
50127 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50128 (cosh_towardzero_test_data): New variable.
50129 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50130 (cosh_downward_test_data): New variable.
50131 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50132 (cosh_upward_test_data): New variable.
50133 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50134 (erf_test_data): New variable.
50135 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50136 (erfc_test_data): New variable.
50137 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50138 (exp_test_data): New variable.
50139 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50140 (exp_tonearest_test_data): New variable.
50141 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50142 (exp_towardzero_test_data): New variable.
50143 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50144 (exp_downward_test_data): New variable.
50145 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50146 (exp_upward_test_data): New variable.
50147 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50148 (exp10_test_data): New variable.
50149 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50150 (exp2_test_data): New variable.
50151 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50152 (expm1_test_data): New variable.
50153 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50154 (fabs_test_data): New variable.
50155 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50156 (floor_test_data): New variable.
50157 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50158 (j0_test_data): New variable.
50159 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50160 (j1_test_data): New variable.
50161 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50162 (log_test_data): New variable.
50163 (log_test): Run tests with RUN_TEST_LOOP_f_f.
50164 (log10_test_data): New variable.
50165 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50166 (log1p_test_data): New variable.
50167 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50168 (log2_test_data): New variable.
50169 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50170 (logb_test_data): New variable.
50171 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50172 (logb_downward_test_data): New variable.
50173 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50174 (nearbyint_test_data): New variable.
50175 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50176 (rint_test_data): New variable.
50177 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50178 (rint_tonearest_test_data): New variable.
50179 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50180 (rint_towardzero_test_data): New variable.
50181 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50182 (rint_downward_test_data): New variable.
50183 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50184 (rint_upward_test_data): New variable.
50185 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50186 (round_test_data): New variable.
50187 (round_test): Run tests with RUN_TEST_LOOP_f_f.
50188 (sin_test_data): New variable.
50189 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50190 (sin_tonearest_test_data): New variable.
50191 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50192 (sin_towardzero_test_data): New variable.
50193 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50194 (sin_downward_test_data): New variable.
50195 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50196 (sin_upward_test_data): New variable.
50197 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50198 (sinh_test_data): New variable.
50199 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50200 (sinh_tonearest_test_data): New variable.
50201 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50202 (sinh_towardzero_test_data): New variable.
50203 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50204 (sinh_downward_test_data): New variable.
50205 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50206 (sinh_upward_test_data): New variable.
50207 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50208 (sqrt_test_data): New variable.
50209 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50210 (tan_test_data): New variable.
50211 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50212 (tan_tonearest_test_data): New variable.
50213 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50214 (tan_towardzero_test_data): New variable.
50215 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50216 (tan_downward_test_data): New variable.
50217 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50218 (tan_upward_test_data): New variable.
50219 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50220 (tanh_test_data): New variable.
50221 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50222 (tgamma_test_data): New variable.
50223 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50224 (trunc_test_data): New variable.
50225 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50226 (y0_test_data): New variable.
50227 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50228 (y1_test_data): New variable.
50229 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50230 (significand_test_data): New variable.
50231 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50232
50233 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
50234
50235 [BZ #12387]
50236 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50237
50238 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
50239
50240 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50241
50242 2013-05-10 Andreas Jaeger <aj@suse.de>
50243
50244 [BZ #15448]
50245 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50246 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50247
50248 2013-05-10 Joseph Myers <joseph@codesourcery.com>
50249
50250 * math/gen-libm-test.pl (adjust_arg): New function.
50251 (special_functions): Handle generating output in both functions
50252 and arrays.
50253 (parse_args): Likewise.
50254 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
50255 $in_func argument to parse_args.
50256 * math/libm-test.inc (struct test_f_f_data): New type.
50257 (IF_ROUND_INIT_): New macro.
50258 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50259 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50260 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50261 (IF_ROUND_INIT_FE_UPWARD): Likewise.
50262 (ROUND_RESTORE_): Likewise.
50263 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50264 (ROUND_RESTORE_FE_TONEAREST): Likewise.
50265 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50266 (ROUND_RESTORE_FE_UPWARD): Likewise.
50267 (RUN_TEST_LOOP_f_f): New macro.
50268 (acos_test_data): New variable.
50269 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50270 (acos_tonearest_test_data): New variable.
50271 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50272
50273 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50274
50275 * benchtests/bench-skeleton.c (startup): Fix coding style.
50276
50277 2013-05-10 Joseph Myers <joseph@codesourcery.com>
50278
50279 [BZ #6809]
50280 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50281 negative infinity argument.
50282 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50283 negative infinity argument.
50284 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50285 negative infinity argument.
50286 * math/libm-test.inc (tgamma_test): Expect errno to be set for
50287 domain errors.
50288
50289 2013-05-10 Florian Weimer <fweimer@redhat.com>
50290
50291 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50292 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50293 * iconv/iconv_prog.c (main): Likewise.
50294 * locale/programs/charmap-dir.c (charmap_readdir)
50295 (fopen_uncompressed): Likewise.
50296 * locale/programs/locfile.c (siblings_uncached)
50297 (write_locale_data): Use lstat64 instead of lstat.
50298 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50299 stat.
50300
50301 2013-05-10 Andreas Jaeger <aj@suse.de>
50302
50303 [BZ #15395]
50304 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50305 localization.
50306 Include <locale.h>.
50307
50308 2013-05-09 Carlos O'Donell <carlos@redhat.com>
50309
50310 * elf/dl-close.c (_dl_close_worker): Add comments.
50311
50312 2013-05-09 Joseph Myers <joseph@codesourcery.com>
50313
50314 [BZ #15359]
50315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50316 high part of pi/2.
50317 (__ieee754_rem_pio2l): Update comments.
50318
50319 [BZ #15429]
50320 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50321 high part of pi/2.
50322 (__ieee754_rem_pio2l): Update comments.
50323
50324 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50325 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50326
50327 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50328 M_PI_4l.
50329
50330 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50331 (M_PI_34_LOG10El): Likewise.
50332 (M_PI2_LOG10El): Likewise.
50333 (M_PI4_LOG10El): Likewise.
50334 (M_PI_LOG10El): Likewise.
50335
50336 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50337
50338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50339
50340 2013-05-08 Joseph Myers <joseph@codesourcery.com>
50341
50342 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50343 (MINUS_ZERO_INIT): Likewise.
50344 (PLUS_INFTY_INIT): Likewise.
50345 (MINUS_INFTY_INIT): Likewise.
50346 (QNAN_VALUE_INIT): Likewise.
50347 (MAX_VALUE_INIT): Likewise.
50348 (MIN_VALUE_INIT): Likewise.
50349 (MIN_SUBNORM_VALUE_INIT): Likewise.
50350 (plus_zero): Initialize with PLUS_ZERO_INIT.
50351 (minus_zero): Initialize with MINUS_ZERO_INIT.
50352 (plus_infty): Initialize with PLUS_INFTY_INIT.
50353 (minus_infty): Initialize with MINUS_INFTY_INIT.
50354 (qnan_value): Initialize with QNAN_VALUE_INIT.
50355 (max_value): Initialize with MAX_VALUE_INIT.
50356 (min_value): Initialize with MIN_VALUE_INIT.
50357 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50358
50359 * math/libm-test.inc (RUN_TEST_if_f): New macro.
50360 (jn_test): Use TEST_if_f instead of TEST_ff_f.
50361 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50362 (yn_test): Use TEST_if_f instead of TEST_ff_f.
50363
50364 * math/libm-test.inc (RUN_TEST_f_f): New macro.
50365 (RUN_TEST_2_f): Likewise.
50366 (RUN_TEST_ff_f): Likewise.
50367 (RUN_TEST_fi_f): Likewise.
50368 (RUN_TEST_fl_f): Likewise.
50369 (RUN_TEST_fff_f): Likewise.
50370 (RUN_TEST_c_f): Likewise.
50371 (RUN_TEST_f_f1): Likewise.
50372 (RUN_TEST_fF_f1): Likewise.
50373 (RUN_TEST_fI_f1): Likewise.
50374 (RUN_TEST_ffI_f1): Likewise.
50375 (RUN_TEST_c_c): Likewise.
50376 (RUN_TEST_cc_c): Likewise.
50377 (RUN_TEST_f_i): Likewise.
50378 (RUN_TEST_f_i_tg): Likewise.
50379 (RUN_TEST_ff_i_tg): Likewise.
50380 (RUN_TEST_f_b): Likewise.
50381 (RUN_TEST_f_b_tg): Likewise.
50382 (RUN_TEST_f_l): Likewise.
50383 (RUN_TEST_f_L): Likewise.
50384 (RUN_TEST_sincos): Likewise.
50385 * math/gen-libm-test.pl (new_test): Take new argument to indicate
50386 whether to show exceptions. Do not include ");\n" in return
50387 value.
50388 (special_functions): Output call to RUN_TEST_sincos instead of
50389 check_float calls. Update calls to new_test.
50390 (parse_args): Output call to single RUN_TEST_* macro instead of
50391 check_* calls and other assignments. Update calls to new_test.
50392
50393 [BZ #2546]
50394 [BZ #2560]
50395 [BZ #5159]
50396 [BZ #15426]
50397 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50398 input to result for tgamma overflow.
50399 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50400 (gamma_coeff): New variable.
50401 (NCOEFF): New macro.
50402 (gamma_positive): New function.
50403 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50404 underflow here. Use gamma_positive instead of exp (lgamma) for
50405 other arguments.
50406 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50407 (gamma_coeff): New variable.
50408 (NCOEFF): New macro.
50409 (gammaf_positive): New function.
50410 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50411 underflow here. Use gamma_positive instead of exp (lgamma) for
50412 other arguments.
50413 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50414 (gamma_coeff): New variable.
50415 (NCOEFF): New macro.
50416 (gammal_positive): New function.
50417 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50418 underflow here. Use gamma_positive instead of exp (lgamma) for
50419 other arguments.
50420 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50421 (gamma_coeff): New variable.
50422 (NCOEFF): New macro.
50423 (gammal_positive): New function.
50424 (__ieee754_gammal_r): Handle positive infinity, overflow and
50425 underflow here. Handle NaN the same as positive infinity. Remove
50426 check x < 0xffffffff for negative integers. Use gamma_positive
50427 instead of exp (lgamma) for other arguments.
50428 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50429 (gamma_coeff): New variable.
50430 (NCOEFF): New macro.
50431 (gammal_positive): New function.
50432 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50433 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50434 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50435 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50436 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50437 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50438 * sysdeps/generic/math_private.h (__gamma_productf): New
50439 prototype.
50440 (__gamma_product): Likewise.
50441 (__gamma_productl): Likewise.
50442 * math/Makefile (libm-calls): Add gamma_product.
50443 * math/libm-test.inc (tgamma_test): Add more tests.
50444 * sysdeps/i386/fpu/libm-test-ulps: Update.
50445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50446
50447 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
50448
50449 * benchtests/bench-skeleton.c (main): Preheat CPU.
50450
50451 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
50452
50453 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50454
50455 2013-05-07 Roland McGrath <roland@hack.frob.com>
50456
50457 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50458 and _dl_skip_args_internal.
50459
50460 2013-05-07 Carlos O'Donell <carlos@redhat.com>
50461
50462 * manual/message.texi (Message Translation): Talk about users.
50463 Message to key mapping impacts design.
50464
50465 2013-05-06 Roland McGrath <roland@hack.frob.com>
50466
50467 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50468
50469 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50470
50471 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50472 * sysdeps/wordsize-64/glob64.c: ... here.
50473
50474 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50475 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50476 New macros.
50477
50478 * debug/getlogin_r_chk.c: Moved to ...
50479 * login/getlogin_r_chk.c: ... here.
50480 * debug/Makefile (routines): Move getlogin_r_chk to ...
50481 * login/Makefile (routines): ... here.
50482 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50483 * login/Versions (libc: GLIBC_2.4): ... here.
50484
50485 * io/poll.c (__poll): Renamed from poll.
50486 Add libc_hidden_def.
50487 (poll): Define as weak alias.
50488
50489 * debug/ptsname_r_chk.c: Moved to ...
50490 * login/ptsname_r_chk.c: ... here.
50491 * debug/Makefile (routines): Move ptsname_r_chk to ...
50492 * login/Makefile (routines): ... here.
50493 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50494 * login/Versions (libc: GLIBC_2.4): ... here.
50495
50496 * posix/getlogin.c: Moved to ...
50497 * login/getlogin.c: ... here.
50498 * posix/getlogin_r.c: Moved to ...
50499 * login/getlogin_r.c: ... here.
50500 * posix/getlogin_r.c: Moved to ...
50501 * login/getlogin_r.c: ... here.
50502 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50503 * login/Makefile (routines): ... here.
50504 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50505 * login/Versions (libc: GLIBC_2.0): ... here.
50506
50507 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50508 (setrlimit): Define as weak alias.
50509
50510 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50511 Call __ names for open, ftruncate, and close.
50512 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50513 (truncate): Define as weak alias.
50514
50515 2013-05-06 Joseph Myers <joseph@codesourcery.com>
50516
50517 * math/gen-libm-test.pl (parse_args): Initialize x before each
50518 test of frexp, modf and remquo.
50519
50520 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50521 test signgam value.
50522
50523 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50524
50525 [BZ #15418]
50526 [BZ #15419]
50527 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50528 internal tests.
50529 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50530
50531 2013-05-06 Roland McGrath <roland@hack.frob.com>
50532
50533 * elf/dl-writev.h: New file.
50534 * elf/dl-misc.c: Include it.
50535 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50536 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50537
50538 2013-05-04 Joseph Myers <joseph@codesourcery.com>
50539
50540 * math/libm-test.inc (noXFails): Remove variable.
50541 (noXPasses): Likewise.
50542 (BUILD_COMPLEX_INT): Remove macro.
50543 (print_screen): Remove xfail argument.
50544 (print_screen_max_error): Likewise.
50545 (update_stats): Likewise.
50546 (print_max_error): Likewise. Update calls to other affected
50547 functions.
50548 (print_complex_max_error): Likewise.
50549 (test_single_exception): Update calls to print_screen.
50550 (test_single_errno): Likewise.
50551 (check_float_internal): Remove xfail argument. Update calls to
50552 other affected functions.
50553 (check_float): Likewise.
50554 (check_complex): Likewise.
50555 (check_int): Likewise.
50556 (check_long): Likewise.
50557 (check_bool): Likewise.
50558 (check_longlong): Likewise.
50559 (main): Don't print noXFails and noXPasses.
50560 * math/gen-libm-test.pl (top level): Don't mention expected
50561 failure handling in comment.
50562 (new_test): Don't handle expected failures.
50563 (parse_args): Don't mention expected failure handling in comment.
50564 (generate_testfile): Don't handle expected failures.
50565 (parse_ulps): Likewise.
50566 (print_ulps_file): Likewise.
50567 (get_failure): Remove function.
50568 (output_test): Don't handle expected failures.
50569 * make/README.libm-test: Don't mention expected failure handling.
50570
50571 * math/libm-test.inc (plus_zero): Make const. Add initializer.
50572 (minus_zero): Likewise.
50573 (plus_infty): Likewise.
50574 (minus_infty): Likewise.
50575 (qnan_value): Likewise.
50576 (max_value): Likewise.
50577 (min_value): Likewise.
50578 (min_subnorm_value): Likewise.
50579 (initialize): Do not initialize those variables dynamically.
50580
50581 2013-05-03 Roland McGrath <roland@hack.frob.com>
50582
50583 * io/open.c (__open_2): Moved to ...
50584 * io/open_2.c: ... this new file.
50585 * io/open64.c (__open64_2): Moved to ...
50586 * io/open64_2.c: ... this new file.
50587 * io/openat.c (__openat_2): Moved to ...
50588 * io/openat_2.c: ... this new file.
50589 * io/openat64.c (__openat64_2): Moved to ...
50590 * io/openat64_2.c: ... this new file.
50591 * io/Makefile (routines): Add them.
50592 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50593 * sysdeps/unix/sysv/linux/open_2.c: File removed.
50594 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50595 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50596 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50597 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50598 (__openat64): Add hidden_ver.
50599 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50600 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50601
50602 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50603 Separately conditionalize setting of GLRO(dl_sysinfo) so
50604 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50605 as well, but the actual setting is only under [NEED_DL_SYSINFO].
50606
50607 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50608
50609 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50610 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50611 definition.
50612 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50613 * sysdeps/unix/sysv/linux/powerpc/init-first.c
50614 (_libc_vdso_platform_setup): Add __vdso_time initialization.
50615 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50616 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50617
50618 2013-05-03 Joseph Myers <joseph@codesourcery.com>
50619
50620 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50621 test signgam value.
50622
50623 * math/libm-test.inc (hypot_test): Do not use
50624 IGNORE_ZERO_INF_SIGN.
50625
50626 2013-05-03 Andreas Jaeger <aj@suse.de>
50627
50628 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50629 Linux 3.9.
50630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50631 (PF_MAX): Adjust for VSOCK change.
50632
50633 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50634
50635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50636
50637 2013-05-02 Carlos O'Donell <carlos@redhat.com>
50638
50639 [BZ #15264]
50640 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50641 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50642 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50643
50644 2013-05-02 David S. Miller <davem@davemloft.net>
50645
50646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50647
50648 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
50649
50650 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50651
50652 2013-05-01 Roland McGrath <roland@hack.frob.com>
50653
50654 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50655
50656 2013-05-01 Richard Smith <richard@metafoo.co.uk>
50657
50658 [BZ #14952]
50659 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50660 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50661 Use __attribute__ ((__gnu_inline__)).
50662 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50663 Don't use __attribute__ ((__gnu_inline__)).
50664
50665 2013-05-01 Joseph Myers <joseph@codesourcery.com>
50666
50667 [BZ #15423]
50668 * math/s_catan.c (__catan): Handle small real or imaginary part of
50669 input specially to avoid spurious underflow.
50670 * math/s_catanf.c (__catanf): Likewise.
50671 * math/s_catanh.c (__catanh): Likewise.
50672 * math/s_catanhf.c (__catanhf): Likewise.
50673 * math/s_catanhl.c (__catanhl): Likewise.
50674 * math/s_catanl.c (__catanl): Likewise.
50675 * math/libm-test.inc (catan_test): Add more tests.
50676 (catanh_test): Likewise.
50677 * sysdeps/i386/fpu/libm-test-ulps: Update.
50678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50679
50680 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50681
50682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50683
50684 2013-04-30 Joseph Myers <joseph@codesourcery.com>
50685
50686 [BZ #15416]
50687 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50688 accurately for denominator in atan2.
50689 * math/s_catanf.c (__catanf): Likewise.
50690 * math/s_catanh.c (__catanh): Likewise.
50691 * math/s_catanhf.c (__catanhf): Likewise.
50692 * math/s_catanhl.c (__catanhl): Likewise.
50693 * math/s_catanl.c (__catanl): Likewise.
50694 * math/libm-test.inc (catan_test): Add more tests.
50695 (catanh_test): Likewise.
50696 * sysdeps/i386/fpu/libm-test-ulps: Update.
50697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50698
50699 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50700
50701 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50702
50703 * benchtests/Makefile (bench): Remove slow benchmarks.
50704 * benchtests/atan-inputs: Add slow benchmark inputs.
50705 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50706 (BENCH_FUNC): Accept variant offset.
50707 (VARIANT): Define.
50708 * benchtests/bench-skeleton.c (main): Run benchmark for each
50709 variant.
50710 * benchtests/cos-inputs: Add slow benchmark inputs.
50711 * benchtests/exp-inputs: Likewise.
50712 * benchtests/pow-inputs: Likewise.
50713 * benchtests/sin-inputs: Likewise.
50714 * benchtests/slowatan-inputs: Remove.
50715 * benchtests/slowatan.c: Remove.
50716 * benchtests/slowcos-inputs: Remove.
50717 * benchtests/slowcos.c: Remove.
50718 * benchtests/slowexp-inputs: Remove.
50719 * benchtests/slowexp.c: Remove.
50720 * benchtests/slowpow-inputs: Remove.
50721 * benchtests/slowpow.c: Remove.
50722 * benchtests/slowsin-inputs: Remove.
50723 * benchtests/slowsin.c: Remove.
50724 * benchtests/slowtan-inputs: Remove.
50725 * benchtests/slowtan.c: Remove.
50726 * benchtests/tan-inputs: Add slow benchmark inputs.
50727 * scripts/bench.pl: Parse comments and directives.
50728
50729 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
50730 in CPPFLAGS.
50731 ($(objpfx)bench-%.c): Remove *-ITER.
50732 * benchtests/bench-modf.c: Remove definition of ITER.
50733 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50734 (main): Loop for DURATION seconds instead of fixed number of
50735 iterations.
50736 * scripts/bench.pl: Don't expect iterations in parameters.
50737
50738 2013-04-29 Roland McGrath <roland@hack.frob.com>
50739
50740 * io/fchdir.c (__fchdir): Renamed from fchdir.
50741 (fchdir): Define as weak alias.
50742
50743 2013-04-29 Joseph Myers <joseph@codesourcery.com>
50744
50745 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50746 (ERRNO_EDOM): Likewise.
50747 (ERRNO_ERANGE): Likewise.
50748 (noErrnoTests): New variable.
50749 (init_max_error): Set errno to 0.
50750 (test_single_errno): New function.
50751 (test_errno): Likewise.
50752 (check_float_internal): Call test_errno. Set errno to 0.
50753 (check_complex): Refer to errno tests in comment.
50754 (check_int): Call test_errno. Set errno to 0.
50755 (check_long): Likewise.
50756 (check_bool): Likewise.
50757 (check_longlong): Likewise.
50758 (cos_test): Use ERRNO_* flags for errno tests instead of
50759 check_int.
50760 (expm1_test): Likewise.
50761 (fmod_test): Likewise.
50762 (ilogb_test): Likewise.
50763 (lgamma_test): Likewise.
50764 (pow_test): Likewise.
50765 (remainder_test): Likewise.
50766 (sin_test): Likewise.
50767 (tan_test): Likewise.
50768 (yn_test): Likewise.
50769 (initialize): Set errno to 0.
50770 (main): Print number of errno tests.
50771 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50772
50773 2013-04-29 Andreas Jaeger <aj@suse.de>
50774
50775 [BZ #15084]
50776 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50777 and RES_USEVC.
50778
50779 [BZ #15085]
50780 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50781 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50782 unimplemented.
50783
50784 [BZ #15380]
50785 * stdlib/random.c (__initstate): Return NULL if
50786 __initstate fails.
50787
50788 [BZ #15086]
50789 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50790 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50791 RES_SNGLKUPREOP.
50792
50793 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50794
50795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50796
50797 2013-04-29 Joseph Myers <joseph@codesourcery.com>
50798
50799 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50800 of individual tests.
50801 (casin_test): Likewise.
50802 (casinh_test): Likewise.
50803
50804 2013-04-27 Joseph Myers <joseph@codesourcery.com>
50805
50806 [BZ #15409]
50807 * math/s_catan.c (__catan): Handle arguments with large real or
50808 imaginary part separately without squaring.
50809 * math/s_catanf.c (__catanf): Likewise.
50810 * math/s_catanh.c (__catanh): Likewise.
50811 * math/s_catanhf.c (__catanhf): Likewise.
50812 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50813 and redefine.
50814 (__catanhl): Handle arguments with large real or imaginary part
50815 separately without squaring.
50816 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50817 and redefine.
50818 (__catanl): Handle arguments with large real or imaginary part
50819 separately without squaring.
50820 * math/libm-test.inc (catan_test): Add more tests.
50821 (catanh_test): Likewise.
50822 * sysdeps/i386/fpu/libm-test-ulps: Update.
50823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50824
50825 2013-04-27 Andreas Jaeger <aj@suse.de>
50826
50827 [BZ #15007]
50828 * stdlib/stdlib.h: Update guards for qecvt.
50829 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50830 <stdlib.h>.
50831
50832 2013-04-27 Allan McRae <allan@archlinux.org>
50833
50834 * sysdeps/i386/fpu/libm-test-ulps: Update.
50835
50836 2013-04-26 Joseph Myers <joseph@codesourcery.com>
50837
50838 [BZ #15406]
50839 * math/s_catan.c: Include <float.h>.
50840 (__catan): Ensure underflow exception occurs for underflowed
50841 result.
50842 * math/s_catanf.c: Include <float.h>.
50843 (__catanf): Ensure underflow exception occurs for underflowed
50844 result.
50845 * math/s_catanh.c: Include <float.h>.
50846 (__catanh): Ensure underflow exception occurs for underflowed
50847 result.
50848 * math/s_catanhf.c: Include <float.h>.
50849 (__catanhf): Ensure underflow exception occurs for underflowed
50850 result.
50851 * math/s_catanhl.c: Include <float.h>.
50852 (__catanhl): Ensure underflow exception occurs for underflowed
50853 result.
50854 * math/s_catanl.c: Include <float.h>.
50855 (__catanl): Ensure underflow exception occurs for underflowed
50856 result.
50857 * math/libm-test.inc (catan_test): Add more tests.
50858 (catanh_test): Likewise.
50859
50860 [BZ #15405]
50861 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50862 underflowed result.
50863 * math/s_ccoshf.c (__ccoshf): Likewise.
50864 * math/s_ccoshl.c (__ccoshl): Likewise.
50865 * math/s_csin.c (__csin): Likewise.
50866 * math/s_csinf.c (__csinf): Likewise.
50867 * math/s_csinh.c (__csinh): Likewise.
50868 * math/s_csinhf.c (__csinhf): Likewise.
50869 * math/s_csinhl.c (__csinhl): Likewise.
50870 * math/s_csinl.c (__csinl): Likewise.
50871 * math/libm-test.inc (ccos_test): Add more tests.
50872 (ccosh_test): Likewise.
50873 (csin_test): Likewise.
50874 (csinh_test): Likewise.
50875
50876 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50877
50878 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50879 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50880 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50881 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50882 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50883 powerpc/power5+/fpu folders.
50884 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50885
50886
50887 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
50888
50889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50890
50891 2013-04-25 Joseph Myers <joseph@codesourcery.com>
50892
50893 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50894 additions to variable.
50895 [$(config-machine) = x86_64] (modules-names): Likewise.
50896 ($(objpfx)tst-audit3): Remove dependency.
50897 ($(objpfx)tst-audit3.out): Likewise.
50898 ($(objpfx)tst-audit4): Likewise.
50899 ($(objpfx)tst-audit4.out): Likewise.
50900 ($(objpfx)tst-audit5): Likewise.
50901 ($(objpfx)tst-audit5.out): Likewise.
50902 ($(objpfx)tst-audit6): Likewise.
50903 ($(objpfx)tst-audit6.out): Likewise.
50904 ($(objpfx)tst-audit7): Likewise.
50905 ($(objpfx)tst-audit7.out): Likewise.
50906 (tst-audit3-ENV): Remove variable.
50907 (tst-audit4-ENV): Likewise.
50908 (tst-audit5-ENV): Likewise.
50909 (tst-audit6-ENV): Likewise.
50910 (tst-audit7-ENV): Likewise.
50911 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50912 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50913 addition to variable.
50914 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50915 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50916 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50917 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50918 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50919 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50920 tst-audit3, tst-audit4 and tst-audit5.
50921 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50922 tst-audit6 and tst-audit7.
50923 [$(subdir) = elf] (modules-names): Add audit modules for those
50924 tests.
50925 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50926 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50927 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50928 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50929 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50930 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50931 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50932 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50933 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50934 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50935 [$(subdir) = elf] (tst-audit3-ENV): New variable.
50936 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50937 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50938 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50939 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50940 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50941 Likewise.
50942 [$(subdir) = elf && $(config-cflags-avx) = yes]
50943 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50944 [$(subdir) = elf && $(config-cflags-avx) = yes]
50945 (CFLAGS-tst-auditmod4a.c): Likewise.
50946 [$(subdir) = elf && $(config-cflags-avx) = yes]
50947 (CFLAGS-tst-auditmod4b.c): Likewise.
50948 [$(subdir) = elf && $(config-cflags-avx) = yes]
50949 (CFLAGS-tst-auditmod6b.c): Likewise.
50950 [$(subdir) = elf && $(config-cflags-avx) = yes]
50951 (CFLAGS-tst-auditmod6c.c): Likewise.
50952 [$(subdir) = elf && $(config-cflags-avx) = yes]
50953 (CFLAGS-tst-auditmod7b.c): Likewise.
50954 * elf/tst-audit3.c: Move to ...
50955 * sysdeps/x86_64/tst-audit3.c: ... here.
50956 * elf/tst-audit4.c: Move to ...
50957 * sysdeps/x86_64/tst-audit4.c: ... here.
50958 * elf/tst-audit5.c: Move to ...
50959 * sysdeps/x86_64/tst-audit5.c: ... here.
50960 * elf/tst-audit6.c: Move to ...
50961 * sysdeps/x86_64/tst-audit6.c: ... here.
50962 * elf/tst-audit7.c: Move to ...
50963 * sysdeps/x86_64/tst-audit7.c: ... here.
50964 * elf/tst-auditmod3a.c: Move to ...
50965 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50966 * elf/tst-auditmod3b.c: Move to ...
50967 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50968 * elf/tst-auditmod4a.c: Move to ...
50969 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50970 * elf/tst-auditmod4b.c: Move to ...
50971 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50972 * elf/tst-auditmod5a.c: Move to ...
50973 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50974 * elf/tst-auditmod5b.c: Move to ...
50975 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50976 * elf/tst-auditmod6a.c: Move to ...
50977 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50978 * elf/tst-auditmod6b.c: Move to ...
50979 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50980 * elf/tst-auditmod6c.c: Move to ...
50981 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50982 * elf/tst-auditmod7a.c: Move to ...
50983 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50984 * elf/tst-auditmod7b.c: Move to ...
50985 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50986
50987 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
50988
50989 [BZ #15366]
50990 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50991 define unconditionally.
50992 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50993 define unconditionally.
50994 (INT8_C, INT16_C, etc.): Likewise.
50995
50996 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
50997
50998 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50999 __ehdr_start with hidden visibility.
51000
51001 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51002
51003 2013-04-24 Carlos O'Donell <carlos@redhat.com>
51004
51005 * math/libm-test.inc (cos_test): Use accurate hex constants.
51006 (sincost_test): Likewise.
51007
51008 2013-04-24 Joseph Myers <joseph@codesourcery.com>
51009
51010 * math/libm-test.inc (catan_test): Add more tests.
51011 (catanh_test): Likewise.
51012
51013 * math/s_catanf.c (__catanf): Use suffixed floating-point
51014 constants.
51015 * math/s_catanhf.c (__catanhf): Likewise.
51016 * math/s_catanhl.c (__catanhl): Likewise.
51017 * math/s_catanl.c (__catanl): Likewise.
51018
51019 [BZ #15394]
51020 * math/s_catan.c (__catan): Calculate imaginary part of result
51021 with log1p not log unless computing log of number close to 0.
51022 * math/s_catanf.c (__catanf): Likewise.
51023 * math/s_catanl.c (__catanl): Likewise.
51024 * math/s_catanh.c (__catanh): Calculate real part of result with
51025 log1p not log unless computing log of number close to 0.
51026 * math/s_catanhf.c (__catanhf): Likewise.
51027 * math/s_catanhl.c (__catanhl): Likewise.
51028 * math/libm-test.inc (catan_test): Add more tests.
51029 (catanh_test): Likewise.
51030 * sysdeps/i386/fpu/libm-test-ulps: Update.
51031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51032
51033 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
51034
51035 * benchtests/Makefile: Mention files in which fast and slow
51036 paths of math functions are implemented.
51037
51038 2013-04-23 Roland McGrath <roland@hack.frob.com>
51039
51040 * sysdeps/posix/timespec_get.c: New file.
51041
51042 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51043
51044 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51045 POWER.
51046 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51047 for POWER.
51048 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51049 powerpc/power5/fpu folders.
51050 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51051 * benchtests/Makefile: Add modf testcase.
51052 * benchtests/bench-modf.c: New file: Benchmark test for mo
51053
51054 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
51055
51056 [BZ #14888]
51057 * time/Makefile (tests): Add tst-strptime-whitespace.
51058 * time/strptime_l.c (get_number): Use ISSPACE.
51059 (__strptime_internal): Likewise.
51060 * time/tst-strptime-whitespace.c: New test case.
51061
51062 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
51063
51064 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51065 member.
51066 (_nss_files_init): Set it here.
51067
51068 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
51069
51070 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51071 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51072 unsigned.
51073
51074 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
51075
51076 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51077
51078 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51079
51080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51081 size just once.
51082
51083 2013-04-21 David S. Miller <davem@davemloft.net>
51084
51085 * po/ru.po: Update Russion translation from translation project.
51086
51087 2013-04-17 Adam Conrad <adconrad@0c3.net>
51088
51089 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51090 and setfsgid.
51091
51092 2013-04-17 Carlos O'Donell <carlos@redhat.com>
51093
51094 * configure.in: Remove i386 configure warning. Remove i386 case.
51095 * configure: Regenerate.
51096 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51097 Add example to error message.
51098 * sysdeps/i386/configure: Regenerate.
51099
51100 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
51101
51102 * benchtests/Makefile (bench): Add cos, tan, slowcos and
51103 slowtan.
51104 * benchtests/cos-inputs: New file.
51105 * benchtests/slowcos-inputs: New file.
51106 * benchtests/slowcos.c: New file.
51107 * benchtests/slowtan-inputs: New file.
51108 * benchtests/slowtan.c: New file.
51109 * benchtests/tan-inputs: New file.
51110
51111 2013-04-16 Roland McGrath <roland@hack.frob.com>
51112
51113 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51114 considered kosher.
51115
51116 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51117
51118 * benchtests/Makefile: Include cppflags-iterator.mk to add
51119 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51120
51121 * Makefile.in (bench-clean): New target.
51122 * benchtests/Makefile (bench-clean): Likewise.
51123
51124 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
51125
51126 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51127
51128 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
51129
51130 * stdio-common/tstdiomisc.c: Fix coding-style violation.
51131
51132 2013-04-15 Andreas Schwab <schwab@suse.de>
51133
51134 * nscd/grpcache.c (cache_addgr): Properly check for short write.
51135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51136 * nscd/pwdcache.c (cache_addpw): Likewise.
51137 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
51138 more than recsize.
51139
51140 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51141
51142 * benchtests/Makefile (bench): Write all output to
51143 bench-out.tmp together.
51144
51145 2013-04-15 Andreas Schwab <schwab@suse.de>
51146
51147 * nscd/nscd.c (main): Don't fork again after closing files.
51148
51149 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51150
51151 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51152
51153 * benchtests/Rules (bench-deps): Collect dependencies into a
51154 single variable. Add Makefile to dependencies.
51155 ($(objpfx)bench-%.c): Depend on bench-deps.
51156
51157 2013-04-12 Roland McGrath <roland@hack.frob.com>
51158 Xavier Roche <roche+kml2@exalead.com>
51159
51160 [BZ #15361]
51161 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51162 just that it's a file descriptor.
51163 * manual/llio.texi (Synchronizing AIO Operations): Update description
51164 for EBADF error from aio_fsync.
51165
51166 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
51167
51168 * Rules (bench): Move target definition...
51169 * benchtests/Makefile: ... here.
51170
51171 2013-04-11 Carlos O'Donell <carlos@redhat.com>
51172
51173 * math/libm-test.inc (cos_test): Fix PI/2 test.
51174 (sincos_test): Likewise.
51175 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51176 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51177
51178 2013-04-11 Andreas Schwab <schwab@suse.de>
51179
51180 [BZ #13988]
51181 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51182 accept exponent character only when digits were seen.
51183 * stdio-common/Makefile (tests): Add bug26.
51184 * stdio-common/bug26.c: New file.
51185
51186 [BZ #14293]
51187 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51188 non-freeable.
51189
51190 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51191
51192 * Makeconfig (rtld-prefix): Define built linker prefix.
51193 * Rules (run-bench): Use it.
51194 * math/Makefile (run-regen-ulps): Likewise.
51195
51196 * Rules (bench): Remove eval.
51197
51198 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51199 Roland McGrath <roland@hack.frob.com>
51200 Ondrej Bilka <neleai@seznam.cz>
51201
51202 [BZ #15346]
51203 * time/getdate.c: Include ctype.h and alloca.h.
51204 (__getdate_r): Trim leading and trailing spaces of input.
51205 * time/tst-getdate.c (tests): Add tests with leading and
51206 trailing spaces.
51207
51208 2013-04-08 Roland McGrath <roland@hack.frob.com>
51209
51210 [BZ #14280]
51211 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51212 when computing value.
51213
51214 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51215
51216 * math/README.libm-test (How can I generate "libm-test-ulps"?):
51217 Use testrun.sh to run libm tests.
51218
51219 [BZ #15309]
51220 * elf/dl-open.c (dl_open_worker): memset all of seen array.
51221
51222 2013-04-06 Marko Myllynen <myllynen@redhat.com>
51223
51224 [BZ #15264]
51225 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51226
51227 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51228
51229 * Makefile.in (regen-ulps): New target.
51230 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51231 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51232 [ifneq (no,$(PERL)] (regen-ulps): New target.
51233 [ifeq (no,$(PERL)] (regen-ulps): New target.
51234 * math/libm-test.inc (ulps_file_name): Define.
51235 (output_dir): New variable.
51236 (options): Add "output-dir" option.
51237 (parse_opt): Handle 'o' case.
51238 (main): If output_dir is non-NULL use it as a prefix
51239 otherwise use "".
51240 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51241
51242 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51243
51244 [BZ #10060, #10062]
51245 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51246 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51247 fail configure if __sync_val_compare_and_swap is not inlined.
51248 * sysdeps/i386/configure: Regenerate.
51249 * configure.in: Build for i686 when configured for i386.
51250 * configure: Regenerate.
51251 * README: Remove i386 reference.
51252
51253 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51254
51255 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51256 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51257
51258 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
51259
51260 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51261 (lmsnanval): New variables.
51262 (F): Add conversion tests.
51263 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51264 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51265
51266 * stdio-common/tstdiomisc.c (F): Properly collect individual
51267 tests' results.
51268
51269 [BZ #14686, #15336]
51270 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51271 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51272 Instead, use input NaN values or generate a qNaN by arithmetic
51273 operation. Also fix bugs to comply with the standard.
51274 * math/libm-test.inc (remainder_test): Add more tests.
51275
51276 [BZ #15335, #15342]
51277 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51279 input NaN values or generate a qNaN by arithmetic operation.
51280
51281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51282 unreachable code.
51283
51284 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51285 definitions.
51286
51287 2013-04-03 Joseph Myers <joseph@codesourcery.com>
51288
51289 [BZ #14478]
51290 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51291 underflowed result.
51292 * math/s_cexpf.c (__cexpf): Likewise.
51293 * math/s_cexpl.c (__cexpl): Likewise.
51294 * math/libm-test.inc (cexp_test): Add more tests.
51295
51296 2013-04-03 Andreas Schwab <schwab@suse.de>
51297
51298 [BZ #15330]
51299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51300 order arrays from heap if bigger than alloca cutoff.
51301
51302 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
51303
51304 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51305 (SNAN_TESTS_double): Refer to GCC PR56831.
51306 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51307 GCC PR56828.
51308
51309 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
51310
51311 * Rules (bench): Move bench.out after the run is complete.
51312
51313 * Rules (bench): Echo currently running benchmark.
51314
51315 * benchtests/Makefile (bench): Add atan and slowatan.
51316 * benchtests/atan-inputs: New file.
51317 * benchtests/slowatan-inputs: New file.
51318 * benchtests/slowatan.c: New file.
51319
51320 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51321 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51322 its value.
51323
51324 [BZ #15305]
51325 * sysdeps/unix/sysv/linux/kernel-features.h
51326 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51327 __ASSUME_XFS_RESTRICTED_CHOWN.
51328 * sysdeps/unix/sysv/linux/pathconf.c
51329 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51330 Save and restore errno.
51331
51332 2013-04-02 Joseph Myers <joseph@codesourcery.com>
51333
51334 [BZ #15327]
51335 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51336 arguments using __kernel_casinh.
51337 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51338 arguments using __kernel_casinhf.
51339 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51340 arguments using __kernel_casinhl.
51341 * math/libm-test.inc (cacosh_test): Add more tests.
51342 * sysdeps/i386/fpu/libm-test-ulps: Update.
51343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51344
51345 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51346
51347 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51349
51350 * bench/Makefile (bench): Add sin and slowsin.
51351 * benchtests/sin-inputs: New file.
51352 * benchtests/slowsin-inputs: New file.
51353 * benchtests/slowsin.c: New file.
51354
51355 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51356 (bench): Add slowexp and slowpow.
51357 (exp-ITER): Increase iterations.
51358 (pow-ITER): Likewise.
51359 * benchtests/exp-inputs: Change input.
51360 * benchtests/pow-inputs: Likewise.
51361 * benchtests/slowexp-inputs: New file.
51362 * benchtests/slowexp.c: New file.
51363 * benchtests/slowpow-inputs: New file.
51364 * benchtests/slowpow.c: New file.
51365
51366 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51367
51368 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51369 instructions.
51370 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51371 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51372 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51373 * benchtests/Makefile: Add rint benchtest.
51374 * benchtests/rint-inputs: Input for rint benchtest.
51375
51376 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
51377
51378 * Versions.def (libm): Add GLIBC_2.18.
51379 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51380 hidden libm prototypes.
51381 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51382 * math/Makefile (libm-calls): Add s_issignaling.
51383 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51384 __issignalingf, __issignalingl. Adjust all libm.abilist files.
51385 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51386 declaration.
51387 * math/math.h [__USE_GNU] (issignaling): New macro.
51388 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51389 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51390 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51391 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51392 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51393 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51394 * manual/arith.texi (issignaling): New section.
51395 * manual/libm-err-tab.pl (@all_functions): Update comment.
51396 * math/gen-libm-test.pl (parse_args): Apply special handling for
51397 issignaling.
51398 * math/libm-test.inc (print_float, issignaling_test): New
51399 functions.
51400 (check_float_internal): Add issignaling checks.
51401 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51402 default definition.
51403 * sysdeps/powerpc/math-tests.h: New file.
51404 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51405 tests.
51406 * math/test-snan.c (TEST_FUNC): Likewise.
51407
51408 2013-03-30 David S. Miller <davem@davemloft.net>
51409
51410 * po/de.po: Update from translation team.
51411
51412 2013-03-30 Joseph Myers <joseph@codesourcery.com>
51413
51414 [BZ #10357]
51415 * math/k_casinh.c (__kernel_casinh): Handle arguments with
51416 imaginary part less than 1.0 and real part less than 0.5
51417 specially.
51418 * math/k_casinhf.c (__kernel_casinhf): Likewise.
51419 * math/k_casinhl.c (__kernel_casinhl): Likewise.
51420 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51421 (cacos_test): Add more tests.
51422 (casin_test): Likewise.
51423 (casinh_test): Likewise.
51424 * sysdeps/i386/fpu/libm-test-ulps: Update.
51425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51426
51427 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
51428
51429 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51430 ONE with its value.
51431
51432 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51433 (__pow_mp): Replace ONE and MONE with their values.
51434 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51436 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51437 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51438 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51440
51441 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51442
51443 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51444 (__pow_mp): Replace ZERO and MZERO with their values.
51445 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51447 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51449 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51450 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51451 (__sqr): Likewise.
51452
51453 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51454
51455 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51456
51457 2013-03-28 Roland McGrath <roland@hack.frob.com>
51458
51459 * include/stdlib.h [!SHARED] (__call_tls_dtors):
51460 Declare with __attribute__ ((weak)).
51461 * stdlib/exit.c (__libc_atexit) [!SHARED]:
51462 Call __call_tls_dtors only if it's not NULL.
51463
51464 2013-03-28 Roland McGrath <roland@hack.frob.com>
51465
51466 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51467 didn't do it already, then set _dl_phdr and _dl_phnum based on the
51468 magic __ehdr_start linker symbol if it's defined.
51469 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51470 them up here if it was already done.
51471
51472 * elf/dl-support.c (_dl_phdr): Make pointer to const.
51473 (_dl_aux_init): Use const in cast when setting it.
51474 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51475 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51476 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51477
51478 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51479 Declare them here.
51480 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51481 * csu/libc-tls.c: Nor here.
51482 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51483
51484 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51485 (__libc_message): Never call vsyslog.
51486
51487 2013-03-28 Alan Modra <amodra@gmail.com>
51488
51489 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51490 Define as empty.
51491 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51492 Likewise.
51493
51494 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51495
51496 [BZ #15214]
51497 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51498 underflow.
51499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51500
51501 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51502
51503 [BZ #15304]
51504 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51505 Don't add gid passed as argument.
51506
51507 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51508
51509 2013-03-27 Joseph Myers <joseph@codesourcery.com>
51510
51511 [BZ #15307]
51512 * math/k_casinh.c (__kernel_casinh): Handle arguments with
51513 imaginary part between 1.0 and 1.5 and real part less than 0.5
51514 specially.
51515 * math/k_casinhf.c (__kernel_casinhf): Likewise.
51516 * math/k_casinhl.c (__kernel_casinhl): Likewise.
51517 * math/libm-test.inc (cacos_test): Add more tests.
51518 (casin_test): Likewise.
51519 (casinh_test): Likewise.
51520 * sysdeps/i386/fpu/libm-test-ulps: Update.
51521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51522
51523 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51524
51525 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51526 constants.
51527 (norm): Likewise.
51528 (denorm): Likewise.
51529 (__dbl_mp): Likewise.
51530 (add_magnitudes): Likewise.
51531 (sub_magnitudes): Likewise.
51532 (__add): Likewise.
51533 (__sub): Likewise.
51534 (__mul): Likewise.
51535 (__sqr): Likewise.
51536 (__inv): Likewise.
51537 (__dvd): Likewise.
51538
51539 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51540 commented code.
51541 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51542 (__dubcos): Likewise.
51543 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51544 (__ieee754_acos): Likewise.
51545 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51546 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51547 (__exp1): Likewise.
51548 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51550 (log1): Likewise.
51551 (my_log2): Likewise.
51552 (checkint): Likewise.
51553 * sysdeps/ieee754/dbl-64/e_remainder.c
51554 (__ieee754_remainder): Likewise.
51555 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51556 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51557 (bsloww): Likewise.
51558 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51559
51560 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51561 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51562 MANTISSA_STORE_T to store computations on mantissa. Use
51563 macros for rounding and division.
51564 (denorm): Likewise.
51565 (__dbl_mp): Likewise.
51566 (add_magnitudes): Likewise.
51567 (sub_magnitudes): Likewise.
51568 (__mul): Likewise.
51569 (__sqr): Likewise.
51570 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
51571 powers of two in terms of TWOPOW macro.
51572 (mp_no): Make type of mantissa as MANTISSA_T.
51573 [!RADIXI]: Define RADIXI.
51574 [!TWO52]: Define TWO52.
51575 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51576
51577 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51578
51579 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51580 llroundl symbol when building for PPC32.
51581
51582 2013-03-24 Mark H Weaver <mhw@netris.org>
51583
51584 * manual/arith.texi (Normalization Functions): Fix prototypes for
51585 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51586
51587 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51588
51589 [BZ #13889]
51590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51591 high value to check if expl overflow.
51592 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51593 to check for underflow and overflow.
51594 * math/libm-test.inc: Add exp test.
51595
51596 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
51597
51598 [BZ #11120]
51599 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51600 with NOT_IN_libc.
51601
51602 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51603
51604 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51605 symbol.
51606
51607 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
51608
51609 * math/gen-libm-test.pl (parse_args, special_functions): Properly
51610 wrap blocks consisting of several statements.
51611
51612 * sysdeps/generic/math-tests.h: New file.
51613 * sysdeps/i386/fpu/math-tests.h: Likewise.
51614 * math/test-snan.c: Include it.
51615 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51616
51617 2013-03-21 Joseph Myers <joseph@codesourcery.com>
51618
51619 [BZ #15285]
51620 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51621 (__ieee754_j0l): Do not improve calculations using cos of twice
51622 input for inputs above LDBL_MAX / 2.0L.
51623 (__ieee754_y0l): Likewise.
51624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51625 (__ieee754_j1l): Do not improve calculations using cos of twice
51626 input for inputs above LDBL_MAX / 2.0L.
51627 (__ieee754_y1l): Likewise.
51628 * math/libm-test.inc (j0_test): Add another test.
51629 (j1_test): Likewise.
51630 (y0_test): Likewise.
51631 (y1_test): Likewise.
51632 * sysdeps/i386/fpu/libm-test-ulps: Update.
51633
51634 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51635
51636 * Rules ($(objpfx)bench-%.c): Include code from a C source
51637 file.
51638
51639 2013-03-21 Joseph Myers <joseph@codesourcery.com>
51640
51641 [BZ #15287]
51642 * math/k_casinh.c (__kernel_casinh): Handle arguments with
51643 imaginary part 1.0 and real part less than 0.5 specially.
51644 * math/k_casinhf.c (__kernel_casinhf): Likewise.
51645 * math/k_casinhl.c (__kernel_casinhl): Likewise.
51646 * math/libm-test.inc (cacos_test): Add more tests.
51647 (casin_test): Likewise.
51648 (casinh_test): Likewise.
51649 * sysdeps/i386/fpu/libm-test-ulps: Update.
51650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51651
51652 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51653
51654 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51655 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51656
51657 2013-03-20 Joseph Myers <joseph@codesourcery.com>
51658
51659 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51660 * config.make.in (config-cflags-sse4): Remove variable.
51661 (config-cflags-avx): Likewise.
51662 (config-cflags-sse2avx): Likewise.
51663 (config-cflags-novzeroupper): Likewise.
51664 (config-asflags-i686): Likewise.
51665 (have-mfma4): Likewise.
51666 (have-as-vis3): Likewise.
51667 (MIG): Likewise.
51668 * configure.in (MIG): Do not AC_SUBST.
51669 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51670 (libc_cv_cc_sse4): Do not AC_SUBST.
51671 (libc_cv_cc_avx): Likewise.
51672 (libc_cv_cc_sse2avx): Likewise.
51673 (libc_cv_cc_novzeroupper): Likewise.
51674 (libc_cv_cc_fma4): Likewise.
51675 (libc_cv_as_i686): Likewise.
51676 (libc_cv_sparc_as_vis3): Likewise.
51677 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51678 LIBC_CONFIG_VAR.
51679 (config-asflags-i686): Likewise.
51680 (config-cflags-avx): Likewise.
51681 (config-cflags-sse2avx): Likewise.
51682 (have-mfma4): Likewise.
51683 (config-cflags-novzeroupper): Likewise.
51684 * sysdeps/mach/configure.in (MIG): Likewise.
51685 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51686 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51687 LIBC_CONFIG_VAR.
51688 (config-cflags-avx): Likewise.
51689 (config-cflags-sse2avx): Likewise.
51690 (have-mfma4): Likewise.
51691 (config-cflags-novzeroupper): Likewise.
51692 * configure: Regenerated.
51693 * sysdeps/i386/configure: Likewise.
51694 * sysdeps/mach/configure: Likewise.
51695 * sysdeps/sparc/configure: Likewise.
51696 * sysdeps/x86_64/configure: Likewise.
51697
51698 2013-03-20 Roland McGrath <roland@hack.frob.com>
51699
51700 [BZ #14812]
51701 * locale/programs/localedef.c (options): Put N_ translation marker
51702 on argument names, not just descriptions.
51703
51704 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51705
51706 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51707
51708 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
51709
51710 [BZ #14176]
51711 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51712
51713 2013-03-19 Roland McGrath <roland@hack.frob.com>
51714
51715 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51716 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51717 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51718 [!BEFORE_ABORT] (before_abort): New function.
51719 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51720 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51721 (writev_for_fatal): New function.
51722 (WRITEV_FOR_FATAL): New macro; call that.
51723 (backtrace_and_maps): New function.
51724 (BEFORE_ABORT): New macro; call that.
51725 (struct str_list): Type removed.
51726 (__libc_message, __libc_fatal): Functions removed.
51727 Include <sysdeps/posix/libc_fatal.c> instead.
51728
51729 2013-03-19 Joseph Myers <joseph@codesourcery.com>
51730
51731 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51732 constants.
51733 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51734 double constants.
51735
51736 2013-03-19 Andreas Schwab <schwab@suse.de>
51737
51738 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51739 * sysdeps/gnu/configure: Regenerate.
51740
51741 * configure.in: Substitute libc_cv_rtlddir.
51742 * configure: Regenerate.
51743 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51744 * Makeconfig (rtlddir, inst_rtlddir): New variables.
51745 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51746 * elf/Makefile (install-others, CFLAGS-interp.c)
51747 (ldso_install, common-ldd-rewrite): Likewise.
51748 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51749 $(inst_slibdir)/$(rtld-installed-name).
51750 * scripts/rellns-sh: Add -p option.
51751 * Makerules (make-shlib-link): Use rellns-sh to get relative name
51752 for source.
51753
51754 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
51755
51756 * manual/nptl.texi: Renamed to ...
51757 * manual/threads.texi: ... this.
51758 * manual/Makefile (chapters): Update.
51759
51760 2013-03-18 Roland McGrath <roland@hack.frob.com>
51761
51762 [BZ #14812]
51763 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51764 on argument names, not just descriptions.
51765 * malloc/memusagestat.c (options): Likewise.
51766 * nss/getent.c (options): Likewise.
51767
51768 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
51769
51770 [BZ #14812]
51771 * iconv/iconv_prog.c (options): Put N_ translation marker
51772 on argument names, not just descriptions.
51773 * iconv/iconvconfig.c (options): Likewise.
51774
51775 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
51776
51777 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51778 implementation which is faster on all x86_64 architectures.
51779 Tested on AMD, Intel Nehalem, SNB, IVB.
51780 * sysdeps/x86_64/strnlen.S: Likewise.
51781
51782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51783 Remove all multiarch strlen and strnlen versions.
51784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51785 Remove strlen and strnlen related parts.
51786
51787 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51788 Inline strlen part.
51789 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51790
51791 * sysdeps/x86_64/multiarch/strlen.S: Remove.
51792 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51793 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51794 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51795 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51796 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51797
51798 2013-03-17 Carlos O'Donell <carlos@redhat.com>
51799
51800 * manual/memory.texi (Malloc Tunable Parameters):
51801 Sort parameters alphabetically. Add comments for missing entries.
51802
51803 2013-03-17 David S. Miller <davem@davemloft.net>
51804
51805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51806
51807 2013-03-16 Joseph Myers <joseph@codesourcery.com>
51808
51809 [BZ #15283]
51810 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51811 for arguments at most half maximum finite value.
51812 * math/libm-test.inc (j0_test): Add more tests.
51813 (j1_test): Likewise.
51814 (y0_test): Likewise.
51815 (y1_test): Likewise.
51816 * sysdeps/i386/fpu/libm-test-ulps: Update.
51817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51818
51819 [BZ #14155]
51820 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51821 1 / x and functions P and Q for arguments above 0x1p256L.
51822 (__ieee754_y0l): Likewise.
51823 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51824 (__ieee754_y1l): Likewise.
51825 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51826 (j1_test): Likewise.
51827 (y0_test): Likewise.
51828 (y1_test): Likewise.
51829
51830 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
51831
51832 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51833 variable.
51834
51835 2013-03-15 Roland McGrath <roland@hack.frob.com>
51836
51837 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51838 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51839 zero since it's initialized to EXEC_PAGESIZE.
51840
51841 * sysdeps/unix/sysv/linux/ldsodefs.h
51842 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51843 * sysdeps/generic/ldsodefs.h: ... here.
51844
51845 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
51846
51847 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51848
51849 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51850 math/test-snan.c.
51851 * math/test-snan.c: Renamed from
51852 sysdeps/powerpc/fpu/test-powerpc-snan.c.
51853 * math/Makefile (tests): Add test-snan.
51854 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51855 test-powerpc-snan.
51856
51857 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51858 SUFFIX. Initialize qNaN_var with __builtin_nan family of
51859 functions.
51860 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
51861 __builtin_nan family of functions.
51862 * math/libm-test.inc (initialize): Initialize qnan_value with
51863 __builtin_nan family of functions.
51864 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51865 Remove variables.
51866 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51867 Remove functions.
51868 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
51869 storage class. Initialize qNaN_var and sNaN_var with
51870 __builtin_nan and __builtin_nans families of functions,
51871 respectively.
51872
51873 * math/libm-test.inc (acosh_test): Also test with qNaN input.
51874 (sqrt_test): Remove duplicate test with qNaN input.
51875 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51876 (round_test, signbit_test, significand_test): Note missing +/-Inf
51877 as well as qNaN tests.
51878
51879 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51880 qNaN_var. Fix a few strings, too.
51881 * math/libm-test.inc (nan_value): Rename to qnan_value.
51882 * math/gen-libm-test.pl (%beautify): Adjust to that.
51883 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51884 * math/test-misc.c (main): Likewise.
51885 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51886 to __qnan_bytes, and __qnan_union, respectively.
51887 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51888 Likewise.
51889 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51890 and lqnanval, respectively.
51891 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51892 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51893 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51894 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51895
51896 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51897 * math/test-misc.c (main) [__x86_64__]: Enable test for long
51898 doubles.
51899
51900 * math/test-misc.c (main): Fix copy'n'pastos.
51901 * misc/tst-efgcvt.c (special): Likewise.
51902
51903 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51904 Remove declarations.
51905
51906 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51907
51908 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51909 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51910 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51911 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51912
51913 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51914
51915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51916 macro to return vdso values correctly in IFUNC implementations.
51917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51918 Optimization by using IFUNC.
51919
51920 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51921 Richard Henderson <rth@redhat.com>
51922 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51923
51924 * Makefile.in (bench): New target.
51925 * NEWS: Mention the benchmark framework.
51926 * Rules (bench): Likewise.
51927 (binaries-bench): Generate binaries for functions to
51928 benchmark.
51929 * benchtests/Makefile: New makefile for benchmark tests.
51930 * benchtests/bench-skeleton.c: New skeleton file for benchmark
51931 programs.
51932 * benchtests/exp-inputs: New input file for EXP function.
51933 * benchtests/pow-inputs: New input file for POW function.
51934 * scripts/bench.pl: New script to generate source files for
51935 benchmark programs.
51936
51937 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51938
51939 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51940 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51941 computations on mantissa. Use macros for rounding and
51942 division.
51943 (denorm): Likewise.
51944 (__dbl_mp): Likewise.
51945 (add_magnitudes): Likewise.
51946 (sub_magnitudes): Likewise.
51947 (__mul): Likewise.
51948 (__sqr): Likewise.
51949 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
51950 powers of two in terms of TWOPOW macro.
51951 (mp_no): Make type of mantissa as MANTISSA_T.
51952 [!RADIXI]: Define RADIXI.
51953 [!TWO52]: Define TWO52.
51954 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51955
51956 * manual/nptl.texi (cindex): Modify threads to pthreads.
51957
51958 2013-03-15 Joseph Myers <joseph@codesourcery.com>
51959
51960 * sysdeps/x86_64/preconfigure: Regenerated.
51961
51962 2013-03-14 Joseph Myers <joseph@codesourcery.com>
51963
51964 [BZ #14155]
51965 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51966 0x1p28 and above.
51967 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51968 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51969 0x1p28 and above.
51970 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51971 * math/libm-test.inc (j0_test): Do not allow one spurious
51972 underflow exception.
51973 (y1_test): Likewise.
51974
51975 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
51976
51977 * manual/Makefile (chapters): Add nptl.
51978 * manual/debug.texi (Debugging Support): Add link to Threads
51979 chapter.
51980 * manual/nptl.texi: New file.
51981
51982 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51983
51984 2013-03-14 Petr Baudis <pasky@ucw.cz>
51985
51986 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51987 for non-NULL pointer before the memory validity test. Pointed
51988 out by Holger Brunck <holger.brunck@keymile.com>.
51989
51990 2013-03-13 Andreas Schwab <schwab@suse.de>
51991
51992 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51993 instead of .os.
51994
51995 2013-03-13 Joseph Myers <joseph@codesourcery.com>
51996
51997 * timezone/zic.c: Update from tzcode 2013b.
51998
51999 2013-03-12 Carlos O'Donell <carlos@redhat.com>
52000
52001 * manual/install.texi (Configuring and compiling):
52002 Mention i686 and i586.
52003 * INSTALL: Regenerate.
52004
52005 2013-03-12 Roland McGrath <roland@hack.frob.com>
52006
52007 * sysdeps/init_array/elf-init.c: New file.
52008 * csu/elf-init.c
52009 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52010 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52011
52012 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52013 __gmon_start__ as global, but as static with a .preinit_array pointer.
52014 * sysdeps/init_array/gmon-start.c: New file. Use that.
52015 * sysdeps/init_array/crti.S: New file, empty except for comments.
52016 * sysdeps/init_array/crtn.S: Likewise.
52017
52018 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
52019
52020 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52021 definining bcopy.
52022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52023 Remove Prefer_SSE_for_memop.
52024 * sysdeps/x86_64/multiarch/init-arch.h: Remove
52025 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52026 HAS_PREFER_SSE_FOR_MEMOP.
52027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52028 memset-x86-64.
52029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52030 Remove bzero, memset ifunc support.
52031 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52032 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52033 * sysdeps/x86_64/multiarch/memset.S: Likewise.
52034 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52035
52036 2013-03-11 Andreas Schwab <schwab@suse.de>
52037
52038 [BZ #15234]
52039 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52040 by SHLIB_COMPAT.
52041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52042 (GLIBC_2.16): Remove pthread_atfork.
52043
52044 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
52045
52046 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52047 (ptestcases.h): Likewise.
52048
52049 2013-03-08 Roland McGrath <roland@hack.frob.com>
52050
52051 * Makeconfig ($(common-objpfx)config.status): Depend on
52052 sysdeps/*/preconfigure{,.in} too.
52053
52054 2013-03-08 Joseph Myers <joseph@codesourcery.com>
52055
52056 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52057 (__free_hook): Use void * instead of __malloc_ptr_t.
52058 (__malloc_hook): Likewise.
52059 (__realloc_hook): Likewise.
52060 (__memalign_hook): Likewise.
52061 (__after_morecore_hook): Likewise.
52062 * malloc/arena.c (save_malloc_hook): Likewise.
52063 (save_free_hook): Likewise.
52064 * malloc/hooks.c (malloc_hook_ini): Likewise.
52065 (realloc_hook_ini): Likewise.
52066 (memalign_hook_ini): Likewise.
52067 * malloc/malloc.c (malloc_hook_ini): Likewise.
52068 (realloc_hook_ini): Likewise.
52069 (memalign_hook_ini): Likewise.
52070 (__free_hook): Likewise.
52071 (__malloc_hook): Likewise.
52072 (__realloc_hook): Likewise.
52073 (__memalign_hook): Likewise.
52074 (__libc_malloc): Likewise.
52075 (__libc_free): Likewise.
52076 (__libc_realloc): Likewise.
52077 (__libc_memalign): Likewise.
52078 (__libc_valloc): Likewise.
52079 (__libc_pvalloc): Likewise.
52080 (__libc_calloc): Likewise.
52081 (__posix_memalign): Likewise.
52082 * malloc/morecore.c (__sbrk): Likewise.
52083 (__default_morecore): Likewise.
52084
52085 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52086
52087 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52088 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52089 __malloc_ptrdiff_t.
52090
52091 * malloc/malloc.h (__malloc_size_t): Remove macro.
52092 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52093 __malloc_size_t.
52094 (old_memalign_hook): Likewise.
52095 (old_realloc_hook): Likewise.
52096 (struct hdr): Likewise.
52097 (flood): Likewise.
52098 (mallochook): Likewise.
52099 (memalignhook): Likewise.
52100 (reallochook): Likewise.
52101 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52102 (tr_old_realloc_hook): Likewise.
52103 (tr_old_memalign_hook): Likewise.
52104 (tr_mallochook): Likewise.
52105 (tr_reallochook): Likewise.
52106 (tr_memalignhook): Likewise.
52107
52108 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52109
52110 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52111 default_ldbl_pack and using as default implementation.
52112 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52113 implementation.
52114 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52115 redundant definition.
52116 (ldbl_insert_mantissa): Likewise.
52117 (ldbl_canonicalize): Likewise.
52118 (ldbl_nearbyint): Likewise.
52119 (ldbl_pack): Rename to ldbl_pack_ppc.
52120 (ldbl_unpack): Rename to ldbl_unpack_ppc.
52121 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52122 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52123
52124 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52125
52126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52127 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52128 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52129 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52131 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52132 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52133 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52134
52135 2013-03-07 Andreas Jaeger <aj@suse.de>
52136
52137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52138 bits/mman-linux.h.
52139
52140 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52141
52142 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52143 Include mpa.h and declare __MPEXP.
52144 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52145 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52146 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52147 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52148 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52149 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52150 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52151
52152 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52153 (__slowpow): Use long double EXPL and LOGL functions to
52154 compute POW.
52155 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52156 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52157 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52158 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52159 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52160 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52161
52162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52163 intermediate variable to calculate exponent.
52164 (__sqr): Likewise.
52165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52166 Likewise.
52167 (__sqr): Likewise.
52168
52169 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52170 [!NO__SQR]: Define __sqr.
52171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52172 and NO__SQR. Remove all code except __mul and __sqr. Include
52173 sysdeps/ieee754/dbl-64/mpa.c.
52174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52175
52176 [BZ #12723]
52177 * posix/Makefile (tests): Add tst-pathconf.
52178 * posix/tst-pathconf.c: New test case.
52179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52180 _PC_PIPE_BUF.
52181 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52182
52183 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
52184
52185 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52186
52187 2013-03-06 Andreas Jaeger <aj@suse.de>
52188
52189 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52190 definition via __MAP_ANONYMOUS.
52191
52192 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52193 it's not part of Linux headers.
52194
52195 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52196 (MAP_HUGE_MASK): Define.
52197
52198 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52199 Define.
52200 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52202 Define.
52203 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52204 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52205 Define.
52206 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52208 Define.
52209 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52210
52211 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52212 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52213 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52214 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52215 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52216 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52217
52218 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52219 Handle f2fs.
52220
52221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52222 Handle f2fs and efivarfs.
52223
52224 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52225 f2fs.
52226
52227 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52228 (EFIVARFS_MAGIC): Add.
52229 (F2FS_LINK_MAX): Add.
52230
52231 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52232
52233 * stdio-common/vfprintf.c: Replace __builtin_expect with
52234 __glibc_unlikely.
52235
52236 2013-03-06 Joseph Myers <joseph@codesourcery.com>
52237
52238 [BZ #13550]
52239 * sysdeps/generic/bp-sym.h: Remove file.
52240 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52241 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52242 <bp-sym.h> and <bp-asm.h>.
52243 (__longjmp): Don't use BP_SYM.
52244 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52245 and <bp-asm.h>.
52246 (memcpy): Don't use BP_SYM.
52247 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52248 <bp-sym.h> and <bp-asm.h>.
52249 (memcpy): Don't use BP_SYM.
52250 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52251 <bp-asm.h>.
52252 (memcpy): Don't use BP_SYM.
52253 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52254 <bp-asm.h>.
52255 (memset): Don't use BP_SYM.
52256 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52257 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52258 (__bzero): Don't use BP_SYM.
52259 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52260 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52261 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52262 <bp-sym.h> and <bp-asm.h>.
52263 (memcmp): Don't use BP_SYM. Remove comment about bounded
52264 pointers.
52265 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52266 <bp-sym.h> and <bp-asm.h>.
52267 (memcpy): Don't use BP_SYM.
52268 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52269 <bp-sym.h> and <bp-asm.h>.
52270 (memset): Don't use BP_SYM.
52271 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52272 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52273 (__bzero): Don't use BP_SYM.
52274 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52275 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52276 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52277 <bp-sym.h> and <bp-asm.h>.
52278 (strncmp): Don't use BP_SYM. Remove comment about bounded
52279 pointers.
52280 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52281 <bp-sym.h> and <bp-asm.h>.
52282 (memcpy): Don't use BP_SYM.
52283 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52284 <bp-sym.h> and <bp-asm.h>.
52285 (memset): Don't use BP_SYM.
52286 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52287 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52288 (__bzero): Don't use BP_SYM.
52289 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52290 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52292 <bp-sym.h> and <bp-asm.h>.
52293 (__memchr): Don't use BP_SYM.
52294 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52295 <bp-sym.h> and <bp-asm.h>.
52296 (memcmp): Don't use BP_SYM. Remove comment about bounded
52297 pointers.
52298 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52299 <bp-sym.h> and <bp-asm.h>.
52300 (memcpy): Don't use BP_SYM.
52301 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52302 <bp-sym.h> and <bp-asm.h>.
52303 (__mempcpy): Don't use BP_SYM.
52304 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52305 <bp-sym.h> and <bp-asm.h>.
52306 (__memrchr): Don't use BP_SYM.
52307 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52308 <bp-sym.h> and <bp-asm.h>.
52309 (memset): Don't use BP_SYM.
52310 (__bzero): Likewise.
52311 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52312 <bp-sym.h> and <bp-asm.h>.
52313 (__rawmemchr): Don't use BP_SYM.
52314 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52315 <bp-sym.h> and <bp-asm.h>.
52316 (__STRCMP): Don't use BP_SYM.
52317 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52318 <bp-sym.h> and <bp-asm.h>.
52319 (strchr): Don't use BP_SYM.
52320 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52321 <bp-sym.h> and <bp-asm.h>.
52322 (__strchrnul): Don't use BP_SYM.
52323 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52324 <bp-sym.h> and <bp-asm.h>.
52325 (strlen): Don't use BP_SYM.
52326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52327 <bp-sym.h> and <bp-asm.h>.
52328 (strncmp): Don't use BP_SYM. Remove comment about bounded
52329 pointers.
52330 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52331 <bp-sym.h> and <bp-asm.h>.
52332 (__strnlen): Don't use BP_SYM.
52333 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52334 <bp-sym.h> and <bp-asm.h>.
52335 (__GI__setjmp): Don't use BP_SYM.
52336 (_setjmp): Likewise.
52337 (__sigsetjmp): Likewise.
52338 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52339 (L(start_addresses)): Don't use BP_SYM.
52340 (_start): Likewise.
52341 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52342 <bp-asm.h>.
52343 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52344 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52345 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52346 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52347 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52348 <bp-asm.h>.
52349 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52350 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
52351 about bounded pointers.
52352 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52353 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52354 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52355 <bp-asm.h>.
52356 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
52357 about bounded pointers. Remove GKM FIXME comments.
52358 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52359 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52360 <bp-asm.h>.
52361 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52362 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
52363 Remove GKM FIXME comments.
52364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52366 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52367 <bp-asm.h>.
52368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
52369 about bounded pointers. Remove GKM FIXME comment.
52370 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52371 and <bp-asm.h>.
52372 (strncmp): Don't use BP_SYM. Remove comment about bounded
52373 pointers.
52374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52375 <bp-sym.h> and <bp-asm.h>.
52376 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52378 <bp-sym.h> and <bp-asm.h>.
52379 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
52380 comment.
52381
52382 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52383
52384 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52385 call free(NULL).
52386
52387 2013-03-05 David S. Miller <davem@davemloft.net>
52388
52389 * po/es.po: Update from translation team.
52390
52391 2013-03-05 Andreas Jaeger <aj@suse.de>
52392
52393 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52394 <bits/mman-linux.h>.
52395 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52396 is fine.
52397 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52398 <bits/mman-linux.h> to end of file.
52399 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52400 is fine.
52401 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52402 <bits/mman-linux.h> to end of file.
52403 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52404 is fine.
52405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52406 <bits/mman-linux.h> to end of file.
52407
52408 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52409 (MCL_CURRENT, MCL_FUTURE): Define here.
52410
52411 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52412
52413 [BZ #15232]
52414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52415 attribute_hidden.
52416 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52417
52418 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52419
52420 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52421 fourth parameter needed for rt_sigprocmask syscall.
52422 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52423 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52424 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52425 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52426 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52427 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52428
52429 2013-03-04 Joseph Myers <joseph@codesourcery.com>
52430
52431 [BZ #13550]
52432 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52433 comment about bounded pointers.
52434 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52435 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52436
52437 2013-03-04 Andreas Jaeger <aj@suse.de>
52438
52439 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52440 common definitions.
52441
52442 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52443 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52444 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52445 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52448
52449 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52450
52451 [BZ #15055]
52452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52453 __ieee754_sqrl instead of __sqrl.
52454
52455 2013-03-01 Joseph Myers <joseph@codesourcery.com>
52456
52457 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52458 * sysdeps/powerpc/fpu_control.h: ... here.
52459 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52460 * sysdeps/powerpc/bits/fenvinline.h: ... here.
52461 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52462 * sysdeps/powerpc/bits/mathinline.h: ... here.
52463
52464 2013-03-01 Roland McGrath <roland@hack.frob.com>
52465
52466 * elf/dl-hwcaps.c (_dl_important_hwcaps):
52467 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52468 to just [NEED_DL_SYSINFO_DSO].
52469 * elf/dl-support.c: Likewise.
52470 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52471 * elf/rtld.c (dl_main): Likewise.
52472 * elf/setup-vdso.h (setup_vdso): Likewise.
52473 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52474 * sysdeps/unix/sysv/linux/dl-sysdep.c
52475 (_dl_discover_osversion): Likewise.
52476
52477 2013-03-01 Carlos O'Donell <carlos@redhat.com>
52478
52479 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52480 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52481
52482 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
52483
52484 * NEWS: Mention libm performance improvements and non-x86 PI
52485 futex support.
52486
52487 * csu/libc-start.c (__pthread_initialize_minimal): Change
52488 function arguments.
52489 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52490
52491 2013-02-28 Joseph Myers <joseph@codesourcery.com>
52492
52493 [BZ #13550]
52494 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52495 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52496 <bp-sym.h> and <bp-asm.h>.
52497 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52498 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52499 and <bp-asm.h>.
52500 (memcpy): Don't use BP_SYM.
52501 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52502 <bp-asm.h>.
52503 (__mpn_add_n): Don't use BP_SYM.
52504 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52505 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52506 and <bp-asm.h>.
52507 (__mpn_addmul_1): Don't use BP_SYM.
52508 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52509 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52510 <bp-sym.h>.
52511 (_setjmp): Don't use BP_SYM.
52512 (__novmx_setjmp): Likewise.
52513 (__GI__setjmp): Likewise.
52514 (__vmx_setjmp): Likewise.
52515 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52516 <bp-sym.h>.
52517 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52518 (__bzero): Don't use BP_SYM.
52519 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52520 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52521 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52522 <bp-sym.h> and <bp-asm.h>.
52523 (memcpy): Don't use BP_SYM.
52524 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52525 <bp-sym.h> and <bp-asm.h>.
52526 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52528 <bp-sym.h> and <bp-asm.h>.
52529 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52530 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52531 <bp-asm.h>.
52532 (__mpn_lshift): Don't use BP_SYM.
52533 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52534 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52535 <bp-asm.h>.
52536 (memset): Don't use BP_SYM.
52537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52539 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52540 <bp-asm.h>.
52541 (__mpn_mul_1): Don't use BP_SYM.
52542 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52543 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52544 <bp-sym.h> and <bp-asm.h>.
52545 (memcmp): Don't use BP_SYM.
52546 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52547 <bp-sym.h> and <bp-asm.h>.
52548 (memcpy): Don't use BP_SYM.
52549 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52550 <bp-sym.h> and <bp-asm.h>.
52551 (memset): Don't use BP_SYM.
52552 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52553 <bp-sym.h> and <bp-asm.h>.
52554 (strncmp): Don't use BP_SYM.
52555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52556 <bp-sym.h> and <bp-asm.h>.
52557 (memcpy): Don't use BP_SYM.
52558 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52559 <bp-sym.h> and <bp-asm.h>.
52560 (memset): Don't use BP_SYM.
52561 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52562 <bp-sym.h> and <bp-asm.h>.
52563 (__memchr): Don't use BP_SYM.
52564 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52565 <bp-sym.h> and <bp-asm.h>.
52566 (memcmp): Don't use BP_SYM.
52567 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52568 <bp-sym.h> and <bp-asm.h>.
52569 (memcpy): Don't use BP_SYM.
52570 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52571 <bp-sym.h> and <bp-asm.h>.
52572 (__mempcpy): Don't use BP_SYM.
52573 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52574 <bp-sym.h> and <bp-asm.h>.
52575 (__memrchr): Don't use BP_SYM.
52576 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52577 <bp-sym.h> and <bp-asm.h>.
52578 (memset): Don't use BP_SYM.
52579 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52580 <bp-sym.h> and <bp-asm.h>.
52581 (__rawmemchr): Don't use BP_SYM.
52582 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52583 <bp-sym.h> and <bp-asm.h>.
52584 (__STRCMP): Don't use BP_SYM.
52585 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52586 <bp-sym.h> and <bp-asm.h>.
52587 (strchr): Don't use BP_SYM.
52588 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52589 <bp-sym.h> and <bp-asm.h>.
52590 (__strchrnul): Don't use BP_SYM.
52591 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52592 <bp-sym.h> and <bp-asm.h>.
52593 (strlen): Don't use BP_SYM.
52594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52595 <bp-sym.h> and <bp-asm.h>.
52596 (strncmp): Don't use BP_SYM.
52597 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52598 <bp-sym.h> and <bp-asm.h>.
52599 (__strnlen): Don't use BP_SYM.
52600 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52601 <bp-asm.h>.
52602 (__mpn_rshift): Don't use BP_SYM.
52603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52604 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52605 <bp-sym.h> and <bp-asm.h>.
52606 (__sigsetjmp): Don't use BP_SYM.
52607 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52608 (L(start_addresses)): Don't use BP_SYM.
52609 (_start): Likewise.
52610 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52611 <bp-asm.h>.
52612 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52613 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52614 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52615 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52616 <bp-asm.h>.
52617 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52618 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52619 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52620 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52621 <bp-asm.h>.
52622 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
52623 comments.
52624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52625 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52626 <bp-asm.h>.
52627 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
52628 FIXME comments.
52629 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52630 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52631 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52632 <bp-asm.h>.
52633 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
52634 comment.
52635 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52636 and <bp-asm.h>.
52637 (strncmp): Don't use BP_SYM,
52638 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52639 <bp-asm.h>.
52640 (__mpn_sub_n): Don't use BP_SYM.
52641 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52642 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52643 and <bp-asm.h>.
52644 (__mpn_submul_1): Don't use BP_SYM.
52645 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52647 <bp-sym.h> and <bp-asm.h>.
52648 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52650 <bp-sym.h> and <bp-asm.h>.
52651 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
52652 comment.
52653
52654 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52655
52656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52657 Use ZK to minimize writes to Z.
52658 (sub_magnitudes): Simplify code a bit.
52659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52660 Use ZK to minimize writes to Z.
52661 (sub_magnitudes): Simplify code a bit.
52662
52663 2013-02-27 Roland McGrath <roland@hack.frob.com>
52664
52665 * csu/gmon-start.c: Add special exception to license text.
52666
52667 2013-02-27 Richard Henderson <rth@redhat.com>
52668
52669 * scripts/config.guess: Update from config.git.
52670 * scripts/config.sub: Likewise.
52671
52672 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52673
52674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52675
52676 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52677
52678 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52679
52680 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52681
52682 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52683
52684 2013-02-26 Roland McGrath <roland@hack.frob.com>
52685
52686 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52687 [$(build-shared = yes].
52688
52689 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52690
52691 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52692 (__mul): Reduce iterations for calculating mantissa.
52693
52694 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52695 MPTWO.
52696 (__mpranred): Likewise.
52697
52698 [BZ #15160]
52699 * malloc/memusagestat.c (main): Draw graphs for heap and stack
52700 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52701
52702 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
52703
52704 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52705 Define __attribute__.
52706
52707 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52708
52709 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52710 unused.
52711 * posix/regex_internal.h (__attribute): Remove.
52712 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52713 (re_string_context_at): Likewise.
52714 (bitset_not): Use __attribute__ and mark function as possibly
52715 unused.
52716 (bitset_merge): Likewise.
52717 (bitset_mask): Likewise.
52718 (re_string_char_size_at): Likewise.
52719 (re_string_wchar_at): Likewise.
52720 (re_string_elem_size_at): Likewise.
52721
52722 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52723
52724 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52725 code.
52726 (cc32): Likewise.
52727
52728 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52729 (__acr): Likewise.
52730 (__cpy): Likewise.
52731 (norm): Likewise.
52732 (denorm): Likewise.
52733 (__dbl_mp): Likewise.
52734 (add_magnitudes): Likewise.
52735 (sub_magnitudes): Likewise.
52736 (__mul): Likewise.
52737 (__inv): Likewise.
52738
52739 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52740 style.
52741
52742 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52743 style.
52744
52745 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52746 code.
52747
52748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52749 up changes with default code.
52750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52751 Likewise.
52752
52753 2013-02-24 Allan McRae <allan@archlinux.org>
52754
52755 * manual/socket.texi (The Internet Namespace): Order menu items
52756 to match that in the file.
52757
52758 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52759 node listing of the info page menu.
52760
52761 2013-02-21 Joseph Myers <joseph@codesourcery.com>
52762
52763 [BZ #13550]
52764 * sysdeps/i386/bp-asm.h: Remove file.
52765 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52766 (PARMS): Do not use macros from bp-asm.h.
52767 (S1): Likewise.
52768 (S2): Likewise.
52769 (SIZE): Likewise.
52770 (__mpn_add_n): Do not use BP_SYM
52771 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52772 "bp-asm.h".
52773 (PARMS): Do not use macros from bp-asm.h.
52774 (S1): Likewise.
52775 (SIZE): Likewise.
52776 (__mpn_addmul_1): Do not use BP_SYM
52777 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52778 "bp-asm.h".
52779 (PARMS): Do not use macros from bp-asm.h.
52780 (SIGMSK): Likewise.
52781 (_setjmp): Likewise. Do not use BP_SYM.
52782 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52783 "bp-asm.h".
52784 (PARMS): Do not use macros from bp-asm.h.
52785 (SIGMSK): Likewise.
52786 (setjmp): Likewise. Do not use BP_SYM.
52787 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52788 "bp-asm.h".
52789 (PARMS): Do not use macros from bp-asm.h.
52790 (__frexp): Do not use BP_SYM.
52791 (frexp): Likewise.
52792 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52793 "bp-asm.h".
52794 (PARMS): Do not use macros from bp-asm.h.
52795 (__frexpf): Do not use BP_SYM.
52796 (frexpf): Likewise.
52797 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52798 "bp-asm.h".
52799 (PARMS): Do not use macros from bp-asm.h.
52800 (__frexpl): Do not use BP_SYM.
52801 (frexpl): Likewise.
52802 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52803 "bp-asm.h".
52804 (PARMS): Do not use macros from bp-asm.h.
52805 (__remquo): Do not use BP_SYM.
52806 (remquo): Likewise.
52807 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52808 "bp-asm.h".
52809 (PARMS): Do not use macros from bp-asm.h.
52810 (__remquof): Do not use BP_SYM.
52811 (remquof): Likewise.
52812 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52813 "bp-asm.h".
52814 (PARMS): Do not use macros from bp-asm.h.
52815 (__remquol): Do not use BP_SYM.
52816 (remquol): Likewise.
52817 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52818 "bp-asm.h".
52819 (PARMS): Do not use macros from bp-asm.h.
52820 (DEST): Likewise.
52821 (SRC): Likewise.
52822 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
52823 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52824 "bp-asm.h".
52825 (PARMS): Do not use macros from bp-asm.h.
52826 (strlen): Do not use BP_SYM.
52827 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52828 "bp-asm.h".
52829 (PARMS): Do not use macros from bp-asm.h.
52830 (S1): Likewise.
52831 (S2): Likewise.
52832 (SIZE): Likewise.
52833 (__mpn_add_n): Do not use BP_SYM.
52834 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52835 "bp-asm.h".
52836 (PARMS): Do not use macros from bp-asm.h.
52837 (S1): Likewise.
52838 (SIZE): Likewise.
52839 (__mpn_addmul_1): Do not use BP_SYM.
52840 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52841 weak_alias.
52842 (bzero): Likewise.
52843 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52844 "bp-asm.h".
52845 (PARMS): Do not use macros from bp-asm.h.
52846 (S): Likewise.
52847 (SIZE): Likewise.
52848 (__mpn_lshift): Do not use BP_SYM.
52849 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52850 "bp-asm.h".
52851 (PARMS): Do not use macros from bp-asm.h.
52852 (DEST): Likewise.
52853 (SRC): Likewise.
52854 (LEN): Likewise.
52855 (memcpy): Likewise. Do not use BP_SYM.
52856 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52857 libc_hidden_def and weak_alias.
52858 (mempcpy): Do not use BP_SYM in weak_alias.
52859 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52860 "bp-asm.h".
52861 (PARMS): Do not use macros from bp-asm.h.
52862 (DEST): Likewise.
52863 (LEN): Likewise.
52864 [!BZERO_P] (CHR): Likewise.
52865 (memset): Likewise. Do not use BP_SYM.
52866 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52867 "bp-asm.h".
52868 (PARMS): Do not use macros from bp-asm.h.
52869 (S1): Likewise.
52870 (SIZE): Likewise.
52871 (__mpn_mul_1): Do not use BP_SYM.
52872 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52873 "bp-asm.h".
52874 (PARMS): Do not use macros from bp-asm.h.
52875 (S): Likewise.
52876 (SIZE): Likewise.
52877 (__mpn_rshift): Do not use BP_SYM.
52878 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52879 "bp-asm.h".
52880 (PARMS): Do not use macros from bp-asm.h.
52881 (STR): Likewise.
52882 (CHR): Likewise.
52883 (strchr): Likewise. Do not use BP_SYM.
52884 (index): Do not use BP_SYM in weak_alias.
52885 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52886 "bp-asm.h".
52887 (PARMS): Do not use macros from bp-asm.h.
52888 (DEST): Likewise.
52889 (SRC): Likewise.
52890 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
52891 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52892 "bp-asm.h".
52893 (PARMS): Do not use macros from bp-asm.h.
52894 (strlen): Do not use BP_SYM.
52895 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52896 "bp-asm.h".
52897 (PARMS): Do not use macros from bp-asm.h.
52898 (S1): Likewise.
52899 (S2): Likewise.
52900 (SIZE): Likewise.
52901 (__mpn_sub_n): Do not use BP_SYM.
52902 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52903 "bp-asm.h".
52904 (PARMS): Do not use macros from bp-asm.h.
52905 (S1): Likewise.
52906 (SIZE): Likewise.
52907 (__mpn_submul_1): Do not use BP_SYM.
52908 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52909 "bp-asm.h".
52910 (PARMS): Do not use macros from bp-asm.h.
52911 (S1): Likewise.
52912 (S2): Likewise.
52913 (SIZE): Likewise.
52914 (__mpn_add_n): Do not use BP_SYM.
52915 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52916 weak_alias.
52917 (bzero): Likewise.
52918 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52919 "bp-asm.h".
52920 (PARMS): Do not use macros from bp-asm.h.
52921 (BLK2): Likewise.
52922 (LEN): Likewise.
52923 (memcmp): Do not use BP_SYM.
52924 (bcmp): Do not use BP_SYM in weak_alias.
52925 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52926 "bp-asm.h".
52927 (PARMS): Do not use macros from bp-asm.h.
52928 (DEST): Likewise.
52929 (SRC): Likewise.
52930 (LEN): Likewise.
52931 (memcpy): Likewise. Do not use BP_SYM.
52932 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52933 "bp-asm.h".
52934 (PARMS): Do not use macros from bp-asm.h.
52935 (DEST): Likewise.
52936 (SRC): Likewise.
52937 (LEN): Likewise.
52938 (memmove): Likewise. Do not use BP_SYM.
52939 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52940 "bp-asm.h".
52941 (PARMS): Do not use macros from bp-asm.h.
52942 (DEST): Likewise.
52943 (SRC): Likewise.
52944 (LEN): Likewise.
52945 (__mempcpy): Likewise. Do not use BP_SYM.
52946 (mempcpy): Do not use BP_SYM in weak_alias.
52947 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52948 "bp-asm.h".
52949 (PARMS): Do not use macros from bp-asm.h.
52950 (DEST): Likewise.
52951 (LEN): Likewise.
52952 [!BZERO_P] (CHR): Likewise.
52953 (memset): Likewise. Do not use BP_SYM.
52954 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52955 "bp-asm.h".
52956 (PARMS): Do not use macros from bp-asm.h.
52957 (STR2): Likewise.
52958 (strcmp): Do not use BP_SYM.
52959 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52960 "bp-asm.h".
52961 (PARMS): Do not use macros from bp-asm.h.
52962 (STR): Likewise.
52963 (DELIM): Likewise.
52964 [USE_AS_STRTOK_R] (SAVE): Likewise.
52965 (FUNCTION): Likewise. Do not use BP_SYM.
52966 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52967 aliases.
52968 (strtok_r): Likewise.
52969 (__GI___strtok_r): Likewise.
52970 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52971 (PARMS): Do not use macros from bp-asm.h.
52972 (S): Likewise.
52973 (SIZE): Likewise.
52974 (__mpn_lshift): Do not use BP_SYM.
52975 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52976 (PARMS): Do not use macros from bp-asm.h.
52977 (STR): Likewise.
52978 (CHR): Likewise.
52979 (__memchr): Do not use BP_SYM.
52980 (memchr): Do not use BP_SYM in weak_alias.
52981 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52982 (PARMS): Do not use macros from bp-asm.h.
52983 (BLK2): Likewise.
52984 (LEN): Likewise.
52985 (memcmp): Do not use BP_SYM.
52986 (bcmp): Do not use BP_SYM in weak_alias.
52987 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52988 (PARMS): Do not use macros from bp-asm.h.
52989 (S1): Likewise.
52990 (SIZE): Likewise.
52991 (__mpn_mul_1): Do not use BP_SYM.
52992 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52993 "bp-asm.h".
52994 (PARMS): Do not use macros from bp-asm.h.
52995 (STR): Likewise.
52996 (CHR): Likewise.
52997 (__rawmemchr): Do not use BP_SYM.
52998 (rawmemchr): Do not use BP_SYM in weak_alias.
52999 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53000 (PARMS): Do not use macros from bp-asm.h.
53001 (S): Likewise.
53002 (SIZE): Likewise.
53003 (__mpn_rshift): Do not use BP_SYM.
53004 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53005 (PARMS): Do not use macros from bp-asm.h.
53006 (SIGMSK): Likewise.
53007 (__sigsetjmp): Likewise. Do not use BP_SYM.
53008 * sysdeps/i386/start.S: Do not include "bp-sym.h".
53009 (_start): Do not use BP_SYM.
53010 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53011 (PARMS): Do not use macros from bp-asm.h.
53012 (DEST): Likewise.
53013 (SRC): Likewise.
53014 (__stpcpy): Likewise. Do not use BP_SYM.
53015 (stpcpy): Do not use BP_SYM in weak_alias.
53016 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53017 "bp-asm.h".
53018 (PARMS): Do not use macros from bp-asm.h.
53019 (DEST): Likewise.
53020 (SRC): Likewise.
53021 (LEN): Likewise.
53022 (__stpncpy): Likewise. Do not use BP_SYM.
53023 (stpncpy): Do not use BP_SYM in weak_alias.
53024 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53025 (PARMS): Do not use macros from bp-asm.h.
53026 (STR): Likewise.
53027 (CHR): Likewise.
53028 (strchr): Likewise. Do not use BP_SYM.
53029 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53030 "bp-asm.h".
53031 (PARMS): Do not use macros from bp-asm.h.
53032 (STR): Likewise.
53033 (CHR): Likewise.
53034 (__strchrnul): Likewise. Do not use BP_SYM.
53035 (strchrnul): Do not use BP_SYM in weak_alias.
53036 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53037 "bp-asm.h".
53038 (PARMS): Do not use macros from bp-asm.h.
53039 (STOP): Likewise.
53040 (strcspn): Do not use BP_SYM.
53041 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53042 "bp-asm.h".
53043 (PARMS): Do not use macros from bp-asm.h.
53044 (STR): Likewise.
53045 (STOP): Likewise.
53046 (strpbrk): Likewise. Do not use BP_SYM.
53047 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53048 "bp-asm.h".
53049 (PARMS): Do not use macros from bp-asm.h.
53050 (STR): Likewise.
53051 (CHR): Likewise.
53052 (strrchr): Likewise. Do not use BP_SYM.
53053 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53054 (PARMS): Do not use macros from bp-asm.h.
53055 (SKIP): Likewise.
53056 (strspn): Do not use BP_SYM.
53057 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53058 (PARMS): Do not use macros from bp-asm.h.
53059 (STR): Likewise.
53060 (DELIM): Likewise.
53061 (SAVE): Likewise.
53062 (FUNCTION): Likewise. Do not use BP_SYM.
53063 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53064 aliases.
53065 (strtok_r): Likewise.
53066 (__GI___strtok_r): Likewise.
53067 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53068 (PARMS): Do not use macros from bp-asm.h.
53069 (S1): Likewise.
53070 (S2): Likewise.
53071 (SIZE): Likewise.
53072 (__mpn_sub_n): Do not use BP_SYM.
53073 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53074 "bp-asm.h".
53075 (PARMS): Do not use macros from bp-asm.h.
53076 (S1): Likewise.
53077 (SIZE): Likewise.
53078 (__mpn_submul_1): Do not use BP_SYM.
53079 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53080 <bp-sym.h>.
53081 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53082 and <bp-asm.h>.
53083 (PARMS): Do not use macros from bp-asm.h.
53084 (FLAGS): Likewise.
53085 (PTID): Likewise.
53086 (TLS): Likewise.
53087 (CTID): Likewise.
53088 (__clone): Do not use BP_SYM.
53089 (clone): Do not use BP_SYM in weak_alias.
53090 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53091 and <bp-asm.h>.
53092 (PARMS): Do not use macros from bp-asm.h.
53093 (LEN): Likewise.
53094 (__mmap64): Do not use BP_SYM.
53095 (mmap64): Do not use BP_SYM in weak_alias.
53096 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53097 <bp-sym.h> and <bp-asm.h>.
53098 (PARMS): Do not use macros from bp-asm.h.
53099 (__posix_fadvise64_l64): Do not use BP_SYM.
53100 * sysdeps/unix/sysv/linux/i386/semtimedop.S
53101 (PARMS): Do not use macros from bp-asm.h.
53102 (NSOPS): Likewise.
53103 (semtimedop): Do not use BP_SYM.
53104 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53105 and <bp-asm.h>.
53106
53107 2013-02-21 Allan McRae <allan@archlinux.org>
53108
53109 * manual/message.texi (Charset conversion in gettext):
53110 Move @end statement to beginning of line.
53111
53112 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53113
53114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53115 static.
53116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53117 Likewise.
53118
53119 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53120 (denorm): Likewise.
53121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53123
53124 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53125
53126 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53127 tail-call to the resolved function if pltexit isn't needed.
53128
53129 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53130
53131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53132 or Y being zero as being unlikely.
53133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53134 Likewise.
53135
53136 2013-02-20 Carlos O'Donell <carlos@redhat.com>
53137
53138 * manual/nss.texi (System Databases and Name Service Switch):
53139 Remove frobnicate @pxref.
53140
53141 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
53142
53143 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53144 __attribute__ ((unused)) to __attribute__ ((__unused__)).
53145
53146 2013-02-20 Petr Machata <pmachata@redhat.com>
53147
53148 * elf/elf.h (R_ARM_TARGET1): New macro.
53149 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53150 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53151 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53152 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53153 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53154 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53155 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53156 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53157 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53158 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53159 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53160 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53161 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53162 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53163 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53164 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53165 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53166 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53167 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53168 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53169 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53170 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53171 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53172 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53173 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53174 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53175 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53176 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53177 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53178 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53179 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53180 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53181 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53182 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53183 (R_ARM_THM_GOT_BREL12): Likewise.
53184 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53185 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53186 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53187 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53188 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53189 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53190 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53191 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53192 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53193
53194 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
53195
53196 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53197 __attribute_used__ to __attribute__ ((unused)).
53198
53199 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53200
53201 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53202 powerpc mpa.c.
53203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53204 comment formatting.
53205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53206
53207 2013-02-19 Joseph Myers <joseph@codesourcery.com>
53208
53209 [BZ #13550]
53210 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53211 Remove macro.
53212 (ENTER): Remove both macro definitions.
53213 (LEAVE): Likewise.
53214 (CHECK_BOUNDS_LOW): Likewise.
53215 (CHECK_BOUNDS_HIGH): Likewise.
53216 (CHECK_BOUNDS_BOTH): Likewise.
53217 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53218 (RETURN_BOUNDED_POINTER): Likewise.
53219 (RETURN_NULL_BOUNDED_POINTER): Likewise.
53220 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53221 (POP_ERRNO_LOCATION_RETURN): Likewise.
53222 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53223 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53224 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53225 macros.
53226 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53227 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53228 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53229 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53230 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53231 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53232 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53233 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53234 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53235 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53236 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53237 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53238 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53239 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53240 removed macros.
53241 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53242 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53243 macros.
53244 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53245 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53246 * sysdeps/i386/i586/memset.S (memset): Likewise.
53247 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53248 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53249 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53250 macros.
53251 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53252 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53253 Change uses of L(2) to L(out).
53254 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53255 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53256 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53257 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53258 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53259 removed macros.
53260 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53261 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53262 macros.
53263 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53264 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53265 (RETURN): Do not use macro LEAVE.
53266 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53267 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53268 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53269 * sysdeps/i386/i686/memset.S (memset): Likewise.
53270 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53271 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53272 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53273 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53274 Likewise.
53275 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53276 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
53277 L(1_2) and L(1_3) into L(1).
53278 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53279 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53280 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53281 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53282 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53283 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53284 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53286 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53287 macros.
53288 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53289 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53290 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53291 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53292 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53293 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53294 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53295 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53296 * sysdeps/i386/strcspn.S (strcspn): Likewise.
53297 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53298 * sysdeps/i386/strrchr.S (strrchr): Likewise.
53299 * sysdeps/i386/strspn.S (strspn): Likewise.
53300 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53301 conditional code.
53302 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53303 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53304 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53305 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
53306 L(1_3) into L(1_1).
53307 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53308 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53309 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53310 macros.
53311 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53312
53313 2013-02-19 Jakub Jelinek <jakub@redhat.com>
53314
53315 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53316 macro.
53317
53318 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53319
53320 * math/atest-exp.c (exp_mpn): Remove ROUND.
53321 * math/atest-exp2.c (exp_mpn): Likewise.
53322 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53323
53324 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53325 * stdlib/tst-tls-atexit-lib.c: Likewise.
53326 * stdlib/tst-tls-atexit.c: Likewise.
53327
53328 2013-02-18 Mike Frysinger <vapier@gentoo.org>
53329
53330 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53331 and __attribute_alloc_size__.
53332
53333 2013-02-18 Mike Frysinger <vapier@gentoo.org>
53334
53335 * include/programs/xmalloc.h: Change __attribute_alloc_size to
53336 __attribute_alloc_size__.
53337 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53338 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53339
53340 2013-02-18 Mike Frysinger <vapier@gentoo.org>
53341
53342 * include/programs/xmalloc.h: New file.
53343 * catgets/gencat.c: Include it.
53344 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53345 * elf/pldd.c: Likewise.
53346 * iconv/iconv_charmap.c: Likewise.
53347 * iconv/iconvconfig.c: Likewise.
53348 * iconv/strtab.c: Likewise.
53349 * locale/programs/locale.c: Likewise.
53350 * locale/programs/localedef.h: Likewise.
53351 * locale/programs/simple-hash.c: Likewise.
53352 * nscd/nscd.h: Likewise.
53353 * nss/makedb.c: Likewise.
53354 * sysdeps/generic/ldconfig.h: Likewise.
53355
53356 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53357
53358 * Versions.def: Add GLIBC_2.18.
53359 * include/link.h (struct link_map): New member l_tls_dtor_count.
53360 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53361 (__call_tls_dtors): Likewise.
53362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53363 __cxa_thread_atexit_impl.
53364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53365 Likewise.
53366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53367 Likewise.
53368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53369 Likewise.
53370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53371 Likewise.
53372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53374 Likewise.
53375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53376 Likewise.
53377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53379 Likewise.
53380 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53381 (tests): Add test case tst-tls-atexit.
53382 (modules-names): Add shared library for tst-tls-atexit.
53383 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53384 (GLIBC_PRIVATE): Add __call_tls_dtors.
53385 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53386 for libstdc++.
53387 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53388 * stdlib/tst-tls-atexit.c: New test case.
53389 * stdlib/tst-tls-atexit-lib.c: New test case.
53390
53391 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53392
53393 * elf/Versions (ld): Add _dl_find_dso_for_object.
53394 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53395 * elf/dl-open.c (_dl_find_dso_for_object): New function.
53396 (dl_open_worker): Use _dl_find_dso_for_object.
53397 * elf/dl-sym.c (do_sym): Likewise.
53398 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53399
53400 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53401
53402 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53403 Syntactic changes only.
53404 (_dl_runtime_profile): Do a tail-call to the resolved function.
53405
53406 2013-02-17 Joseph Myers <joseph@codesourcery.com>
53407
53408 [BZ #13550]
53409 * sysdeps/x86_64/bp-asm.h: Remove file.
53410 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53411 <bp-sym.h> and <bp-asm.h>.
53412 (__clone): Do not use BP_SYM.
53413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53414 <bp-sym.h> and <bp-asm.h>.
53415 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53416 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53417 "bp-asm.h".
53418 (_setjmp): Do not use BP_SYM.
53419 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53420 "bp-asm.h".
53421 (setjmp): Do not use BP_SYM.
53422 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53423 libc_hidden_def.
53424 (mempcpy): Do not use BP_SYM in weak_alias.
53425 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53426 "bp-asm.h".
53427 (strchr): Do not use BP_SYM.
53428 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53429 "bp-asm.h".
53430 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53431 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53432 (_start): Do not use BP_SYM.
53433 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53434 "bp-asm.h".
53435 (strcat): Do not use BP_SYM.
53436 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53437 "bp-asm.h".
53438 (STRCMP): Do not use BP_SYM.
53439 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53440 "bp-asm.h".
53441 (STRCPY): Do not use BP_SYM.
53442 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53443 "bp-asm.h".
53444 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53445 "bp-asm.h".
53446 (FUNCTION): Do not use BP_SYM.
53447 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53448 weak_alias.
53449 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53450
53451 2013-02-17 Andreas Jaeger <aj@suse.de>
53452
53453 * time/Versions: Sort entries.
53454 * string/Versions: Likewise.
53455 * resolv/Versions: Likewise.
53456 * posix/Versions: Likewise.
53457 * iconv/Versions: Likewise.
53458 * elf/Versions: Likewise.
53459 * wcsmbs/Versions: Likewise.
53460
53461 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53462
53463 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53464 loop termination condition.
53465
53466 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53467 variable to calculate EZ.
53468 (__sqr): Likewise.
53469
53470 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53471 the lower precision input.
53472
53473 2013-02-15 Joseph Myers <joseph@codesourcery.com>
53474
53475 [BZ #13550]
53476 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53477 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53478 (run-via-rtld-prefix): Do not handle %-bp tests.
53479 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53480 (all-object-suffixes): Remove .ob.
53481 (bppfx): Remove variable.
53482 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53483 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53484 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53485 [$(build-bounded) = yes] (libtype.ob): Likewise.
53486 * Makerules (elide-routines.ob): Remove variable.
53487 (do-tests-clean): Do not handle *-bp.out.
53488 (common-mostlyclean): Do not handle *-bp and *-bp.out.
53489 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53490 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53491 (tests): Do not include $(tests-bp.out).
53492 (xtests): Do not include $(xtests-bp.out).
53493 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53494 [$(build-bounded) = yes] ($(addprefix
53495 $(objpfx),$(binaries-bounded))): Remove rule.
53496 ($(objpfx)%-bp.out): Remove rule.
53497 * config.make.in (build-bounded): Remove variable.
53498 * crypt/Makefile [$(build-bounded) = yes]
53499 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53500 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53501 append to variable.
53502 [$(build-bounded) = yes] (install-lib): Likewise.
53503 [$(build-bounded) = yes] (generated): Likewise.
53504 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53505 Remove rule.
53506 * intl/Makefile [$(build-bounded) = yes]
53507 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53508 * math/Makefile [$(build-bounded) = yes]
53509 ($(tests:%=$(objpfx)%-bp): Likewise.
53510 * misc/Makefile [$(build-bounded) = yes]
53511 ($(objpfx)tst-tsearch-bp): Likewise.
53512 * nptl/Makeconfig (bounded-thread-library): Remove variable.
53513 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53514 Remove dependency.
53515 * string/Makefile (o-objects.ob): Remove variable.
53516 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53517 (CFLAGS-.ob): Remove variable.
53518 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53519 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53520 both definitions of variable.
53521 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53522 (ASFLAGS-.ob): Remove variable.
53523
53524 2013-02-14 Joseph Myers <joseph@codesourcery.com>
53525
53526 [BZ #13550]
53527 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53528 Remove __BOUNDED_POINTERS__ from condition.
53529 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53530 * string/bits/string2.h [!__NO_STRING_INLINES &&
53531 !__BOUNDED_POINTERS__]: Likewise.
53532 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53533 Likewise.
53534 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53535 Remove conditional code.
53536 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53537 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53538 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53539 condition.
53540
53541 [BZ #13550]
53542 * csu/libc-start.c: Do not include <bp-sym.h>.
53543 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53544 * elf/dl-open.c: Do not include <bp-sym.h>.
53545 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53546 * math/fegetenv.c: Do not include <bp-sym.h>.
53547 (fegetenv): Do not use BP_SYM in versioned symbols.
53548 * nptl/sysdeps/pthread/bits/libc-lockP.h
53549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53550 <bp-sym.h>.
53551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53552 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53554 (__pthread_mutex_destroy): Likewise.
53555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53556 (__pthread_mutex_lock): Likewise.
53557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53558 (__pthread_mutex_trylock): Likewise.
53559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53560 (__pthread_mutex_unlock): Likewise.
53561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53562 (__pthread_mutexattr_init): Likewise.
53563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53564 (__pthread_mutexattr_destroy): Likewise.
53565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53566 (__pthread_mutexattr_settype): Likewise.
53567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53568 (__pthread_rwlock_init): Likewise.
53569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53570 (__pthread_rwlock_destroy): Likewise.
53571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53572 (__pthread_rwlock_rdlock): Likewise.
53573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53574 (__pthread_rwlock_tryrdlock): Likewise.
53575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53576 (__pthread_rwlock_wrlock): Likewise.
53577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53578 (__pthread_rwlock_trywrlock): Likewise.
53579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53580 (__pthread_rwlock_unlock): Likewise.
53581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53582 (__pthread_key_create): Likewise.
53583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53584 (__pthread_setspecific): Likewise.
53585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53586 (__pthread_getspecific): Likewise.
53587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53588 Likewise.
53589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53590 (_pthread_cleanup_push_defer): Likewise.
53591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53592 (_pthread_cleanup_pop_restore): Likewise.
53593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53594 (pthread_setcancelstate): Likewise.
53595 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53596 <bp-sym.h>.
53597 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53598 (memchr): Do not use BP_SYM in weak_alias.
53599 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53600 (fegetenv): Do not use BP_SYM in versioned symbols.
53601 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53602 (fesetenv): Do not use BP_SYM in versioned symbols.
53603 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53604 (feupdateenv): Do not use BP_SYM in versioned symbols.
53605 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53606 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53607 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53608 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53609 (open64): Do not use BP_SYM in weak_alias.
53610 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53611 (fegetenv): Do not use BP_SYM in versioned symbols.
53612 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53613 (fesetenv): Do not use BP_SYM in versioned symbols.
53614 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53615 (feupdateenv): Do not use BP_SYM in versioned symbols.
53616 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53617 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53618 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53619 (feraiseexcept): Do not use BP_SYM in versioned symbols.
53620 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53621 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53622 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53623 <bp-sym.h>.
53624 (__libc_start_main): Do not use BP_SYM.
53625
53626 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53627
53628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53629 redundant return line.
53630 (norm): Likewise.
53631 (denorm): Likewise.
53632 (dbl_mp): Likewise.
53633 (sub_magnitudes): Likewise.
53634 (__add): Likewise.
53635 (__sub): Likewise.
53636 (__mul): Likewise.
53637 (__inv): Likewise.
53638 (__dvd): Likewise.
53639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53640 (norm): Likewise.
53641 (denorm): Likewise.
53642 (dbl_mp): Likewise.
53643 (sub_magnitudes): Likewise.
53644 (__add): Likewise.
53645 (__sub): Likewise.
53646 (__mul): Likewise.
53647 (__inv): Likewise.
53648 (__dvd): Likewise.
53649
53650 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53651 instead of __mul.
53652 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53653 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53654 (cc32): Likewise.
53655
53656 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53657 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53659 of __mul for squares.
53660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53661 function
53662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53663 Likewise.
53664 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53665 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53666
53667 2013-02-13 Joseph Myers <joseph@codesourcery.com>
53668
53669 [BZ #13550]
53670 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53671 code.
53672 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53673 prototype or function definition. Rename ubp_* variables and
53674 parameters. Remove argv definitions conditional on
53675 [__BOUNDED_POINTERS__].
53676 * debug/backtrace.c (__backtrace): Do not use __unbounded.
53677 * elf/dl-runtime.c (_dl_fixup): Likewise.
53678 * include/set-hooks.h (RUN_HOOK): Likewise.
53679 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53680 definition.
53681 * string/strcpy.c (strcpy): Do not use __unbounded.
53682 * sysdeps/generic/frame.h (struct layout): Likewise.
53683 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53684 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53685 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53686 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53687 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53688 (__backtrace): Likewise.
53689 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53690 use __ptrvalue.
53691 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53692 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53693 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53694 Likewise.
53695 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53696 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53697 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53698 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53699 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53700 Do not use __unbounded.
53701 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53702 Rename __unboundedrlimits parameter to rlimits in prototype.
53703 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53704 Do not use __unbounded.
53705 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53706 not use __ptrvalue.
53707 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53708 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53709 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53710 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53711 __ptrvalue or __unbounded.
53712 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53713 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53714 use __unbounded.
53715 (__new_msgctl): Do not use __ptrvalue.
53716 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53717 __unbounded.
53718 (__libc_msgrcv): Do not use __ptrvalue.
53719 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53720 startup_info): Do not use __unbounded.
53721 (__libc_start_main): Likewise. Rename ubp_* variables and
53722 parameters. Remove argv definitions conditional on
53723 [__BOUNDED_POINTERS__].
53724 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53725 __ptrvalue.
53726 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53727 use __unbounded.
53728 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53729 or __ptrvalue.
53730 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53731 use __unbounded.
53732 (__new_shmctl): Do not use __ptrvalue.
53733 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53734 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53735 Likewise.
53736 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53737 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53738 (__libc_sigaction): Likewise.
53739 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53740 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53741 Likewise.
53742 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53743
53744 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
53745
53746 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53747
53748 * string/mempcpy.c: Implement by calling memcpy.
53749
53750 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53751
53752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53753
53754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53755 evaluation.
53756
53757 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53758 values in the mantissa.
53759
53760 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53761 minimize writes to Z.
53762 (sub_magnitudes): Simplify code a bit.
53763
53764 2013-02-12 Roland McGrath <roland@hack.frob.com>
53765
53766 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53767 from the message. The linker prefixes all warnings with that already.
53768
53769 2013-02-12 Andreas Schwab <schwab@suse.de>
53770
53771 [BZ #15078]
53772 * posix/regexec.c (extend_buffers): Add parameter min_len.
53773 (check_matching): Pass minimum needed length.
53774 (clean_state_log_if_needed): Likewise.
53775 (get_subexp): Likewise.
53776 * posix/Makefile (tests): Add bug-regex34.
53777 (bug-regex34-ENV): Define.
53778 * posix/bug-regex34.c: New file.
53779
53780 [BZ #11561]
53781 * posix/regcomp.c (parse_bracket_exp): When looking up collating
53782 elements compare against the byte sequence of it, not its name.
53783 * posix/Makefile (tests): Add bug-regex35.
53784 (bug-regex35-ENV): Define.
53785 * posix/bug-regex35.c: New file.
53786
53787 2013-02-11 Tom de Vries <tom@codesourcery.com>
53788
53789 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
53790 comment.
53791 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53792 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53793 (CHECK_EOL): Add undef.
53794
53795 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
53796
53797 * bits/stdlib-bsearch.h: New file.
53798 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53799 * stdlib/stdlib.h: Likewise.
53800
53801 2013-02-11 Roland McGrath <roland@hack.frob.com>
53802
53803 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53804 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53805 declaration.
53806 * manual/search.texi (Array Search Function): Add missing const in
53807 lfind prototype.
53808 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53809 declaration to use rlim_t.
53810 (Basic Scheduling Functions): Remove erroneous const from
53811 sched_getparam prototype. Remove erroneous * from
53812 sched_get_priority_max and sched_get_priority_min prototypes.
53813 (Resource Usage): Fix summary @comment on vtimes to refer to
53814 sys/vtimes.h rather than vtimes.h.
53815 Add missing *s in vtimes prototype.
53816 (Limits on Resources): Fix ulimit prototype to return long int.
53817 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53818 prototypes to use long int rather than double.
53819 (BSD Random): Fix initstate and setstate to use char *, not void *.
53820 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53821 prototype to make second argument 'struct aiocb64 *const[]'.
53822 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53823 (Status of AIO Operations): Remove erroneous const in aio_return and
53824 aio_return64 prototypes.
53825 (Synchronizing I/O): Fix sync prototype to return void.
53826 * manual/startup.texi (Suboptions): Remove an erroneous const in
53827 getsubopt prototype.
53828 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53829 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53830 use size_t rather than int.
53831 (Scanning All Users): Likewise for getpwent_r.
53832 (Setting Groups): Add missing const to setgroups prototype.
53833 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53834 * manual/socket.texi (Host Names): Fix gethostbyaddr and
53835 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53836 'const void *' rather than 'const char *'.
53837 (Host Address Functions): Likewise for inet_ntop.
53838 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53839 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53840 ssize_t for return value.
53841 (Sending Data): Likewise for send, sendto, sendmsg.
53842 (Socket Option Functions): Add a missing const in setsockopt prototype.
53843 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53844 use wchar_t for the argument.
53845 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53846 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53847 take no arguments.
53848 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53849 double/float/long double for second argument.
53850 Fix return types of significand, significandf, significandl.
53851 * manual/filesys.texi (Setting Permissions): Use mode_t for second
53852 argument in fchmod prototype.
53853 (File Owner): Use uid_t and gid_t in fchown prototype.
53854 (File Times): Add const to utimes, futimes, and lutimes prototypes.
53855 (Making Special Files): Use mode_t and dev_t in mknod prototype.
53856 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53857 use 'const struct dirent **' as argument types to CMP function pointer
53858 argument.
53859 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53860 (File Times): Fix summary magic @comment for struct utimbuf and utime
53861 to refer to utime.h, not time.h.
53862 * manual/string.texi (Argz Functions): Add missing const in
53863 argz_extract and argz_next prototypes.
53864 (Finding Tokens in a String): Likewise for basename.
53865 (String/Array Comparison): Fix typo in wcscasecmp prototype.
53866 (Copying and Concatenation): Fix typo in wmemmove prototype.
53867 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53868 (Signal Stack): Remove erroneous const in sigstack prototype.
53869 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53870 prototype.
53871 (Simple Calendar Time): Likewise for stime.
53872 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53873 prototype.
53874 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53875 say sys/sysctl.h instead.
53876 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53877 and vsyslog prototypes.
53878
53879 2013-02-11 Tom de Vries <tom@codesourcery.com>
53880
53881 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53882 Remove.
53883
53884 2013-02-11 Roland McGrath <roland@hack.frob.com>
53885
53886 * misc/sys/mman.h: Fix typo in mremap comment.
53887
53888 2013-02-08 Roland McGrath <roland@hack.frob.com>
53889
53890 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53891 the '\0' terminator.
53892
53893 2013-02-08 Joseph Myers <joseph@codesourcery.com>
53894
53895 [BZ #13550]
53896 * debug/segfault.c: Don't include <bp-checks.h>.
53897 * sysdeps/generic/bp-checks.h: Remove file.
53898 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53899 (__GETDENTS): Don't use CHECK_N.
53900 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53901 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53902 (__getgroups): Don't use CHECK_N.
53903 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53904 (setgroups): Don't use CHECK_N.
53905 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53906 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53907 (__libc_msgrcv): Don't use CHECK_N.
53908 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53909 (__libc_msgsnd): Don't use CHECK_N.
53910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53911 <bp-checks.h>.
53912 (__libc_pread): Don't use CHECK_N.
53913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53914 include <bp-checks.h>.
53915 (__libc_pread64): Don't use CHECK_N.
53916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53917 include <bp-checks.h>.
53918 (__libc_pwrite): Don't use CHECK_N.
53919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53920 include <bp-checks.h>.
53921 (__libc_pwrite64): Don't use CHECK_N.
53922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53923 <bp-checks.h>.
53924 (__libc_pread): Don't use CHECK_N.
53925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53926 include <bp-checks.h>.
53927 (__libc_pread64): Don't use CHECK_N.
53928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53929 include <bp-checks.h>.
53930 (__libc_pwrite): Don't use CHECK_N.
53931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53932 include <bp-checks.h>.
53933 (__libc_pwrite64): Don't use CHECK_N.
53934 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53935 (do_pread): Don't use CHECK_N.
53936 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53937 (do_pread64): Don't use CHECK_N.
53938 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53939 (do_pwrite): Don't use CHECK_N.
53940 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53941 (do_pwrite64): Don't use CHECK_N.
53942 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53943 (__libc_readv): Don't use CHECK_N.
53944 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53945 (semop): Don't use CHECK_N.
53946 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53947 <bp-checks.h>.
53948 (semtimedop): Don't use CHECK_N.
53949 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53950 (__libc_pread): Don't use CHECK_N.
53951 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53952 <bp-checks.h>.
53953 (__libc_pread64): Don't use CHECK_N.
53954 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53955 <bp-checks.h>.
53956 (__libc_pwrite): Don't use CHECK_N.
53957 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53958 <bp-checks.h>.
53959 (__libc_pwrite64): Don't use CHECK_N.
53960 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53961 <bp-checks.h>.
53962 (__libc_msgrcv): Don't use CHECK_N.
53963 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53964 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
53965 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53966 (__libc_writev): Don't use CHECK_N.
53967
53968 2013-02-08 Roland McGrath <roland@hack.frob.com>
53969
53970 * string/strcpy.c: Removed unused variable.
53971
53972 * Makeconfig (+sysdep-includes): Define with := rather than =.
53973 Use an existing include/ subdir of each sysdeps dir before it.
53974
53975 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53976
53977 * nscd/connection.c (register_traced_file): Comment function.
53978 [HAVE_INOTIFY] (union __inev): Define.
53979 [HAVE_INOTIFY] (inotify_check_files): New function.
53980 [HAVE_INOTIFY] (clear_db_cache): Likewise.
53981 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53982 clear_db_cache.
53983 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53984
53985 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53986
53987 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53988 loaded if not already and that a failure is permanent.
53989
53990 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53991
53992 [BZ #15006]
53993 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53994 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53995
53996 2013-02-08 Joseph Myers <joseph@codesourcery.com>
53997
53998 [BZ #13550]
53999 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54000 (CHECK_1_NULL_OK): Likewise.
54001 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54002 (__fxstat): Do not use CHECK_1.
54003 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54004 <bp-checks.h>.
54005 (___fxstat64): Do not use CHECK_1.
54006 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54007 <bp-checks.h>.
54008 (__fxstatat): Do not use CHECK_1.
54009 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54010 <bp-checks.h>.
54011 (__fxstatat64): Do not use CHECK_1.
54012 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54013 <bp-checks.h>.
54014 (__fxstat): Do not use CHECK_1.
54015 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54016 <bp-checks.h>.
54017 (__fxstatat): Do not use CHECK_1.
54018 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54019 <bp-checks.h>.
54020 (__getresgid): Do not use CHECK_1.
54021 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54022 <bp-checks.h>.
54023 (__getresuid): Do not use CHECK_1.
54024 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54025 <bp-checks.h>.
54026 (__lxstat): Do not use CHECK_1.
54027 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54028 <bp-checks.h>.
54029 (__old_msgctl): Do not use CHECK_1.
54030 (__new_msgctl): Likewise.
54031 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54032 <bp-checks.h>.
54033 (__new_setrlimit): Do not use CHECK_1.
54034 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54035 <bp-checks.h>.
54036 (__old_shmctl): Do not use CHECK_1.
54037 (__new_shmctl): Likewise.
54038 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54039 <bp-checks.h>.
54040 (__xstat): Do not use CHECK_1.
54041 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54042 (__lxstat): Do not use CHECK_1.
54043 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54044 <bp-checks.h>.
54045 (___lxstat64): Do not use CHECK_1.
54046 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54047 (__old_msgctl): Do not use CHECK_1.
54048 (__new_msgctl): Likewise.
54049 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54050 <bp-checks.h>.
54051 (__gettimeofday): Do not use CHECK_1.
54052 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54053 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54054 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54055 <bp-checks.h>.
54056 (__gettimeofday): Do not use CHECK_1.
54057 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54058 (__old_shmctl): Do not use CHECK_1_NULL_OK.
54059 (__new_shmctl): Do not use CHECK_1.
54060 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54061 <bp-checks.h>.
54062 (do_sigtimedwait): Do not use CHECK_1.
54063 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54064 <bp-checks.h>.
54065 (do_sigwaitinfo): Do not use CHECK_1.
54066 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54067 <bp-checks.h>.
54068 (msgctl): Do not use CHECK_1.
54069 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54070 <bp-checks.h>.
54071 (shmctl): Do not use CHECK_1.
54072 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54073 (ustat): Do not use CHECK_1.
54074 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54075 <bp-checks.h>.
54076 (__fxstat): Do not use CHECK_1.
54077 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54078 <bp-checks.h>.
54079 (__fxstatat): Do not use CHECK_1.
54080 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54081 <bp-checks.h>.
54082 (__lxstat): Do not use CHECK_1.
54083 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54084 <bp-checks.h>.
54085 (__xstat): Do not use CHECK_1.
54086 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54087 (__xstat): Do not use CHECK_1.
54088 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54089 (___xstat64): Do not use CHECK_1.
54090
54091 [BZ #13550]
54092 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54093 definitions.
54094 (CHECK_BOUNDS_HIGH): Likewise.
54095 * string/strcpy.c: Do not include <bp-checks.h>.
54096 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54097
54098 2013-02-07 Roland McGrath <roland@hack.frob.com>
54099
54100 * nscd/nscd-client.h (__nscd_drop_map_ref):
54101 Add __attribute__ ((unused)).
54102 * nis/nss-nisplus.h (niserr2nss): Likewise.
54103
54104 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54105 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54106
54107 * csu/libc-tls.c (init_static_tls, init_slotinfo):
54108 Remove inline keyword.
54109 * include/rounding-mode.h (round_away): Likewise.
54110 * libio/wfileops.c (adjust_wide_data): Likewise.
54111 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54112 (__m128i_strloadu_tolower): Likewise.
54113 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54114 (__m128i_strloadu_tolower): Likewise.
54115 * time/mktime.c (ydhms_diff): Likewise.
54116 * locale/elem-hash.h (elem_hash): Likewise.
54117 * locale/setlocale.c (setdata): Likewise.
54118 * posix/regex_internal.h (re_string_char_size_at): Likewise.
54119 (re_string_wchar_at): Likewise.
54120 (bitset_not, bitset_merge, bitset_mask): Likewise.
54121 [!(__GNUC__ > 3)] (inline): Remove macro.
54122 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54123 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54124 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54125 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54126 * string/memcmp.c (memcmp_bytes): Likewise.
54127 * locale/programs/locarchive.c (compute_hashval): Likewise.
54128 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54129 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54130 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54131 * nss/getent.c (print_rpc, print_protocols): Likewise.
54132 (print_passwd, print_group, print_aliases): Likewise.
54133 * nis/nss-nisplus.h (niserr2nss): Likewise.
54134 * nscd/connections.c (restart_p): Likewise.
54135 Change return type to bool.
54136
54137 2013-02-05 Roland McGrath <roland@hack.frob.com>
54138
54139 * Makeconfig (all-Depend-files): Add existing
54140 $(sorted-subdirs:=/Depend) files.
54141 (all-subdirs): Remove nss.
54142 * sysdeps/unix/inet/Subdirs: Add it here instead.
54143 * hesiod/Depend: New file.
54144
54145 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54146 instead of calling alloca.
54147
54148 * io/lseek.c (__lseek): Rename to __libc_lseek.
54149 Define __lseek as an alias.
54150
54151 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54152
54153 2013-02-04 Carlos O'Donell <carlos@redhat.com>
54154
54155 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54156 else clause and remove check for non-standard endianness.
54157
54158 2013-02-04 David S. Miller <davem@davemloft.net>
54159
54160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54161
54162 2013-02-04 Joseph Myers <joseph@codesourcery.com>
54163
54164 [BZ #13550]
54165 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54166 (__ubp_memchr): Remove prototype.
54167 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54168 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54169 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54170 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54171 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54172 Remove alias.
54173 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54174 (__ubp_memchr): Likewise.
54175 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54176 (__ubp_memchr): Likewise.
54177 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54178 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54179 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54180 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54181 CHECK_STRING.
54182 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54183 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54184 (__getcwd): Do not use CHECK_STRING.
54185 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54186 <bp-checks.h>.
54187 (__real_chown): Do not use CHECK_STRING.
54188 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54189 <bp-checks.h>.
54190 (fchownat): Do not use CHECK_STRING.
54191 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54192 CHECK_STRING.
54193 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54194 <bp-checks.h>.
54195 (__lchown): Do not use CHECK_STRING.
54196 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54197 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54198 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54199 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54201 include <bp-checks.h>.
54202 (truncate64): Do not use CHECK_STRING.
54203 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54204 <bp-checks.h>.
54205 (__real_chown): Do not use CHECK_STRING.
54206 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54207 <bp-checks.h>.
54208 (__lchown): Do not use CHECK_STRING.
54209 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54210 <bp-checks.h>.
54211 (__chown): Do not use CHECK_STRING.
54212 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54213 <bp-checks.h>.
54214 (truncate64): Do not use CHECK_STRING.
54215 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54216 Likewise.
54217 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54218 (__xmknod): Do not use CHECK_STRING.
54219 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54220 <bp-checks.h>.
54221 (__xmknodat): Do not use CHECK_STRING.
54222 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54223 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54224
54225 2013-02-04 Andreas Schwab <schwab@suse.de>
54226
54227 [BZ #14142]
54228 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54229 * include/netdb.h: Likewise for h_errno.
54230 * elf/tst-stackguard1.c: Include <tls.h>.
54231
54232 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
54233
54234 * elf/link.h (struct link_map): Extend the l_addr comment.
54235 * include/link.h (struct link_map): Likewise.
54236
54237 2013-02-01 Joseph Myers <joseph@codesourcery.com>
54238
54239 [BZ #13550]
54240 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54241 (BOUNDED_1): Remove macro.
54242 * debug/backtrace.c: Don't include <bp-checks.h>.
54243 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54244 (__backtrace): Likewise.
54245 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54246 <bp-checks.h>.
54247 (__backtrace): Don't use BOUNDED_1.
54248 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54249 <bp-checks.h>.
54250 (__backtrace): Don't use BOUNDED_1.
54251 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54252 (__backtrace): Don't use BOUNDED_1.
54253 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54254 (shmat): Don't use BOUNDED_N.
54255
54256 2013-01-31 Joseph Myers <joseph@codesourcery.com>
54257
54258 [BZ #13550]
54259 * sysdeps/generic/bp-start.h: Remove file.
54260 * csu/libc-start.c: Don't include <bp-start.h>.
54261 (LIBC_START_MAIN): Set up __environ directly instead of using
54262 INIT_ARGV_and_ENVIRON.
54263 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54264 <bp-start.h>.
54265
54266 [BZ #13550]
54267 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54268 definitions.
54269 (CHECK_FCNTL): Likewise.
54270 (CHECK_N_PAGES): Likewise.
54271
54272 [BZ #13550]
54273 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54274 definitions.
54275 (CHECK_SIGSET_NULL_OK): Likewise.
54276 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54277 <bp-checks.h>.
54278 (sigpending): Don't use CHECK_SIGSET.
54279 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54280 <bp-checks.h>.
54281 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54282 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54283 <bp-checks.h>.
54284 (do_sigsuspend): Don't use CHECK_SIGSET.
54285 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54286 use CHECK_SIGSET.
54287 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54288 (do_sigwait): Don't use CHECK_SIGSET.
54289 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54290 use CHECK_SIGSET.
54291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54292 include <bp-checks.h>.
54293 (sigpending): Don't use CHECK_SIGSET.
54294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54295 include <bp-checks.h>.
54296 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54297 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54298 <bp-checks.h>.
54299 (sigpending): Don't use CHECK_SIGSET.
54300 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54301 <bp-checks.h>.
54302 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54303
54304 [BZ #13550]
54305 * sysdeps/generic/bp-semctl.h: Remove file.
54306 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54307 <bp-checks.h> and <bp-semctl.h>.
54308 (__old_semctl): Don't use CHECK_SEMCTL.
54309 (__new_semctl): Likewise.
54310 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54311 and <bp-semctl.h>.
54312 (__old_semctl): Don't use CHECK_SEMCTL.
54313 (__new_semctl): Likewise.
54314 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54315 <bp-checks.h> and <bp-semctl.h>.
54316 (__old_semctl): Don't use CHECK_SEMCTL.
54317 (__new_semctl): Likewise.
54318 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54319 <bp-checks.h> and <bp-semctl.h>.
54320 (semctl): Don't use CHECK_SEMCTL.
54321
54322 [BZ #13550]
54323 * Makerules (elide-bp-thunks): Remove variable.
54324 (elide-routines.oS): Don't use $(elide-bp-thunks).
54325 (elide-routines.os): Likewise.
54326 (elide-routines.o): Likewise.
54327 (elide-routines.op): Likewise.
54328 (elide-routines.og): Likewise.
54329 (objects): Don't use $(bp-thunks).
54330 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54331 include.
54332 (common-generated): Do not add s-proto-bp.d.
54333 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54334 (int): Likewise.
54335 (typ): Likewise.
54336 Do not generate makefile rules for bounded-pointer thunks.
54337 * sysdeps/generic/bp-thunks.h: Remove file.
54338 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54339 * sysdeps/unix/s-proto-bp.S: Likewise.
54340
54341 [BZ #15062]
54342 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54343 parts of result separately when argument is not close to line from
54344 -i to i and one part of argument is small.
54345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
54346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
54347 * math/libm-test.inc (cacos_test): Add more tests.
54348 (casin_test): Likewise.
54349 (casinh_test): Likewise.
54350 * sysdeps/i386/fpu/libm-test-ulps: Update.
54351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54352
54353 2013-01-31 David S. Miller <davem@davemloft.net>
54354
54355 * po/de.po: Update from translation team.
54356
54357 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
54358
54359 * time/tzfile.c: Include stdint.h for SIZE_MAX.
54360
54361 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
54362
54363 * configure.in (_AC_PROG_CC_C89): New definition.
54364 * configure: Regenerate.
54365
54366 * configure.in (AC_PROG_CPP): New definition.
54367 * configure: Regenerate.
54368
54369 2013-01-23 Joseph Myers <joseph@codesourcery.com>
54370
54371 * debug/tst-backtrace.h: New file.
54372 * debug/tst-backtrace2.c: Include tst-backtrace.h.
54373 (ret): Remove variable.
54374 (x): Likewise.
54375 (FAIL): Remove macro.
54376 (NO_INLINE): Likewise.
54377 (fn1): Use match function instead of strstr.
54378 * debug/tst-backtrace3.c: Include tst-backtrace.h.
54379 (ret): Remove variable.
54380 (x): Likewise.
54381 (FAIL): Remove macro.
54382 (NO_INLINE): Likewise.
54383 (fn): Use match function instead of strstr.
54384 * debug/tst-backtrace4.c: Include tst-backtrace.h.
54385 (ret): Remove variable.
54386 (x): Likewise.
54387 (FAIL): Remove macro.
54388 (NO_INLINE): Likewise.
54389 (handle_signal): Use match function instead of strstr.
54390 * debug/tst-backtrace5.c: Include tst-backtrace.h.
54391 (ret): Remove variable.
54392 (x): Likewise.
54393 (FAIL): Remove macro.
54394 (NO_INLINE): Likewise.
54395 (handle_signal): Use match function instead of strstr.
54396
54397 2013-01-23 Roland McGrath <roland@hack.frob.com>
54398
54399 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54400
54401 2013-01-23 David S. Miller <davem@davemloft.net>
54402
54403 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54404 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54405 argument of CAS if possible.
54406 * sysdeps/sparc/sparc64/bits/atomic.h
54407 (__arch_compare_and_exchange_val_32_acq): Likewise.
54408 (__arch_compare_and_exchange_val_64_acq): Likewise.
54409
54410 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
54411
54412 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54413 * sysdeps/posix/ulimit.c: ... this.
54414 Include <limits.h>.
54415 * sysdeps/unix/bsd/ulimit.c: Remove file.
54416
54417 2013-01-23 Adam Conrad <adconrad@0c3.net>
54418
54419 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54420 (LDFLAGS-tst-array5): Likewise.
54421
54422 2013-01-23 Joseph Myers <joseph@codesourcery.com>
54423
54424 [BZ #15036]
54425 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54426 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54427 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54428 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54429
54430 2013-01-21 David S. Miller <davem@davemloft.net>
54431
54432 * sysdeps/sparc/backtrace.c: New file.
54433 * sysdeps/sparc/sparc32/backtrace.h: New file.
54434 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54435 * sysdeps/sparc/sparc64/backtrace.h: New file.
54436 * sysdeps/sparc/sparc64/backtrace.c: Delete.
54437 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54438 -funwind-tables.
54439
54440 2013-01-21 Andreas Schwab <schwab@suse.de>
54441
54442 [BZ #15020]
54443 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54444 closed its stdout.
54445
54446 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
54447
54448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54449 "mpa2.h".
54450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54451
54452 2013-01-18 Joseph Myers <joseph@codesourcery.com>
54453 Mark Mitchell <mark@codesourcery.com>
54454 Tom de Vries <tom@codesourcery.com>
54455 Paul Pluzhnikov <ppluzhnikov@google.com>
54456
54457 * debug/tst-backtrace2.c: New file.
54458 * debug/tst-backtrace3.c: Likewise.
54459 * debug/tst-backtrace4.c: Likewise.
54460 * debug/tst-backtrace5.c: Likewise.
54461 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54462 (CFLAGS-tst-backtrace3.c): Likewise.
54463 (CFLAGS-tst-backtrace4.c): Likewise.
54464 (CFLAGS-tst-backtrace5.c): Likewise.
54465 (LDFLAGS-tst-backtrace2): Likewise.
54466 (LDFLAGS-tst-backtrace3): Likewise.
54467 (LDFLAGS-tst-backtrace4): Likewise.
54468 (LDFLAGS-tst-backtrace5): Likewise.
54469 (tests): Add new tests tst-backtrace2, tst-backtrace3,
54470 tst-backtrace4 and tst-backtrace5.
54471
54472 2013-01-18 Anton Blanchard <anton@samba.org>
54473 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54474
54475 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54476 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54477 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54478 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54480 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54481 "+r" and remove output regs list as redundant. Add explicit inline
54482 asm to specify register of return val to work around compiler codegen
54483 bug. Remove (int) cast on return value. Add return type parameter to
54484 use in macro so that this macro does not truncate return value for
54485 64-bit values.
54486 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54487 pass to INTERNAL_VSYSCALL_NCS.
54488 (INLINE_VSYSCALL): Add 'long int' as return type to
54489 INTERNAL_VSYSCALL_NCS macro invocation.
54490 (INTERNAL_VSYSCALL): Add 'long int' as return type to
54491 INTERNAL_VSYSCALL_NCS macro invocation.
54492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54493
54494 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54495
54496 [BZ #14496]
54497 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54498 Fix application of SIMD FP exception mask.
54499
54500 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54501 mp_no from a power of two.
54502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54503 __mpexp_twomm1. Use __pow_mp.
54504
54505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54506 multiplication.
54507
54508 2013-01-17 David S. Miller <davem@davemloft.net>
54509
54510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54511
54512 2013-01-17 Joseph Myers <joseph@codesourcery.com>
54513
54514 [BZ #15023]
54515 * include/complex.h: Condition contents on [!_COMPLEX_H].
54516 (__kernel_casinhf): New prototype.
54517 (__kernel_casinh): Likewise.
54518 (__kernel_casinhl): Likewise.
54519 * math/Makefile (libm_calls): Add k_casinh.
54520 * math/k_casinh.c: New file.
54521 * math/k_casinhf.c: Likewise.
54522 * math/k_casinhl.c: Likewise.
54523 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54524 finite nonzero arguments.
54525 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54526 finite nonzero arguments.
54527 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54528 finite nonzero arguments.
54529 * math/s_casinh.c: Do not include <float.h>.
54530 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54531 * math/s_casinhf.c: Do not include <float.h>.
54532 (__casinhf): Move code for finite nonzero arguments to
54533 k_casinhf.c.
54534 * math/s_casinhl.c: Do not include <float.h>.
54535 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54536 redefine.
54537 (__casinhl): Move code for finite nonzero arguments to
54538 k_casinhl.c.
54539 * math/libm-test.inc (cacos_test): Add more tests.
54540 * sysdeps/i386/fpu/libm-test-ulps: Update.
54541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54542
54543 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
54544
54545 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54546 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54547 [!HAVE_MREMAP]: Remove [defined linux] case.
54548 * malloc/arena.c: Do not include <malloc-sysdep.h>.
54549
54550 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54551
54552 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54553
54554 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
54555
54556 * elf/elf.h (R_386_SIZE32): New relocation.
54557 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54558 R_386_SIZE32.
54559 (elf_machine_rela): Likewise.
54560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54561 R_X86_64_SIZE64 and R_X86_64_SIZE32.
54562
54563 2013-01-17 Joseph Myers <joseph@codesourcery.com>
54564
54565 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54566 (FP_FAST_FMA): Do not define.
54567 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54568 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54569 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54570 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54571 !_SOFT_FLOAT]: Likewise.
54572 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54573 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54574 value.
54575 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54576 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54577 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54578 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54579 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54580 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54581 file.
54582
54583 2013-01-16 Andreas Schwab <schwab@suse.de>
54584
54585 [BZ #14327]
54586 * include/stdlib.h (__mktemp): Add declaration.
54587 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54588 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54589
54590 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54591
54592 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54593 definitions.
54594 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54595 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54596 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54597 definitions here.
54598 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54599 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54600 definitions.
54601 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54602 and ONE.
54603 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54604 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54606 definitions.
54607 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54608 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54609 definitions.
54610 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54611
54612 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54613
54614 2013-01-15 David S. Miller <davem@davemloft.net>
54615
54616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54617 trunc{,f} to libm-sysdep_routes.
54618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54620 file.
54621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54623 file.
54624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54625 file.
54626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54628 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54629 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54630 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54631 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54632 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54633 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54634
54635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54636 nearbyint{,f} to libm-sysdep_routes.
54637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54639 New file.
54640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54641 file.
54642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54643 New file.
54644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54645 file.
54646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54648 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54649 file.
54650 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54651 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54652 file.
54653 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54654 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54655 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54656
54657 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54658 libc_feholdexcept and libc_fesetenv.
54659
54660 2013-01-15 Mike Frysinger <vapier@gentoo.org>
54661
54662 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54663
54664 2013-01-14 David S. Miller <davem@davemloft.net>
54665
54666 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54667 (SPARC_ASM_VIS2_IFUNC): Likewise.
54668 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54670 use of 'siam' instruction.
54671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54672 Likewise.
54673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54674 Likewise.
54675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54676 Likewise.
54677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54682 file.
54683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54684 file.
54685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54686 file.
54687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54688 file.
54689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54694 new VIS2 routines.
54695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54698 Likewise.
54699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54704 routines to libm-sysdep_routines.
54705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54706
54707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54708 fdim/fdimf to libm-sysdep_routines.
54709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54710 file.
54711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54713 file.
54714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54717 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54718 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54719 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54720 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54721
54722 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54723
54724 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54725 to optimize copies.
54726
54727 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54730
54731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54732 local variable MPTWO.
54733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54734 Likewise.
54735
54736 2013-01-13 Mike Frysinger <vapier@gentoo.org>
54737
54738 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54739 GLOB_NOESCAPE.
54740
54741 2013-01-13 Mike Frysinger <vapier@gentoo.org>
54742
54743 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54744
54745 2013-01-13 Mike Frysinger <vapier@gentoo.org>
54746
54747 * manual/pattern.texi (glob_t): Document gl_flags.
54748 (glob64_t): Likewise.
54749
54750 2013-01-11 David S. Miller <davem@davemloft.net>
54751
54752 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54753 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54754 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
54755 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54756 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54757 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54758 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54759 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54760 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54761 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54762 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54763 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54764 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54765
54766 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54767 sparc V9 rather than using V8 code.
54768 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54769 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54770
54771 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54772 Move to...
54773 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54774 Here.
54775
54776 2013-01-11 Roland McGrath <roland@hack.frob.com>
54777
54778 [BZ #14941]
54779 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54780 not in the main loop.
54781 * configure: Regenerated.
54782
54783 2013-01-11 Joseph Myers <joseph@codesourcery.com>
54784
54785 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54786 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54787 to just #else.
54788 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
54789 [!__GLIBC_HAVE_LONG_LONG] case.
54790 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54791 condition to just #else.
54792 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54793 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54794 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54795 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54796 unconditional.
54797 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54798 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54799 #elif condition to just #else.
54800 * sysdeps/unix/sysv/linux/sys/sysmacros.h
54801 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54802 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54803 #elif condition to just #else.
54804
54805 2013-01-11 Steve Ellcey <sellcey@mips.com>
54806
54807 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54808 (EF_MIPS_ARCH_64): Fix value.
54809 (EF_MIPS_ARCH_32R2): New.
54810 (EF_MIPS_ARCH_64R2): New.
54811
54812 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
54813
54814 * Makeconfig (+link-pie-before-libc): New.
54815 (+link-pie-after-libc): Likewise.
54816 (+link-pie-tests): Likewise.
54817 (+link-pie): Rewritten.
54818 (link-before-libc): Remove $(config-LDFLAGS).
54819 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54820 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54821 (config-LDFLAGS): Renamed to ...
54822 (rtld-LDFLAGS): This.
54823 (rtld-tests-LDFLAGS): New macro.
54824 (link-libc-rpath-link): Likewise.
54825 (link-libc-tests-rpath-link): Likewise.
54826 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54827 (link-libc): Prepand $(link-libc-rpath-link).
54828 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54829 (test-program-prefix): New macro.
54830 (test-via-rtld-prefix): Likewise.
54831 (test-program-cmd): Likewise.
54832 (host-test-program-cmd): Likewise.
54833 * Makefile ($(common-objpfx)testrun.sh): Replace
54834 $(run-program-prefix) with $(test-program-prefix).
54835 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54836 $(rtld-LDFLAGS).
54837 ($(common-objpfx)shlib.lds): Likewise.
54838 (build-module-helper): Likewise.
54839 ($(common-objpfx)format.lds): Likewise.
54840 * Rules (binaries-pie-tests): New.
54841 (binaries-pie-notests): Likewise.
54842 (binaries-pie): Rewritten.
54843 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54844 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54845 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54846 (make-test-out): Replace $(host-built-program-cmd) with
54847 $(host-test-program-cmd).
54848 * config.make.in (build-hardcoded-path-in-tests): New variable.
54849 * configure.in (--enable-hardcoded-path-in-tests): New configure
54850 option.
54851 (hardcoded_path_in_tests): New AC_SUBST.
54852 * configure: Regenerated.
54853 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54854 $(built-program-cmd) with $(test-program-cmd).
54855 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54856 (test_program_cmd): This.
54857 * elf/Makefile ($(objpfx)order.out): Run test with
54858 $(test-program-prefix).
54859 ($(objpfx)order2.out): Likewise.
54860 ($(objpfx)tst-initorder.out): Likewise.
54861 ($(objpfx)tst-initorder2.out): Likewise.
54862 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54863 $(test-program-cmd).
54864 ($(objpfx)tst-array1-static.out): Likewise.
54865 ($(objpfx)tst-array2.out): Likewise.
54866 ($(objpfx)tst-array3.out): Likewise.
54867 ($(objpfx)tst-array4.out): Likewise.
54868 ($(objpfx)tst-array5.out): Likewise.
54869 ($(objpfx)tst-array5-static.out): Likewise.
54870 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54871 $(test-program-cmd).
54872 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54873 $(run-program-prefix) with $(test-program-prefix).
54874 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54875 (test_program_prefix): This.
54876 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54877 $(run-program-prefix) with $(test-program-prefix).
54878 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54879 (test_program_prefix): This.
54880 * iconvdata/tst-tables.sh: Likewise.
54881 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54882 $(run-program-prefix) with $(test-program-prefix).
54883 ($(objpfx)tst-translit.out): Likewise.
54884 ($(objpfx)tst-gettext2.out): Likewise.
54885 ($(objpfx)tst-gettext4.out): Likewise.
54886 ($(objpfx)tst-gettext6.out): Likewise.
54887 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54888 (test_program_prefix): This.
54889 * intl/tst-gettext2.sh: Likewise.
54890 * intl/tst-gettext4.sh Likewise.
54891 * intl/tst-gettext6.sh: Likewise.
54892 * intl/tst-translit.sh: Likewise.
54893 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54894 with $(test-program-cmd).
54895 * libio/Makefile ($(objpfx)test-freopen.out): Replace
54896 $(run-program-prefix) with $(test-program-prefix).
54897 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54898 (test_program_prefix): This.
54899 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54900 $(run-program-prefix) with $(test-program-prefix).
54901 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54902 (test_program_prefix): This.
54903 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54904 * posix/Makefile ($(objpfx)globtest.out): Replace
54905 $(run-via-rtld-prefix) and $(test-wrapper) with
54906 $(test-program-prefix) and $(test-via-rtld-prefix).
54907 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54908 $(test-program-prefix).
54909 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54910 $(host-test-program-cmd).
54911 (tst-spawn-ARGS): Likewise.
54912 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54913 $(test-program-prefix).
54914 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54915 (test_via_rtld_prefix): This.
54916 (test_wrapper): Renamed to ...
54917 (test_program_prefix): This.
54918 (run_program_prefix): Replaced by test_program_prefix.
54919 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54920 (test_program_prefix): This.
54921 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54922 with $(host-test-program-cmd).
54923 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54924 $(run-program-prefix) with $(test-program-prefix).
54925 ($(objpfx)tst-printf.out): Likewise.
54926 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54927 $(test-program-cmd).
54928 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54929 (test_program_prefix): This.
54930 * stdio-common/tst-unbputc.sh: Likewise.
54931 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54932 $(run-program-prefix) with $(test-program-prefix).
54933 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54934 (test_program_prefix): This.
54935 * string/Makefile ($(objpfx)tst-svc.out): Replace
54936 $(built-program-cmd) with $(test-program-cmd).
54937
54938 2013-01-11 Andreas Jaeger <aj@suse.de>
54939
54940 [BZ #15003]
54941 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54942 value. Sync with Linux 3.7.
54943
54944 2013-01-10 David S. Miller <davem@davemloft.net>
54945
54946 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54947 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54948 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54949
54950 2013-01-10 Roland McGrath <roland@hack.frob.com>
54951
54952 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54953 never set.
54954 * configure: Regenerated.
54955
54956 2013-01-10 David S. Miller <davem@davemloft.net>
54957
54958 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54959 sparc V9 rather than using V8 code.
54960 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54961 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54962
54963 2013-01-10 Roland McGrath <roland@hack.frob.com>
54964
54965 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54966 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54967 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54968 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54969 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54970 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54971 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54972 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54973 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54974 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54975 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54976 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54977 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54978 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54979 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54980 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54981 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54982 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54983 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54984 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54985 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54986 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54987 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54988 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54989 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54990 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54991 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54992
54993 2013-01-10 David S. Miller <davem@davemloft.net>
54994
54995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54996
54997 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
54998
54999 * posix/Makefile (tests-static): New variable.
55000 (tests): Add $(tests-static).
55001 (tst-exec-static-ARGS): New variable.
55002 (tst-spawn-static-ARGS): Likewise.
55003 * posix/tst-exec-static.c: New file.
55004 * posix/tst-spawn-static.c: Likewise.
55005 * posix/tst-exec.c: Support run directly.
55006 * posix/tst-spawn.c: Likewise.
55007
55008 2013-01-10 Joseph Myers <joseph@codesourcery.com>
55009
55010 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55011 long.
55012 * math/bits/mathcalls.h (llrint): Likewise.
55013 (llround): Likewise.
55014 * stdlib/stdlib.h (struct drand48_data): Likewise.
55015 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55016 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55017 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55018 Likewise.
55019 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55020 Likewise.
55021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55022 (elf_greg_t): Likewise.
55023 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55024 (__jmp_buf): Likewise.
55025 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55026 definitions.
55027 (llrint): Likewise, for all definitions.
55028 (llrintl): Likewise.
55029
55030 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55031 Remove [__GNUC__] condition.
55032 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55033 condition to just [__USE_ISOC99].
55034 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55035
55036 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
55037
55038 [BZ #14200]
55039 * sysdeps/unix/sysv/linux/x86/bits/environments.h
55040 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55041 defined.
55042 (_POSIX_V6_ILP32_OFF32): Likewise.
55043 (_XBS5_ILP32_OFF32): Likewise.
55044 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55045 (__ILP32_OFFBIG_LDFLAGS): Likewise.
55046
55047 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55048
55049 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55050
55051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55052 doubles __mpexp_twomm1. Adjust usage.
55053 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55054 Remove.
55055
55056 2013-01-10 Andreas Schwab <schwab@suse.de>
55057
55058 [BZ #14964]
55059 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55060 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55061
55062 2013-01-09 David S. Miller <davem@davemloft.net>
55063
55064 [BZ #15003]
55065 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55066 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55067 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55068 (TCP_FASTOPEN): Define.
55069 (tcp_repair_opt): New structure.
55070 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55071 enum values.
55072 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55073 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55074 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55075 (tcp_cookie_transactions): New structure.
55076
55077 2013-01-09 Anton Blanchard <anton@samba.org>
55078
55079 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55082 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55083
55084 2013-01-09 Joseph Myers <joseph@codesourcery.com>
55085
55086 * include/features.h (__USE_ANSI): Remove.
55087
55088 2013-01-09 Roland McGrath <roland@hack.frob.com>
55089
55090 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55091
55092 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55093
55094 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
55095
55096 * sysdeps/s390/fpu/libm-test-ulps: Update.
55097
55098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55099
55100 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55101 (__acr): Likewise.
55102 (__cpy): Likewise.
55103 (norm): Likewise.
55104 (denorm): Likewise.
55105 (__mp_dbl): Likewise.
55106 (__dbl_mp): Likewise.
55107 (add_magnitudes): Likewise.
55108 (sub_magnitudes): Likewise.
55109 (__add): Likewise.
55110 (__sub): Likewise.
55111 (__mul): Likewise.
55112 (__inv): Likewise.
55113 (__dvd): Likewise.
55114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55115 (__acr): Likewise.
55116 (__cpy): Likewise.
55117 (norm): Likewise.
55118 (denorm): Likewise.
55119 (__mp_dbl): Likewise.
55120 (__dbl_mp): Likewise.
55121 (add_magnitudes): Likewise.
55122 (sub_magnitudes): Likewise.
55123 (__add): Likewise.
55124 (__sub): Likewise.
55125 (__mul): Likewise.
55126 (__inv): Likewise.
55127 (__dvd): Likewise.
55128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55129 (__acr): Likewise.
55130 (__cpy): Likewise.
55131 (norm): Likewise.
55132 (denorm): Likewise.
55133 (__mp_dbl): Likewise.
55134 (__dbl_mp): Likewise.
55135 (add_magnitudes): Likewise.
55136 (sub_magnitudes): Likewise.
55137 (__add): Likewise.
55138 (__sub): Likewise.
55139 (__mul): Likewise.
55140 (__inv): Likewise.
55141 (__dvd): Likewise.
55142
55143 2013-01-08 Joseph Myers <joseph@codesourcery.com>
55144
55145 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55146 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55147 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55148 2 && __USE_EXTERN_INLINES]: Likewise.
55149
55150 2013-01-08 Andreas Jaeger <aj@suse.de>
55151
55152 [BZ# 14985]
55153 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55154 Remove.
55155 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55157
55158 2013-01-07 Anton Blanchard <anton@samba.org>
55159
55160 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55161 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55162 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55163 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55164 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55165 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55166 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55167 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55169 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55170 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55175 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55176 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55179 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55180 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55181 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55183 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55184 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55185 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55186 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55187 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55189 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55190 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55193 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55194 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55195 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55196 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55198 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55199 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55202 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55203
55204 2013-01-07 Joseph Myers <joseph@codesourcery.com>
55205
55206 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55207 (__MALLOC_PMT): Likewise.
55208 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55209 [__GNUC__], only on [_LIBC].
55210 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55211 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55212 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55213 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55214 forward declaration.
55215 (realloc_hook_ini): Likewise.
55216 (memalign_hook_ini): Likewise.
55217 (__libc_memalign): Do not use __MALLOC_PMT in variable
55218 declaration.
55219 (__libc_valloc): Likewise.
55220 (__libc_pvalloc): Likewise.
55221 (__libc_calloc): Likewise.
55222 (__posix_memalign): Likewise.
55223
55224 [BZ #14996]
55225 * math/s_casinh.c: Include <float.h>.
55226 (__casinh): Do not do computation with squaring and square root
55227 for large arguments.
55228 * math/s_casinhf.c: Include <float.h>.
55229 (__casinhf): Do not do computation with squaring and square root
55230 for large arguments.
55231 * math/s_casinhl.c: Include <float.h>.
55232 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55233 (__casinhl): Do not do computation with squaring and square root
55234 for large arguments.
55235 * math/libm-test.inc (casin_test): Add more tests.
55236 (casinh_test): Likewise.
55237 * sysdeps/i386/fpu/libm-test-ulps: Update.
55238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55239
55240 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
55241
55242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55243 (__x86_64_raw_data_cache_size): Likewise.
55244 (__x86_64_data_cache_size_half): Likewise.
55245 (__x86_64_raw_data_cache_size_half): Likewise.
55246 (__x86_64_shared_cache_size): Likewise.
55247 (__x86_64_raw_shared_cache_size): Likewise.
55248 (__x86_64_shared_cache_size_half): Likewise.
55249 (__x86_64_raw_shared_cache_size_half): Likewise.
55250 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55251 to ...
55252 (__x86_data_cache_size): This.
55253 (__x86_64_raw_data_cache_size): Renamed to ...
55254 (__x86_raw_data_cache_size): This.
55255 (__x86_64_data_cache_size_half): Renamed to ...
55256 (__x86_data_cache_size_half): This.
55257 (__x86_64_raw_data_cache_size_half): Renamed to ...
55258 (__x86_raw_data_cache_size_half): This.
55259 (__x86_64_shared_cache_size): Renamed to ...
55260 (__x86_shared_cache_size): This.
55261 (__x86_64_raw_shared_cache_size): Renamed to ...
55262 (__x86_raw_shared_cache_size): This.
55263 (__x86_64_shared_cache_size_half): Renamed to ...
55264 (__x86_shared_cache_size_half): This.
55265 (__x86_64_raw_shared_cache_size_half): Renamed to ...
55266 (__x86_raw_shared_cache_size_half): This.
55267 * sysdeps/x86_64/memcpy.S: Updated.
55268 * sysdeps/x86_64/memset.S: Likewise.
55269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55272
55273 2013-01-04 David S. Miller <davem@davemloft.net>
55274
55275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55276
55277 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
55278
55279 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55280 1 to avoid redefinition warning.
55281 (__USE_GNU): Don't define.
55282 (init_signaling_nan): Protoize.
55283
55284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55285
55286 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55287
55288 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55290 (__cpymn): Likewise.
55291 (norm): Remove commented code.
55292 (denorm): Likewise.
55293 (__mp_dbl): Likewise.
55294 (__inv): Likewise.
55295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55296 (__cpymn): Likewise.
55297 (norm): Remove commented code.
55298 (denorm): Likewise.
55299 (__mp_dbl): Likewise.
55300 (__inv): Likewise.
55301
55302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55303 mp_no value for 1.0 and 2.0.
55304 (norm): Use RADIXI instead of radixi.d.
55305 (denorm): Likewise.
55306 (__mul): Use 0.0 instead of zero.d.
55307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55308 mp_no value for 1.0 and 2.0.
55309 (norm): Use RADIXI instead of radixi.d.
55310 (denorm): Likewise.
55311 (__mul): Use 0.0 instead of zero.d.
55312
55313 2013-01-04 Joseph Myers <joseph@codesourcery.com>
55314
55315 [BZ #14994]
55316 * math/s_casinh.c (__casinh): Reduce finite argument to first
55317 quadrant then set signs of results at the end.
55318 * math/s_casinhf.c (__casinhf): Likewise.
55319 * math/s_casinhl.c (__casinhl): Likewise.
55320 * math/libm-test.inc (casin_test): Add more tests.
55321 (casinh_test): Likewise.
55322 * sysdeps/i386/fpu/libm-test-ulps: Update.
55323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55324
55325 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55326
55327 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55328
55329 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55330
55331 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55332 declarations.
55333 (denorm): Likewise.
55334 (__mp_dbl): Likewise.
55335 (__inv): Likewise.
55336
55337 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55338 and adjust the header comment.
55339
55340 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55341 variable name from declaration.
55342
55343 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
55344
55345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55346 Initialize COMMON_CPUID_INDEX_7 element.
55347 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55348 (CPUID_RTM): Likewise.
55349 (HAS_RTM): Likewise.
55350 (COMMON_CPUID_INDEX_7): New enum.
55351
55352 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
55353
55354 [BZ #14981]
55355 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55356 size is zero, record memory as freed.
55357
55358 2013-01-03 Andreas Jaeger <aj@suse.de>
55359
55360 * po/ia.po: Add new Interlingua translation.
55361
55362 2012-01-03 Allan McRae <allan@archlinux.org>
55363
55364 * locale/programs/localedef.c: Fix description of '--posix' flag.
55365
55366 2013-01-02 Joseph Myers <joseph@codesourcery.com>
55367
55368 * NEWS: Update dates in second copyright notice.
55369 * README: Update copyright dates in example.
55370 * manual/libc.texinfo: Update copyright dates.
55371 * scripts/test-installation.pl: Update copyright date in --version
55372 output.
55373
55374 * hurd/ctty-input.c: Fix copyright notice formatting.
55375 * hurd/ctty-output.c: Likewise.
55376 * hurd/dtable.c: Likewise.
55377 * hurd/hurd-raise.c: Likewise.
55378 * hurd/hurdprio.c: Likewise.
55379 * hurd/msgportdemux.c: Likewise.
55380 * misc/sys/file.h: Likewise.
55381 * misc/sys/ioctl.h: Likewise.
55382 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55383 * sysdeps/mach/hurd/chdir.c: Likewise.
55384 * sysdeps/mach/hurd/fchdir.c: Likewise.
55385 * sysdeps/mach/hurd/rename.c: Likewise.
55386 * sysdeps/mach/hurd/rmdir.c: Likewise.
55387 * sysdeps/mach/hurd/seekdir.c: Likewise.
55388 * sysdeps/mach/hurd/setsid.c: Likewise.
55389 * sysdeps/posix/wait3.c: Likewise.
55390
55391 * All files with FSF copyright notices: Update copyright dates
55392 using scripts/update-copyrights.
55393 * intl/plural.c: Regenerated.
55394 * locale/programs/charmap-kw.h: Likewise.
55395 * locale/programs/locfile-kw.h: Likewise.
55396
55397 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
55398
55399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55400 four values.
55401
55402 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55403 calculation loop and add branch prediction.
55404
55405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55406 check access beyond bounds of m1np.
55407
55408 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55409 MPTWO.
55410 (__inv): Remove local variable MPTWO to use the global
55411 constant.
55412 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55413 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55414 variable MPTWO.
55415 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55416 MP3HALFS static const.
55417
55418 2013-01-01 David S. Miller <davem@davemloft.net>
55419
55420 * po/ca.po: Update from translation team.
55421
55422 2013-01-01 Joseph Myers <joseph@codesourcery.com>
55423
55424 * scripts/update-copyrights: New file.
55425 * Makeconfig: Reformat copyright notice.
55426 * ctype/ctype.h: Likewise.
55427 * debug/swprintf_chk.c: Likewise.
55428 * elf/dl-cache.c: Likewise.
55429 * elf/dl-debug.c: Likewise.
55430 * elf/dl-object.c: Likewise.
55431 * grp/initgroups.c: Likewise.
55432 * hurd/Makefile: Likewise.
55433 * hurd/hurd/signal.h: Likewise.
55434 * hurd/hurdfault.c: Likewise.
55435 * hurd/hurdioctl.c: Likewise.
55436 * hurd/hurdlookup.c: Likewise.
55437 * hurd/intr-msg.c: Likewise.
55438 * iconv/gconv_open.c: Likewise.
55439 * libio/swprintf.c: Likewise.
55440 * locale/lc-ctype.c: Likewise.
55441 * locale/nl_langinfo.c: Likewise.
55442 * mach/Machrules: Likewise.
55443 * mach/Makefile: Likewise.
55444 * malloc/obstack.h: Likewise.
55445 * manual/Makefile: Likewise.
55446 * manual/tsort.awk: Likewise.
55447 * misc/bits/stab.def: Likewise.
55448 * nis/nis_print_group_entry.c: Likewise.
55449 * nis/nis_table.c: Likewise.
55450 * nis/nss_compat/compat-pwd.c: Likewise.
55451 * nis/nss_compat/compat-spwd.c: Likewise.
55452 * po/Makefile: Likewise.
55453 * posix/fnmatch.c: Likewise.
55454 * posix/regex.h: Likewise.
55455 * resolv/Makefile: Likewise.
55456 * resolv/nss_dns/dns-network.c: Likewise.
55457 * resolv/res_hconf.c: Likewise.
55458 * scripts/gen-sorted.awk: Likewise.
55459 * soft-fp/soft-fp.h: Likewise.
55460 * stdio-common/printf.h: Likewise.
55461 * stdlib/monetary.h: Likewise.
55462 * stdlib/random.c: Likewise.
55463 * stdlib/random_r.c: Likewise.
55464 * sysdeps/generic/Makefile: Likewise.
55465 * sysdeps/gnu/Makefile: Likewise.
55466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55476 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55477 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55478 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55479 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55480 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55482 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55489 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55490 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55492 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55494 * sysdeps/mach/hurd/errnos.awk: Likewise.
55495 * sysdeps/mach/hurd/fork.c: Likewise.
55496 * sysdeps/mach/hurd/getcwd.c: Likewise.
55497 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55498 * sysdeps/mach/hurd/mmap.c: Likewise.
55499 * sysdeps/mach/hurd/utimes.c: Likewise.
55500 * sysdeps/mach/hurd/xmknod.c: Likewise.
55501 * sysdeps/posix/profil.c: Likewise.
55502 * sysdeps/posix/readdir_r.c: Likewise.
55503 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55504 * sysdeps/powerpc/bits/setjmp.h: Likewise.
55505 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55506 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55508 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55510 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55512 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55513 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55514 * sysdeps/pthread/lio_listio.c: Likewise.
55515 * sysdeps/sparc/dl-procinfo.h: Likewise.
55516 * sysdeps/unix/i386/sysdep.S: Likewise.
55517 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55518 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55519 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55520 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55522 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55523 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55524 * sysdeps/unix/sysv/linux/speed.c: Likewise.
55525 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55526 * sysdeps/wordsize-32/divdi3.c: Likewise.
55527 * time/sys/time.h: Likewise.
55528 * wcsmbs/Makefile: Likewise.
55529
55530 2013-01-01 David S. Miller <davem@davemloft.net>
55531
55532 * po/fr.po: Update from translation team.
55533
55534 * catgets/gencat.c: Update copyright year.
55535 * csu/version.c: Likewise.
55536 * debug/catchsegv.sh: Likewise.
55537 * debug/pcprofiledump.c: Likewise.
55538 * debug/xtrace.sh: Likewise.
55539 * elf/ldconfig.c: Likewise.
55540 * elf/ldd.bash.in: Likewise.
55541 * elf/pldd.c: Likewise.
55542 * elf/sotruss.ksh: Likewise.
55543 * elf/sprof.c: Likewise.
55544 * iconv/iconv_prog.c: Likewise.
55545 * iconv/iconvconfig.c: Likewise.
55546 * locale/programs/locale.c: Likewise.
55547 * locale/programs/localedef.c: Likewise.
55548 * login/programs/pt_chown.c: Likewise.
55549 * malloc/memusage.sh: Likewise.
55550 * malloc/memusagestat.c: Likewise.
55551 * malloc/mtrace.pl: Likewise.
55552 * nscd/nscd.c: Likewise.
55553 * nss/getent.c: Likewise.
55554 * nss/makedb.c: Likewise.
55555 * posix/getconf.c: Likewise.
55556
55557 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55558
55559 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55560 numbers.
55561
55562 2012-12-30 Mike Frysinger <vapier@gentoo.org>
55563
55564 * math/bits/mathcalls.h (modf): Use __nonnull.
55565
55566 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55567
55568 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55569 (split): Use macro CN instead of the bare value.
55570 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55571 could be used.
55572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55573 instead of the bare value.
55574 (power1): Likewise.
55575
55576 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55577
55578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55579 __ATAN_TWOM.
55580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55581
55582 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55583 their values.
55584 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55585 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55586 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55587 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55588
55589 2012-12-28 Andreas Jaeger <aj@suse.de>
55590
55591 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
55592 values are from Linux 3.7.
55593
55594 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55595 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
55596
55597 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55598
55599 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55600 TRUE case.
55601
55602 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55603 (norm): Likewise.
55604 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55605 variables with preprocessor constants.
55606 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55607 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55609
55610 2012-12-27 Bruno Haible <bruno@clisp.org>
55611
55612 [BZ #14317]
55613 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55614 only if needed.
55615
55616 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55617
55618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55619 and use variable directly.
55620 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55621
55622 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55623 MPONE.
55624 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55626 variable MPONE.
55627 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55629 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55630 include directive. Remove local variable MPONE.
55631 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55632 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55633 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55634
55635 2012-12-25 David S. Miller <davem@davemloft.net>
55636
55637 * version.h (RELEASE): Set to "development".
55638 (VERSION): Set to "2.17.90".
55639 * NEWS: Add 2.18 section.
55640
55641 2012-12-21 David S. Miller <davem@davemloft.net>
55642
55643 * po/hr.po: Update from translation team.
55644
55645 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55646
55647 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55648
55649 2012-12-19 Steve Ellcey <sellcey@mips.com>
55650
55651 * NEWS: Mention new memcpy for MIPS.
55652
55653 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55654
55655 * manual/contrib.texi (Contributors): Spelling correction.
55656
55657 2012-12-15 David S. Miller <davem@davemloft.net>
55658
55659 * po/ru.po: Update from translation team.
55660
55661 2012-12-13 David S. Miller <davem@davemloft.net>
55662
55663 * NEWS: Mention IFUNC testsuite enhancements.
55664
55665 * po/pl.po: Update from translation team.
55666 * po/bg.po: Likewise.
55667
55668 * manual/contrib.texi (Contributors): Update entries for Hongjiu
55669 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
55670
55671 2012-12-11 David S. Miller <davem@davemloft.net>
55672
55673 * po/sv.po: Update from translation team.
55674
55675 * po/vi.po: Update from translation team.
55676
55677 * po/cs.po: Update from translation team.
55678
55679 * po/de.po: Update from translation team.
55680 * po/eo.po: Likewise.
55681 * po/nl.po: Likewise.
55682
55683 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55684
55685 [BZ #14246]
55686 * manual/argp.texi (Argp Helper Functions): Move node to follow
55687 Argp Parsing State.
55688
55689 [BZ #14872]
55690 * manual/conf.texi (Limits on File System Capacity): Mention if
55691 terminating null is included in the max size.
55692
55693 2012-12-10 Andreas Jaeger <aj@suse.de>
55694
55695 * po/cs.po: Update from translation team.
55696
55697 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
55698
55699 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55700 void pointer and cast to uintptr_t.
55701 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55702 path.
55703 * sysdeps/s390/s390-64/memcpy.S: Likewise.
55704 * sysdeps/s390/s390-64/memset.S: Likewise.
55705
55706 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
55707
55708 [BZ #14833]
55709 * menual/message.texi (Message Translation): Fix typos.
55710 (Helper programs for gettext): Likewise.
55711
55712 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
55713
55714 [BZ #14898]
55715 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55716 Change to -1.
55717
55718 2012-12-07 David S. Miller <davem@davemloft.net>
55719
55720 * po/libc.pot: Update.
55721
55722 2012-12-07 Richard Henderson <rth@redhat.com>
55723
55724 [BZ #10114]
55725 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55726 normal/normal case to before the switch.
55727 (_FP_DIV): Likewise.
55728
55729 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
55730 Mike Frysinger <vapier@gentoo.org>
55731
55732 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55733 check for __NR_fadvise64_64.
55734
55735 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
55736
55737 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55738 0, not just to plain "0" as a statement.
55739 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55740 with cw.
55741
55742 2012-12-06 Joseph Myers <joseph@codesourcery.com>
55743
55744 * NEWS: Use sourceware.org in Bugzilla URL.
55745
55746 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
55747
55748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55749 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55750
55751 * stdio-common/tst-put-error.c (do_test): Add newline to the
55752 padded test to ensure flush.
55753
55754 2012-12-05 Jeff Law <law@redhat.com>
55755
55756 * sunrpc/etc.rpc (fedfs_admin): Add entry.
55757
55758 2012-12-05 Joseph Myers <joseph@codesourcery.com>
55759
55760 * README: Don't refer to ports add-on as distributed separately.
55761 Mention AArch64 in list of systems supported in the ports add-on.
55762
55763 * LICENSES: Add more non-FSF copyright and license notices.
55764
55765 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55766 ((unused)).
55767
55768 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55769
55770 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55771 10000 as width of padded output.
55772
55773 2012-12-04 Joseph Myers <joseph@codesourcery.com>
55774
55775 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55776
55777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55778 variable LX with __attribute__ ((unused)).
55779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55780 Likewise.
55781 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55783 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55784 with __attribute__ ((unused)).
55785
55786 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
55787
55788 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55789
55790 2012-12-04 Joseph Myers <joseph@codesourcery.com>
55791
55792 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55793 (CFLAGS-nldbl-acos.c): New variable.
55794 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55795 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55796 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55797 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55798 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55799 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55800 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55801 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55802 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55803 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55804 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55805 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55806 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55807 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55808 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55809 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55810 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55811 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55812 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55813 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55814 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55815 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55816 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55817 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55818 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55819 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55820 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55821 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55822 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55823 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55824 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55825 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55826 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55827 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55828 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55829 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55830 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55831 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55832 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55833 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55834 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55835 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55836 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55837 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55838 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55839 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55840 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55841 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55842 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55843 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55844 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55845 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55846 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55847 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55848 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55849 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55850 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55851 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55852 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55853 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55854 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55855 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55856 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55857 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55858 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55859 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55860 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55861 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55862 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55863 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55864 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55865 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55866 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55867 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55868 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55869 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55870 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55871 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55872 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55873 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55874 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55875 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55876 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55877 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55878 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55879 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55880 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55881 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55882 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55883 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55884 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55885 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55886 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55887 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55888 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55889 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55890 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55891
55892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55893 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55894
55895 [BZ #14914]
55896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55897 whole low double instead of just low 47 bits when splitting values
55898 into two parts.
55899
55900 2012-12-03 Allan McRae <allan@archlinux.org>
55901
55902 * manual/stdio.texi (Predefined Printf Handlers): Remove
55903 @hsep and @vsep usage.
55904
55905 2012-12-03 Mike Frysinger <vapier@gentoo.org>
55906
55907 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55908 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55909
55910 2012-12-03 Jeff Law <law@redhat.com>
55911
55912 * time/sys/time.h (settimeofday): Do not mark TV argument
55913 as __nonnull.
55914
55915 2012-12-01 Mike Frysinger <vapier@gentoo.org>
55916
55917 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55918 when currently writing and seek to current position when not.
55919 * libio/Makefile (tests): Remove bug-fclose1.
55920 * libio/bug-fclose1.c: Delete.
55921
55922 2012-12-01 Joseph Myers <joseph@codesourcery.com>
55923
55924 * manual/arith.texi (feenableexcept): Fix typo.
55925 (fedisableexcept): Likewise.
55926
55927 2012-11-30 Roland McGrath <roland@hack.frob.com>
55928
55929 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55930 second, differently-typed declaration, rather than a cast.
55931
55932 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55933
55934 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55935 * include/rpc/svc.h: ... here.
55936
55937 2012-11-30 Aurelien Jarno <aurel32@debian.org>
55938
55939 [BZ #13013]
55940 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55941 depending n and resplen2 to catch cases where answer
55942 equals answerp2.
55943
55944 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
55945
55946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55947 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55948
55949 2012-11-29 Mike Frysinger <vapier@gentoo.org>
55950
55951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55952
55953 2012-11-29 Roland McGrath <roland@hack.frob.com>
55954
55955 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55956
55957 2012-11-28 Jeff Law <law@redhat.com>
55958
55959 [BZ #13761]
55960 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55961 dataset_temporary. Track alloca usage into alloca_used.
55962 If dataset is large allocate and release it via malloc/free.
55963
55964 2012-06-04 Florian Weimer <fweimer@redhat.com>
55965
55966 [BZ #14197]
55967 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55968
55969 2012-11-28 David S. Miller <davem@davemloft.net>
55970
55971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55972
55973 2012-11-28 Joseph Myers <joseph@codesourcery.com>
55974
55975 [BZ #14803]
55976 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55977 of pi/2 rounded to nearest to 64 bits.
55978 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55979 nearest to 64 bits.
55980 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55981 bits.
55982
55983 2012-11-28 Jeff Law <law@redhat.com>
55984 Martin Osvald <mosvald@redhat.com>
55985
55986 [BZ #14889]
55987 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55988 * sunrpc/svc.c: Include time.h.
55989 (__svc_accept_failed): New function.
55990 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55991 any reason other than EINTR, call __svc_accept_failed.
55992 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55993 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55994
55995 2012-11-28 Andreas Schwab <schwab@suse.de>
55996
55997 * scripts/abilist.awk: Also handle indirect functions in .opd
55998 section.
55999
56000 2012-11-28 Joseph Myers <joseph@codesourcery.com>
56001
56002 [BZ #13881]
56003 * sysdeps/x86/fpu/powl_helper.c: New file.
56004 * sysdeps/x86/fpu/Makefile: Likewise.
56005 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56006 (p3): New object.
56007 (__ieee754_powl): Use __powl_helper for finite arguments except
56008 integer exponents below 8.
56009 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56010 (p3): New object.
56011 (__ieee754_powl): Use __powl_helper for finite arguments except
56012 integer exponents below 8.
56013 * math/libm-test.inc (pow_test): Add more tests and enable some
56014 previously disabled tests.
56015 * sysdeps/i386/fpu/libm-test-ulps: Update.
56016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56017
56018 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56019 Carlos O'Donell <carlos_odonell@mentor.com>
56020
56021 * nss/makedb.c (is_prime): Assert that input is odd and greater
56022 than 4. Note that fact in a comment too.
56023 (next_prime): Add 4 to input.
56024
56025 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56026
56027 [BZ #11741]
56028 * libio/Makefile (tests): Add test case tst-fwrite-error.
56029 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56030 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56031 * libio/tst-fwrite-error.c: New test case.
56032
56033 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
56034
56035 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56036 before casting to void *.
56037 * include/libc-internal.h (__pointer_type): New macro.
56038 (__integer_if_pointer_type_sub): Likewise.
56039 (__integer_if_pointer_type): Likewise.
56040 (cast_to_integer): Likewise.
56041 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56042 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56043 before casting to atomic64_t.
56044 (atomic_exchange_acq): Likewise.
56045 (__arch_exchange_and_add_body): Likewise.
56046 (__arch_add_body): Likewise.
56047 (atomic_add_negative): Likewise.
56048 (atomic_add_zero): Likewise.
56049
56050 2012-11-26 Joseph Myers <joseph@codesourcery.com>
56051
56052 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56053 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56054 (add_fdes): Likewise.
56055 (linear_search_fdes): Likewise.
56056 (binary_search_unencoded_fdes): Likewise.
56057
56058 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
56059
56060 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56061
56062 2012-11-24 Adam Conrad <adconrad@0c3.net>
56063
56064 * configure.in: Autodetect C++ header directories.
56065 * configure: Regenerated.
56066
56067 2012-11-23 Mike Frysinger <vapier@gentoo.org>
56068
56069 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56070
56071 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
56072
56073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56074
56075 2012-11-22 Joseph Myers <joseph@codesourcery.com>
56076
56077 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56078 LDBL_MANT_DIG == 106]: Disable some tests.
56079 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56080 Likewise.
56081 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56082 Likewise.
56083
56084 [BZ #14871]
56085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56086 input for small inputs. Return +/- pi/2 for large inputs.
56087 * math/libm-test.inc (atan_test): Add more tests.
56088
56089 * sysdeps/generic/unwind-dw2-fde-glibc.c
56090 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56091 __attribute__ ((unused)).
56092
56093 [BZ #14645]
56094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56095 x * y if x and y are nonzero and z is zero.
56096
56097 [BZ #14811]
56098 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56099 nonzero exponents with absolute value below 0x1p-117 to +/-
56100 0x1p-117.
56101
56102 [BZ #14869]
56103 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56104 up arguments below 2**-450, not just those below 2**-500.
56105 * math/libm-test.inc (hypot_test): Add another test.
56106
56107 [BZ #14868]
56108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56109 Return a+b for ratio over 2**120, not 2**60.
56110 * math/libm-test.inc (hypot_test): Add another test.
56111
56112 * math/libm-test.inc (clog_test): Use
56113 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56114 (clog10_test): Likewise.
56115
56116 [BZ #6778]
56117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56118
56119 2012-11-22 Andreas Schwab <schwab@suse.de>
56120
56121 * sysdeps/i386/fpu/libm-test-ulps: Update.
56122
56123 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
56124
56125 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56126 printf output with newline.
56127
56128 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
56129
56130 [BZ #14865]
56131 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56132 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56133 -z nodlopen, -z initfirst and -z execstack support.
56134 * configure: Regenerated.
56135
56136 * elf/elf.h (DF_1_NODIRECT): New macro.
56137 (DF_1_IGNMULDEF): Likewise.
56138 (DF_1_NOKSYMS): Likewise.
56139 (DF_1_NOHDR): Likewise.
56140 (DF_1_EDITED): Likewise.
56141 (DF_1_NORELOC): Likewise.
56142 (DF_1_SYMINTPOSE): Likewise.
56143 (DF_1_GLOBAUDIT): Likewise.
56144 (DF_1_SINGLETON): Likewise.
56145 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56146 DT_1_SUPPORTED_MASK bits.
56147 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56148
56149 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
56150
56151 * sysdeps/unix/make-syscalls.sh: Document prefixes.
56152
56153 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
56154
56155 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56156 macro.
56157
56158 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56159 (sendmmsg): Move declarations...
56160 * socket/sys/socket.h: ... here.
56161 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56162 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56163 include it from...
56164 * socket/recvmmsg.c: ... this new file.
56165 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56166 (sendmmsg): Rename to __sendmmsg, create weak alias and make
56167 definition of __sendmmsg hidden.
56168 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56169 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56170 Move ENOSYS stub into and include it from...
56171 * socket/sendmmsg.c: ... this new file.
56172 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56173 (sysdep_routines): Move recvmmsg and sendmmsg...
56174 * socket/Makefile (routines): ... here.
56175 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56176 (GLIBC_PRIVATE): Add __sendmmsg.
56177 * include/sys/socket.h (__sendmmsg): Add declarations.
56178 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56179 sendmmsg.
56180
56181 2012-11-20 Joseph Myers <joseph@codesourcery.com>
56182
56183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56184 variable I1 with __attribute__ ((unused)).
56185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56186
56187 2012-11-19 Joseph Myers <joseph@codesourcery.com>
56188
56189 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56190 DUMMY variables with __attribute__ ((unused)).
56191
56192 * bits/byteswap.h: Include <bits/types.h>.
56193 (__bswap_64): Use __uint64_t instead of unsigned long long int.
56194
56195 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
56196
56197 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56198 string_t. Do not manually set errno.
56199 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56200 length with __strnlen. Make sure to both set errno and return it on
56201 failure.
56202
56203 2012-11-19 David S. Miller <davem@davemloft.net>
56204
56205 With help from Joseph Myers.
56206 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56207 very large arguments properly.
56208 * math/libm-test.inc (atan_test): New tests.
56209 (atan2_test): New tests.
56210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56212
56213 2012-11-19 Joseph Myers <joseph@codesourcery.com>
56214
56215 [BZ #14856]
56216 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56217 Define to 3.
56218
56219 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56220 [POSIX] (EADDRNOTAVAIL): Likewise.
56221 [POSIX] (EAFNOSUPPORT): Likewise.
56222 [POSIX] (EALREADY): Likewise.
56223 [POSIX] (ECONNABORTED): Likewise.
56224 [POSIX] (ECONNREFUSED): Likewise.
56225 [POSIX] (ECONNRESET): Likewise.
56226 [POSIX] (EDESTADDRREQ): Likewise.
56227 [POSIX] (EDQUOT): Likewise.
56228 [POSIX] (EHOSTUNREACH): Likewise.
56229 [POSIX] (EIDRM): Likewise.
56230 [POSIX] (EISCONN): Likewise.
56231 [POSIX] (ELOOP): Likewise.
56232 [POSIX] (EMULTIHOP): Likewise.
56233 [POSIX] (ENETDOWN): Likewise.
56234 [POSIX] (ENETUNREACH): Likewise.
56235 [POSIX] (ENOBUFS): Likewise.
56236 [POSIX] (ENODATA): Likewise.
56237 [POSIX] (ENOLINK): Likewise.
56238 [POSIX] (ENOMSG): Likewise.
56239 [POSIX] (ENOPROTOOPT): Likewise.
56240 [POSIX] (ENOSR): Likewise.
56241 [POSIX] (ENOSTR): Likewise.
56242 [POSIX] (ENOTCONN): Likewise.
56243 [POSIX] (ENOTSOCK): Likewise.
56244 [POSIX] (EOPNOTSUPP): Likewise.
56245 [POSIX] (EOVERFLOW): Likewise.
56246 [POSIX] (EPROTO): Likewise.
56247 [POSIX] (EPROTONOSUPPORT): Likewise.
56248 [POSIX] (EPROTOTYPE): Likewise.
56249 [POSIX] (ESTALE): Likewise.
56250 [POSIX] (ETIME): Likewise.
56251 [POSIX] (ETXTBSY): Likewise.
56252 [POSIX] (EWOULDBLOCK): Likewise.
56253 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56254 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56255 [POSIX] (SEEK_CUR): Likewise.
56256 [POSIX] (SEEK_END): Likewise.
56257 [POSIX || UNIX98] (mode_t): Do not require.
56258 [POSIX] (off_t): Likewise.
56259 [POSIX] (pid_t): Likewise.
56260 [POSIX] (sys/stat.h): Do not allow header.
56261 [POSIX] (unistd.h): Likewise.
56262 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56263 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56264 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56265 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56266 require.
56267 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56268 sigevent): Specify elements.
56269 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56270 entry.
56271 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56272 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56273
56274 * conform/data/cpio.h-data [POSIX]: Disable whole file.
56275 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56276 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56277 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56278 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56279 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56280 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56281 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56282 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56283 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56284 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56285 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56286 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56287 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56288 Likewise.
56289 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56290 Likewise.
56291 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56292 Likewise.
56293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56294 Likewise.
56295 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56296 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56297 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56298 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56299 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56300 Specify lower bound on value.
56301 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56302 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56303 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56304 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56305 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56306 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56307 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56308 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56309 value.
56310 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56311 as optional.
56312 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56313 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56314 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56315 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56316 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56317 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56318 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56319 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56320 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56321 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56322 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56323 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56324 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56325 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56326 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56327 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56328 entry.
56329 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56330 optional.
56331 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56332 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56333 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56334 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56335 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56336 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56337 Likewise.
56338 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56339 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56340 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56341 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56342 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
56343 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56344 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56345 as optional.
56346 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56347 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56349 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56350 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56351 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56352 specify as optional.
56353 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56354 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56355 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56356 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56357 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56358 [XPG3] (NL_LANGMAX): Likewise.
56359 [POSIX || XPG3] (NL_MSGMAX): Likewise.
56360 [POSIX || XPG3] (NL_NMAX): Likewise.
56361 [POSIX || XPG3] (NL_SETMAX): Likewise.
56362 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56363 [XPG3] (NZERO): Likewise.
56364 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56365 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56366 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56367 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56368 (REG_ERANGE): Expect.
56369 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56370 optional-constant.
56371 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56372 Use (void) in prototype.
56373 [POSIX] (*_t): Allow.
56374 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56375 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56376 (WRDE_BADVAL): Expect.
56377
56378 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56379 expect.
56380 [XPG3 || XPG4] (O_RSYNC): Likewise.
56381 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56382 Likewise.
56383 [XPG3 || XPG4] (pthread_sigmask): Likewise.
56384 [XPG3 || XPG4] (sigqueue): Likewise.
56385 [XPG3 || XPG4] (sigtimedwait): Likewise.
56386 [XPG3 || XPG4] (sigwaitinfo): Likewise.
56387 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56388 [XPG3 || XPG4] (vsnprintf): Likewise.
56389 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56390 Likewise.
56391 [XPG3 || XPG4] (blksize_t): Likewise.
56392 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56393 Likewise.
56394 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56395 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56396 [XPG3 || XPG4] (struct itimerspec): Likewise.
56397 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56398 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56399 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56400 [XPG3 || XPG4] (clockid_t): Likewise.
56401 [XPG3 || XPG4] (timer_t): Likewise.
56402 [XPG3 || XPG4] (clock_getres): Likewise.
56403 [XPG3 || XPG4] (clock_gettime): Likewise.
56404 [XPG3 || XPG4] (clock_settime): Likewise.
56405 [XPG3 || XPG4] (nanosleep): Likewise.
56406 [XPG3 || XPG4] (timer_create): Likewise.
56407 [XPG3 || XPG4] (timer_delete): Likewise.
56408 [XPG3 || XPG4] (timer_gettime): Likewise.
56409 [XPG3 || XPG4] (timer_getoverrun): Likewise.
56410 [XPG3 || XPG4] (timer_settime): Likewise.
56411 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56412 [XPG3 || XPG4] (getlogin_r): Likewise.
56413 [XPG3 || XPG4] (pread): Likewise.
56414 [XPG3 || XPG4] (pthread_atfork): Likewise.
56415 [XPG3 || XPG4] (pwrite): Likewise.
56416
56417 [BZ #14835]
56418 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56419 <bits/siginfo.h>.
56420
56421 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
56422
56423 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56424 finalizing MALLSTREAM.
56425
56426 * sysdeps/mach/hurd/syncfs.c: New file.
56427
56428 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
56429
56430 [BZ #14719]
56431 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56432 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56433 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56434 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56435 (_nss_dns_gethostbyname4_r): Likewise.
56436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56437 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56438
56439 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
56440
56441 [BZ #13763]
56442 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56443
56444 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
56445
56446 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56447 * elf/cache.c (print_entry): Print ",AArch64" for
56448 FLAG_AARCH64_LIB64
56449
56450 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56451 * elf/cache.c (print_entry): Print ",hard-float" for
56452 FLAG_ARM_LIBHF.
56453
56454 2012-11-18 David S. Miller <davem@davemloft.net>
56455
56456 With help from Joseph Myers.
56457 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56458 cutoff to 2**-13.
56459 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56460 cutoff to 2**-25.
56461 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56462 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56463 small.
56464 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56465 * math/libm-test.inc (y0_test): New tests.
56466 (y1_test): New tests.
56467 * sysdeps/i386/fpu/libm-test-ulps: Update.
56468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56470
56471 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
56472
56473 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56474 64-bit targets.
56475 * configure: Regenerated.
56476
56477 2012-11-17 David S. Miller <davem@davemloft.net>
56478
56479 [BZ #14811]
56480 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56481 nonzero exponents with absolute value below 0x1p-128 to +/-
56482 0x1p-128.
56483
56484 2012-11-17 Joseph Myers <joseph@codesourcery.com>
56485
56486 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56487
56488 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56489
56490 * posix/getconf-speclist.c: New file.
56491 * posix/posix-envs.def: Likewise.
56492 * posix/confstr.c (START_ENV_GROUP): New macro.
56493 (END_ENV_GROUP): Likewise.
56494 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56495 (KNOWN_PRESENT_ENV_STRING): Likewise.
56496 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56497 (UNKNOWN_ENVIRONMENT): Likewise.
56498 (confstr): Include posix-envs.def instead of handling
56499 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56500 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56501 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56502 (END_ENV_GROUP): Likewise.
56503 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56504 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56505 (UNKNOWN_ENVIRONMENT): Likewise.
56506 (__sysconf): Include posix-envs.def instead of handling associated
56507 cases directly here.
56508 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56509 preprocessing getconf-speclist.c rather than running getconf or
56510 generating empty file.
56511
56512 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
56513
56514 * scripts/check-local-headers.sh: Ignore 'mach' headers.
56515
56516 2012-11-16 Andrej Lajovic <natrij@gmail.com>
56517
56518 [BZ #14672]
56519 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56520
56521 2012-11-16 David S. Miller <davem@davemloft.net>
56522
56523 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56524 smaller than LDBL_EPSILON/2.0L, just return xm1.
56525
56526 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
56527
56528 * elf/tst-array1.c (init): Set constructor priority to 1000.
56529 (fini): Set destructor priority to 1000.
56530 * elf/tst-array2dep.c: Likewise.
56531
56532 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56533
56534 [BZ #11741]
56535 * libio/fileops.c (_IO_new_file_write): Correctly return error.
56536 (_IO_new_file_xsputn): Also return EOF if none of the input
56537 data was written when overflow failed.
56538 * libio/iopadn.c (_IO_padn): Likewise.
56539 * libio/iowpadn.c (_IO_wpadn): Likewise.
56540 * stdio-common/tst-put-error.c: Add copyright notice.
56541 (do_test): Add case for printing padded string.
56542 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56543 _IO_padn returned error.
56544 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56545 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56546 return EOF.
56547
56548 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56549
56550 * libio/libioP.h: Add comment note that the references to C++
56551 bits are now obsolete.
56552
56553 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56554
56555 * math/libm-test.inc (check_complex): Use asprintf.
56556
56557 2012-11-14 Joseph Myers <joseph@codesourcery.com>
56558
56559 * debug/pcprofiledump.c (print_version): Update copyright year.
56560 * malloc/memusagestat.c (print_version): Likewise.
56561
56562 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
56563
56564 [BZ #14831]
56565 * elf/Makefile (tests): Add tst-audit8.
56566 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56567 ($(objpfx)tst-audit8.out): New target.
56568 (tst-audit8-ENV): New variable.
56569 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56570 audit if l_reloc_result is NULL.
56571 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56572 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56573 * elf/tst-audit8.c: New file.
56574
56575 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56576
56577 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56578 * misc/Makefile (CFLAGS-select.c): Define.
56579 * posix/Makefile (CFLAGS-pause.c): Define.
56580
56581 2012-11-13 David S. Miller <davem@davemloft.net>
56582
56583 * crypt/Makefile: Move test targets after toplevel Rules
56584 inclusion. Grab any necessary sysdep routines when linking.
56585 * crypt/md5.c (md5_process_block): Remove define, we will always
56586 name it __md5_process_block.
56587 (md5_finish_ctx): Update md5_process_block call.
56588 (md5_stream): Likewise.
56589 (md5_process_bytes): Likewise.
56590 (md5_process_block): Rename to __md5_process_block and move to ...
56591 * crypt/md5-block.c: ... here.
56592 * crypt/sha256.c (sha256_process_block): Move to ...
56593 * crypt/sha256-block.c: ... here.
56594 * crypt/sha512.c (sha512_process_block): Move to ...
56595 * crypt/sha512-block.c: ... here.
56596 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56597 path.
56598 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56599 * sysdeps/sparc/sparc64/multiarch/Makefile
56600 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56601 crypt subdir.
56602 (localedef-aux): Add md5 crypto assembler when in locale subdir.
56603 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56604 multiarch changes.
56605 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56606 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56607 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56608 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56609 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56610 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56611 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56612 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56613 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56614 file.
56615 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56616 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56617 file.
56618 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56619
56620 2012-11-13 Joseph Myers <joseph@codesourcery.com>
56621
56622 * timezone/tzselect.ksh: Update from tzcode git revision
56623 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56624 * timezone/zdump.c: Likewise.
56625 * timezone/zic.c: Likewise.
56626 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56627 in TZVERSION setting, not $(PKGVERSION).
56628 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
56629 REPORT_BUGS_TO settings.
56630
56631 [BZ #14838]
56632 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56633 macro.
56634
56635 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56636
56637 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56638 detection to immediately after _FP_ROUND().
56639 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56640 bits are 0.
56641
56642 2012-11-11 David S. Miller <davem@davemloft.net>
56643
56644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56645 inttypes.h
56646 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56647 __close rather than their public counterparts.
56648
56649 2012-11-10 Joseph Myers <joseph@codesourcery.com>
56650
56651 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56652 file.
56653 [UNIX98] (sem_timedwait): Do not expect.
56654 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56655 [XPG4 || UNIX98] (sockatmark): Do not expect.
56656 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56657 (clock_getcpuclockid): Do not expect.
56658 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56659 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56660 Do not expect.
56661 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56662 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56663 [UNIX98] (vwscanf): Likewise.
56664 [UNIX98] (vswscanf): Likewise.
56665
56666 2012-11-09 Joseph Myers <joseph@codesourcery.com>
56667
56668 * timezone/version.h: Remove file.
56669 * timezone/README: Do not refer to version.h.
56670 * timezone/Makefile ($(objpfx)zic.o): New dependency on
56671 $(objpfx)version.h.
56672 ($(objpfx)zdump.o): Likewise.
56673 ($(objpfx)version.h): New target.
56674
56675 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56676 2012i.
56677 * timezone/README: Don't mention modification to tzselect.ksh.
56678 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56679 work on unmodified tzselect.ksh. Substitute version numbers in
56680 tzselect.ksh.
56681
56682 * Makefile (format-me): Remove.
56683 (INSTALL): Adjust indentation. Use commands directly instead of
56684 using $(format-me).
56685
56686 * aclocal.m4 (ACX_PKGVERSION): New macro.
56687 (ACX_BUGURL): Likewise.
56688 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56689 (PKGVERSION): New AC_DEFINE_UNQUOTED.
56690 (REPORT_BUGS_TO): Likewise.
56691 * configure: Regenerated.
56692 * config.h.in (PKGVERSION): New macro.
56693 (REPORT_BUGS_TO): Likewise.
56694 * config.make.in (PKGVERSION): New variable.
56695 (PKGVERSION_TEXI): Likewise.
56696 (REPORT_BUGS_TO): Likewise.
56697 (REPORT_BUGS_TEXI): Likewise.
56698 * Makefile (format-me): Use -I$(common-objpfx)manual.
56699 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56700 ($(common-objpfx)manual/%): New target.
56701 (manual/%): Remove target.
56702 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56703 (print_version): Use PKGVERSION.
56704 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56705 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56706 and REPORT_BUGS_TO.
56707 ($(objpfx)xtrace): Likewise.
56708 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56709 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56710 (print_version): Use PKGVERSION.
56711 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56712 (do_version): Use PKGVERSION.
56713 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56714 REPORT_BUGS_TO.
56715 (common-ldd-rewrite): Likewise.
56716 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56717 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56718 (print_version): Use PKGVERSION.
56719 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56720 * elf/pldd.c (argp_program_bug_address): Remove variable.
56721 (more_help): New function.
56722 (argp): Use more_help.
56723 (print_version): Use PKGVERSION.
56724 * elf/sln.c (main): Use PKGVERSION.
56725 (usage): Use REPORT_BUGS_TO.
56726 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56727 (top level): Use PKGVERSION.
56728 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56729 (print_version): Use PKGVERSION.
56730 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56731 (print_version): Use PKGVERSION.
56732 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56733 (print_version): Use PKGVERSION.
56734 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56735 (print_version): Use PKGVERSION.
56736 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56737 (print_version): Use PKGVERSION.
56738 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56739 (print_version): Use PKGVERSION.
56740 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56741 and BUGURL.
56742 ($(objpfx)memusage): Likewise.
56743 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56744 (do_version): Use PKGVERSION.
56745 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56746 (print_version): Use PKGVERSION.
56747 * malloc/mtrace.pl ($PACKAGE): Remove variable.
56748 ($PKGVERSION): New variable.
56749 ($REPORT_BUGS_TO): Likewise.
56750 (usage): Use $REPORT_BUGS_TO.
56751 (top level): Use $PKGVERSION.
56752 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56753 ($(objpfx)pkgvers.texi): New rule.
56754 ($(objpfx)stamp-pkgvers): Likewise.
56755 * manual/install.texi: Include pkgvers.texi.
56756 (--with-pkgversion): Document new configure option.
56757 (--with-bugurl): Likewise.
56758 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56759 than necessarily for this particular distribution. Use
56760 REPORT_BUGS_TO for where to report bugs.
56761 * INSTALL: Regenerated.
56762 * manual/libc.texinfo: Include pkgvers.texi.
56763 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56764 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56765 (print_version): Use PKGVERSION.
56766 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56767 (print_version): Use PKGVERSION.
56768 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56769 (print_version): Use PKGVERSION.
56770 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56771 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56772 macro.
56773 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56774 (print_version): Use PKGVERSION.
56775 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56776 (print_version): Use PKGVERSION.
56777 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56778 and PKGVERSION.
56779
56780 * timezone/checktab.awk: Update from tzcode 2012i.
56781 * timezone/ialloc.c: Likewise.
56782 * timezone/private.h: Likewise.
56783 * timezone/scheck.c: Likewise.
56784 * timezone/tzfile.h: Likewise.
56785 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56786 (TZVERSION): Hardcode tzcode version number.
56787 * timezone/zdump.c: Update from tzcode 2012i.
56788 * timezone/zic.c: Likewise.
56789 * timezone/version.h: New file.
56790 * timezone/README: Describe version.h. Update upstream location.
56791
56792 [BZ #14824]
56793 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56794 (mktemp): Enable declaration.
56795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56796 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56799 Likewise.
56800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56801 Likewise.
56802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56803 Likewise.
56804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56805 Likewise.
56806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56807 Likewise.
56808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56809 Likewise.
56810
56811 [BZ #14821]
56812 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56813 offset in buffer as u_int32_t not u_long. Consistently use memcpy
56814 for copies of such integer values.
56815 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56816 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56817
56818 2012-11-09 Andreas Jaeger <aj@suse.de>
56819
56820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56821 definitions and declarations that are provided by
56822 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56823
56824 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56825
56826 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56827 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56828 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56829 definition.
56830
56831 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56832
56833 * elf/elf.h: Update comment before AArch64 relocations.
56834
56835 2012-11-07 David S. Miller <davem@davemloft.net>
56836
56837 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56838 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56839 (__start_context): Declare.
56840 (__makecontext_ret): Delete.
56841 (__makecontext): Hook up __start_context instead of
56842 __makecontext_ret.
56843 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56844 (sysdep_routines): Add __start_context when in stdlib.
56845
56846 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56847
56848 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56849 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56850 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
56851 hardcoded "nm".
56852 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
56853 (READELF): New variable. Use it instead of hardcoded "readelf".
56854
56855 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
56856
56857 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56858 * sysdeps/x86/Makefile: Here.
56859 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56860 * sysdeps/x86/tst-xmmymm.sh: This.
56861
56862 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56863
56864 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56865 expectations.
56866 [UNIX98] (pthread_barrier_t): Do not expect.
56867 [UNIX98] (pthread_barrierattr_t): Likewise.
56868 [UNIX98] (pthread_spinlock_t): Likewise.
56869 [UNIX98] (pthread_barrier_destroy): Likewise.
56870 [UNIX98] (pthread_barrier_init): Likewise.
56871 [UNIX98] (pthread_barrier_wait): Likewise.
56872 [UNIX98] (pthread_barrierattr_destroy): Likewise.
56873 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56874 [UNIX98] (pthread_barrierattr_init): Likewise.
56875 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56876 [UNIX98] (pthread_getcpuclockid): Likewise.
56877 [UNIX98] (pthread_mutex_timedlock): Likewise.
56878 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56879 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56880 [UNIX98] (pthread_sigmask): Likewise.
56881 [UNIX98] (pthread_spin_destroy): Likewise.
56882 [UNIX98] (pthread_spin_init): Likewise.
56883 [UNIX98] (pthread_spin_lock): Likewise.
56884 [UNIX98] (pthread_spin_trylock): Likewise.
56885 [UNIX98] (pthread_spin_unlock): Likewise.
56886 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56887 Do not expect.
56888 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56889 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56890 [XPG3 || XPG4] (pthread_cond_t): Likewise.
56891 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56892 [XPG3 || XPG4] (pthread_key_t): Likewise.
56893 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56894 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56895 [XPG3 || XPG4] (pthread_once_t): Likewise.
56896 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56897 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56898 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56899 [XPG3 || XPG4] (pthread_t): Likewise.
56900
56901 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56902 not expect.
56903 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56904
56905 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56906 Change function return type to int.
56907
56908 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56909 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56910 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56911 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56912 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56913 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56914 [!POSIX] (posix_madvise): Likewise.
56915 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56916 && !UNIX98].
56917 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56918 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56919 (mode_t): Likewise.
56920 (posix_mem_offset): Likewise.
56921 (posix_typed_mem_get_info): Likewise.
56922 (posix_typed_mem_open): Likewise.
56923
56924 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56925 Change condition to [XOPEN2K8].
56926
56927 * conform/conformtest.pl: Preprocess allow-header data with -x c
56928 instead of from stdin.
56929 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56930 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56931 [C99-based standards] (cerfc): Likewise.
56932 [C99-based standards] (cexp2): Likewise.
56933 [C99-based standards] (cexpm1): Likewise.
56934 [C99-based standards] (clog10): Likewise.
56935 [C99-based standards] (clog1p): Likewise.
56936 [C99-based standards] (clog2): Likewise.
56937 [C99-based standards] (clgamma): Likewise.
56938 [C99-based standards] (ctgamma): Likewise.
56939 [C99-based standards] (cerff): Likewise.
56940 [C99-based standards] (cerfcf): Likewise.
56941 [C99-based standards] (cexp2f): Likewise.
56942 [C99-based standards] (cexpm1f): Likewise.
56943 [C99-based standards] (clog10f): Likewise.
56944 [C99-based standards] (clog1pf): Likewise.
56945 [C99-based standards] (clog2f): Likewise.
56946 [C99-based standards] (clgammaf): Likewise.
56947 [C99-based standards] (ctgammaf): Likewise.
56948 [C99-based standards] (cerfl): Likewise.
56949 [C99-based standards] (cerfcl): Likewise.
56950 [C99-based standards] (cexp2l): Likewise.
56951 [C99-based standards] (cexpm1l): Likewise.
56952 [C99-based standards] (clog10l): Likewise.
56953 [C99-based standards] (clog1pl): Likewise.
56954 [C99-based standards] (clog2l): Likewise.
56955 [C99-based standards] (clgammal): Likewise.
56956 [C99-based standards] (ctgammal): Likewise.
56957 * conform/data/inttypes.h-data [C99-based standards]: Include
56958 stdint.h-data. Remove all expectations for stdint.h contents.
56959 [C99-based standards] (PRI*): Do not allow.
56960 [C99-based standards] (SCN*): Likewise.
56961 [C99-based standards] (*_t): Likewise.
56962 [C99-based-standards] (PRId8): Expect macro.
56963 [C99-based-standards] (PRIi8): Likewise.
56964 [C99-based-standards] (PRIo8): Likewise.
56965 [C99-based-standards] (PRIu8): Likewise.
56966 [C99-based-standards] (PRIx8): Likewise.
56967 [C99-based-standards] (PRIX8): Likewise.
56968 [C99-based-standards] (SCNd8): Likewise.
56969 [C99-based-standards] (SCNi8): Likewise.
56970 [C99-based-standards] (SCNo8): Likewise.
56971 [C99-based-standards] (SCNu8): Likewise.
56972 [C99-based-standards] (SCNx8): Likewise.
56973 [C99-based-standards] (PRIdLEAST8): Likewise.
56974 [C99-based-standards] (PRIiLEAST8): Likewise.
56975 [C99-based-standards] (PRIoLEAST8): Likewise.
56976 [C99-based-standards] (PRIuLEAST8): Likewise.
56977 [C99-based-standards] (PRIxLEAST8): Likewise.
56978 [C99-based-standards] (PRIXLEAST8): Likewise.
56979 [C99-based-standards] (SCNdLEAST8): Likewise.
56980 [C99-based-standards] (SCNiLEAST8): Likewise.
56981 [C99-based-standards] (SCNoLEAST8): Likewise.
56982 [C99-based-standards] (SCNuLEAST8): Likewise.
56983 [C99-based-standards] (SCNxLEAST8): Likewise.
56984 [C99-based-standards] (PRIdFAST8): Likewise.
56985 [C99-based-standards] (PRIiFAST8): Likewise.
56986 [C99-based-standards] (PRIoFAST8): Likewise.
56987 [C99-based-standards] (PRIuFAST8): Likewise.
56988 [C99-based-standards] (PRIxFAST8): Likewise.
56989 [C99-based-standards] (PRIXFAST8): Likewise.
56990 [C99-based-standards] (SCNdFAST8): Likewise.
56991 [C99-based-standards] (SCNiFAST8): Likewise.
56992 [C99-based-standards] (SCNoFAST8): Likewise.
56993 [C99-based-standards] (SCNuFAST8): Likewise.
56994 [C99-based-standards] (SCNxFAST8): Likewise.
56995 [C99-based-standards] (PRId16): Likewise.
56996 [C99-based-standards] (PRIi16): Likewise.
56997 [C99-based-standards] (PRIo16): Likewise.
56998 [C99-based-standards] (PRIu16): Likewise.
56999 [C99-based-standards] (PRIx16): Likewise.
57000 [C99-based-standards] (PRIX16): Likewise.
57001 [C99-based-standards] (SCNd16): Likewise.
57002 [C99-based-standards] (SCNi16): Likewise.
57003 [C99-based-standards] (SCNo16): Likewise.
57004 [C99-based-standards] (SCNu16): Likewise.
57005 [C99-based-standards] (SCNx16): Likewise.
57006 [C99-based-standards] (PRIdLEAST16): Likewise.
57007 [C99-based-standards] (PRIiLEAST16): Likewise.
57008 [C99-based-standards] (PRIoLEAST16): Likewise.
57009 [C99-based-standards] (PRIuLEAST16): Likewise.
57010 [C99-based-standards] (PRIxLEAST16): Likewise.
57011 [C99-based-standards] (PRIXLEAST16): Likewise.
57012 [C99-based-standards] (SCNdLEAST16): Likewise.
57013 [C99-based-standards] (SCNiLEAST16): Likewise.
57014 [C99-based-standards] (SCNoLEAST16): Likewise.
57015 [C99-based-standards] (SCNuLEAST16): Likewise.
57016 [C99-based-standards] (SCNxLEAST16): Likewise.
57017 [C99-based-standards] (PRIdFAST16): Likewise.
57018 [C99-based-standards] (PRIiFAST16): Likewise.
57019 [C99-based-standards] (PRIoFAST16): Likewise.
57020 [C99-based-standards] (PRIuFAST16): Likewise.
57021 [C99-based-standards] (PRIxFAST16): Likewise.
57022 [C99-based-standards] (PRIXFAST16): Likewise.
57023 [C99-based-standards] (SCNdFAST16): Likewise.
57024 [C99-based-standards] (SCNiFAST16): Likewise.
57025 [C99-based-standards] (SCNoFAST16): Likewise.
57026 [C99-based-standards] (SCNuFAST16): Likewise.
57027 [C99-based-standards] (SCNxFAST16): Likewise.
57028 [C99-based-standards] (PRId32): Likewise.
57029 [C99-based-standards] (PRIi32): Likewise.
57030 [C99-based-standards] (PRIo32): Likewise.
57031 [C99-based-standards] (PRIu32): Likewise.
57032 [C99-based-standards] (PRIx32): Likewise.
57033 [C99-based-standards] (PRIX32): Likewise.
57034 [C99-based-standards] (SCNd32): Likewise.
57035 [C99-based-standards] (SCNi32): Likewise.
57036 [C99-based-standards] (SCNo32): Likewise.
57037 [C99-based-standards] (SCNu32): Likewise.
57038 [C99-based-standards] (SCNx32): Likewise.
57039 [C99-based-standards] (PRIdLEAST32): Likewise.
57040 [C99-based-standards] (PRIiLEAST32): Likewise.
57041 [C99-based-standards] (PRIoLEAST32): Likewise.
57042 [C99-based-standards] (PRIuLEAST32): Likewise.
57043 [C99-based-standards] (PRIxLEAST32): Likewise.
57044 [C99-based-standards] (PRIXLEAST32): Likewise.
57045 [C99-based-standards] (SCNdLEAST32): Likewise.
57046 [C99-based-standards] (SCNiLEAST32): Likewise.
57047 [C99-based-standards] (SCNoLEAST32): Likewise.
57048 [C99-based-standards] (SCNuLEAST32): Likewise.
57049 [C99-based-standards] (SCNxLEAST32): Likewise.
57050 [C99-based-standards] (PRIdFAST32): Likewise.
57051 [C99-based-standards] (PRIiFAST32): Likewise.
57052 [C99-based-standards] (PRIoFAST32): Likewise.
57053 [C99-based-standards] (PRIuFAST32): Likewise.
57054 [C99-based-standards] (PRIxFAST32): Likewise.
57055 [C99-based-standards] (PRIXFAST32): Likewise.
57056 [C99-based-standards] (SCNdFAST32): Likewise.
57057 [C99-based-standards] (SCNiFAST32): Likewise.
57058 [C99-based-standards] (SCNoFAST32): Likewise.
57059 [C99-based-standards] (SCNuFAST32): Likewise.
57060 [C99-based-standards] (SCNxFAST32): Likewise.
57061 [C99-based-standards] (PRId64): Likewise.
57062 [C99-based-standards] (PRIi64): Likewise.
57063 [C99-based-standards] (PRIo64): Likewise.
57064 [C99-based-standards] (PRIu64): Likewise.
57065 [C99-based-standards] (PRIx64): Likewise.
57066 [C99-based-standards] (PRIX64): Likewise.
57067 [C99-based-standards] (SCNd64): Likewise.
57068 [C99-based-standards] (SCNi64): Likewise.
57069 [C99-based-standards] (SCNo64): Likewise.
57070 [C99-based-standards] (SCNu64): Likewise.
57071 [C99-based-standards] (SCNx64): Likewise.
57072 [C99-based-standards] (PRIdLEAST64): Likewise.
57073 [C99-based-standards] (PRIiLEAST64): Likewise.
57074 [C99-based-standards] (PRIoLEAST64): Likewise.
57075 [C99-based-standards] (PRIuLEAST64): Likewise.
57076 [C99-based-standards] (PRIxLEAST64): Likewise.
57077 [C99-based-standards] (PRIXLEAST64): Likewise.
57078 [C99-based-standards] (SCNdLEAST64): Likewise.
57079 [C99-based-standards] (SCNiLEAST64): Likewise.
57080 [C99-based-standards] (SCNoLEAST64): Likewise.
57081 [C99-based-standards] (SCNuLEAST64): Likewise.
57082 [C99-based-standards] (SCNxLEAST64): Likewise.
57083 [C99-based-standards] (PRIdFAST64): Likewise.
57084 [C99-based-standards] (PRIiFAST64): Likewise.
57085 [C99-based-standards] (PRIoFAST64): Likewise.
57086 [C99-based-standards] (PRIuFAST64): Likewise.
57087 [C99-based-standards] (PRIxFAST64): Likewise.
57088 [C99-based-standards] (PRIXFAST64): Likewise.
57089 [C99-based-standards] (SCNdFAST64): Likewise.
57090 [C99-based-standards] (SCNiFAST64): Likewise.
57091 [C99-based-standards] (SCNoFAST64): Likewise.
57092 [C99-based-standards] (SCNuFAST64): Likewise.
57093 [C99-based-standards] (SCNxFAST64): Likewise.
57094 [C99-based-standards] (PRIdMAX): Likewise.
57095 [C99-based-standards] (PRIiMAX): Likewise.
57096 [C99-based-standards] (PRIoMAX): Likewise.
57097 [C99-based-standards] (PRIuMAX): Likewise.
57098 [C99-based-standards] (PRIxMAX): Likewise.
57099 [C99-based-standards] (PRIXMAX): Likewise.
57100 [C99-based-standards] (SCNdMAX): Likewise.
57101 [C99-based-standards] (SCNiMAX): Likewise.
57102 [C99-based-standards] (SCNoMAX): Likewise.
57103 [C99-based-standards] (SCNuMAX): Likewise.
57104 [C99-based-standards] (SCNxMAX): Likewise.
57105 [C99-based-standards] (PRIdPTR): Likewise.
57106 [C99-based-standards] (PRIiPTR): Likewise.
57107 [C99-based-standards] (PRIoPTR): Likewise.
57108 [C99-based-standards] (PRIuPTR): Likewise.
57109 [C99-based-standards] (PRIxPTR): Likewise.
57110 [C99-based-standards] (PRIXPTR): Likewise.
57111 [C99-based-standards] (SCNdPTR): Likewise.
57112 [C99-based-standards] (SCNiPTR): Likewise.
57113 [C99-based-standards] (SCNoPTR): Likewise.
57114 [C99-based-standards] (SCNuPTR): Likewise.
57115 [C99-based-standards] (SCNxPTR): Likewise.
57116 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57117 allow.
57118 * conform/data/stdint.h-data: Update comments to clarify
57119 requirements.
57120 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
57121 type.
57122 [C99-based standards] (INT8_MAX): Likewise.
57123 [C99-based standards] (INT16_MIN): Likewise.
57124 [C99-based standards] (INT16_MAX): Likewise.
57125 [C99-based standards] (INT32_MIN): Likewise.
57126 [C99-based standards] (INT32_MAX): Likewise.
57127 [C99-based standards] (INT64_MIN): Likewise.
57128 [C99-based standards] (INT64_MAX): Likewise.
57129 [C99-based standards] (UINT8_MAX): Likewise.
57130 [C99-based standards] (UINT16_MAX): Likewise.
57131 [C99-based standards] (UINT32_MAX): Likewise.
57132 [C99-based standards] (UINT64_MAX): Likewise.
57133 [C99-based standards] (INT_LEAST8_MIN): Likewise.
57134 [C99-based standards] (INT_LEAST8_MAX): Likewise.
57135 [C99-based standards] (INT_LEAST16_MIN): Likewise.
57136 [C99-based standards] (INT_LEAST16_MAX): Likewise.
57137 [C99-based standards] (INT_LEAST32_MIN): Likewise.
57138 [C99-based standards] (INT_LEAST32_MAX): Likewise.
57139 [C99-based standards] (INT_LEAST64_MIN): Likewise.
57140 [C99-based standards] (INT_LEAST64_MAX): Likewise.
57141 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57142 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57143 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57144 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57145 [C99-based standards] (INT_FAST8_MIN): Likewise.
57146 [C99-based standards] (INT_FAST8_MAX): Likewise.
57147 [C99-based standards] (INT_FAST16_MIN): Likewise.
57148 [C99-based standards] (INT_FAST16_MAX): Likewise.
57149 [C99-based standards] (INT_FAST32_MIN): Likewise.
57150 [C99-based standards] (INT_FAST32_MAX): Likewise.
57151 [C99-based standards] (INT_FAST64_MIN): Likewise.
57152 [C99-based standards] (INT_FAST64_MAX): Likewise.
57153 [C99-based standards] (UINT_FAST8_MAX): Likewise.
57154 [C99-based standards] (UINT_FAST16_MAX): Likewise.
57155 [C99-based standards] (UINT_FAST32_MAX): Likewise.
57156 [C99-based standards] (UINT_FAST64_MAX): Likewise.
57157 [C99-based standards] (INTPTR_MIN): Likewise.
57158 [C99-based standards] (INTPTR_MAX): Likewise.
57159 [C99-based standards] (UINTPTR_MAX): Likewise.
57160 [C99-based standards] (INTMAX_MIN): Likewise.
57161 [C99-based standards] (INTMAX_MAX): Likewise.
57162 [C99-based standards] (UINTMAX_MAX): Likewise.
57163 [C99-based standards] (PTRDIFF_MIN): Likewise.
57164 [C99-based standards] (PTRDIFF_MAX): Likewise.
57165 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57166 [C99-based standards] (SIZE_MAX): Likewise.
57167 [C99-based standards] (WCHAR_MAX): Likewise.
57168 [C99-based standards] (WINT_MAX): Likewise.
57169 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
57170 constraint on value.
57171 [C99-based standards] (WCHAR_MIN): Likewise.
57172 [C99-based standards] (WINT_MIN): Likewise.
57173 [C99-based standards] (*_t): Allow.
57174 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57175 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57176 Include math.h-data and complex.h-data. Remove all expectations
57177 of math.h and complex.h contents.
57178 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57179 at end of line.
57180 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57181 (struct tm): Expect tag.
57182 [C99-based-standards] (wcstof): Expect function.
57183 [C99-based-standards] (wcstold): Likewise.
57184 [C99-based-standards] (wcstoll): Likewise.
57185 [C99-based-standards] (wcstoull): Likewise.
57186 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57187 macro-int-constant. Specify type.
57188 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
57189 constraint on value.
57190 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57191 Specify type.
57192 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57193 Specify value.
57194 [ISO C standards]: Do not allow headers.
57195 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57196 wcs[abcdefghijklmnopqrstuvwxyz]*.
57197 [ISO C standards] (*_t): Do not allow.
57198 * conform/data/wctype.h-data [C99-based standards] (iswblank):
57199 Expect function.
57200 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57201 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57202 Specify type.
57203 [ISO C standards]: Do not allow headers.
57204 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57205 is[abcdefghijklmnopqrstuvwxyz]*.
57206 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57207 to[abcdefghijklmnopqrstuvwxyz]*.
57208 [ISO C standards] (*_t): Do not allow.
57209 * conform/data/stdalign.h-data: New file.
57210 * conform/data/stdbool.h-data: Likewise.
57211 * conform/data/stdnoreturn.h-data: Likewise.
57212
57213 2012-11-07 Roland McGrath <roland@hack.frob.com>
57214
57215 [BZ #14815]
57216 * manual/filesys.texi (Directory Entries): Typo fix.
57217 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57218
57219 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57220
57221 * elf/elf.h (EM_AARCH64): New macro.
57222 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57223 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57224 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57225 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57226 (R_AARCH64_TLSDESC): Likewise.
57227 (NT_ARM_TLS): Likewise.
57228 (NT_ARM_HW_BREAK): Likewise.
57229 (NT_ARM_HW_WATCH): Likewise.
57230
57231 2012-11-07 Joseph Myers <joseph@codesourcery.com>
57232
57233 [BZ #14811]
57234 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57235 (__ieee754_powl): Saturate nonzero exponents with absolute value
57236 below 0x1p-79 to +/- 0x1p-79.
57237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57238 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57239 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57240 nonzero exponents with absolute value below 0x1p-32 to +/-
57241 0x1p-32.
57242 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57243 (__ieee754_powl): Saturate nonzero exponents with absolute value
57244 below 0x1p-79 to +/- 0x1p-79.
57245 * math/libm-test.inc (pow_test): Add more tests.
57246
57247 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57248
57249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57250 _dl_s390_cap_flags with kernel. Increase string length.
57251 (_dl_s390_platforms): Add z196 and zEC12.
57252
57253 2012-11-07 Joseph Myers <joseph@codesourcery.com>
57254
57255 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57256 Change XOPEN21K to XOPEN2K.
57257
57258 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
57259
57260 * string/memmove.c: Use memcpy when possible.
57261
57262 2012-11-06 Andreas Jaeger <aj@suse.de>
57263
57264 * po/eo.po: Update from translation team.
57265
57266 2012-11-06 Joseph Myers <joseph@codesourcery.com>
57267
57268 [BZ #14793]
57269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57270 exponent and small x and y exponents, scale x or y up. Increase
57271 by 2 the exponent used in scaling up.
57272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57274 * math/libm-test.inc (fma_test): Add more tests.
57275 (fma_test_towardzero): Likewise.
57276 (fma_test_downward): Likewise.
57277 (fma_test_upward): Likewise.
57278
57279 2012-11-05 Joseph Myers <joseph@codesourcery.com>
57280
57281 [BZ #14805]
57282 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57283 fenv_t *.
57284
57285 [BZ #14801]
57286 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57287 namespace for names of struct fields.
57288 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57289 fenv_t fields.
57290 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57291 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57292
57293 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
57294
57295 [BZ #3665]
57296 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57297
57298 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
57299
57300 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57301 PTR_DEMANGLE.
57302
57303 [BZ #5246]
57304 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57305 PTR_DEMANGLE.
57306
57307 2012-11-04 Joseph Myers <joseph@codesourcery.com>
57308
57309 [BZ #14797]
57310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57311 definitely overflow as x * y not x * y + z.
57312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57313 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57314 * math/libm-test.inc (fma_test): Add more tests.
57315 (fma_test_towardzero): Likewise.
57316 (fma_test_downward): Likewise.
57317 (fma_test_upward): Likewise.
57318
57319 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
57320
57321 [BZ #157]
57322
57323 * include/stub-tag.h: Remove file.
57324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57325 '#include' of it.
57326 * manual/maint.texi (Porting): Don't reference it.
57327 * Makerules ($(objpfx)stubs): Likewise.
57328 * dirent/closedir.c: Don't include <stub-tag.h>.
57329 * dirent/dirfd.c: Likewise.
57330 * dirent/fdopendir.c: Likewise.
57331 * dirent/getdents.c: Likewise.
57332 * dirent/getdents64.c: Likewise.
57333 * dirent/opendir.c: Likewise.
57334 * dirent/readdir.c: Likewise.
57335 * dirent/readdir64.c: Likewise.
57336 * dirent/readdir64_r.c: Likewise.
57337 * dirent/readdir_r.c: Likewise.
57338 * dirent/rewinddir.c: Likewise.
57339 * dirent/seekdir.c: Likewise.
57340 * dirent/telldir.c: Likewise.
57341 * gmon/profil.c: Likewise.
57342 * grp/setgroups.c: Likewise.
57343 * inet/if_index.c: Likewise.
57344 * io/access.c: Likewise.
57345 * io/chdir.c: Likewise.
57346 * io/chmod.c: Likewise.
57347 * io/chown.c: Likewise.
57348 * io/close.c: Likewise.
57349 * io/dup.c: Likewise.
57350 * io/dup2.c: Likewise.
57351 * io/dup3.c: Likewise.
57352 * io/euidaccess.c: Likewise.
57353 * io/faccessat.c: Likewise.
57354 * io/fchdir.c: Likewise.
57355 * io/fchmod.c: Likewise.
57356 * io/fchmodat.c: Likewise.
57357 * io/fchown.c: Likewise.
57358 * io/fchownat.c: Likewise.
57359 * io/fcntl.c: Likewise.
57360 * io/flock.c: Likewise.
57361 * io/fstatfs.c: Likewise.
57362 * io/fstatfs64.c: Likewise.
57363 * io/fstatvfs.c: Likewise.
57364 * io/fstatvfs64.c: Likewise.
57365 * io/futimens.c: Likewise.
57366 * io/fxstat.c: Likewise.
57367 * io/fxstat64.c: Likewise.
57368 * io/fxstatat.c: Likewise.
57369 * io/fxstatat64.c: Likewise.
57370 * io/getcwd.c: Likewise.
57371 * io/isatty.c: Likewise.
57372 * io/lchmod.c: Likewise.
57373 * io/lchown.c: Likewise.
57374 * io/link.c: Likewise.
57375 * io/linkat.c: Likewise.
57376 * io/lseek.c: Likewise.
57377 * io/lseek64.c: Likewise.
57378 * io/lxstat64.c: Likewise.
57379 * io/mkdir.c: Likewise.
57380 * io/mkdirat.c: Likewise.
57381 * io/mkfifo.c: Likewise.
57382 * io/mkfifoat.c: Likewise.
57383 * io/open.c: Likewise.
57384 * io/open64.c: Likewise.
57385 * io/openat.c: Likewise.
57386 * io/openat64.c: Likewise.
57387 * io/pipe.c: Likewise.
57388 * io/pipe2.c: Likewise.
57389 * io/poll.c: Likewise.
57390 * io/posix_fadvise.c: Likewise.
57391 * io/posix_fadvise64.c: Likewise.
57392 * io/posix_fallocate.c: Likewise.
57393 * io/posix_fallocate64.c: Likewise.
57394 * io/read.c: Likewise.
57395 * io/readlink.c: Likewise.
57396 * io/readlinkat.c: Likewise.
57397 * io/rmdir.c: Likewise.
57398 * io/sendfile.c: Likewise.
57399 * io/sendfile64.c: Likewise.
57400 * io/statfs.c: Likewise.
57401 * io/statfs64.c: Likewise.
57402 * io/statvfs.c: Likewise.
57403 * io/statvfs64.c: Likewise.
57404 * io/symlink.c: Likewise.
57405 * io/symlinkat.c: Likewise.
57406 * io/ttyname.c: Likewise.
57407 * io/ttyname_r.c: Likewise.
57408 * io/umask.c: Likewise.
57409 * io/unlink.c: Likewise.
57410 * io/unlinkat.c: Likewise.
57411 * io/utime.c: Likewise.
57412 * io/utimensat.c: Likewise.
57413 * io/write.c: Likewise.
57414 * io/xmknod.c: Likewise.
57415 * io/xmknodat.c: Likewise.
57416 * io/xstat.c: Likewise.
57417 * io/xstat64.c: Likewise.
57418 * login/getpt.c: Likewise.
57419 * login/grantpt.c: Likewise.
57420 * login/unlockpt.c: Likewise.
57421 * math/e_acoshl.c: Likewise.
57422 * math/e_acosl.c: Likewise.
57423 * math/e_asinl.c: Likewise.
57424 * math/e_atan2l.c: Likewise.
57425 * math/e_atanhl.c: Likewise.
57426 * math/e_coshl.c: Likewise.
57427 * math/e_expl.c: Likewise.
57428 * math/e_fmodl.c: Likewise.
57429 * math/e_gammal_r.c: Likewise.
57430 * math/e_hypotl.c: Likewise.
57431 * math/e_j0l.c: Likewise.
57432 * math/e_j1l.c: Likewise.
57433 * math/e_jnl.c: Likewise.
57434 * math/e_lgammal_r.c: Likewise.
57435 * math/e_log10l.c: Likewise.
57436 * math/e_log2l.c: Likewise.
57437 * math/e_logl.c: Likewise.
57438 * math/e_powl.c: Likewise.
57439 * math/e_rem_pio2l.c: Likewise.
57440 * math/e_sinhl.c: Likewise.
57441 * math/e_sqrtl.c: Likewise.
57442 * math/fclrexcpt.c: Likewise.
57443 * math/fedisblxcpt.c: Likewise.
57444 * math/feenablxcpt.c: Likewise.
57445 * math/fegetenv.c: Likewise.
57446 * math/fegetexcept.c: Likewise.
57447 * math/fegetround.c: Likewise.
57448 * math/feholdexcpt.c: Likewise.
57449 * math/fesetenv.c: Likewise.
57450 * math/fesetround.c: Likewise.
57451 * math/feupdateenv.c: Likewise.
57452 * math/fgetexcptflg.c: Likewise.
57453 * math/fraiseexcpt.c: Likewise.
57454 * math/fsetexcptflg.c: Likewise.
57455 * math/ftestexcept.c: Likewise.
57456 * math/k_cosl.c: Likewise.
57457 * math/k_rem_pio2l.c: Likewise.
57458 * math/k_sinl.c: Likewise.
57459 * math/k_tanl.c: Likewise.
57460 * math/s_asinhl.c: Likewise.
57461 * math/s_atanl.c: Likewise.
57462 * math/s_cbrtl.c: Likewise.
57463 * math/s_erfl.c: Likewise.
57464 * math/s_expm1l.c: Likewise.
57465 * math/s_log1pl.c: Likewise.
57466 * math/s_tanhl.c: Likewise.
57467 * misc/acct.c: Likewise.
57468 * misc/brk.c: Likewise.
57469 * misc/chflags.c: Likewise.
57470 * misc/chroot.c: Likewise.
57471 * misc/fchflags.c: Likewise.
57472 * misc/fgetxattr.c: Likewise.
57473 * misc/flistxattr.c: Likewise.
57474 * misc/fremovexattr.c: Likewise.
57475 * misc/fsetxattr.c: Likewise.
57476 * misc/fsync.c: Likewise.
57477 * misc/ftruncate.c: Likewise.
57478 * misc/futimes.c: Likewise.
57479 * misc/futimesat.c: Likewise.
57480 * misc/getdomain.c: Likewise.
57481 * misc/getdtsz.c: Likewise.
57482 * misc/gethostid.c: Likewise.
57483 * misc/gethostname.c: Likewise.
57484 * misc/getloadavg.c: Likewise.
57485 * misc/getpagesize.c: Likewise.
57486 * misc/getsysstats.c: Likewise.
57487 * misc/getxattr.c: Likewise.
57488 * misc/gtty.c: Likewise.
57489 * misc/ioctl.c: Likewise.
57490 * misc/lgetxattr.c: Likewise.
57491 * misc/listxattr.c: Likewise.
57492 * misc/llistxattr.c: Likewise.
57493 * misc/lremovexattr.c: Likewise.
57494 * misc/lsetxattr.c: Likewise.
57495 * misc/lutimes.c: Likewise.
57496 * misc/madvise.c: Likewise.
57497 * misc/mincore.c: Likewise.
57498 * misc/mlock.c: Likewise.
57499 * misc/mlockall.c: Likewise.
57500 * misc/mmap.c: Likewise.
57501 * misc/mprotect.c: Likewise.
57502 * misc/msync.c: Likewise.
57503 * misc/munlock.c: Likewise.
57504 * misc/munlockall.c: Likewise.
57505 * misc/munmap.c: Likewise.
57506 * misc/preadv.c: Likewise.
57507 * misc/preadv64.c: Likewise.
57508 * misc/ptrace.c: Likewise.
57509 * misc/pwritev.c: Likewise.
57510 * misc/pwritev64.c: Likewise.
57511 * misc/readv.c: Likewise.
57512 * misc/reboot.c: Likewise.
57513 * misc/remap_file_pages.c: Likewise.
57514 * misc/removexattr.c: Likewise.
57515 * misc/revoke.c: Likewise.
57516 * misc/select.c: Likewise.
57517 * misc/setdomain.c: Likewise.
57518 * misc/setegid.c: Likewise.
57519 * misc/seteuid.c: Likewise.
57520 * misc/sethostid.c: Likewise.
57521 * misc/sethostname.c: Likewise.
57522 * misc/setregid.c: Likewise.
57523 * misc/setreuid.c: Likewise.
57524 * misc/setxattr.c: Likewise.
57525 * misc/sstk.c: Likewise.
57526 * misc/stty.c: Likewise.
57527 * misc/swapoff.c: Likewise.
57528 * misc/swapon.c: Likewise.
57529 * misc/sync.c: Likewise.
57530 * misc/syncfs.c: Likewise.
57531 * misc/syscall.c: Likewise.
57532 * misc/truncate.c: Likewise.
57533 * misc/ualarm.c: Likewise.
57534 * misc/usleep.c: Likewise.
57535 * misc/ustat.c: Likewise.
57536 * misc/utimes.c: Likewise.
57537 * misc/vhangup.c: Likewise.
57538 * misc/writev.c: Likewise.
57539 * posix/_exit.c: Likewise.
57540 * posix/alarm.c: Likewise.
57541 * posix/execve.c: Likewise.
57542 * posix/fexecve.c: Likewise.
57543 * posix/fork.c: Likewise.
57544 * posix/fpathconf.c: Likewise.
57545 * posix/getaddrinfo.c: Likewise.
57546 * posix/getegid.c: Likewise.
57547 * posix/geteuid.c: Likewise.
57548 * posix/getgid.c: Likewise.
57549 * posix/getgroups.c: Likewise.
57550 * posix/getlogin.c: Likewise.
57551 * posix/getlogin_r.c: Likewise.
57552 * posix/getpgid.c: Likewise.
57553 * posix/getpid.c: Likewise.
57554 * posix/getppid.c: Likewise.
57555 * posix/getresgid.c: Likewise.
57556 * posix/getresuid.c: Likewise.
57557 * posix/getsid.c: Likewise.
57558 * posix/getuid.c: Likewise.
57559 * posix/glob64.c: Likewise.
57560 * posix/nanosleep.c: Likewise.
57561 * posix/pathconf.c: Likewise.
57562 * posix/pause.c: Likewise.
57563 * posix/posix_madvise.c: Likewise.
57564 * posix/pread.c: Likewise.
57565 * posix/pread64.c: Likewise.
57566 * posix/pwrite.c: Likewise.
57567 * posix/pwrite64.c: Likewise.
57568 * posix/sched_getaffinity.c: Likewise.
57569 * posix/sched_getp.c: Likewise.
57570 * posix/sched_gets.c: Likewise.
57571 * posix/sched_primax.c: Likewise.
57572 * posix/sched_primin.c: Likewise.
57573 * posix/sched_rr_gi.c: Likewise.
57574 * posix/sched_setaffinity.c: Likewise.
57575 * posix/sched_setp.c: Likewise.
57576 * posix/sched_sets.c: Likewise.
57577 * posix/sched_yield.c: Likewise.
57578 * posix/setgid.c: Likewise.
57579 * posix/setlogin.c: Likewise.
57580 * posix/setpgid.c: Likewise.
57581 * posix/setresgid.c: Likewise.
57582 * posix/setresuid.c: Likewise.
57583 * posix/setsid.c: Likewise.
57584 * posix/setuid.c: Likewise.
57585 * posix/sleep.c: Likewise.
57586 * posix/spawni.c: Likewise.
57587 * posix/sysconf.c: Likewise.
57588 * posix/times.c: Likewise.
57589 * posix/wait.c: Likewise.
57590 * posix/wait3.c: Likewise.
57591 * posix/wait4.c: Likewise.
57592 * posix/waitpid.c: Likewise.
57593 * resolv/gai_sigqueue.c: Likewise.
57594 * resource/getpriority.c: Likewise.
57595 * resource/getrlimit.c: Likewise.
57596 * resource/getrusage.c: Likewise.
57597 * resource/nice.c: Likewise.
57598 * resource/setpriority.c: Likewise.
57599 * resource/setrlimit.c: Likewise.
57600 * resource/ulimit.c: Likewise.
57601 * rt/aio_cancel.c: Likewise.
57602 * rt/aio_fsync.c: Likewise.
57603 * rt/aio_read.c: Likewise.
57604 * rt/aio_sigqueue.c: Likewise.
57605 * rt/aio_suspend.c: Likewise.
57606 * rt/aio_write.c: Likewise.
57607 * rt/clock_getres.c: Likewise.
57608 * rt/clock_gettime.c: Likewise.
57609 * rt/clock_nanosleep.c: Likewise.
57610 * rt/clock_settime.c: Likewise.
57611 * rt/lio_listio.c: Likewise.
57612 * rt/mq_close.c: Likewise.
57613 * rt/mq_getattr.c: Likewise.
57614 * rt/mq_notify.c: Likewise.
57615 * rt/mq_open.c: Likewise.
57616 * rt/mq_receive.c: Likewise.
57617 * rt/mq_send.c: Likewise.
57618 * rt/mq_setattr.c: Likewise.
57619 * rt/mq_timedreceive.c: Likewise.
57620 * rt/mq_timedsend.c: Likewise.
57621 * rt/mq_unlink.c: Likewise.
57622 * rt/shm_open.c: Likewise.
57623 * rt/shm_unlink.c: Likewise.
57624 * rt/timer_create.c: Likewise.
57625 * rt/timer_delete.c: Likewise.
57626 * rt/timer_getoverr.c: Likewise.
57627 * rt/timer_gettime.c: Likewise.
57628 * rt/timer_settime.c: Likewise.
57629 * setjmp/__longjmp.c: Likewise.
57630 * setjmp/setjmp.c: Likewise.
57631 * signal/kill.c: Likewise.
57632 * signal/killpg.c: Likewise.
57633 * signal/raise.c: Likewise.
57634 * signal/sigaction.c: Likewise.
57635 * signal/sigaltstack.c: Likewise.
57636 * signal/sigblock.c: Likewise.
57637 * signal/sigignore.c: Likewise.
57638 * signal/sigintr.c: Likewise.
57639 * signal/signal.c: Likewise.
57640 * signal/sigpause.c: Likewise.
57641 * signal/sigpending.c: Likewise.
57642 * signal/sigqueue.c: Likewise.
57643 * signal/sigreturn.c: Likewise.
57644 * signal/sigset.c: Likewise.
57645 * signal/sigsetmask.c: Likewise.
57646 * signal/sigstack.c: Likewise.
57647 * signal/sigsuspend.c: Likewise.
57648 * signal/sigtimedwait.c: Likewise.
57649 * signal/sigvec.c: Likewise.
57650 * signal/sigwait.c: Likewise.
57651 * signal/sigwaitinfo.c: Likewise.
57652 * signal/sysv_signal.c: Likewise.
57653 * socket/accept.c: Likewise.
57654 * socket/accept4.c: Likewise.
57655 * socket/bind.c: Likewise.
57656 * socket/connect.c: Likewise.
57657 * socket/getpeername.c: Likewise.
57658 * socket/getsockname.c: Likewise.
57659 * socket/getsockopt.c: Likewise.
57660 * socket/isfdtype.c: Likewise.
57661 * socket/listen.c: Likewise.
57662 * socket/recv.c: Likewise.
57663 * socket/recvfrom.c: Likewise.
57664 * socket/recvmsg.c: Likewise.
57665 * socket/send.c: Likewise.
57666 * socket/sendmsg.c: Likewise.
57667 * socket/sendto.c: Likewise.
57668 * socket/setsockopt.c: Likewise.
57669 * socket/shutdown.c: Likewise.
57670 * socket/sockatmark.c: Likewise.
57671 * socket/socket.c: Likewise.
57672 * socket/socketpair.c: Likewise.
57673 * stdio-common/ctermid.c: Likewise.
57674 * stdio-common/cuserid.c: Likewise.
57675 * stdio-common/remove.c: Likewise.
57676 * stdio-common/rename.c: Likewise.
57677 * stdio-common/renameat.c: Likewise.
57678 * stdio-common/tempname.c: Likewise.
57679 * stdlib/getcontext.c: Likewise.
57680 * stdlib/makecontext.c: Likewise.
57681 * stdlib/setcontext.c: Likewise.
57682 * stdlib/swapcontext.c: Likewise.
57683 * stdlib/system.c: Likewise.
57684 * streams/fattach.c: Likewise.
57685 * streams/fdetach.c: Likewise.
57686 * streams/getmsg.c: Likewise.
57687 * streams/getpmsg.c: Likewise.
57688 * streams/putmsg.c: Likewise.
57689 * streams/putpmsg.c: Likewise.
57690 * sysdeps/unix/bsd/getpt.c: Likewise.
57691 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57692 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57695 Likewise.
57696 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57697 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57698 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57699 * sysvipc/msgctl.c: Likewise.
57700 * sysvipc/msgget.c: Likewise.
57701 * sysvipc/msgrcv.c: Likewise.
57702 * sysvipc/msgsnd.c: Likewise.
57703 * sysvipc/semctl.c: Likewise.
57704 * sysvipc/semget.c: Likewise.
57705 * sysvipc/semop.c: Likewise.
57706 * sysvipc/semtimedop.c: Likewise.
57707 * sysvipc/shmat.c: Likewise.
57708 * sysvipc/shmctl.c: Likewise.
57709 * sysvipc/shmdt.c: Likewise.
57710 * sysvipc/shmget.c: Likewise.
57711 * termios/tcdrain.c: Likewise.
57712 * termios/tcflow.c: Likewise.
57713 * termios/tcflush.c: Likewise.
57714 * termios/tcgetattr.c: Likewise.
57715 * termios/tcgetpgrp.c: Likewise.
57716 * termios/tcsendbrk.c: Likewise.
57717 * termios/tcsetattr.c: Likewise.
57718 * termios/tcsetpgrp.c: Likewise.
57719 * time/adjtime.c: Likewise.
57720 * time/clock.c: Likewise.
57721 * time/getitimer.c: Likewise.
57722 * time/gettimeofday.c: Likewise.
57723 * time/setitimer.c: Likewise.
57724 * time/settimeofday.c: Likewise.
57725 * time/stime.c: Likewise.
57726 * time/time.c: Likewise.
57727
57728 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
57729
57730 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57731 /usr/old/bin.
57732
57733 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57734 instead of spaces.
57735 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57736
57737 2012-11-03 Joseph Myers <joseph@codesourcery.com>
57738
57739 [BZ #14796]
57740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57741 FE_TONEAREST before applying Dekker multiplication and Knuth
57742 addition. Clear inexact exceptions and check for exact zero
57743 results afterwards.
57744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57745 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57747 * math/libm-test.inc (fma_test): Add more tests.
57748 (fma_test_towardzero): Likewise.
57749 (fma_test_downward): Likewise.
57750 (fma_test_upward): Likewise.
57751 * sysdeps/generic/math_private.h (default_libc_fesetround): New
57752 function.
57753 (libc_fesetround): New macro.
57754 (libc_fesetroundf): Likewise.
57755 (libc_fesetroundl): Likewise.
57756 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57757 function.
57758 (libc_fesetround_387): Likewise.
57759 (libc_fesetroundf): New macro.
57760 (libc_fesetround): Likewise.
57761 (libc_fesetroundl): Likewise.
57762 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57763 function.
57764 (libc_fesetroundf): New macro.
57765 (libc_fesetround): Likewise.
57766 (libc_fesetroundl): Likewise.
57767 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57768 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57769 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57770 libm_hidden_ver.
57771 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57772 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57773 libm_hidden_def.
57774 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57775 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57776 libm_hidden_ver.
57777 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57778 libm_hidden_def.
57779
57780 [BZ #3439]
57781 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57782 integer constant usable in #if and use that to give value to enum
57783 constant.
57784 (FE_DIVBYZERO): Likewise.
57785 (FE_UNDERFLOW): Likewise.
57786 (FE_OVERFLOW): Likewise.
57787 (FE_INVALID): Likewise.
57788 (FE_INVALID_SNAN): Likewise.
57789 (FE_INVALID_ISI): Likewise.
57790 (FE_INVALID_IDI): Likewise.
57791 (FE_INVALID_ZDZ): Likewise.
57792 (FE_INVALID_IMZ): Likewise.
57793 (FE_INVALID_COMPARE): Likewise.
57794 (FE_INVALID_SOFTWARE): Likewise.
57795 (FE_INVALID_SQRT): Likewise.
57796 (FE_INVALID_INTEGER_CONVERSION): Likewise.
57797 (FE_TONEAREST): Likewise.
57798 (FE_TOWARDZERO): Likewise.
57799 (FE_UPWARD): Likewise.
57800 (FE_DOWNWARD): Likewise.
57801 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57802 (FE_DIVBYZERO): Likewise.
57803 (FE_OVERFLOW): Likewise.
57804 (FE_UNDERFLOW): Likewise.
57805 (FE_INEXACT): Likewise.
57806 (FE_TONEAREST): Likewise.
57807 (FE_DOWNWARD): Likewise.
57808 (FE_UPWARD): Likewise.
57809 (FE_TOWARDZERO): Likewise.
57810 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57811 (FE_UNDERFLOW): Likewise.
57812 (FE_OVERFLOW): Likewise.
57813 (FE_DIVBYZERO): Likewise.
57814 (FE_INVALID): Likewise.
57815 (FE_TONEAREST): Likewise.
57816 (FE_TOWARDZERO): Likewise.
57817 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57818 (FE_OVERFLOW): Likewise.
57819 (FE_UNDERFLOW): Likewise.
57820 (FE_DIVBYZERO): Likewise.
57821 (FE_INEXACT): Likewise.
57822 (FE_TONEAREST): Likewise.
57823 (FE_TOWARDZERO): Likewise.
57824 (FE_UPWARD): Likewise.
57825 (FE_DOWNWARD): Likewise.
57826 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57827 (FE_DIVBYZERO): Likewise.
57828 (FE_OVERFLOW): Likewise.
57829 (FE_UNDERFLOW): Likewise.
57830 (FE_INEXACT): Likewise.
57831 (FE_TONEAREST): Likewise.
57832 (FE_DOWNWARD): Likewise.
57833 (FE_UPWARD): Likewise.
57834 (FE_TOWARDZERO): Likewise.
57835
57836 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
57837
57838 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57839
57840 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
57841
57842 * scripts/cross-test-ssh.sh (command): Use newlines to separate
57843 commands. Quote $PWD.
57844 (blacklist_exports): Don't use remove_newlines. Replace "declare
57845 -x" by "export".
57846 (remove_newlines): Remove.
57847
57848 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
57849
57850 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57851 * stdlib/stdlib.h (atof): Moved to ...
57852 * include/bits/stdlib-float.h: Here. New file.
57853 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57854 * stdlib/bits/stdlib-float.h: New file.
57855 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57856 -mno-sse -mno-mmx.
57857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57858 <xmmintrin.h>.
57859
57860 2012-11-02 Joseph Myers <joseph@codesourcery.com>
57861
57862 * conform/conformtest.pl (@headers): Add fenv.h.
57863 * conform/data/fenv.h-data: New file.
57864 * include/fenv.h [_ISOMAC]: Disable all contents of file except
57865 include of <math/fenv.h>.
57866
57867 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57868 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57869 && !UNIX98]. Enables tests for XOPEN2K8.
57870 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57871 POSIX2008]: Likewise.
57872
57873 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57874 (struct rusage): Do not expect type or its members.
57875
57876 [BZ #3439]
57877 * math/math.h (FP_NAN): Define macro to integer constant usable in
57878 #if and use that to give value to enum constant.
57879 (FP_INFINITE): Likewise.
57880 (FP_ZERO): Likewise.
57881 (FP_SUBNORMAL): Likewise.
57882 (FP_NORMAL): Likewise.
57883
57884 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
57885
57886 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57887 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57888 arguments.
57889
57890 2012-11-02 Roland McGrath <roland@hack.frob.com>
57891
57892 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57893 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57894 autoconf-time if not.
57895 * configure.in: Remove AC_PREREQ.
57896
57897 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57898
57899 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57900 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57901 of the internal implementation.
57902
57903 2012-11-02 Joseph Myers <joseph@codesourcery.com>
57904
57905 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57906 except include of <misc/sys/syslog.h>.
57907
57908 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57909
57910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57911 function returns with a NULL context exit with zero.
57912
57913 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57914
57915 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57916
57917 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
57918
57919 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57920 (run_program_cmd): This.
57921 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57922 (tst_langinfo): New variable. Use it.
57923
57924 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
57925
57926 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57927 floating point opcodes.
57928
57929 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57930
57931 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57932 variable.
57933
57934 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57935
57936 * sysdeps/mach/hurd/powerpc: Remove directory.
57937 * sysdeps/mach/powerpc: Likewise.
57938
57939 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57940
57941 * scripts/check-local-headers.sh: Ignore c++ headers.
57942
57943 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57944
57945 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57946 __libc_cleanup_region_start argument.
57947
57948 2012-11-01 Joseph Myers <joseph@codesourcery.com>
57949
57950 [BZ #14784]
57951 [BZ #14785]
57952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57953 x * y using scaling, not as x * y + z.
57954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57956 * math/libm-test.inc (fma_test): Add more tests.
57957 (fma_test_towardzero): Likewise.
57958 (fma_test_downward): Likewise.
57959 (fma_test_upward): Likewise.
57960
57961 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57962
57963 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57964
57965 2012-10-31 Joseph Myers <joseph@codesourcery.com>
57966
57967 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57968 New variable.
57969
57970 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
57971
57972 * rt/tst-shm.c (worker): Correct checking for mmap failure.
57973
57974 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
57975
57976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57977 Fix sort order.
57978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57979 Likewise.
57980
57981 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57982
57983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57984 Fix the order of the list for glibc 2.17.
57985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57986 Likewise.
57987
57988 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
57989
57990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57991
57992 2012-10-31 Joseph Myers <joseph@codesourcery.com>
57993
57994 [BZ #14610]
57995 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57996 for low part of x being zero before using __atanl (y).
57997 * math/libm-test.inc (atan2_test): Add another test.
57998
57999 * manual/install.texi (Configuring and compiling): Document
58000 general use of test-wrapper and test-wrapper-env.
58001 * INSTALL: Regenerated.
58002
58003 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58004 (__fma): Do not extract and scale down low bits on after-rounding
58005 systems when result rounded to normal precision would have normal
58006 exponent.
58007 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58008 (__fmal): Do not extract and scale down low bits on after-rounding
58009 systems when result rounded to normal precision would have normal
58010 exponent.
58011 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58012 (__fmal): Do not extract and scale down low bits on after-rounding
58013 systems when result rounded to normal precision would have normal
58014 exponent.
58015 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58016 macro.
58017 (fma_test): Add more tests.
58018 (fma_test_towardzero): Likewise.
58019 (fma_test_downward): Likewise.
58020 (fma_test_upward): Likewise.
58021
58022 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
58023
58024 * sysdeps/i386/tininess.h: Renamed to ...
58025 * sysdeps/x86/tininess.h: This.
58026 * sysdeps/x86_64/tininess.h: Removed.
58027
58028 2012-10-30 Joseph Myers <joseph@codesourcery.com>
58029
58030 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58031 input. Use $(build-program-cmd).
58032 ($(objpfx)tst-array1-static.out): Likewise.
58033 ($(objpfx)tst-array2.out): Likewise.
58034 ($(objpfx)tst-array3.out): Likewise.
58035 ($(objpfx)tst-array4.out): Likewise.
58036 ($(objpfx)tst-array5.out): Likewise.
58037 ($(objpfx)tst-array5-static.out): Likewise.
58038
58039 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
58040
58041 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58042 if defined.
58043
58044 * nss/nsswitch.h (nss_interface_function): Provide new
58045 macro for use with NSS functions.
58046 * grp/initgroups.c: Use new macro.
58047 * nss/getXXbyYY.c: Likewise.
58048 * nss/getXXbyYY_r.c: Likewise.
58049 * nss/getXXent.c: Likewise.
58050 * nss/getXXent_r.c: Likewise.
58051 * sysdeps/posix/getaddrinfo.c: Likewise.
58052
58053 2012-10-30 Andreas Jaeger <aj@suse.de>
58054
58055 * po/ru.po: Update Russion translation from translation project.
58056
58057 2012-10-30 Joseph Myers <joseph@codesourcery.com>
58058
58059 [BZ #14152]
58060 [BZ #14783]
58061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58062 result and shift together with sticky bit instead of replicating
58063 round-to-nearest rounding.
58064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58066 * math/libm-test.inc (fma_test): Add more tests. Do not permit
58067 missing underflow exceptions.
58068 (fma_test_towardzero): Add more tests.
58069 (fma_test_downward): Likewise.
58070 (fma_test_upward): Likewise.
58071
58072 [BZ #14047]
58073 * sysdeps/generic/tininess.h: New file.
58074 * sysdeps/i386/tininess.h: Likewise.
58075 * sysdeps/sh/tininess.h: Likewise.
58076 * sysdeps/x86_64/tininess.h: Likewise.
58077 * stdlib/tst-strtod-underflow.c: Likewise.
58078 * stdlib/tst-tininess.c: Likewise.
58079 * stdlib/strtod_l.c: Include <tininess.h>.
58080 (round_and_return): Do not set errno for exact underflow cases.
58081 Force an underflow exception when setting errno for underflow.
58082 Determine underflow based on rounding to normal precision if
58083 TININESS_AFTER_ROUNDING.
58084 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58085 ERANGE for exact underflow cases.
58086 * stdlib/Makefile (tests): Add tst-tininess and
58087 tst-strtod-underflow.
58088 ($(objpfx)tst-tininess): Use $(link-libm).
58089 ($(objpfx)tst-strtod-underflow): Likewise.
58090
58091 2012-10-30 Andreas Jaeger <aj@suse.de>
58092
58093 [BZ#14767]
58094 * elf/Makefile (tests): Remove conditional for have-initfini-array
58095 since this is now always required and the variable does not exist
58096 anymore.
58097 (tests-static): Likewise.
58098 (modules-names): Likewise.
58099
58100 * po/eo.po: Add Esperanto translation from translation project.
58101
58102 * elf/tst-array1.c (fini_array): Make writeable so that it can be
58103 merged with constructor/destructor.
58104 (init_array): Likewise.
58105 * elf/tst-array2dep.c (fini_array): Likewise.
58106 (init_array): Likewise.
58107
58108 2012-10-29 Mike Frysinger <vapier@gentoo.org>
58109
58110 * manual/message.texi: Delete @cartouche tags.
58111
58112 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
58113
58114 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58115 EOPNOTSUPP.
58116 * sysdeps/mach/hurd/fsync.c: Likewise.
58117
58118 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58119 [_POSIX_REALTIME_SIGNALS]: Change condition to
58120 [_POSIX_REALTIME_SIGNALS > 0].
58121
58122 2012-10-27 Andreas Jaeger <aj@suse.de>
58123
58124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58125 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58127 [__WORDSIZE != 64]: Likewise.
58128
58129 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
58130
58131 * iconvdata/tst-table.sh: Remove ${SHELL}.
58132 * iconvdata/tst-tables.sh: Likewise.
58133
58134 2012-10-25 David S. Miller <davem@davemloft.net>
58135
58136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58137 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58138 of strtoull.
58139
58140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58141 ifunc-impl-list.c
58142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58143 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58144 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58145 file.
58146
58147 2012-10-25 Roland McGrath <roland@hack.frob.com>
58148
58149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58150 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58151 __getdirentries.
58152
58153 2012-10-25 Joseph Myers <joseph@codesourcery.com>
58154 Jim Blandy <jimb@codesourcery.com>
58155
58156 * scripts/cross-test-ssh.sh: New file.
58157 * manual/install.texi (Configuring and compiling): Document use of
58158 cross-test-ssh.sh.
58159 * INSTALL: Regenerated.
58160
58161 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
58162
58163 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58164 EOPNOTSUPP.
58165
58166 2012-10-25 Joseph Myers <joseph@codesourcery.com>
58167
58168 * Makeconfig (run-program-prefix): Fix comment.
58169
58170 2012-10-24 Joseph Myers <joseph@codesourcery.com>
58171 Jim Blandy <jimb@codesourcery.com>
58172
58173 * Makeconfig (test-wrapper): New variable,
58174 (test-wrapper-env): Likewise.
58175 [$(cross-compiling) = yes && $(test-wrapper) != ""]
58176 (run-built-tests): Define to yes.
58177 (run-program-prefix): Use $(test-wrapper).
58178 (built-program-cmd): Likewise.
58179 * Rules (make-test-out): Use $(test-wrapper-env) and
58180 $(host-built-program-cmd).
58181 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58182 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58183 tst-pathopt.sh.
58184 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58185 $(test-wrapper-env) to tst-rtld-load-self.sh.
58186 ($(objpfx)order2.out): Use $(test-wrapper).
58187 ($(objpfx)tst-initorder.out): Likewise.
58188 ($(objpfx)tst-initorder2.out): Likewise.
58189 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58190 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58191 (test_wrapper_env): New variable. Use it to run ld.so.
58192 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58193 Use it to run ld.so.
58194 (test_wrapper_env): Likewise.
58195 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58196 $(test-wrapper) to run-iconv-test.sh.
58197 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58198 (ICONV): Use $test_wrapper.
58199 * posix/Makefile ($(objpfx)globtest.out): Pass
58200 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58201 globtest.sh, not $(run-program-prefix).
58202 * posix/globtest.sh (run_via_rtld_prefix): New variable.
58203 (test_wrapper): Likewise.
58204 (test_wrapper_env): Likewise. Use it to run globtest with HOME
58205 set together with run_via_rtld_prefix.
58206 (run_program_prefix): Define in terms of test_wrapper and
58207 run_via_rtld_prefix.
58208
58209 2012-10-24 Roland McGrath <roland@hack.frob.com>
58210
58211 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58212 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58213 Targets removed.
58214
58215 [BZ #14743]
58216 * include/time.h: Remove librt_hidden_proto (clock_gettime).
58217 Declare __clock_getres, __clock_gettime, __clock_settime,
58218 __clock_nanosleep, and __clock_getcpuclockid.
58219 * rt/clock_gettime.c: Define __clock_gettime as an alias.
58220 Remove librt_hidden_def (clock_gettime).
58221 * sysdeps/unix/clock_gettime.c: Likewise.
58222 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58224 * rt/clock_getres.c: Define __clock_getres as an alias.
58225 * sysdeps/posix/clock_getres.c: Likewise.
58226 * rt/clock_settime.c: Define __clock_settime as an alias.
58227 * sysdeps/unix/clock_settime.c: Likewise.
58228 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58229 * sysdeps/unix/clock_nanosleep.c: Likewise.
58230 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58231 * rt/clock-compat.c: New file.
58232 * rt/Makefile (librt-routines): Add clock-compat and move
58233 $(clock-routines) to ...
58234 (routines): ... here, new variable.
58235 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58236 Don't add get_clockfreq here.
58237 * rt/Versions (libc: GLIBC_2.17): New version set.
58238 Add clock_* symbols here.
58239 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
58240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58241 (GLIBC_2.17): Add clock_* symbols.
58242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58246 Likewise.
58247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58248 Likewise.
58249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58253 * NEWS: Mention the move.
58254
58255 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58256 Use __open, __read, __close rather than their public counterparts.
58257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58258 (__get_clockfreq_via_cpuinfo): Likewise.
58259 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58260 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58261
58262 * config.h.in (HAVE_IFUNC): New #undef.
58263 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58264 was successful.
58265 * configure: Regenerated.
58266
58267 2012-10-24 Mike Frysinger <vapier@gentoo.org>
58268
58269 * configure.in: Move READELF check to start of file.
58270 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58271 libc_cv_asm_gnu_indirect_function in the process.
58272 * configure: Regenerated.
58273
58274 2012-10-24 Mike Frysinger <vapier@gentoo.org>
58275
58276 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58277 send the output to /dev/null.
58278 (libc_cv_cc_with_libunwind): Likewise.
58279 (libc_cv_as_noexecstack): Likewise.
58280 * configure: Regenerate.
58281
58282 2012-10-24 Joseph Myers <joseph@codesourcery.com>
58283
58284 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58285
58286 * posix/globtest.sh (TMPDIR): Do not set.
58287 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58288 (testout): Likewise.
58289
58290 2012-10-24 Andreas Jaeger <aj@suse.de>
58291
58292 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58293 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58294 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58295 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58296 posix_fadvise64, posix_fallocate64.
58297
58298 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58299 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58300 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58301 Likewise.
58302 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58303 Likewise.
58304 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58305
58306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58307 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58308 <bits/fcntl-linux.h>.
58309 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58310
58311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58312 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58313 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58314 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58315 [__WORDSIZE != 64]: Likewise.
58316
58317 2012-10-23 Joseph Myers <joseph@codesourcery.com>
58318
58319 * Makeconfig (run-built-tests): New variable.
58320 * Rules [$(cross-compiling) = yes]: Change condition to
58321 [$(run-built-tests) = no].
58322 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58323 to [$(run-built-tests) = yes].
58324 * elf/Makefile [$(cross-compiling) = no]: Likewise.
58325 * grp/Makefile [$(cross-compiling) = no]: Likewise.
58326 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58327 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58328 * intl/Makefile [$(cross-compiling) = no]: Likewise.
58329 * io/Makefile [$(cross-compiling) = no]: Likewise.
58330 * libio/Makefile [$(cross-compiling) = no]: Likewise.
58331 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58332 * misc/Makefile [$(cross-compiling) = no]: Likewise.
58333 * posix/Makefile [$(cross-compiling) = no]: Likewise.
58334 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58335 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58336 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58337 * string/Makefile [$(cross-compiling) = no]: Likewise.
58338
58339 * posix/Makefile ($(objpfx)globtest.out): Pass
58340 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58341 $(rtld-installed-name).
58342 * posix/globtest.sh (elf_objpfx): Remove variable.
58343 (rtld_installed_name): Likewise.
58344 (library_path): Likewise.
58345 (run_program_prefix): New variable. Use for running globtest
58346 binary.
58347
58348 2012-10-23 Jim Blandy <jimb@codesourcery.com>
58349 Joseph Myers <joseph@codesourcery.com>
58350
58351 * Makeconfig (host-built-program-cmd): New variable.
58352 * elf/Makefile (tst-stackguard1-ARGS): Use
58353 $(host-built-program-cmd).
58354 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58355 (tst-spawn-ARGS): Likewise.
58356 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58357
58358 2012-10-23 Joseph Myers <joseph@codesourcery.com>
58359 Jim Blandy <jimb@codesourcery.com>
58360
58361 * Makeconfig (run-via-rtld-prefix): New variable.
58362 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58363 (built-program-cmd): Likewise.
58364
58365 2012-10-22 Andreas Jaeger <aj@suse.de>
58366
58367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58368 __O_RSYNC if it exists, otherwise to O_SYNC.
58369
58370 2012-10-22 Jim Blandy <jimb@codesourcery.com>
58371 Joseph Myers <joseph@codesourcery.com>
58372
58373 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58374 /dev/null.
58375 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58376 from /dev/null
58377 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58378 /dev/null.
58379
58380 2012-10-22 Andreas Jaeger <aj@suse.de>
58381
58382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58383 Define always.
58384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58385
58386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58387 bits/fcntl-linux.h.
58388
58389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58390 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58391
58392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58393 to __O_LARGEFILE.
58394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58395 to __O_LARGEFILE.
58396
58397 2012-10-21 Jim Blandy <jimb@codesourcery.com>
58398 Joseph Myers <joseph@codesourcery.com>
58399
58400 * config.make.in (NM): New variable.
58401
58402 2012-10-21 Andreas Jaeger <aj@suse.de>
58403
58404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58405 definitions and declarations that are provided by
58406 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58407
58408 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
58409
58410 [BZ #14683]
58411 * elf/Makefile (tests-static): Add tst-leaks1-static.
58412 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58413 ($(objpfx)tst-leaks1-static): New rule.
58414 ($(objpfx)tst-leaks1-static-mem): Likewise.
58415 (tst-leaks1-static-ENV): New macro.
58416 * elf/dl-open.c (dl_open_worker): Check the main application
58417 only if SHARED is defined.
58418 * elf/tst-leaks1-static.c: New file.
58419
58420 2012-10-20 Andreas Jaeger <aj@suse.de>
58421
58422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58423 generic values for Linux.
58424 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58425 and declarations that are provided by <bits/fcntl-linux.h> and
58426 include <bits/fcntl-linux.h>.
58427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58429
58430 2012-10-20 Roland McGrath <roland@hack.frob.com>
58431
58432 * io/fcntl.h: Move include of <bits/types.h> to the top and
58433 include it unconditionally.
58434
58435 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
58436
58437 * wcsmbs/Makefile (tests-ifunc): New variable.
58438 (tests): Add $(tests-ifunc).
58439 * wcsmbs/test-wcschr-ifunc.c: New file.
58440 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58441 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58442 * wcsmbs/test-wcslen-ifunc.c: Likewise.
58443 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58444 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58445
58446 * string/Makefile (tests-ifunc): New variable.
58447 (tests): Add $(tests-ifunc).
58448 * string/test-memccpy.c (TEST_NAME): New macro.
58449 * string/test-memchr.c (TEST_NAME): Likewise.
58450 * string/test-memcmp.c (TEST_NAME): Likewise.
58451 * string/test-memcpy.c (TEST_NAME): Likewise.
58452 * string/test-memmem.c (TEST_NAME): Likewise.
58453 * string/test-memmove.c (TEST_NAME): Likewise.
58454 * string/test-memset.c (TEST_NAME): Likewise.
58455 * string/test-rawmemchr.c (TEST_NAME): Likewise.
58456 * string/test-stpcpy.c (TEST_NAME): Likewise.
58457 * string/test-stpncpy.c (TEST_NAME): Likewise.
58458 * string/test-strcasecmp.c (TEST_NAME): Likewise.
58459 * string/test-strcasestr.c (TEST_NAME): Likewise.
58460 * string/test-strcat.c (TEST_NAME): Likewise.
58461 * string/test-strchr.c (TEST_NAME): Likewise.
58462 * string/test-strcmp.c(TEST_NAME): Likewise.
58463 * string/test-strcpy.c (TEST_NAME): Likewise.
58464 * string/test-strcspn.c (TEST_NAME): Likewise.
58465 * string/test-strlen.c (TEST_NAME): Likewise.
58466 * string/test-strncasecmp.c (TEST_NAME): Likewise.
58467 * string/test-strncmp.c (TEST_NAME): Likewise.
58468 * string/test-strncpy.c (TEST_NAME): Likewise.
58469 * string/test-strnlen.c (TEST_NAME): Likewise.
58470 * string/test-strpbrk.c (TEST_NAME): Likewise.
58471 * string/test-strrchr.c (TEST_NAME): Likewise.
58472 * string/test-strspn.c (TEST_NAME): Likewise.
58473 * string/test-strstr.c (TEST_NAME): Likewise.
58474 * string/test-bcopy-ifunc.c: New file.
58475 * string/test-bzero-ifunc.c: Likewise.
58476 * string/test-memccpy-ifunc.c: Likewise.
58477 * string/test-memchr-ifunc.c: Likewise.
58478 * string/test-memcmp-ifunc.c: Likewise.
58479 * string/test-memcpy-ifunc.c: Likewise.
58480 * string/test-memmem-ifunc.c: Likewise.
58481 * string/test-memmove-ifunc.c: Likewise.
58482 * string/test-mempcpy-ifunc.c: Likewise.
58483 * string/test-memset-ifunc.c: Likewise.
58484 * string/test-rawmemchr-ifunc.c: Likewise.
58485 * string/test-stpcpy-ifunc.c: Likewise.
58486 * string/test-stpncpy-ifunc.c: Likewise.
58487 * string/test-strcasecmp-ifunc.c: Likewise.
58488 * string/test-strcasestr-ifunc.c: Likewise.
58489 * string/test-strcat-ifunc.c: Likewise.
58490 * string/test-strchr-ifunc.c: Likewise.
58491 * string/test-strchrnul-ifunc.c: Likewise.
58492 * string/test-strcmp-ifunc.c: Likewise.
58493 * string/test-strcpy-ifunc.c: Likewise.
58494 * string/test-strcspn-ifunc.c: Likewise.
58495 * string/test-strlen-ifunc.c: Likewise.
58496 * string/test-strncasecmp-ifunc.c: Likewise.
58497 * string/test-strncat-ifunc.c: Likewise.
58498 * string/test-strncmp-ifunc.c: Likewise.
58499 * string/test-strncpy-ifunc.c: Likewise.
58500 * string/test-strnlen-ifunc.c: Likewise.
58501 * string/test-strpbrk-ifunc.c: Likewise.
58502 * string/test-strrchr-ifunc.c: Likewise.
58503 * string/test-strspn-ifunc.c: Likewise.
58504 * string/test-strstr-ifunc.c: Likewise.
58505
58506 * debug/Makefile (tests-ifunc): New variable.
58507 (tests): Add $(tests-ifunc).
58508 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58509 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58510 * debug/test-stpcpy_chk-ifunc.c: New file.
58511 * debug/test-strcpy_chk-ifunc.c: Likewise.
58512
58513 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58514
58515 [BZ #13601]
58516 * elf/dl-load.c (open_verify): Retry read if the entire ELF
58517 header is not read in.
58518
58519 2012-10-19 Joseph Myers <joseph@codesourcery.com>
58520
58521 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
58522 script to $(SHELL) as $<. Pass $(common-objpfx) to script
58523 directly. Pass built executable to script as
58524 $(built-program-cmd).
58525 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
58526 $testprogram without using LD_LIBRARY_PATH and $ldso.
58527
58528 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58529 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58530 $(rtld-installed-name).
58531 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58532 (rtld_installed_name): Likewise.
58533 (library_path): Likewise.
58534 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
58535 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58536 $(run-program-prefix) to tst-tables.sh.
58537 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
58538 it to run tst-table-from and tst-table-to.
58539 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58540 Pass it to tst-table.sh.
58541 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58542 $(run-program-prefix) to tst-gettext.sh.
58543 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58544 tst-translit.sh.
58545 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58546 tst-gettext2.sh.
58547 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
58548 to run tst-gettext.
58549 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
58550 to run tst-gettext2.
58551 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
58552 to run tst-translit.
58553 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58554 $(run-program-prefix) to tst-mtrace.sh.
58555 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
58556 to run tst-mtrace.
58557 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58558 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58559 $(rtld-installed-name).
58560 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58561 (rtld_installed_name): Likewise.
58562 (run_program_prefix): New variable. Use it to run wordexp-test.
58563
58564 * Makeconfig (ARCH): Remove all definitions.
58565 (machine): Likewise.
58566 [ARCH]: Remove conditional code.
58567 [!objdir]: Give error.
58568 [!objdir] (objpfx): Remove.
58569 [!objdir] (common-objpfx): Likewise.
58570 [!objdir] (common-objdir): Likewise.
58571 * configure.in (config_makefile): Remove. Hardcode Makefile in
58572 AC_CONFIG_FILES call.
58573 * configure: Regenerated.
58574
58575 [BZ #13888]
58576 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58577 or TMPDIR.
58578 (testout): Likewise.
58579
58580 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58581 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58582 $(rtld-installed-name).
58583 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58584 (rtld_installed_name): Likwise.
58585 (runit): Remove function.
58586 (run_getconf): New variable, Use it for running getconf binary.
58587
58588 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
58589
58590 [BZ #14716]
58591 * string/test-memmem.c (check_result): New function.
58592 (do_one_test): Use it.
58593 (check1): New function.
58594 (test_main): Use it.
58595
58596 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
58597
58598 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58599
58600 2012-10-18 Joseph Myers <joseph@codesourcery.com>
58601
58602 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58603 (_G_LSEEK64): Likewise.
58604 (_G_MMAP64): Likewise.
58605 (_G_FSTAT64): Likewise.
58606 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58607 (_G_LSEEK64): Likewise.
58608 (_G_MMAP64): Likewise.
58609 (_G_FSTAT64): Likewise.
58610 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58611 unconditional. Call __mmap64 directly.
58612 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58613 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
58614 __lseek64 directly.
58615 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58616 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
58617 __mmap64 directly.
58618 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58619 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
58620 __lseek64 directly.
58621 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58622 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
58623 __lseek64 directly.
58624 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58625 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
58626 __lseek64 directly.
58627 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58628 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
58629 __fxstat64 directly.
58630 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58631 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58632 unconditional.
58633 (freopen64) [!_G_OPEN64]: Remove conditional code.
58634 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58635 unconditional.
58636 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58637 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58638 unconditional.
58639 (ftello64) [!_G_LSEEK64]: Remove conditional code.
58640 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58641 unconditional.
58642 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58643 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58644 unconditional.
58645 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58646 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58647 unconditional.
58648 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58649 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58650 unconditional.
58651 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58652 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58653 unconditional.
58654 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58655
58656 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
58657
58658 [BZ #12140]
58659 * manual/memory.texi (Malloc Tunable Parameters): Add note
58660 about free list pointers overwriting some perturb bytes.
58661 Wording suggested by Roland McGrath.
58662
58663 2012-10-17 Joseph Myers <joseph@codesourcery.com>
58664
58665 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58666 (lgamma_test): Likewise.
58667 (tgamma_test): Likewise.
58668
58669 2012-10-16 Florian Weimer <fweimer@redhat.com>
58670
58671 [BZ #14700]
58672 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58673 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58674
58675 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
58676
58677 * NEWS: Mention BZ #14716.
58678 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58679 when removing AVAILABLE1_USES_J macro.
58680
58681 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
58682
58683 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58684 (__bswap_64): __uint64_t for unsigned 64-bit int.
58685
58686 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
58687
58688 * include/string.h (memmem): Declare libc hidden alias.
58689 * string/memmem.c (memmem): Define libc hidden alias.
58690 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58691 __read, __close instead of open, read, close.
58692
58693 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
58694
58695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58696 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58697 global and hidden.
58698 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58699 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58700 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58701 Likewise.
58702 (__rawmemchr_sse2): Likewise.
58703 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58704 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58705 (__strchr_sse2): Likewise.
58706 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58707 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58708 (__strcasecmp_sse2): Likewise.
58709 (__strncasecmp_sse2): Likewise.
58710 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58711 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58712 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58713 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58714 (__strrchr_sse2): Likewise.
58715 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58716 ifunc-impl-list.c.
58717 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58718 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58719 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58720 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58721 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58722 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58723 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58725 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58726 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58727 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58728 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58729 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58730 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58731 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58732 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58733 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58734 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58735 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58736 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58737 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58738 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58739 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58740 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58741 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58742 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58743 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58744 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58745 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58746 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58747
58748 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58749 global and hidden.
58750 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58751 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58752 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58753 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58754 Likewise.
58755 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58756 Likewise.
58757 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58758 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58759 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58760 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58761 ifunc-impl-list.c.
58762 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58763 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58764 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58765 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58766 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58767 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58768 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58769 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58771 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58772 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58773 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58774 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58775 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58776 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58777 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58778 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58779 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58782 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58783 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58784 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58785 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58787 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58788 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58789 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58790 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58791 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58792 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58793 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58794 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58795 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58796 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58798 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58799 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58800 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58801 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58802 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58803
58804 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58805 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58806 * include/ifunc-impl-list.h: New file.
58807 * misc/ifunc-impl-list.c: Likewise.
58808 * misc/Makefile (routines): Add ifunc-impl-list.
58809 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58810 * string/test-string.h: Include <ifunc-impl-list.h>.
58811 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58812 TEST_NAME]: New variables.
58813 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58814 are defined.
58815 (test_init): Call __libc_ifunc_impl_list to initialize
58816 func_list if TEST_IFUNC and TEST_NAME are defined.
58817
58818 * string/Makefile (strop-tests): Add bcopy and bzero.
58819 * string/test-bcopy.c: New file.
58820 * string/test-bzero.c: Likewise.
58821 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58822 defined.
58823 * string/test-memset.c: Support bzero test if TEST_BZERO is
58824 defined.
58825 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58826 __libc_memmove.
58827 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58828 __libc_memset.
58829 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58830 of memset.
58831
58832 2012-10-10 Joseph Myers <joseph@codesourcery.com>
58833
58834 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58835 * configure: Regenerated.
58836
58837 * Makeconfig (+link-static-before-libc): Don't include
58838 $(link-static-libc).
58839
58840 * libio/libio.h (_IO_pos_t): Remove.
58841
58842 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
58843
58844 * NEWS: Add note about FIPS mode. Wording suggested by Roland
58845 McGrath.
58846
58847 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
58848
58849 * crypt/crypt-entry.c: Include fips-private.h.
58850 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58851 * crypt/md5c-test.c (main): Tolerate disabled MD5.
58852 * sysdeps/unix/sysv/linux/fips-private.h: New file.
58853 * sysdeps/generic/fips-private.h: New file, dummy fallback.
58854
58855 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
58856
58857 * crypt/crypt-private.h: Include stdbool.h.
58858 (_ufc_setup_salt_r): Return bool.
58859 * crypt/crypt-entry.c: Include errno.h.
58860 (__crypt_r): Return NULL with EINVAL for bad salt.
58861 * crypt/crypt_util.c (bad_for_salt): New.
58862 (_ufc_setup_salt_r): Check that salt is long enough and within
58863 the specified alphabet.
58864 * crypt/badsalttest.c: New file.
58865 * crypt/Makefile (tests): Add it.
58866 ($(objpfx)badsalttest): New.
58867
58868 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
58869
58870 * NEWS: Add entry for BZ #14602.
58871
58872 2012-10-09 Joseph Myers <joseph@codesourcery.com>
58873
58874 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58875 type-generic.
58876 * math/libm-test.inc: Update comment listing what functions and
58877 macros are tested.
58878 (isgreater_test): New function.
58879 (isgreaterequal_test): Likewise.
58880 (isless_test): Likewise.
58881 (islessequal_test): Likewise.
58882 (islessgreater_test): Likewise.
58883 (isunordered_test): Likewise.
58884 (main): Call the new functions.
58885
58886 2012-10-09 Roland McGrath <roland@hack.frob.com>
58887
58888 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58889 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58890 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58891 * sysdeps/i386/configure: Regenerated.
58892 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58893 * sysdeps/mach/configure: Regenerated.
58894 * sysdeps/mach/hurd/configure: Regenerated.
58895 * sysdeps/powerpc/configure: Regenerated.
58896 * sysdeps/powerpc/powerpc32/configure: Regenerated.
58897 * sysdeps/powerpc/powerpc64/configure: Regenerated.
58898 * sysdeps/s390/s390-32/configure: Regenerated.
58899 * sysdeps/s390/s390-64/configure: Regenerated.
58900 * sysdeps/sh/configure: Regenerated.
58901 * sysdeps/sparc/configure: Regenerated.
58902 * sysdeps/unix/sysv/linux/configure: Regenerated.
58903 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58904 * sysdeps/x86_64/configure: Regenerated.
58905
58906 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58907 defined. Don't check if MAP is NULL.
58908
58909 2012-10-09 Joseph Myers <joseph@codesourcery.com>
58910
58911 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58912 (_G_stat64): Likewise.
58913 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58914 (_G_stat64): Likewise.
58915 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58916 instead of struct _G_stat64.
58917 * libio/fileops.c (mmap_remap_check): Likewise.
58918 (decide_maybe_mmap): Likewise.
58919 (_IO_new_file_seekoff): Likewise.
58920 (_IO_file_stat): Likewise.
58921 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58922 _G_off64_t.
58923 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58924 instead of struct _G_stat64.
58925 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58926
58927 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
58928
58929 [BZ #14602]
58930 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58931 Replace with ...
58932 (CHECK_EOL): New macro.
58933 (two_way_short_needle): Check beginning of haystack for EOL. Use
58934 CHECK_EOL.
58935 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58936 Replace with CHECK_EOL.
58937 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58938 Replace with CHECK_EOL.
58939
58940 2012-10-08 Joseph Myers <joseph@codesourcery.com>
58941
58942 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58943 type-generic.
58944 * math/libm-test.inc: Update comment listing what functions and
58945 macros are tested.
58946 (finite_test): New function.
58947 (isinf_test): Likewise.
58948 (isnan_test): Likewise.
58949 (fpclassify_test): Test subnormal input.
58950 (isfinite_test): Likewise.
58951 (isnormal_test): Likewise.
58952 (main): Call the new functions.
58953
58954 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
58955
58956 [BZ #14660]
58957 * Makerules (%.dynsym): Force C locale when running
58958 $(OBJDUMP) --dynamic-syms.
58959
58960 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
58961
58962 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58963 <stdint.h>.
58964
58965 2012-10-06 David S. Miller <davem@davemloft.net>
58966
58967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58968 upper 32-bits of the length value in %o2 since we use branch-on-register
58969 tests which consider the entire 64-bit register.
58970
58971 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
58972
58973 * string/test-strstr.c (check2): Add a test for page boundary.
58974
58975 2012-10-05 David S. Miller <davem@davemloft.net>
58976
58977 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58978 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58979 file.
58980 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58981 sysdep_routines.
58982 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58983 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58984 and bzero when HWCAP_SPARC_CRYPTO is present.
58985
58986 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
58987
58988 [BZ #14602]
58989 * string/test-strstr.c (check2): New function.
58990 (test_main): Call check2.
58991
58992 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58993 and bug-strchr1.
58994 * string/bug-strcasestr1.c (do_test): Moved to ...
58995 * string/test-strcasestr.c (check1): Here. New function.
58996 (do_one_test): Break out result checking code into ...
58997 (check_result): This. New function.
58998 (do_one_test): Call check_result.
58999 (test_main): Call check1.
59000 * string/bug-strchr1.c (do_test): Moved to ...
59001 * string/test-strchr.c (check1): Here. New function.
59002 (do_one_test): Break out result checking code into ...
59003 (check_result): This. New function.
59004 (do_one_test): Call check_result.
59005 (test_main): Call check1.
59006 * string/bug-strstr1.c (main): Moved to ...
59007 * string/test-strstr.c (check1): Here. New function.
59008 (do_one_test): Break out result checking code into ...
59009 (check_result): This. New function.
59010 (do_one_test): Call check_result.
59011 (test_main): Call check1.
59012 * string/bug-strcasestr1.c: Removed.
59013 * string/bug-strchr1.c: Likewise.
59014 * string/bug-strstr1.c: Likewise.
59015
59016 * elf/Makefile (dl-routines): Add hwcaps.
59017 * elf/dl-support.c (_dl_important_hwcaps): Removed.
59018 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59019 (_dl_important_hwcaps): Moved to ...
59020 * elf/dl-hwcaps.c: Here. New file.
59021 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59022
59023 [BZ #14557]
59024 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59025 if IS_IN_rtld isn't defined.
59026
59027 * elf/dl-support.c (_dl_sysinfo_map): New.
59028 Include "get-dynamic-info.h" and "setup-vdso.h".
59029 (_dl_non_dynamic_init): Call setup_vdso.
59030 * elf/dynamic-link.h: Don't include <assert.h>.
59031 (elf_get_dynamic_info): Moved to ...
59032 * elf/get-dynamic-info.h: Here. New file.
59033 * elf/dynamic-link.h: Include "get-dynamic-info.h".
59034 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59035 * elf/setup-vdso.h: Here. New file.
59036 * elf/rtld.c: Include "setup-vdso.h".
59037 (dl_main): Call setup_vdso.
59038
59039 2012-10-05 Joseph Myers <joseph@codesourcery.com>
59040
59041 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59042 creal in comment listing functions tested. List finite, isinf,
59043 isnan, isless, islessequal, isgreater, isgreaterequal,
59044 islessgreater, isunordered, lgamma_r and pow10 as functions and
59045 macros not tested. Mention which functions not tested are aliases
59046 for other functions. Fix typo. Note that signs of NaNs are not
59047 tested.
59048
59049 * scripts/config.guess: Update from config.git.
59050 * scripts/config.sub: Likewise.
59051
59052 2012-10-04 Roland McGrath <roland@hack.frob.com>
59053
59054 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59055 * misc/madvise.c (madvise): Renamed to __madvise.
59056 Make madvise a weak alias.
59057 * include/sys/mman.h: Declare __madvise.
59058 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59059 * sysdeps/unix/syscalls.list
59060 (madvise): Make __madvise the strong name, and madvise a weak alias.
59061 * sysdeps/unix/sysv/linux/syscalls.list
59062 (madvise, mmap): Remove redundant entries.
59063 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59064 * malloc/malloc.c (mtrim): Likewise.
59065 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59066
59067 2012-10-03 Roland McGrath <roland@hack.frob.com>
59068
59069 * sysdeps/mach/hurd/dl-cache.c: File removed.
59070 * config.h.in (USE_LDCONFIG): New #undef.
59071 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59072 * configure: Regenerated.
59073 * elf/Makefile (dl-routines): Add dl-cache only under
59074 [$(use-ldconfig) = yes].
59075 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59076 cache on [USE_LDCONFIG].
59077 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59078 [USE_LDCONFIG].
59079 * elf/rtld.c (dl_main): Likewise.
59080
59081 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
59082
59083 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59084 _SC_LEVEL4_CACHE_LINESIZE.
59085
59086 2012-10-03 Roland McGrath <roland@hack.frob.com>
59087
59088 * sysdeps/unix/bsd/confstr.h: File removed.
59089
59090 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
59091
59092 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59093 sys/sdt-config.h.
59094
59095 2012-10-02 Roland McGrath <roland@hack.frob.com>
59096
59097 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59098 Make 'mapoff' field ElfW(Off) rather than off_t.
59099
59100 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
59101
59102 * nscd/Makefile: Remove nscd-cflags and all its users.
59103 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59104 (CFLAGS-nonlib): Add compiler flags for nscd modules.
59105
59106 [BZ #10631]
59107 * malloc.c (malloc_printerr): Clarify error message.
59108
59109 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
59110
59111 [BZ #14648]
59112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59113 Set bit_FMA_Usable if FMA is supported.
59114 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59115 macro.
59116 (bit_FMA4_Usable): Updated.
59117 (index_FMA_Usable): New macro.
59118 (CPUID_FMA): Likewise.
59119 (HAS_FMA): Defined with bit_FMA_Usable.
59120
59121 2012-10-01 Roland McGrath <roland@hack.frob.com>
59122
59123 * bits/types.h (__swblk_t): Type removed.
59124 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59125 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59127 (__SWBLK_T_TYPE): Likewise.
59128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59129 (__SWBLK_T_TYPE): Likewise.
59130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59131 (__SWBLK_T_TYPE): Likewise.
59132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59133 (__SWBLK_T_TYPE): Likewise.
59134
59135 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
59136 Honza Horak <hhorak@redhat.com>
59137
59138 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59139 (xdr_mapname): Use YPMAXMAP as maxsize.
59140 (xdr_peername): Use YPMAXPEER as maxsize.
59141 (xdr_keydat): Use YPAXRECORD as maxsize.
59142 (xdr_valdat): Use YPMAXRECORD as maxsize.
59143
59144 2012-10-01 Roland McGrath <roland@hack.frob.com>
59145
59146 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59147
59148 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59149 * csu/init-first.c: ... here.
59150 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59151 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59152 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59153 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59154 * sysdeps/i386/init-first.c: File removed.
59155 * sysdeps/sh/init-first.c: File removed.
59156
59157 2012-10-01 Joseph Myers <joseph@codesourcery.com>
59158
59159 [BZ #14645]
59160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59161 if x * y might underflow to zero and z is zero.
59162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59164 * math/libm-test.inc (min_subnorm_value): New variable.
59165 (fma_test): Add more tests.
59166 (fma_test_towardzero): Likewise.
59167 (fma_test_downward): Likewise.
59168 (fma_test_upward): Likewise.
59169 (initialize): Set min_subnorm_value.
59170
59171 2012-09-29 Joseph Myers <joseph@codesourcery.com>
59172
59173 [BZ #14638]
59174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59175 0 + 0.
59176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59177 mode for addition resulting in exact zero.
59178 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59180 exact 0 + 0.
59181 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59183 * math/libm-test.inc (fma_test): Add more tests.
59184 (fma_test_towardzero): New function.
59185 (fma_test_downward): Likewise.
59186 (fma_test_upward): Likewise.
59187 (main): Call the new functions.
59188
59189 2012-09-28 David S. Miller <davem@davemloft.net>
59190
59191 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59192
59193 2012-09-28 Roland McGrath <roland@hack.frob.com>
59194
59195 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59196 instead of SIGALRM.
59197
59198 * sysdeps/gnu/_G_config.h: Moved to ...
59199 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59200 * sysdeps/mach/hurd/_G_config.h: Moved to ...
59201 * sysdeps/generic/_G_config.h: ... here.
59202
59203 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
59204
59205 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59206
59207 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59208 Conditionalize target on [libnss_test1.so-version].
59209
59210 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59211
59212 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59213 (elfobjdir): Move out of conditionals.
59214
59215 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59216 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59217 (__nss_lookup_function): Conditionalize label remove_from_tree on
59218 [!DO_STATIC_NSS || SHARED], matching its only use.
59219
59220 2012-09-28 David S. Miller <davem@davemloft.net>
59221
59222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59224 file.
59225 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59226 sysdep_routines.
59227 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59229 when HWCAP_SPARC_CRYPTO is present.
59230
59231 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
59232
59233 * io/tst-mknodat.c: Create a FIFO instead of a socket.
59234
59235 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
59236
59237 [BZ #6530]
59238 * stdio-common/vfprintf.c (process_string_arg): Revert
59239 2000-07-22 change.
59240
59241 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
59242
59243 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59244 for testcase.
59245 * stdio-common/tst-sprintf.c: Include <locale.h>
59246 (main): Test sprintf's handling of incomplete multibyte
59247 characters.
59248
59249 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
59250
59251 * elf/dl-runtime.c (VERSYMIDX): Removed.
59252 * elf/dl-version.c (VERSYMIDX): Likewise.
59253 * elf/do-rel.h (VERSYMIDX): Likewise.
59254 (VALIDX): Likewise.
59255 * elf/dynamic-link.h (VERSYMIDX): Likewise.
59256 * elf/rtld.c (VALIDX): Likewise.
59257 (ADDRIDX): Likewise.
59258 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59259 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59260 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59261 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59262 (VALIDX): Likewise.
59263 (ADDRIDX): Likewise.
59264
59265 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
59266
59267 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59268
59269 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
59270
59271 [BZ #11438]
59272 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59273 to global scope.
59274 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59275 addresses are in the same scope as 192.0.2/24.
59276 * posix/gai.conf: Document new scope table defaults.
59277
59278 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59279
59280 [BZ #5298]
59281 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59282 for ftell. Compute offsets from write pointers instead.
59283 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59284
59285 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59286
59287 [BZ #14543]
59288 * libio/Makefile (tests): New test case tst-fseek.
59289 * libio/tst-fseek.c: New test case to verify that fseek/ftell
59290 combination works in wide mode.
59291 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59292 state when the external buffer state changes.
59293
59294 2012-09-27 David S. Miller <davem@davemloft.net>
59295
59296 [BZ #14376]
59297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59298 pass reloc->r_addend in as the 'high' argument to
59299 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59300
59301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59302
59303 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
59304
59305 * rt/tst-aio2.c: Include <pthread.h>.
59306 * rt/tst-aio3.c: Likewise.
59307
59308 2012-09-27 Steve Ellcey <sellcey@mips.com>
59309
59310 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59311
59312 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
59313
59314 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59315 contents on [SHARED].
59316
59317 2012-09-26 Marek Polacek <polacek@redhat.com>
59318
59319 [BZ #14530]
59320 [BZ #13741]
59321 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59322 for C++ and GCC <4.3 as well as for non GCC compilers.
59323
59324 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
59325
59326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59327
59328 2012-09-25 Roland McGrath <roland@hack.frob.com>
59329
59330 * Makefile.in (all, install): Declare with .PHONY.
59331 Reported by Michael Hope <michael.hope@linaro.org>.
59332
59333 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59334
59335 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59336 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59337 system header.
59338 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59339 Likewise.
59340 (sydep_routines): Add the new and the internal functions.
59341 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59342 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59344 (GLIBC_2.17): Add the new function.
59345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59346 (GLIBC_2.17): Likewise.
59347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59348 (GLIBC_2.17): Likewise.
59349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59350 (GLIBC_2.17): Likewise.
59351 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59352
59353 2012-09-25 Alan Modra <amodra@gmail.com>
59354
59355 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59356 Add release barrier before setting once_control to say
59357 initialisation is done. Add hints on lwarx. Use macro in
59358 place of isync.
59359 (clear_once_control): Add release barrier.
59360
59361 2012-09-25 Joseph Myers <joseph@codesourcery.com>
59362
59363 [BZ #13629]
59364 * math/s_clog.c (__clog): Handle more values close to |z| = 1
59365 specially.
59366 * math/s_clog10.c (__clog10): Likewise.
59367 * math/s_clog10f.c (__clog10f): Likewise.
59368 * math/s_clog10l.c (__clog10l): Likewise.
59369 * math/s_clogf.c (__clogf): Likewise.
59370 * math/s_clogl.c (__clogl): Likewise.
59371 * math/Makefile (libm-calls): Add x2y2m1.
59372 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59373 (__x2y2m1): Likewise.
59374 (__x2y2m1l): Likewise.
59375 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59376 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59377 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59379 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59380 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59381 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59382 * sysdeps/i386/fpu/libm-test-ulps: Update.
59383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59384
59385 [BZ #14621]
59386 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59387 int as type of variable DEPTH.
59388 (glob): Use size_t instead of int as type of variables NEWCOUNT
59389 and OLD_PATHC.
59390
59391 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59392
59393 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59394 Add s_sincosf-sse2.
59395 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59396 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59397 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59398 macros for using routine as __sincosf_ia32.
59399 Use macro for function declaration and weak_alias.
59400 * sysdeps/i386/fpu/libm-test-ulps: Update.
59401
59402 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59404
59405 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59406 subnormal argument.
59407 * math/s_cexpf.c (__cexpf): Likewise.
59408 * math/s_csinf.c (__csinf): Likewise.
59409 * math/s_csinhf.c (__csinhf): Likewise.
59410 * math/s_ctanf.c (__ctanf): Likewise.
59411 * math/s_ctanhf.c (__ctanhf): Likewise.
59412 * math/s_ccosh.c (__ccoshf): Likewise.
59413 * math/s_cexp.c (__cexpl): Likewise.
59414 * math/s_csin.c (__csin): Likewise.
59415 * math/s_csinh.c (__csinh): Likewise.
59416 * math/s_ctan.c (__ctan): Likewise.
59417 * math/s_ctanh.c (ctanh): Likewise.
59418 * math/s_ccoshl.c (__ccoshl): Likewise.
59419 * math/s_cexpl.c (__cexpl): Likewise.
59420 * math/s_csinl.c (__csinl): Likewise.
59421 * math/s_csinhl.c (__csinhl): Likewise.
59422 * math/s_ctanl.c (__ctanl): Likewise.
59423 * math/s_ctanhl.c (__ctanhl): Likewise.
59424
59425 2012-09-25 Joseph Myers <joseph@codesourcery.com>
59426
59427 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59428 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59429 (_IO_off_t): Define to __off_t, not _G_off_t.
59430 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59431 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59432 (_IO_wint_t): Define to wint_t, not _G_wint_t.
59433 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59434 type of __dummy and __dummy2 fields.
59435 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59436 (_G_ssize_t): Likewise.
59437 (_G_off_t): Likewise.
59438 (_G_pid_t): Likewise.
59439 (_G_uid_t): Likewise.
59440 (_G_wchar_t): Likewise.
59441 (_G_wint_t): Likewise.
59442 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59443 (_G_ssize_t): Likewise.
59444 (_G_off_t): Likewise.
59445 (_G_pid_t): Likewise.
59446 (_G_uid_t): Likewise.
59447 (_G_wchar_t): Likewise.
59448 (_G_wint_t): Likewise.
59449 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59450 (_G_ssize_t): Likewise.
59451 (_G_off_t): Likewise.
59452 (_G_pid_t): Likewise.
59453 (_G_uid_t): Likewise.
59454 (_G_wchar_t): Likewise.
59455 (_G_wint_t): Likewise.
59456
59457 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59458
59459 * malloc/arena.c: Include malloc-sysdep.h.
59460 (shrink_heap): Use check_may_shrink_heap to decide if madvise
59461 is sufficient to shrink the heap or an unmap is needed.
59462 * sysdeps/generic/malloc-sysdep.h: New file. Define
59463 new function check_may_shrink_heap.
59464 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
59465 new function check_may_shrink_heap.
59466
59467 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59468
59469 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59470 comments.
59471
59472 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
59473
59474 * catgets/test-gencat.sh: Add "set -e".
59475 * elf/tst-pathopt.sh: Likewise.
59476 * grp/tst_fgetgrent.sh: Likewise.
59477 * iconvdata/run-iconv-test.sh: Likewise.
59478 * intl/tst-gettext.sh: Likewise.
59479 * intl/tst-gettext2.sh: Likewise.
59480 * intl/tst-gettext4.sh: Likewise.
59481 * intl/tst-gettext6.sh: Likewise.
59482 * intl/tst-translit.sh: Likewise.
59483 * io/ftwtest-sh: Likewise.
59484 * libio/test-freopen.sh: Likewise.
59485 * malloc/tst-mtrace.sh: Likewise.
59486 * posix/globtest.sh: Likewise.
59487 * posix/tst-getconf.sh: Likewise.
59488 * posix/wordexp-tst.sh: Likewise.
59489 * stdio-common/tst-printf.sh: Likewise.
59490 * stdio-common/tst-unbputc.sh: Likewise.
59491 * stdlib/tst-fmtmsg.sh: Likewise.
59492 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59493 * catgets/Makefile: Do not specify -e option when running
59494 testsuite shell scripts.
59495 * elf/Makefile: Likewise.
59496 * grp/Makefile: Likewise.
59497 * iconvdata/Makefile: Likewise.
59498 * intl/Makefile: Likewise.
59499 * io/Makefile: Likewise.
59500 * libio/Makefile: Likewise.
59501 * malloc/Makefile: Likewise.
59502 * posix/Makefile: Likewise.
59503 * stdio-common/Makefile: Likewise.
59504 * stdlib/Makefile: Likewise.
59505 * sysdeps/x86_64/Makefile: Likewise.
59506
59507 * io/ftwtest-sh: Add copyright header.
59508 * posix/globtest.sh: Likewise.
59509 * posix/tst-getconf.sh: Likewise.
59510 * posix/wordexp-tst.sh: Likewise.
59511 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59512
59513 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
59514
59515 [BZ #13679]
59516 * Makeconfig (+link): Defined as $(+link-static) if
59517 $(build-shared) isn't yes.
59518 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59519 isn't yes.
59520 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59521
59522 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59523
59524 [BZ #14562]
59525 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59526 new chunk size with MALLOC_ALIGN_MASK.
59527
59528 2012-09-24 Joseph Myers <joseph@codesourcery.com>
59529
59530 [BZ #5044]
59531 * stdio-common/printf_fphex.c: Include <stdbool.h> and
59532 <rounding-mode.h>.
59533 (__printf_fphex): Determine rounding using get_rounding_mode and
59534 round_away.
59535 * stdio-common/tst-printf-round.c (struct hex_test): New
59536 structure.
59537 (hex_tests): New variable.
59538 (test_hex_in_one_mode): New function.
59539 (do_test): Also run tests for hex float output.
59540
59541 2012-09-21 Joseph Myers <joseph@codesourcery.com>
59542
59543 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59544 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59545 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59546 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59547 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59548 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59549 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59550 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59551
59552 2012-09-20 Joseph Myers <joseph@codesourcery.com>
59553
59554 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59555 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59556 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59557 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59558
59559 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
59560
59561 [BZ #14579]
59562 * elf/rtld.c (dl_main): Limit the check for self loading to normal
59563 mode only.
59564 * elf/tst-rtld-load-self.sh: New test.
59565 * elf/Makefile: Run it.
59566
59567 2012-09-18 Joseph Myers <joseph@codesourcery.com>
59568
59569 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59570 (tst-writev-ENV): Remove.
59571 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59572
59573 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
59574
59575 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59576
59577 2012-09-17 Joseph Myers <joseph@codesourcery.com>
59578
59579 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59580 unconditional.
59581 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59582 Likewise.
59583 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59584 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59585 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59586 Likewise.
59587
59588 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
59589
59590 [BZ #14587]
59591 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59592 * config.make.in (have-cpp-asm-debuginfo): Removed.
59593 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59594 * configure: Regenerated.
59595
59596 2012-09-14 Joseph Myers <joseph@codesourcery.com>
59597
59598 [BZ #5044]
59599 * stdio-common/printf_fp.c: Include <stdbool.h> and
59600 <rounding-mode.h>.
59601 (___printf_fp): Determine rounding using get_rounding_mode and
59602 round_away.
59603 * stdio-common/tst-printf-round.c: New file.
59604 * stdio-common/Makefile (tests): Add tst-printf-round.
59605 (link-libm): New variable.
59606 ($(objpfx)tst-printf-round): Depend in $(link-libm).
59607
59608 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
59609
59610 [BZ #14576]
59611 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59612 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59613 Likewise.
59614 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59615 Likewise.
59616
59617 2012-09-13 Joseph Myers <joseph@codesourcery.com>
59618
59619 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59620 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59621 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59622 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59623
59624 2012-09-12 Joseph Myers <joseph@codesourcery.com>
59625
59626 [BZ #14518]
59627 * include/rounding-mode.h: New file.
59628 * sysdeps/generic/get-rounding-mode.h: Likewise.
59629 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59630 * stdlib/strtod_l.c: Include <rounding-mode.h>.
59631 (MAX_VALUE): New macro.
59632 (MIN_VALUE): Likewise.
59633 (overflow_value): New function.
59634 (underflow_value): Likewise.
59635 (round_and_return): Use overflow_value and underflow_value to
59636 determine return values in overflow and underflow cases. Use
59637 round_away to determine rounding depending on rounding mode.
59638 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59639 determine return values in overflow and underflow cases.
59640 * stdlib/tst-strtod-round.c: Include <fenv.h>.
59641 (struct test_results): New structure.
59642 (struct test): Use struct test_results to store expected results
59643 for all rounding modes.
59644 (TEST): Include expected results for all rounding modes.
59645 (test_in_one_mode): New function.
59646 (do_test): Use test_in_one_mode to compute and check results.
59647 Check results for all rounding modes.
59648 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59649 $(link-libm).
59650
59651 2012-12-09 Allan McRae <allan@archlinux.org>
59652
59653 * sysdeps/i386/fpu/libm-test-ulps: Update
59654
59655 2012-09-11 Joseph Myers <joseph@codesourcery.com>
59656
59657 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59658 (_G_int32_t): Likewise.
59659 (_G_uint16_t): Likewise.
59660 (_G_uint32_t): Likewise.
59661 (_G_HAVE_BOOL): Likewise.
59662 (_G_HAVE_ATEXIT): Likewise.
59663 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59664 (_G_HAVE_IO_FILE_OPEN): Likewise.
59665 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59666 (_G_int32_t): Likewise.
59667 (_G_uint16_t): Likewise.
59668 (_G_uint32_t): Likewise.
59669 (_G_HAVE_BOOL): Likewise.
59670 (_G_HAVE_ATEXIT): Likewise.
59671 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59672 (_G_HAVE_IO_FILE_OPEN): Likewise.
59673 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59674 (_G_int32_t): Likewise.
59675 (_G_uint16_t): Likewise.
59676 (_G_uint32_t): Likewise.
59677 (_G_HAVE_BOOL): Likewise.
59678 (_G_HAVE_ATEXIT): Likewise.
59679 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59680 (_G_HAVE_IO_FILE_OPEN): Likewise.
59681
59682 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
59683
59684 * csu/libc-tls.c: Update copyright years.
59685
59686 2012-09-10 Joseph Myers <joseph@codesourcery.com>
59687
59688 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59689 [!_G_USING_THUNKS]: Remove conditional code.
59690 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59691 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59692
59693 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59694 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59695 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59696 (_G_VTABLE_LABEL_PREFIX): Likewise.
59697 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59698 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59699 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59700 (_G_VTABLE_LABEL_PREFIX): Likewise.
59701 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59702 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59703 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59704 (_G_VTABLE_LABEL_PREFIX): Likewise.
59705 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59706
59707 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
59708
59709 * libio/Makefile: Include ../Makeconfig before tests.
59710 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59711 only if $(build-shared) is yes.
59712
59713 * iconv/gconv_db.c: Update copyright years.
59714
59715 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59716
59717 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59718 unwind info if defined PIC. Fix special cases description.
59719 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59720
59721 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59722 DP_HI_MASK entry.
59723 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59724
59725 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
59726
59727 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59728
59729 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59730 is NULL.
59731
59732 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59733 (LDLIBS-tst-chk4): This.
59734 (LDFLAGS-tst-chk5): Renamed to ...
59735 (LDLIBS-tst-chk5): This.
59736 (LDFLAGS-tst-chk6): Renamed to ...
59737 (LDLIBS-tst-chk6): This.
59738 (LDFLAGS-tst-lfschk4): Renamed to ...
59739 (LDLIBS-tst-lfschk4): This.
59740 (LDFLAGS-tst-lfschk5): Renamed to ...
59741 (LDLIBS-tst-lfschk5): This.
59742 (LDFLAGS-tst-lfschk6): Renamed to ...
59743 (LDLIBS-tst-lfschk6): This.
59744
59745 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59746 on $(common-objpfx)soversions.mk.
59747
59748 2012-09-07 Joseph Myers <joseph@codesourcery.com>
59749
59750 [BZ #10014]
59751 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59752 example host name.
59753
59754 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59755
59756 * malloc/arena.c (arena_get_retry): New function that gets
59757 another arena for the caller to try its request on.
59758 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59759 current arena cannot fulfill the request.
59760 (__libc_memalign): Likewise.
59761 (__libc_memalign): Likewise.
59762 (__libc_pvalloc): Likewise.
59763 (__libc_calloc): Likewise.
59764
59765 2012-09-05 John Tobey <john.tobey@gmail.com>
59766
59767 [BZ #13542]
59768 * manual/arith.texi (Operations on Complex): Fix description
59769 of carg branch cut.
59770
59771 2012-09-06 Joseph Myers <joseph@codesourcery.com>
59772
59773 [BZ #10014]
59774 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59775 host name.
59776
59777 [BZ #10038]
59778 * manual/memory.texi (Memory): Make order of menu items match
59779 order of sections.
59780
59781 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59782
59783 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59784 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
59785 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59786
59787 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59788
59789 * csu/libc-tls.c (static_dtv): Renamed to ...
59790 (_dl_static_dtv): This. Make it global.
59791 (_dl_initial_dtv): Removed.
59792 (__libc_setup_tls): Updated.
59793 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59794 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59795 DL_INITIAL_DTV.
59796
59797 2012-09-06 Petr Machata <pmachata@redhat.com>
59798
59799 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59800 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59801 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59802 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59803
59804 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59805
59806 [BZ #14545]
59807 * csu/libc-tls.c (_dl_initial_dtv): New variable.
59808 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59809 freeing dtv[-1].
59810
59811 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59812
59813 [BZ #14544]
59814 * Makeconfig (link-static-before-libc): Replace $(+prector)
59815 with $(+prectorT).
59816 (link-static-after-libc): Replace $(+postctor) with
59817 $(+postctorT).
59818 (link-bounded): Replace $(+prector)/$(+postctor) with
59819 $(+prectorT)/$(+postctorT).
59820 (+prectorT): New macro.
59821 (+postctorT): Likewise.
59822
59823 2012-09-06 Joseph Myers <joseph@codesourcery.com>
59824
59825 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59826 (round_str): Handle values above the maximum for IBM long double
59827 as inexact.
59828 * stdlib/tst-strtod-round.c (tests): Regenerated.
59829
59830 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59831
59832 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59833 assembler flag.
59834 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59835 zarch_nohighgprs around the zarch optimized routines.
59836 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59837 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59839 for zarch.
59840
59841 2012-09-05 David S. Miller <davem@davemloft.net>
59842
59843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59844
59845 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59846 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59847 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59848 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59849 entries.
59850
59851 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59852
59853 * malloc/arena.c: Fold copyright years.
59854 * malloc/mcheck.c, malloc/memusage.c: Likewise.
59855
59856 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59857
59858 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59859
59860 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59861
59862 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
59863
59864 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59865
59866 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59867 change internal state upon failure.
59868
59869 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59870
59871 * malloc/mcheck.c (mcheck_check_all): Fix typo.
59872 * malloc/memusage.c (mmap): Likewise.
59873 (mmap64, mremap): Likewise. Adjust name in comment.
59874
59875 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
59876
59877 * libio/fileops.c: Fix typos in comments.
59878 * libio/oldfileops.c: Likewise.
59879 * libio/wfileops.c: Likewise.
59880
59881 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
59882
59883 [BZ #1349]
59884 * malloc/Makefile (tests): Add tst-malloc-usable test case.
59885 (tst-malloc-usable-ENV): Set environment for test case.
59886 * malloc/hooks.c (malloc_check_get_size): New function to get
59887 requested size.
59888 * malloc/malloc.c (musable): Use malloc_check_get_size.
59889 * malloc/tst-malloc-usable.c: New test case.
59890
59891 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
59892
59893 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59894
59895 2012-09-05 Allan McRae <allan@archlinux.org>
59896
59897 [BZ #13966]
59898 * configure.in (CXX_SYSINCLUDES): Use compiler output to
59899 determine header location.
59900 * configure: Regenerated.
59901
59902 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
59903
59904 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59905 float format.
59906 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59907 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59908 format.
59909 (test): Regenerate.
59910
59911 2012-09-04 David S. Miller <davem@davemloft.net>
59912
59913 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59914 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59915 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59916
59917 2012-09-04 Florian Weimer <fweimer@redhat.com>
59918
59919 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59920 failures.
59921
59922 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59923
59924 2012-09-04 Joseph Myers <joseph@codesourcery.com>
59925
59926 [BZ #9914]
59927 * libio/iogetdelim.c: Include <limits.h>.
59928 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59929 + len + 1 would overflow.
59930
59931 2012-09-03 Andreas Jaeger <aj@suse.de>
59932
59933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59934 * sysdeps/i386/fpu/libm-test-ulps: Update.
59935
59936 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59937
59938 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59939 Add s_sinf-sse2, s_conf-sse2.
59940
59941 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59943 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59944 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59945
59946 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59947 for using routine as __sinf_ia32.
59948 Use macro for function declaration and weak_alias.
59949 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59950 for using routine as __cosf_ia32.
59951 Use macro for function declaration and weak_alias.
59952
59953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59954 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59955
59956 * sysdeps/x86_64/fpu/s_sinf.S: New file.
59957 * sysdeps/x86_64/fpu/s_cosf.S: New file.
59958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59959
59960 * math/libm-test.inc (cos_test): Add more test cases.
59961 (sin_test): Likewise.
59962 (sincos_test): Likewise.
59963
59964 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59965
59966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59967 (IFUNC_RESOLVE): Make pointers to the specialized implementations
59968 hidden.
59969 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59970
59971 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
59972
59973 [BZ #14538]
59974 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59975 first element of the GOT.
59976 (elf_machine_load_address): Return the difference between
59977 the runtime address of _DYNAMIC and elf_machine_dynamic ().
59978
59979 2012-09-01 Allan McRae <allan@archlinux.org>
59980
59981 [BZ #13412]
59982 * configure.in (AWK): Require gawk version 3.0 or later.
59983 * configure: Regenerated.
59984
59985 2012-09-01 Joseph Myers <joseph@codesourcery.com>
59986
59987 * sysdeps/unix/sysv/linux/kernel-features.h
59988 (__ASSUME_POSIX_CPU_TIMERS): Remove.
59989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59990 [__NR_clock_getres]: Make code unconditional.
59991 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59992 (clock_getcpuclockid): Remove code left unreachable by removal of
59993 conditionals.
59994 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59995 code unconditional.
59996 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59997 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59998 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59999 Make code unconditional.
60000 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60001 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60002 * sysdeps/unix/sysv/linux/clock_settime.c
60003 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60004 conditional code.
60005 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60007
60008 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
60009
60010 [BZ #14476]
60011 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60012 scripts/test-installation.pl.
60013
60014 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60015 and $ld_so_version if it is set.
60016
60017 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60018
60019 [BZ #14516]
60020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60021 failure if reading from procfs failed.
60022 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60023
60024 2012-08-27 Joseph Myers <joseph@codesourcery.com>
60025
60026 * sysdeps/unix/sysv/linux/kernel-features.h
60027 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60028 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60029 Remove conditional code.
60030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60031 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60032 Remove conditional code.
60033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60034 * sysdeps/unix/sysv/linux/i386/fxstat.c
60035 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60037 * sysdeps/unix/sysv/linux/i386/fxstatat.c
60038 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60040 * sysdeps/unix/sysv/linux/i386/lxstat.c
60041 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60043 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60044 Remove conditional code.
60045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60046 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60047 Remove conditional code.
60048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60049 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60050 <kernel-features.h>.
60051 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60052 Remove.
60053 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60054 Remove conditional code.
60055 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60056 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60057 Remove conditional.
60058
60059 2012-08-27 Mike Frysinger <vapier@gentoo.org>
60060
60061 [BZ #5400]
60062 * NEWS: Add fixed bug number.
60063
60064 2012-08-27 Joseph Myers <joseph@codesourcery.com>
60065
60066 [BZ #14519]
60067 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60068 underflowing exponent in case of negative sign.
60069 * stdlib/tst-strtod-round-data: Add more tests.
60070 * stdlib/tst-strtod-round.c (tests): Regenerated.
60071
60072 [BZ #3479]
60073 * stdlib/strtod_l.c (NDIG): Remove.
60074 (HEXNDIG): Likewise.
60075 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60076 smallest representable value.
60077 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60078 lie within an exact representation of 1/2 ulp of the result.
60079 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60080 unconditionally.
60081 (TENS_P9_IDX): Define unconditionally.
60082 (TENS_P9_SIZE): Likewise.
60083 (TENS_P10_IDX): Likewise.
60084 (TENS_P10_SIZE): Likewise.
60085 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60086 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60087 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60088 entries for 10^2^13 and 10^2^14.
60089 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60090 (TENS_P13_IDX): Define.
60091 (TENS_P13_SIZE): Likewise.
60092 (TENS_P14_IDX): Likewise.
60093 (TENS_P14_SIZE): Likewise.
60094 (_fpioconst_pow10): Change array size to
60095 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
60096 unconditional.
60097 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60098 1024]: Add entries for 10^2^13 and 10^2^14.
60099 [LAST_POW10 > _LAST_POW10]: Remove #error.
60100 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60101 (_fpioconst_pow10): Change array size to
60102 FPIOCONST_POW10_ARRAY_SIZE.
60103 * stdlib/gen-fpioconst.c: New file.
60104 * stdlib/gen-tst-strtod-round.c: Likewise.
60105 * stdlib/tst-strtod-round-data: Likewise.
60106 * stdlib/tst-strtod-round.c: Likewise.
60107 * stdlib/Makefile (tests): Add tst-strtod-round.
60108
60109 [BZ #14459]
60110 * stdlib/strtod_l.c: Include <stdint.h>.
60111 (NDEBUG): Do not define.
60112 (round_and_return): Change EXPONENT parameter to type intmax_t.
60113 Rearrange calculations to avoid internal overflow possibilities.
60114 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60115 Rearrange calculations to avoid internal overflow possibilities.
60116 Assert that number fits inside MPNSIZE limbs.
60117 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60118 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
60119 calculations and add assertions to avoid internal overflow
60120 possibilities. Add casts to avoid signed/unsigned operations.
60121 * stdlib/tst-strtod-overflow.c: New file.
60122 * stdlib/Makefile (tests): Add tst-strtod-overflow.
60123
60124 2012-08-25 Marek Polacek <polacek@redhat.com>
60125
60126 * time/time.h: Fix some typos in comments.
60127
60128 2012-08-23 Roland McGrath <roland@hack.frob.com>
60129
60130 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60131 * posix/tst-rfc3484-2.c: Likewise.
60132 * posix/tst-rfc3484-3.c: Likewise.
60133
60134 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
60135
60136 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60137 (EF_ARM_ABI_FLOAT_HARD): Likewise.
60138
60139 2012-08-23 Joseph Myers <joseph@codesourcery.com>
60140
60141 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60142 #include of fxstatat64.c.
60143
60144 2012-08-22 Roland McGrath <roland@hack.frob.com>
60145
60146 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60147 * shadow/getspent_r.c: Likewise.
60148 * shadow/getspnam.c: Likewise.
60149 * shadow/getspnam_r.c: Likewise.
60150 * gshadow/getsgent.c: Likewise.
60151 * gshadow/getsgent_r.c: Likewise.
60152 * gshadow/getsgnam.c: Likewise.
60153 * gshadow/getsgnam_r.c: Likewise.
60154 * inet/getnetbyad.c: Likewise.
60155 * inet/getnetbyad_r.c: Likewise.
60156 * inet/getnetbynm.c: Likewise.
60157 * inet/getnetbynm_r.c: Likewise.
60158 * inet/getnetent.c: Likewise.
60159 * inet/getnetent_r.c: Likewise.
60160 * inet/getproto.c: Likewise.
60161 * inet/getproto_r.c: Likewise.
60162 * inet/getprtent.c: Likewise.
60163 * inet/getprtent_r.c: Likewise.
60164 * inet/getprtname.c: Likewise.
60165 * inet/getprtname_r.c: Likewise.
60166 * inet/getrpcbyname.c: Likewise.
60167 * inet/getrpcbyname_r.c: Likewise.
60168 * inet/getrpcbynumber.c: Likewise.
60169 * inet/getrpcbynumber_r.c: Likewise.
60170 * inet/getrpcent.c: Likewise.
60171 * inet/getrpcent_r.c: Likewise.
60172 * inet/getaliasent.c: Likewise.
60173 * inet/getaliasent_r.c: Likewise.
60174 * inet/getaliasname.c: Likewise.
60175 * inet/getaliasname_r.c: Likewise.
60176 * nscd/getgrgid_r.c: Likewise.
60177 * nscd/getgrnam_r.c: Likewise.
60178 * nscd/gethstbyad_r.c: Likewise.
60179 * nscd/gethstbynm3_r.c: Likewise.
60180 * nscd/getpwnam_r.c: Likewise.
60181 * nscd/getpwuid_r.c: Likewise.
60182 * nscd/getsrvbynm_r.c: Likewise.
60183 * nscd/getsrvbypt_r.c: Likewise.
60184 * nscd/gai.c: Likewise.
60185
60186 * configure.in (build_nscd): New substituted variable, set
60187 by --disable-build-nscd and defaults to $use_nscd.
60188 * configure: Regenerated.
60189 * config.make.in (build-nscd): New substituted variable.
60190 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60191 Change conditional to require [$(build-nscd) = yes] as well.
60192 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60193
60194 [BZ# 13696]
60195 * configure.in (use_nscd): New substituted variable, set by
60196 --disable-nscd. If enabled, define USE_NSCD.
60197 * configure: Regenerated.
60198 * config.h.in: Add USE_NSCD.
60199 * config.make.in (use-nscd): New substituted variable.
60200 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60201 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60202 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60203 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60204 (CFLAGS-getgrnam_r.c): Likewise.
60205 (CFLAGS-initgroups.c): Likewise.
60206 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60207 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60208 Variables removed.
60209 * inet/getnetgrent_r.c
60210 (nscd_setnetgrent): New function, broken out of ...
60211 (setnetgrent): ... here. Call it.
60212 (innetgr): Conditionalize nscd bits on [USE_NSCD].
60213 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60214 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60215 * nscd/Makefile (routines, aux): Move definitions after include of
60216 Makeconfig. Conditionalize on [$(use-nscd) != no].
60217 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60218 Conditionalize on [USE_NSCD].
60219 (is_nscd, nscd_init_cb): Likewise.
60220 (nss_load_library): Conditionalize init callback on [USE_NSCD].
60221 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60222 * nss/nss_db/db-init.c: Likewise.
60223 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60224 [USE_NSCD].
60225 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60226 (make_request): Use it.
60227 (cache_valid_p): New function.
60228 (__check_pf): Use it.
60229 * NEWS: Add item for --disable-nscd.
60230
60231 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
60232
60233 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60234 to support sed >= 4.2.1-20-ga9bf076.
60235 * configure: Regenerated.
60236
60237 2012-08-22 Roland McGrath <roland@hack.frob.com>
60238
60239 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60240 Conditionalize whole body on [IREL].
60241
60242 2012-08-22 Jeff Law <law@redhat.com>
60243
60244 [BZ #14505]
60245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60246 if the family is PF_UNSPEC.
60247
60248 2012-08-22 Mike Frysinger <vapier@gentoo.org>
60249
60250 * Makerules (lib-version): Rename from V.
60251 (install-lib-nosubdir): Change V to lib-version.
60252
60253 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
60254
60255 [BZ #14252]
60256 * powerpc32/power6/wcschr.c: New file.
60257 * powerpc32/power6/wcscpy.c: New file.
60258 * powerpc32/power6/wcsrchr.c: New file.
60259 * powerpc64/power6/wcschr.c: New file.
60260 * powerpc64/power6/wcscpy.c: New file.
60261 * powerpc64/power6/wcsrchr.c: New file.
60262
60263 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
60264
60265 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60266 (two_way_short_needle): Use it.
60267 * string/strstr.c (AVAILABLE1_USES_J): Define.
60268 * string/strcasestr.c: Likewise.
60269
60270 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60271 array references.
60272 * string/strcasestr.c (TOLOWER): Make side-effect safe.
60273
60274 [BZ #11607]
60275 * NEWS: Add an entry.
60276 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60277 define their defaults.
60278 (two_way_short_needle): Detect end-of-string on-the-fly.
60279 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60280 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60281 * string/bug-strcasestr1.c: New test.
60282 * string/Makefile: Run it.
60283
60284 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
60285
60286 [BZ #11607]
60287 * string/str-two-way.h (two_way_short_needle): Optimize matching of
60288 the first character.
60289
60290 2012-08-21 Roland McGrath <roland@hack.frob.com>
60291
60292 * csu/elf-init.c (__libc_csu_irel): Function removed.
60293 * csu/libc-start.c (apply_irel): New function.
60294 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60295
60296 2012-08-21 Joseph Myers <joseph@codesourcery.com>
60297
60298 * sysdeps/unix/sysv/linux/kernel-features.h
60299 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60300 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60301 <kernel-features.h>.
60302 [__NR_fadvise64_64]: Make code unconditional.
60303 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60304 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60305 !__NR_fadvise64_64)]: Likewise.
60306 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60307 !__NR_fadvise64_64))]: Likewise.
60308 [__NR_fadvise64]: Make code unconditional.
60309 [!__NR_fadvise64]: Remove conditional code.
60310 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60311 <kernel-features.h>.
60312 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60313 unconditional.
60314 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60315 conditional code.
60316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60317 not include <kernel-features.h>.
60318 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60319 unconditional.
60320 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60321 conditional code.
60322 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60323 include <kernel-features.h>.
60324 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60325 unconditional.
60326 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60327 conditional code.
60328
60329 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
60330
60331 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60332 slight instruction rearrangements per scrollpipe analysis.
60333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60334
60335 2012-08-20 Roland McGrath <roland@hack.frob.com>
60336
60337 * manual/syslog.texi (syslog; vsyslog, closelog):
60338 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60339 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60340
60341 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60342 DSOCAPS to match condition on defining it.
60343
60344 2012-08-20 Joseph Myers <joseph@codesourcery.com>
60345
60346 * sysdeps/unix/sysv/linux/kernel-features.h
60347 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60349 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60350 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60352 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60353 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60355 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60356 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60357
60358 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60359 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60360
60361 * sysdeps/unix/sysv/linux/kernel-features.h
60362 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60363 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60364 unconditional.
60365 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60366 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60367 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60368 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60369 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60370 Make code unconditional.
60371 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60372 (__mmap64) [!__NR_mmap2]: Likewise.
60373 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60374 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60375 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60376 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60377 [__NR_mmap2]: Make code unconditional.
60378 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60379 (__mmap64) [!__NR_mmap2]: Likewise.
60380
60381 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60382
60383 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60384
60385 2012-08-18 Andreas Jaeger <aj@suse.de>
60386
60387 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60388
60389 2012-08-18 Mike Frysinger <vapier@gentoo.org>
60390
60391 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60392 * include/unistd.h (__have_sock_cloexec): Likewise.
60393 (__have_pipe2): Likewise.
60394 (__have_dup3): Likewise.
60395
60396 2012-08-18 Mike Frysinger <vapier@gentoo.org>
60397
60398 [BZ #9685]
60399 * include/unistd.h (__have_pipe2): Change define into an extern int.
60400 (__have_dup3): Likewise.
60401 * socket/have_sock_cloexec.c: Include fcntl.h.
60402 (__have_pipe2): New variable.
60403 (__have_dup3): Likewise.
60404
60405 2012-08-17 Mike Frysinger <vapier@gentoo.org>
60406
60407 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60408
60409 2012-08-17 Marek Polacek <polacek@redhat.com>
60410
60411 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60412 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60413
60414 2012-08-17 Roland McGrath <roland@hack.frob.com>
60415
60416 * configure.in: Add AC_SUBST for sysheaders.
60417 * configure: Regenerated.
60418 * config.make.in (sysheaders): New substituted variable.
60419
60420 * sysdeps/unix/mkfifo.c: Moved ...
60421 * sysdeps/posix/mkfifo.c: ... here.
60422 * sysdeps/unix/mkfifoat.c: Moved ...
60423 * sysdeps/posix/mkfifoat.c: ... here.
60424
60425 * sysdeps/unix/utime.c: Moved ...
60426 * sysdeps/posix/utime.c: ... here.
60427
60428 * sysdeps/unix/time.c: Moved ...
60429 * sysdeps/posix/time.c: ... here.
60430 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60431 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60432
60433 * sysdeps/unix/nice.c: Moved ...
60434 * sysdeps/posix/nice.c: ... here.
60435
60436 * sysdeps/unix/alarm.c: Moved ...
60437 * sysdeps/posix/alarm.c: ... here.
60438
60439 * intl/Makefile ($(codeset_mo)): Depend on the input file.
60440
60441 2012-08-17 Jeff Law <law@redhat.com>
60442
60443 * intl/Makefile (codeset_mo): New variable.
60444 ($(codeset_mo)): New target.
60445 (tst-codeset.out): Depend on that. Remove explicit rule.
60446 (tst-gettext3.out, tst-gettext5.out): Likewise.
60447 (LOCPATH-ENV, tst-codeset-ENV): New variables.
60448 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60449 * intl/tst-codeset.sh: Remove.
60450 * intl/tst-gettext3.sh: Likewise.
60451 * intl/tst-gettext5.sh: Likewise.
60452
60453 2012-08-17 Roland McGrath <roland@hack.frob.com>
60454
60455 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
60456 * sysdeps/unix/syscalls.list: ... here.
60457
60458 * sysdeps/posix/getaddrinfo.c
60459 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60460 (gaiconf_init, gaiconf_reload): Use them.
60461 [!_STATBUF_ST_NSEC]
60462 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60463 Define using time_t rather than struct timespec.
60464
60465 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60466 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60467 Macros removed.
60468 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60469 [!NO_THREADS].
60470 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60471 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60472 Likewise.
60473
60474 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60475 __libc_cleanup_push argument.
60476
60477 * bits/param.h: New file.
60478 * misc/sys/param.h: New file.
60479 * include/sys/param.h: New file.
60480 * misc/Makefile (headers): Add bits/param.h.
60481 * sysdeps/generic/sys/param.h: File removed.
60482 * sysdeps/unix/sysv/linux/bits/param.h: New file.
60483 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60484 * sysdeps/mach/hurd/bits/param.h: New file.
60485 * sysdeps/mach/hurd/sys/param.h: File removed.
60486
60487 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60488 last change.
60489
60490 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60491 [_IO_MTSAFE_IO].
60492 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60493 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60494 New macros.
60495
60496 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60497 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60498 rather than -D_IO_MTSAFE_IO conditionally.
60499 * stdio-common/Makefile (CPPFLAGS): Likewise.
60500 * wcsmbs/Makefile (CPPFLAGS): Likewise.
60501 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60502 Use $(libio-mtsafe).
60503 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60504 of -D_IO_MTSAFE_IO.
60505 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60506 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60507 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60508 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60509 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60510 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60511 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60512 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60513 (CFLAGS-fread_u_chk.c): Likewise.
60514 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60515 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60516 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60517 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60518 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60519 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60520 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60521 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60522 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60523
60524 * libio/Makefile: Test [$(libc-reentrant) = yes]
60525 instead of [$(filter %REENTRANT, $(defines)) nonempty].
60526
60527 * Makeconfig
60528 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60529 * sysdeps/pthread/configure: File removed.
60530 * sysdeps/pthread/Makeconfig: New file.
60531 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60532 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60533
60534 2012-08-16 Gary Benson <gbenson@redhat.com>
60535
60536 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60537 unmapping the first object in a namespace.
60538
60539 2012-08-16 Roland McGrath <roland@hack.frob.com>
60540
60541 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60542 (__internal_setnetgrent): ... this. Add internal_function to
60543 definition. Add libc_hidden_def.
60544 (setnetgrent): Update caller.
60545 (internal_endnetgrent): Renamed to ...
60546 (__internal_endnetgrent): ... this. Add internal_function to
60547 definition. Add libc_hidden_def.
60548 (endnetgrent): Update caller.
60549 (internal_getnetgrent_r): Renamed to ...
60550 (__internal_getnetgrent_r): ... this. Add internal_function to
60551 definition. Add libc_hidden_def.
60552 (__getnetgrent_r): Update caller.
60553 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
60554
60555 2012-08-16 Joseph Myers <joseph@codesourcery.com>
60556
60557 * stdlib/longlong.h: Update from GCC.
60558
60559 2012-08-16 Roland McGrath <roland@hack.frob.com>
60560
60561 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60562 on _QL, which is set by umul_ppmm but never used.
60563 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60564 variables, which are set by GMP macros but never used.
60565 * stdio-common/_itowa.c (_itowa): Likewise.
60566 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60567 * stdlib/mod_1.c (mpn_mod_1): Likewise.
60568
60569 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
60570
60571 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60572 struct La_sh_regs is not constant.
60573 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60574 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60575 and struct La_sparc64_regs are not constant.
60576
60577 2012-08-16 Joseph Myers <joseph@codesourcery.com>
60578
60579 * sysdeps/unix/sysv/linux/kernel-features.h
60580 (__ASSUME_POSIX_TIMERS): Remove.
60581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60583 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60584 Make code unconditional.
60585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60586 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60587 Make code unconditional.
60588 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60589 * sysdeps/unix/sysv/linux/clock_nanosleep.c
60590 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60592 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60593 Make code unconditional.
60594 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60595 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60596 (__libc_missing_posix_timers): Remove.
60597
60598 2012-08-15 Roland McGrath <roland@hack.frob.com>
60599
60600 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60601 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60602
60603 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60604
60605 * elf/dl-sym.c: Include <stdlib.h>.
60606
60607 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60608 constants, which avoids warnings in 32-bit builds.
60609
60610 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60611 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60612
60613 * misc/lseek.c: File moved to ...
60614 * io/lseek.c: ... here.
60615
60616 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60617
60618 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60619 shifting LEN more than 31 bits at once.
60620
60621 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60622
60623 [BZ #14195]
60624 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60625 segmentation fault for a case of two empty input strings.
60626 * string/test-strncasecmp.c (check1): Renamed to...
60627 (bz12205): ...this.
60628 (bz14195): Add new testcase for two empty input strings and N > 0.
60629 (test_main): Call new testcase, adapt for renamed function.
60630
60631 2012-08-15 Andreas Jaeger <aj@suse.de>
60632
60633 [BZ #14090]
60634 * crypt/md5test2.c: New test, based on test supplied by Serge
60635 Belyshev <belyshev@depni.sinp.msu.ru>.
60636 * crypt/Makefile (xtests): Add md5test-giant..
60637 * crypt/Makefile ($(objpfx)md5test-giant): Add.
60638
60639 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
60640
60641 [BZ #14090]
60642 * crypt/md5.c (md5_process_block): Don't assume the buffer
60643 length is less than 2**32.
60644 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60645 length is less than 2**64.
60646
60647 2012-08-15 Roland McGrath <roland@hack.frob.com>
60648
60649 * string/str-two-way.h: Include <sys/param.h>.
60650 (MAX): Macro removed.
60651
60652 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60653 Move #define and #undef of memmove to just before and after
60654 including <string.h>.
60655
60656 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60657 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60658 and after including <string.h>. Move declarations of
60659 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60660 to before #include "string/memmove.c".
60661
60662 * include/dirent.h: Declare __getdirentries.
60663
60664 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60665 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60666
60667 2012-08-14 Mike Frysinger <vapier@gentoo.org>
60668
60669 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60670 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60671 * sysdeps/i386/configure: Regenerated.
60672 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60673 STABS_CURRENT_FILE, and STABS_FUN.
60674 (END): Remove call to STABS_FUN_END.
60675 (STABS_CURRENT_FILE1): Delete.
60676 (STABS_CURRENT_FILE): Likewise.
60677 (STABS_FUN): Likewise.
60678 (STABS_FUN_END): Likewise.
60679 (STABS_FUN2): Likewise.
60680 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60681 * sysdeps/x86_64/configure: Regenerated.
60682
60683 2012-08-14 Roland McGrath <roland@hack.frob.com>
60684
60685 * elf/dl-open.c: Include <atomic.h>.
60686 * elf/dl-lookup.c: Likewise.
60687
60688 2012-08-14 Joseph Myers <joseph@codesourcery.com>
60689
60690 * sysdeps/unix/sysv/linux/kernel-features.h
60691 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60692 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60693 unconditionally.
60694 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60695 unconditionally.
60696 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60697 condition on __ASSUME_CLONE_THREAD_FLAGS.
60698
60699 2012-08-14 Andreas Jaeger <aj@suse.de>
60700
60701 * sysdeps/i386/fpu/libm-test-ulps: Update.
60702
60703 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
60704
60705 * include/atomic.h (atomic_exchange_and_add): Split into ...
60706 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60707 New atomic macros.
60708
60709 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
60710
60711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60712
60713 2012-08-13 Jeff Law <law@redhat.com>
60714
60715 * manual/stdio.texi (snprintf): Clarify handling of the trailing
60716 null byte in the output string.
60717
60718 2012-08-10 Joseph Myers <joseph@codesourcery.com>
60719
60720 * sysdeps/unix/sysv/linux/kernel-features.h
60721 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60722 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60723 (__ASSUME_ARG_MAX_STACK_BASED): Define.
60724 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60725 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60726 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
60727 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60728
60729 2012-08-09 Jeff Law <law@redhat.com>
60730
60731 [BZ #13939]
60732 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60733 When avoid_arena is set, don't retry in the that arena. Pick the
60734 next one, whatever it might be.
60735 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60736 (arena_lock): Pass in new parameter to arena_get2.
60737 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60738 arena_get2.
60739 (__libc_malloc): Unify retrying after main arena failure with
60740 __libc_memalign version.
60741 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60742
60743 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
60744
60745 [BZ #14166]
60746 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60747 to __redirect_strstr.
60748 (__strstr_sse42): Use typeof __redirect_strstr.
60749 (__strstr_ia32): Likewise.
60750 (__libc_strstr): New prototype.
60751 (strstr): Renamed to ...
60752 (__libc_strstr): This.
60753 (strstr): New strong alias of __libc_strstr.
60754 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60755 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60756 __redirect_time.
60757 Include <time.h>.
60758 (__libc_time): New prototype.
60759 (time_ifunc): Replace time with __libc_time.
60760 (time): New strong alias and hidden definition of __libc_time.
60761 (__GI_time): Remove strong alias.
60762 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60763 Include <stddef.h>.
60764 (memmove): Redefined to __redirect_memmove.
60765 (__memmove_sse2): Use typeof __redirect_memmove.
60766 (__memmove_ssse3): Likewise.
60767 (__memmove_ssse3_back): Likewise.
60768 (__libc_memmove): New prototype.
60769 (memmove): Renamed to ...
60770 (__libc_memmove): This.
60771 (memmove): New strong alias of __libc_memmove.
60772
60773 2012-08-08 Mark Salter <msalter@redhat.com>
60774
60775 * elf/elf.h
60776 (R_MN10300_TLS_GD): Define.
60777 (R_MN10300_TLS_LD): Likewise.
60778 (R_MN10300_TLS_LDO): Likewise.
60779 (R_MN10300_TLS_GOTIE): Likewise.
60780 (R_MN10300_TLS_IE): Likewise.
60781 (R_MN10300_TLS_LE): Likewise.
60782 (R_MN10300_TLS_DTPMOD): Likewise.
60783 (R_MN10300_TLS_DTPOFF): Likewise.
60784 (R_MN10300_TLS_TPOFF): Likewise.
60785 (R_MN10300_SYM_DIFF): Likewise.
60786 (R_MN10300_ALIGN): Likewise.
60787 (R_MN10300_NUM): Update.
60788
60789 2012-08-08 Joseph Myers <joseph@codesourcery.com>
60790
60791 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60792 Remove.
60793
60794 2012-08-08 Roland McGrath <roland@hack.frob.com>
60795
60796 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60797
60798 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60799 sysdeps/unix -> sysdeps/posix move.
60800 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60801
60802 2012-08-07 Allan McRae <allan@archlinux.org>
60803
60804 [BZ #14303]
60805 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60806 (SUNOS_CPP): Likewise.
60807 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60808 not found.
60809 (open_input): Call CPP using execvp.
60810
60811 2012-08-07 Joseph Myers <joseph@codesourcery.com>
60812
60813 * sysdeps/unix/sysv/linux/kernel-features.h
60814 (__ASSUME_PROT_GROWSUPDOWN): Remove.
60815 (__ASSUME_NO_CLONE_DETACHED): Likewise.
60816 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60817 (__ASSUME_WAITID_SYSCALL): Likewise.
60818 * sysdeps/unix/sysv/linux/dl-execstack.c
60819 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60820 code unconditional.
60821 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60822 conditional code.
60823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60824 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60825 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60826 code.
60827 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60828 unconditional.
60829 [__ASSUME_WAITID_SYSCALL]: Likewise.
60830 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60831
60832 2012-08-07 Roland McGrath <roland@hack.frob.com>
60833
60834 * sysdeps/unix/closedir.c: Renamed to ...
60835 * sysdeps/posix/closedir.c: ... here.
60836 * sysdeps/unix/dirfd.c: Renamed to ...
60837 * sysdeps/posix/dirfd.c: ... here.
60838 * sysdeps/unix/dirstream.h: Renamed to ...
60839 * sysdeps/posix/dirstream.h: ... here.
60840 * sysdeps/unix/fdopendir.c: Renamed to ...
60841 * sysdeps/posix/fdopendir.c: ... here.
60842 * sysdeps/unix/opendir.c: Renamed to ...
60843 * sysdeps/posix/opendir.c: ... here.
60844 * sysdeps/unix/readdir.c: Renamed to ...
60845 * sysdeps/posix/readdir.c: ... here.
60846 * sysdeps/unix/readdir_r.c: Renamed to ...
60847 * sysdeps/posix/readdir_r.c: ... here.
60848 * sysdeps/unix/rewinddir.c: Renamed to ...
60849 * sysdeps/posix/rewinddir.c: ... here.
60850 * sysdeps/unix/seekdir.c: Renamed to ...
60851 * sysdeps/posix/seekdir.c: ... here.
60852 * sysdeps/unix/telldir.c: Renamed to ...
60853 * sysdeps/posix/telldir.c: ... here.
60854 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60855 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60856 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60857 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60858
60859 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60860 * bits/fcntl.h: ... here.
60861
60862 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60863 not 0.
60864 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60865 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60866 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60867 (struct flock): Move l_start, l_len to the beginning.
60868 Use __pid_t for l_pid.
60869 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60870 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60871 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60872 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60873 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60874 [__USE_LARGEFILE64] (struct flock64): New type.
60875 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60876
60877 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60878 * bits/dirent.h: ... here.
60879
60880 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60881 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60882
60883 2012-08-07 Joseph Myers <joseph@codesourcery.com>
60884
60885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60886 Change from 2.6.0 to 2.6.16.
60887 * sysdeps/unix/sysv/linux/configure: Regenerated.
60888 * sysdeps/unix/sysv/linux/kernel-features.h
60889 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60890 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60891 version.
60892 (__ASSUME_UTIMES): Likewise.
60893 (__ASSUME_CLONE_STOPPED): Remove.
60894 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60895 architectures, not kernel version.
60896 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60897 (__ASSUME_NO_CLONE_DETACHED): Likewise.
60898 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60899 (__ASSUME_WAITID_SYSCALL): Likewise.
60900 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60901 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60902 * README: State 2.6.16 as minimum Linux kernel version. Do not
60903 refer to older versions.
60904
60905 2012-08-06 Roland McGrath <roland@hack.frob.com>
60906
60907 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60908 Define alphasort64 as an alias.
60909 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60910 Define versionsort64 as an alias.
60911 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60912 Define scandir64 as an alias.
60913 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60914 Define scandirat64 as an alias.
60915 * dirent/alphasort64.c (alphasort64):
60916 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60917 * dirent/versionsort64.c: Likewise.
60918 * dirent/scandir64.c: Likewise.
60919 * dirent/scandirat64.c: Likewise.
60920 * sysdeps/wordsize-64/alphasort.c: File removed.
60921 * sysdeps/wordsize-64/alphasort64.c: File removed.
60922 * sysdeps/wordsize-64/scandir.c: File removed.
60923 * sysdeps/wordsize-64/scandir64.c: File removed.
60924 * sysdeps/wordsize-64/scandirat.c: File removed.
60925 * sysdeps/wordsize-64/scandirat64.c: File removed.
60926 * sysdeps/wordsize-64/versionsort.c: File removed.
60927 * sysdeps/wordsize-64/versionsort64.c: File removed.
60928 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60929 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60930 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60931 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60932 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60933 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60934 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60936
60937 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60939 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60941 [defined __arch64__ || defined __sparcv9]
60942 (__INO_T_MATCHES_INO64_T): New macro.
60943 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60944 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60945 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60946 * sysdeps/unix/sysv/linux/bits/dirent.h
60947 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60948 (_DIRENT_MATCHES_DIRENT64): New macro.
60949
60950 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60951 Define lockf64 as an alias.
60952 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60953 Define fseeko64 as an alias.
60954 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60955 Define ftello64 as an alias.
60956 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60957 Define _IO_fgetpos64 and fgetpos64 as aliases.
60958 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60959 Define _IO_fsetpos64 and fsetpos64 as aliases.
60960 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60961 Conditionalize body on this.
60962 * libio/fseeko64.c: Likewise.
60963 * libio/ftello64.c: Likewise.
60964 * libio/iofgetpos64.c: Likewise.
60965 * libio/iofsetpos64.c: Likewise.
60966 * sysdeps/wordsize-64/lockf.c: File removed.
60967 * sysdeps/wordsize-64/lockf64.c: File removed.
60968 * sysdeps/wordsize-64/fseeko.c: File removed.
60969 * sysdeps/wordsize-64/fseeko64.c: File removed.
60970 * sysdeps/wordsize-64/ftello.c: File removed.
60971 * sysdeps/wordsize-64/ftello64.c: File removed.
60972 * sysdeps/wordsize-64/iofgetpos.c: File removed.
60973 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60974 * sysdeps/wordsize-64/iofsetpos.c: File removed.
60975 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60977 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60978 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60979 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60980 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60981 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60982 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60983 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60984 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60985 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60986
60987 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60989 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60991 [defined __arch64__ || defined __sparcv9]
60992 (__OFF_T_MATCHES_OFF64_T): New macro.
60993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60994 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60996 (__OFF_T_MATCHES_OFF64_T): New macro.
60997
60998 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
60999
61000 * stdlib/secure-getenv.c (__secure_getenv): Replace
61001 GLIBC_2_16 with GLIBC_2_17.
61002
61003 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
61004
61005 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61006 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61007
61008 2012-08-03 David S. Miller <davem@davemloft.net>
61009
61010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61011
61012 2012-08-03 Joseph Myers <joseph@codesourcery.com>
61013
61014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61015 Remove.
61016 (__ASSUME_CORRECT_SI_PID): Likewise.
61017 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61018 (__ASSUME_TMPFS_NAME): Likewise.
61019 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61020 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61021 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61022 (HAVE_AUX_SECURE): Make definition unconditional.
61023 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61024 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61025
61026 2012-08-03 Roland McGrath <roland@hack.frob.com>
61027
61028 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61029 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61030 * sysdeps/mach/hurd/eloop-threshold.h: New file.
61031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61032 __eloop_threshold instead of SYMLOOP_MAX.
61033
61034 * sysdeps/generic/eloop-threshold.h: New file.
61035 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61036 of MAXSYMLINKS.
61037 * elf/chroot_canon.c (chroot_canon): Likewise.
61038
61039 2012-08-03 Joseph Myers <joseph@codesourcery.com>
61040
61041 [BZ #13717]
61042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61043 Change to 2.6.0 everywhere.
61044 * sysdeps/unix/sysv/linux/configure: Regenerated.
61045 * sysdeps/unix/sysv/linux/kernel-features.h
61046 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61047 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61048 kernel versions.
61049 (__ASSUME_POSIX_TIMERS): Define unconditionally.
61050 (__ASSUME_FUTEX_REQUEUE): Remove.
61051 (__ASSUME_STATFS64): Define unconditionally.
61052 (__ASSUME_AT_SECURE): Likewise.
61053 (__ASSUME_CORRECT_SI_PID): Likewise.
61054 (__ASSUME_TGKILL): Define without depending on kernel version for
61055 i386.
61056 (__ASSUME_UTIMES): Likewise.
61057 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61058 kernel version.
61059 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61060 (__ASSUME_TMPFS_NAME): Likewise.
61061 * README: Update reference to Linux kernel versions.
61062
61063 2012-08-02 Marek Polacek <polacek@redhat.com>
61064
61065 [BZ# 14150]
61066 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
61067 libc_cv_asm_type_prefix with %.
61068 * configure: Regenerated.
61069 * include/libc-symbols.h: Remove comment about
61070 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61071 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61072 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61073 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61074 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61075 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61076 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61077 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61078 * elf/tst-unique2mod1.c: Likewise.
61079 * elf/tst-unique1mod2.c: Likewise.
61080 * elf/tst-unique1mod1.c: Likewise.
61081 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61082 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61083 Replace ASM_TYPE_DIRECTIVE with .type.
61084 * sysdeps/s390/s390-64/sysdep.h: Likewise.
61085 * sysdeps/i386/sysdep.h: Likewise.
61086 * sysdeps/x86_64/sysdep.h: Likewise.
61087 * sysdeps/sh/sysdep.h: Likewise.
61088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61089 Do not define ASM_TYPE_DIRECTIVE.
61090 * sysdeps/powerpc/sysdep.h: Likewise.
61091 * sysdeps/powerpc/powerpc32/sysdep.h:
61092 Replace ASM_TYPE_DIRECTIVE with .type.
61093 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61094 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61095 * sysdeps/i386/fpu/e_powf.S: Likewise.
61096 * sysdeps/i386/fpu/e_expl.S: Likewise.
61097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61098 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61099 * sysdeps/i386/fpu/e_pow.S: Likewise.
61100 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61101 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61102 * sysdeps/i386/fpu/s_expm1.S: Likewise.
61103 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61104 * sysdeps/i386/fpu/e_log2.S: Likewise.
61105 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61106 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61107 * sysdeps/i386/fpu/e_powl.S: Likewise.
61108 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61109 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61110 * sysdeps/i386/fpu/e_logl.S: Likewise.
61111 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61112 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61113 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61114 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61115 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61116 * sysdeps/i386/fpu/e_log.S: Likewise.
61117 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61118 * sysdeps/i386/fpu/e_logf.S: Likewise.
61119 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61120 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61121 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61122 * sysdeps/i386/fpu/e_log10.S: Likewise.
61123 * sysdeps/i386/fpu/s_frexp.S: Likewise.
61124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61125 * sysdeps/i386/fpu/s_asinh.S: Likewise.
61126 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61128 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61129 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61130 * sysdeps/i386/i686/strtok.S: Likewise.
61131 * sysdeps/i386/i386-mcount.S: Likewise.
61132 * sysdeps/i386/strtok.S: Likewise.
61133 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61134 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61138 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61139 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61140 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61141 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61142 * sysdeps/x86_64/_mcount.S: Likewise.
61143 * sysdeps/x86_64/strtok.S: Likewise.
61144 * sysdeps/sh/_mcount.S: Likewise.
61145
61146 2012-08-01 Roland McGrath <roland@hack.frob.com>
61147
61148 * libio/iofopen.c: Include <fcntl.h>.
61149 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61150 (_IO_fopen64, fopen64): Define as aliases.
61151 * libio/iofopen64.c: Include <fcntl.h>.
61152 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61153 Conditionalize body on this.
61154 * sysdeps/wordsize-64/iofopen.c: File removed.
61155 * sysdeps/wordsize-64/iofopen64.c: File removed.
61156
61157 2012-08-01 Marek Polacek <polacek@redhat.com>
61158
61159 * libc/Makeconfig: Use elf in place of binfmt-subdir.
61160 Use dlfcn directly instead of a variable.
61161 (binfmt-subdir): Do not define.
61162 (dlfcn): Likewise.
61163
61164 2012-08-01 Joseph Myers <joseph@codesourcery.com>
61165
61166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61167 Remove all definitions.
61168 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61169 <kernel-features.h>.
61170 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61171 (miss_F_GETOWN_EX): Remove all definitions.
61172 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61173 macro definition.
61174 [!__ASSUME_FCNTL64]: Remove conditional code.
61175 [__ASSUME_FCNTL64]: Make code unconditional.
61176 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61177 <kernel-features.h>.
61178 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61179 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61180 (lockf64) [__NR_fcntl64]: Make code unconditional.
61181 (lockf64) [__ASSUME_FCNTL64]: Likewise.
61182
61183 * sysdeps/unix/sysv/linux/kernel-features.h
61184 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61185 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61186 Make code unconditional.
61187 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61188 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61190 [__NR_vfork]: Make code unconditional.
61191 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61192 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61194 [__NR_vfork]: Make code unconditional.
61195 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61196 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61197
61198 2012-08-01 Roland McGrath <roland@hack.frob.com>
61199
61200 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61201 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61202
61203 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61204 Define mkstemp64 as an alias.
61205 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61206 Define mkstemps64 as an alias.
61207 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61208 Define mkostemp64 as an alias.
61209 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61210 Define mkostemps64 as an alias.
61211 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61212 Conditionalize body on this.
61213 * misc/mkostemp64.c: Likewise.
61214 * misc/mkostemps64.c: Likewise.
61215 * misc/mkstemps64.c: Likewise.
61216 * sysdeps/wordsize-64/mkstemp64.c: File removed.
61217 * sysdeps/wordsize-64/mkostemp64.c: File removed.
61218 * sysdeps/wordsize-64/mkostemp.c: File removed.
61219 * sysdeps/wordsize-64/mkstemp.c: File removed.
61220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61221 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61222 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61224
61225 [BZ #14138]
61226 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61227 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61228 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61229 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61230
61231 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61232 compat_symbol macros from <shlib-compat.h> rather than the underlying
61233 default_symbol_version and symbol_version macros, so that DEFAULT
61234 lines in shlib-versions are respected.
61235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61236
61237 2012-08-01 Florian Weimer <fweimer@redhat.com>
61238
61239 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61240 Declare with warn_unused_result.
61241 (setgid, setregid, setegid, setresgid): Likewise.
61242 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61243 Likewise.
61244 * WUR-REPORT: Remove set*id functions.
61245
61246 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
61247
61248 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61249
61250 2012-07-31 Roland McGrath <roland@hack.frob.com>
61251
61252 [BZ #10191]
61253 * include/sys/socket.h (__libc_accept, __libc_accept4):
61254 Add attribute_hidden.
61255 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61256
61257 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61258 use of PTR_MANGLE.
61259 * inet/getnetgrent_r.c (setup): Likewise.
61260
61261 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61262
61263 2012-07-31 David S. Miller <davem@davemloft.net>
61264
61265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61266
61267 2012-07-31 Joseph Myers <joseph@codesourcery.com>
61268
61269 [BZ #13629]
61270 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61271 value between 1.0 and 2.0 and smaller part has absolute value less
61272 than 1.0.
61273 * math/s_clog10.c (__clog10): Likewise.
61274 * math/s_clog10f.c (__clog10f): Likewise.
61275 * math/s_clog10l.c (__clog10l): Likewise.
61276 * math/s_clogf.c (__clogf): Likewise.
61277 * math/s_clogl.c (__clogl): Likewise.
61278 * math/libm-test.inc (clog_test): Add more tests.
61279 (clog10_test): Likewise.
61280 * sysdeps/i386/fpu/libm-test-ulps: Update.
61281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61282
61283 2012-07-31 Florian Weimer <fweimer@redhat.com>
61284
61285 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61286 Exit with zero in case no suitable GID is found, and write a
61287 message to standard error.
61288
61289 2012-07-30 Roland McGrath <roland@hack.frob.com>
61290
61291 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61292 rather than to 1.
61293 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61294 (MAXPATHLEN): Removed.
61295 (NOGROUP, NODEV): New macros.
61296 (setbit, clrbit, isset, isclr): New macros.
61297 (howmany, roundup, powerof2): New macros.
61298 (DEV_BSIZE): New macro.
61299
61300 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61301 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61302
61303 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61304 definition on [!__NO_LONG_DOUBLE_MATH].
61305
61306 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61307 PTR_MANGLE and PTR_DEMANGLE.
61308
61309 * socket/accept4.c (accept4): Rename to __libc_accept4.
61310 Define accept4 as a weak alias.
61311
61312 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61313 on [_DIRENT_HAVE_D_TYPE].
61314 * io/ftw.c (ftw_dir): Likewise.
61315
61316 * io/xmknod.c (__xmknod): Don't check PATH for being null.
61317
61318 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61319
61320 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61321 Use the BSD numbers rather than the arbitrary ones we had.
61322 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61323 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61324 (SIGXCPU, SIGXFSZ): New macros.
61325 (_NSIG): Now 32.
61326
61327 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61328 initializer on [_LIBC_REENTRANT].
61329
61330 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61331 definitions inside [_POSIX_MAPPED_FILES].
61332
61333 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61334
61335 * dirent/opendir.c: Include <fcntl.h>.
61336
61337 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61338 (__libc_getspecific): Likewise.
61339 (__libc_key_create): Likewise.
61340
61341 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61342 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61343 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61344 (tmpfile64): Define as alias.
61345 * sysdeps/wordsize-64/tmpfile.c: File removed.
61346 * sysdeps/wordsize-64/tmpfile64.c: File removed.
61347 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61348 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61349
61350 * stdio-common/vfscanf.c: Include <stdbool.h>.
61351 * nss/makedb.c: Likewise.
61352 * stdio-common/_i18n_number.h: Likewise.
61353 * argp/argp-help.c: Likewise.
61354 * posix/wordexp.c: Likewise.
61355 * sysdeps/posix/spawni.c: Likewise.
61356 * nss/nss_files/files-initgroups.c: Likewise.
61357 * stdio-common/reg-modifier.c: Include <stdlib.h>.
61358 * nss/nss_files/files-initgroups.c: Likewise.
61359 * nss/nss_db/db-netgrp.c: Likewise.
61360 * nss/nss_db/db-initgroups.c: Likewise.
61361 * io/fchmodat.c: Include <sys/stat.h>.
61362
61363 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61364 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61365
61366 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61367 [HAVE_MMAP].
61368
61369 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61370 Add multiple inclusion protection.
61371
61372 2012-07-27 David S. Miller <davem@davemloft.net>
61373
61374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61375
61376 2012-07-27 Gary Benson <gbenson@redhat.com>
61377
61378 [BZ #14298]
61379 * elf/rtld.c: Include <stap-probe.h>.
61380 (dl_main): Added static probes "init_start" and "init_complete".
61381 * elf/dl-load.c: Include <stap-probe.h>.
61382 (lose): Take new parameter "nsid".
61383 Added static probe "map_failed".
61384 (_dl_map_object_from_fd): Pass namespace id to lose.
61385 Added static probe "map_start".
61386 (open_verify): Pass namespace id to lose.
61387 * elf/dl-open.c: Include <stap-probe.h>.
61388 (dl_open_worker) Added static probes "map_complete", "reloc_start"
61389 and "reloc_complete".
61390 * elf/dl-close.c: Include <stap-probe.h>.
61391 (_dl_close_worker): Added static probes "unmap_start" and
61392 "unmap_complete".
61393 * elf/rtld-debugger-interface.txt: New file documenting the above.
61394
61395 2012-07-26 Roland McGrath <roland@hack.frob.com>
61396
61397 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61398 rather than a string variable.
61399 * sunrpc/rpc_main.c (h_output): Likewise.
61400 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61401
61402 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
61403
61404 * inet/check_native.c: New file.
61405
61406 2012-07-26 Joseph Myers <joseph@codesourcery.com>
61407
61408 [BZ #13629]
61409 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61410 if larger part has absolute value 1.0.
61411 * math/s_clog10.c (__clog10): Likewise.
61412 * math/s_clog10f.c (__clog10f): Likewise.
61413 * math/s_clog10l.c (__clog10l): Likewise.
61414 * math/s_clogf.c (__clogf): Likewise.
61415 * math/s_clogl.c (__clogl): Likewise.
61416 * math/libm-test.inc (clog_test): Add more tests.
61417 (clog10_test): Likewise.
61418 * sysdeps/i386/fpu/libm-test-ulps: Update.
61419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61420
61421 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61422 (pltexit): Likewise.
61423 (La_regs): Likewise.
61424 (La_retval): Likewise.
61425 (int_retval): Likewise.
61426 Update #error for removed macros to refer only to definitions in
61427 tst-audit.h.
61428 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61429 macro.
61430 (pltexit): Likewise.
61431 (La_regs): Likewise.
61432 (La_retval): Likewise.
61433 (int_retval): Likewise.
61434 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61435 macro.
61436 (pltexit): Likewise.
61437 (La_regs): Likewise.
61438 (La_retval): Likewise.
61439 (int_retval): Likewise.
61440 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61441 macro.
61442 (pltexit): Likewise.
61443 (La_regs): Likewise.
61444 (La_retval): Likewise.
61445 (int_retval): Likewise.
61446 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61447 macro.
61448 (pltexit): Likewise.
61449 (La_regs): Likewise.
61450 (La_retval): Likewise.
61451 (int_retval): Likewise.
61452 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61453 macro.
61454 (pltexit): Likewise.
61455 (La_regs): Likewise.
61456 (La_retval): Likewise.
61457 (int_retval): Likewise.
61458 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61459 macro.
61460 (pltexit): Likewise.
61461 (La_regs): Likewise.
61462 (La_retval): Likewise.
61463 (int_retval): Likewise.
61464 * sysdeps/generic/tst-audit.h: Update comment to refer only to
61465 macro definitions in tst-audit.h.
61466 * sysdeps/i386/tst-audit.h: New file.
61467 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61468 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61469 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61470 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61471 * sysdeps/sh/tst-audit.h: Likewise.
61472 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61473 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61474 * sysdeps/x86_64/tst-audit.h: Likewise.
61475
61476 2012-07-26 Andreas Jaeger <aj@suse.de>
61477
61478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61479 ptrace.
61480
61481 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61482 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61483 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61484 PTRACE_O_MASK.
61485 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61486 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61487 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61488
61489 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61490 value.
61491
61492 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61493 _sigsys.
61494 (si_call_addr, si_syscall, si_arch): Define new macro.
61495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61496 _sigsys.
61497 (si_call_addr, si_syscall, si_arch): Define new marcro.
61498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61499 _sigsys.
61500 (si_call_addr, si_syscall, si_arch): Define new macro.
61501 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61502 _sigsys.
61503 (si_call_addr, si_syscall, si_arch): Define new macro.
61504
61505 2012-07-25 Joseph Myers <joseph@codesourcery.com>
61506
61507 [BZ #13717]
61508 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61509 Change to 2.4.21 where previously 2.4.1.
61510 * sysdeps/unix/sysv/linux/configure: Regenerated.
61511 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61512 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61513 Linux kernel version.
61514 (__ASSUME_STD_AUXV): Remove.
61515 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61516 kernel version.
61517 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61518 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61519 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61520 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61521 (__ASSUME_NETLINK_SUPPORT): Likewise.
61522 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61523 (__no_netlink_support): Remove conditional definition.
61524 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61525 Remove.
61526 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61527 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61528 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61529 (if_nameindex_ioctl): Remove.
61530 (if_nameindex_netlink): Do not handle __no_netlink_support.
61531 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61532 code.
61533 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61534 Remove conditional code.
61535 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61536 code.
61537 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61538 unconditional.
61539 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61540 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61541 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61542 Remove.
61543 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61544 [!__ASSUME_STD_AUXV]: Remove conditional code.
61545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61546 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61547 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61549 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61550 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61551 code.
61552 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61554 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61555 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61556 conditional code.
61557 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61559 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61560 code.
61561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61562 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61563 conditional code.
61564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61565 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61566 code unconditional.
61567 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61568 conditional code.
61569 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61570 unconditional.
61571 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61572 conditional code.
61573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61574 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61575 unconditional.
61576 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61577 conditional code.
61578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61579 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61580 code unconditional.
61581 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61582 conditional code.
61583 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61584 unconditional.
61585 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61586 conditional code.
61587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61588 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61589 code unconditional.
61590 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61591 conditional code.
61592 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61593 unconditional.
61594 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61595 conditional code.
61596
61597 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
61598
61599 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61600 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61601 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61602 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61603 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61604 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61605 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61606 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61607 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61608 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61609 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61610 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61611 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61612 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61613 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61615 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61617 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61619 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61620 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61621 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61622
61623 2012-07-25 Florian Weimer <fweimer@redhat.com>
61624
61625 * Versions.def: Add GLIBC_2.17.
61626 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61627 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61628 Introduce __libc_secure_getenv.
61629 * stdlib/Versions (2.17): Add secure_getenv
61630 (GLIBC_PRIVATE): Add __libc_secure_getenv.
61631 * stdlib/secure-getenv.c: Rename __secure_getenv to
61632 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
61633 symbol __secure_getenv for GLIBC_2.0.
61634 * stdlib/tst-secure-getenv.c: New.
61635 * stdlib/Makefile (tests): Add testcase.
61636 * manual/startup.texi (Environment Access): Document
61637 secure_getenv.
61638 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61639 __libc_secure_getenv.
61640 * inet/ruserpass.c (ruserpass): Likewise.
61641 * malloc/mtrace.c (mtrace): Likewise.
61642 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61643 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61644 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61645 * sysdeps/posix/tempname.c: Likewise. Evaluate
61646 HAVE_SECURE_GETENV.
61647 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61648 __secure_getenv to __libc_secure_getenv.
61649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61651 Likewise.
61652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61653 Likewise.
61654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61661
61662 2012-07-25 Joseph Myers <joseph@codesourcery.com>
61663
61664 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61665 (struct La_i86_retval): Likewise.
61666 (struct La_x86_64_regs): Likewise.
61667 (struct La_x86_64_retval): Likewise.
61668 (struct La_x32_regs): Likewise.
61669 (struct La_x32_retval): Likewise.
61670 (struct La_ppc32_regs): Likewise.
61671 (struct La_ppc32_retval): Likewise.
61672 (struct La_ppc64_regs): Likewise.
61673 (struct La_ppc64_retval): Likewise.
61674 (struct La_sh_regs): Likewise.
61675 (struct La_sh_retval): Likewise.
61676 (struct La_s390_32_regs): Likewise.
61677 (struct La_s390_32_retval): Likewise.
61678 (struct La_s390_64_regs): Likewise.
61679 (struct La_s390_64_retval): Likewise.
61680 (struct La_sparc32_regs): Likewise.
61681 (struct La_sparc32_retval): Likewise.
61682 (struct La_sparc64_regs): Likewise.
61683 (struct La_sparc64_retval): Likewise.
61684 (struct audit_ifaces): Remove architecture-specific pltenter and
61685 pltexit members.
61686 * sysdeps/i386/ldsodefs.h: New file.
61687 * sysdeps/powerpc/ldsodefs.h: Likewise.
61688 * sysdeps/s390/ldsodefs.h: Likewise.
61689 * sysdeps/sh/ldsodefs.h: Likewise.
61690 * sysdeps/sparc/ldsodefs.h: Likewise.
61691 * sysdeps/x86_64/ldsodefs.h: Likewise.
61692
61693 2012-07-25 Marek Polacek <polacek@redhat.com>
61694
61695 [BZ #6808]
61696 * math/libm-test.inc (yn_test): Add another test.
61697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61698 to ERANGE when the result is +-Inf.
61699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61700 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61701 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61702 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61703
61704 2012-07-24 Joseph Myers <joseph@codesourcery.com>
61705
61706 * conform/data/time.h-data (NULL): Use macro-constant. Require
61707 equal to 0.
61708 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
61709 clock_t.
61710 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
61711
61712 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
61713
61714 * configure.in <sysdeps resolving>: Correct printing
61715 Implies_before.
61716 * configure: Regenerate.
61717
61718 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
61719
61720 * math/w_ilogb.c: Include <limits.h>.
61721 * math/w_ilogbl.c: Likewise.
61722
61723 2012-07-20 Joseph Myers <joseph@codesourcery.com>
61724
61725 * manual/lang.texi (__va_copy): Document primarily as ISO C99
61726 va_copy. Document allowing for unavailable va_copy only as
61727 pre-C99 compatibility.
61728 * manual/string.texi (Copying and Concatenation): Use va_copy
61729 instead of __va_copy in concat example.
61730
61731 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
61732
61733 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61734 (__sendto): Use create_address_port. Initialize APORT and deallocate
61735 it if not null.
61736
61737 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61738 with O_NOLINK passed to __file_name_lookup.
61739
61740 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61741 with O_NOLINK passed to __file_name_lookup.
61742
61743 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61744 negative N or less than NGIDS.
61745
61746 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61747 type to string_t. Set ERANGE as errno and return it if NAME is not big
61748 enough. Use memcpy instead of strncpy.
61749
61750 2012-07-20 Joseph Myers <joseph@codesourcery.com>
61751
61752 * elf/Makefile (check-data): Remove.
61753 (localplt.data): New vpath directive.
61754 ($(objpfx)check-localplt.out): Use localplt.data from vpath
61755 instead of $(check-data).
61756 * scripts/data/localplt-generic.data: Move to ...
61757 * sysdeps/generic/localplt.data: ... here.
61758 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61759 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61760 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61762 ... here.
61763 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61765 ... here.
61766 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61768 ... here.
61769 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61771 ... here.
61772 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61774 ... here.
61775 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61777 ... here.
61778
61779 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61780
61781 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61782 PPC32 and PPC64 files.
61783 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61784 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61785
61786 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61787
61788 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61789 __makecontext_ret to ...
61790 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61791 ... here and call exit if uc_link is NULL. New file.
61792 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61793 __makecontext_ret.S.
61794 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61795 __makecontext_ret to ...
61796 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61797 ... here and call exit if uc_link is NULL. New file.
61798 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61799 __makecontext_ret.S.
61800
61801 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61802
61803 * elf/elf.h (R_390_IRELATIVE): New definition.
61804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61805 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
61806 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61807 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61808 (elf_machine_lazy_rel): Likewise.
61809 * sysdeps/s390/dl-irel.h: New file.
61810 * sysdeps/s390/s390-64/memcpy.S: New asm code.
61811 * sysdeps/s390/s390-64/memset.S: New asm code.
61812 * sysdeps/s390/s390-64/memcmp.S: New asm code.
61813 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61814 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61815 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61816 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61817 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61819 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61820 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61821 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61822 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61823 * sysdeps/s390/s390-32/memcpy.S: New asm code.
61824 * sysdeps/s390/s390-32/memset.S: New asm code.
61825 * sysdeps/s390/s390-32/memcmp.S: New asm code.
61826
61827 2012-07-17 Marek Polacek <polacek@redhat.com>
61828
61829 [BZ #14349]
61830 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61831 * sysdeps/s390/s390-64/configure.in: Likewise.
61832 * sysdeps/sparc/configure.in: Likewise.
61833 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61834 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61835 * sysdeps/i386/configure.in: Likewise.
61836 * sysdeps/x86_64/configure.in: Likewise.
61837 * sysdeps/sh/configure.in: Likewise.
61838 * sysdeps/s390/s390-32/configure: Regenerated.
61839 * sysdeps/s390/s390-64/configure: Likewise.
61840 * sysdeps/x86_64/configure: Likewise.
61841 * sysdeps/sh/configure: Likewise.
61842 * sysdeps/powerpc/powerpc64/configure: Likewise.
61843 * sysdeps/powerpc/powerpc32/configure: Likewise.
61844 * sysdeps/sparc/configure: Likwise.
61845 * sysdeps/i386/configure: Likewise.
61846
61847 * elf/dl-open.c: Comment fixes.
61848
61849 2012-07-17 Joseph Myers <joseph@codesourcery.com>
61850
61851 * Makefile [CXX] (check-data): Remove.
61852 [CXX] (c++-types.data): New vpath directive.
61853 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61854 vpath. Do not allow for C++ type data being missing.
61855 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61856 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61857 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61858 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61859 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61860 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61861 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61863 ... here.
61864 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61866 ... here.
61867 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61869 ... here.
61870 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61872 ... here.
61873 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61875 ... here.
61876 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61878 ... here.
61879 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61881 ... here.
61882 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61884
61885 * elf/tls-macros.h (TLS_LE): Move architecture-specific
61886 definitions to architecture-specific files.
61887 (TLS_IE): Likewise.
61888 (TLS_LD): Likewise.
61889 (TLS_GD): Likewise.
61890 * sysdeps/i386/tls-macros.h: New file.
61891 * sysdeps/powerpc/tls-macros.h: Likewise.
61892 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61893 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61894 * sysdeps/sh/tls-macros.h: Likewise.
61895 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61896 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61897 * sysdeps/x86_64/tls-macros.h: Likewise.
61898
61899 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
61900
61901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61902 zero value for regular exit case.
61903
61904 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61905 (__start_context): Preserve zero value for regular exit case.
61906
61907 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
61908 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61909
61910 * manual/setjmp.texi (setcontext): Clarify normal process
61911 termination when uc_link is the null pointer.
61912 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61913 exit call.
61914
61915 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
61916
61917 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61918 preprocessor. Test for each exception mask separately.
61919
61920 2012-07-16 Andreas Jaeger <aj@suse.de>
61921
61922 * po/ru.po: Update from translation team.
61923
61924 2012-07-15 Joseph Myers <joseph@codesourcery.com>
61925
61926 * conform/data/string.h-data (NULL): Use macro-constant. Require
61927 equal to 0.
61928 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61930 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61931 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61933
61934 2012-07-13 Andreas Jaeger <aj@suse.de>
61935
61936 * po/fr.po: Update from translation team.
61937
61938 2012-07-12 Marek Polacek <polacek@redhat.com>
61939
61940 [BZ #14173]
61941 * math/libm-test.inc (yn_test): Add test for BZ #14173.
61942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61943 loop condition.
61944
61945 2012-07-12 Joseph Myers <joseph@codesourcery.com>
61946
61947 [BZ #13717]
61948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61949 Change to 2.4.1 where previously 2.4.0.
61950 * sysdeps/unix/sysv/linux/configure: Regenerated.
61951 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61952 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61953 version.
61954 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61955 (__ASSUME_AT_CLKTCK): Remove.
61956 (__ASSUME_AT_PAGESIZE): Likewise.
61957 (__ASSUME_AT_XID): Likewise.
61958 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61959 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61960 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61961 unconditionally.
61962 (HAVE_AUX_PAGESIZE): Likewise.
61963 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61964 [__ASSUME_AT_CLKTCK]: Make code unconditional.
61965 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61966
61967 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
61968
61969 [BZ #14307]
61970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61971 the temporary buffer used to invoke __gethostbyname2_r,
61972 __gethostbyaddr_r and gethostbyname4_r to make room for struct
61973 host_data / struct gaih_addrtuple.
61974 * resolv/nss_dns/dns-host.c (global scope): Move definition of
61975 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61976 header file nss/nsswitch.h.
61977 * nss/nsswitch.h (global scope): Add definition of implementation
61978 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61979 resolv/nss_dns/dns-host.c).
61980
61981 2012-07-11 Andreas Jaeger <aj@suse.de>
61982
61983 * po/fr.po: Update from translation team.
61984
61985 * po/sv.po: Update from translation team
61986 * po/fr.po: Another update from translation team.
61987
61988 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61989
61990 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61991 for subnormals or multiply small sinh result by itself.
61992 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61994
61995 2012-07-11 David S. Miller <davem@davemloft.net>
61996
61997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61998
61999 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
62000
62001 [BZ #14347]
62002 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62003 (INTERNAL_MARK): Shift it here.
62004
62005 2012-07-10 Marek Polacek <polacek@redhat.com>
62006
62007 [BZ #14151]
62008 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
62009 libc_cv_asm_global_directive with .globl.
62010 * configure: Regenerated.
62011 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62012 with .globl.
62013 * sysdeps/i386/configure: Regenerated.
62014 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62015 with .globl.
62016 * sysdeps/x86_64/configure: Regenerated.
62017 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62018 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62019 * elf/tst-unique2mod2.c: Likewise.
62020 * elf/tst-unique2mod1.c: Likewise.
62021 * elf/tst-unique1mod2.c: Likewise.
62022 * elf/tst-unique1mod1.c: Likewise.
62023 * sysdeps/s390/s390-32/sysdep.h: Likewise.
62024 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
62026 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62027 * sysdeps/mach/sysdep.h: Likewise.
62028 * sysdeps/i386/sysdep.h: Likewise.
62029 * sysdeps/i386/i386-mcount.S: Likewise.
62030 * sysdeps/x86_64/_mcount.S: Likewise.
62031 * sysdeps/x86_64/sysdep.h: Likewise.
62032 * sysdeps/sh/_mcount.S: Likewise.
62033 * sysdeps/sh/sysdep.h: Likewise.
62034 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62035 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62036 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62038 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62039 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62040 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62041 * locale/localeinfo.h: Likewise.
62042 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62043 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62044
62045 2012-07-09 Roland McGrath <roland@hack.frob.com>
62046
62047 [BZ #14336]
62048 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62049 system".
62050 * manual/message.texi (The Uniforum approach): Likewise.
62051 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62052 (glibc iconv Implementation): Likewise.
62053
62054 2012-07-09 Joseph Myers <joseph@codesourcery.com>
62055
62056 [BZ #14337]
62057 * math/s_clog.c (__clog): Avoid scaling a value down where that
62058 could result in underflow.
62059 * math/s_clog10.c (__clog10): Likewise.
62060 * math/s_clog10f.c (__clog10f): Likewise.
62061 * math/s_clog10l.c (__clog10l): Likewise.
62062 * math/s_clogf.c (__clogf): Likewise.
62063 * math/s_clogl.c (__clogl): Likewise.
62064 * math/libm-test.inc (clog_test): Add more tests.
62065 (clog10_test): Likewise.
62066 * sysdeps/i386/fpu/libm-test-ulps: Update.
62067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62068
62069 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
62070
62071 [BZ #14283]
62072 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62073 by 7 not 8 to examine high bit of fractional part.
62074
62075 [BZ #14042]
62076 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62077 for call to __mcount_internal.
62078 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62079 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62080 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62081
62082 2012-07-06 Joseph Myers <joseph@codesourcery.com>
62083
62084 [BZ #14154]
62085 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62086 approximation for values within 0x1p-13f of an odd multiple of
62087 pi/4.
62088 * math/libm-test.inc (tan_test): Do not allow spurious underflow
62089 exception. Add more tests.
62090 * sysdeps/i386/fpu/libm-test-ulps: Update.
62091
62092 [BZ #6778]
62093 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62094 inputs and return -1 for them. Do not check for +Inf in case not
62095 reachable for +Inf.
62096 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62097 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62099 and return -1 for them. Do not check for +Inf in case not
62100 reachable for +Inf.
62101 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62102 define.
62103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62104 and return -1 for them. Do not check for +Inf in case not
62105 reachable for +Inf.
62106 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
62107 spurious underflow.
62108 * sysdeps/i386/fpu/libm-test-ulps: Update.
62109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62110
62111 2012-07-06 Mike Frysinger <vapier@gentoo.org>
62112
62113 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62114
62115 2012-07-05 Joseph Myers <joseph@codesourcery.com>
62116
62117 [BZ #14157]
62118 [BZ #14331]
62119 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62120 could result in spurious underflow. Scale down values above
62121 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62122 * math/s_csqrtf.c (__csqrtf): Likewise.
62123 * math/s_csqrtl.c (__csqrtl): Likewise.
62124 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
62125 spurious underflow.
62126 * sysdeps/i386/fpu/libm-test-ulps: Update.
62127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62128
62129 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
62130
62131 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62132 xopen-msg.sed.
62133 * catgets/xopen-msg.awk: New file.
62134 * catgets/xopen-msg.sed: Removed.
62135
62136 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62137 po2text.sed.
62138 * intl/po2test.awk: New file.
62139 * intl/po2test.sed: Removed.
62140
62141 2012-07-04 Joseph Myers <joseph@codesourcery.com>
62142
62143 [BZ #14328]
62144 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62145 or multiply small sinh result by itself.
62146 * math/s_ctanf.c (__ctanf): Likewise.
62147 * math/s_ctanh.c (__ctanh): Likewise.
62148 * math/s_ctanhf.c (__ctanhf): Likewise.
62149 * math/s_ctanhl.c (__ctanhl): Likewise.
62150 * math/s_ctanl.c (__ctanl): Likewise.
62151 * math/libm-test.inc (ctan_test_tonearest): New function.
62152 (ctan_test_towardzero): Likewise.
62153 (ctan_test_downward): Likewise.
62154 (ctan_test_upward): Likewise.
62155 (ctanh_test_tonearest): Likewise.
62156 (ctanh_test_towardzero): Likewise.
62157 (ctanh_test_downward): Likewise.
62158 (ctanh_test_upward): Likewise.
62159 (main): Call these new functions.
62160 * sysdeps/i386/fpu/libm-test-ulps: Update.
62161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62162
62163 2012-07-03 Mike Frysinger <vapier@gentoo.org>
62164
62165 * .gitignore: Delete /ports entry.
62166
62167 2012-07-03 Andreas Jaeger <aj@suse.de>
62168
62169 * po/bg.po: Update from translation team.
62170 * po/cs.po: Likewise.
62171 * po/de.po: Likewise.
62172 * po/hr.po: Likewise.
62173 * po/nl.pl: Likewise.
62174 * po/pl.po: Likewise.
62175 * po/vi.po: Likewise.
62176
62177 2012-07-03 Joseph Myers <joseph@codesourcery.com>
62178
62179 * Makeconfig [!+link] (+link-before-libc): New variable.
62180 [!+link] (+link-after-libc): Likewise.
62181 [!+link] (+link-tests): Likewise.
62182 [!+link] (+link): Define in terms of $(+link-before-libc) and
62183 $(+link-after-libc).
62184 [!+link-static] (+link-static-before-libc): New variable.
62185 [!+link-static] (+link-static-after-libc): Likewise.
62186 [!+link-static] (+link-static-tests): Likewise.
62187 [!+link-static] (+link-static): Define in terms of
62188 $(+link-static-before-libc) and $(+link-static-after-libc).
62189 [build-shared] (link-libc-before-gnulib): New variable.
62190 [build-shared] (link-libc-tests): Likewise.
62191 [build-shared] (link-libc): Define in terms of
62192 $(link-libc-before-gnulib).
62193 [!build-shared] (link-libc-tests): New variable.
62194 (link-libc-static-tests): New variable.
62195 [!gnulib] (gnulib-arch): New variable.
62196 [!gnulib] (gnulib-tests): Likewise.
62197 [!gnulib] (static-gnulib-arch): Likewise.
62198 [!gnulib] (static-gnulib-tests): Likewise.
62199 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
62200 Define with "=" instead of ":=".
62201 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
62202 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
62203 * Rules (binaries-all-notests): New variable.
62204 (binaries-all-tests): Likewise.
62205 (binaries-static-notests): Likewise.
62206 (binaries-static-tests): Likewise.
62207 (binaries-all): Define using $(binaries-all-notests) and
62208 $(binaries-all-tests).
62209 (binaries-static): Define using $(binaries-static-notests) and
62210 $(binaries-static-tests).
62211 (binaries-shared-tests): New variable.
62212 (binaries-shared-notests): Likewise.
62213 (binaries-shared): Remove variable.
62214 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62215 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62216 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62217 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62218 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62219 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62220 * elf/Makefile (sln-modules): New variable.
62221 (extra-objs): Add $(sln-modules:=.o).
62222 (ldconfig-modules): Add static-stubs.
62223 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62224 * elf/static-stubs.c: New file.
62225
62226 [BZ #14283]
62227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62228 by 7 not 8 to examine high bit of fractional part. Use volatile
62229 variables when splitting into final array of floats if
62230 __FLT_EVAL_METHOD__ != 0.
62231 * math/libm-test.inc (cos_test): Add another test.
62232 (sin_test): Likewise.
62233 * sysdeps/i386/fpu/libm-test-ulps: Update.
62234
62235 [BZ #14273]
62236 * math/libm-test.inc (cosh_test): Add more tests.
62237
62238 * version.h (RELEASE): Set to "development".
62239 (VERSION): Set to "2.16.90".
62240
62241 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
62242
62243 * NEWS: Update copyright. Remove last-updated date.
62244 Mention math library bug fixes and timezone data changes.
62245 * README: Mention GNU/Hurd, x32, and HPPA support status.
62246
62247 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
62248
62249 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62250
62251 2012-06-27 Andreas Jaeger <aj@suse.de>
62252
62253 * manual/contrib.texi (Contributors): Add Samuel Thibault.
62254
62255 2012-06-25 Andreas Jaeger <aj@suse.de>
62256
62257 * sysdeps/s390/fpu/libm-test-ulps: Update.
62258
62259 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
62260 Thomas Schwinge <thomas@codesourcery.com>
62261
62262 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62263 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62265 fanotify_mark.
62266
62267 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
62268
62269 * sysdeps/mach/start.c: Remove file.
62270 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62271 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62272 * sysdeps/sh/init-first.c: Likewise.
62273
62274 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62275 registers for frame unwinding purposes, add CFI directives.
62276 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62277 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62278 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62279 Likewise.
62280
62281 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62282 __fortify_fail returning.
62283 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62284
62285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62286 sysdeps/sh/____longjmp_chk.S.
62287 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62288 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62289 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62290 (gen-as-const-headers): Append sigaltstack-offsets.sym.
62291
62292 * sysdeps/sh/abort-instr.h: New file.
62293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62294 process in case exit returns.
62295
62296 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62297 initialize the GOT register before use.
62298
62299 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62300 calculation of ARGC > 4.
62301
62302 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62303 meaningful names to some local labels.
62304
62305 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62306 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62307
62308 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62309 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62310 (__arch_compare_and_exchange_val_16_acq): Likewise.
62311 (__arch_compare_and_exchange_val_32_acq): Likewise.
62312 (atomic_exchange_and_add): Fix gUSA sequence.
62313 (atomic_add): Likewise.
62314 (atomic_add_negative): Likewise.
62315 (atomic_add_zero): Likewise.
62316 (atomic_bit_test_set): Likewise.
62317
62318 2012-06-22 Andreas Schwab <schwab@redhat.com>
62319
62320 [BZ #13579]
62321 * include/link.h (struct link_map): Add l_free_initfini.
62322 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62323 l_initfini.
62324 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62325 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62326 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62327 set.
62328
62329 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
62330
62331 * configure.in: Use AC_LANG_SOURCE.
62332 * configure: Regenerate.
62333
62334 2012-06-22 Roland McGrath <roland@hack.frob.com>
62335
62336 * configure.in (libc_cv_localstatedir): New substituted variable.
62337 * configure: Regenerated.
62338 * config.make.in (localstatedir): New variable, substituted from
62339 libc_cv_localstatedir.
62340 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62341 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62342 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62343 * sysdeps/gnu/configure: Regenerated.
62344
62345 2012-06-21 Jeff Law <law@redhat.com>
62346
62347 [BZ #14277]
62348 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62349 free. Simplify list management for _LIBC case.
62350
62351 2012-06-21 Joseph Myers <joseph@codesourcery.com>
62352
62353 [BZ #14273]
62354 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62355 Clear sign bit of 64-bit integer value before comparing against
62356 overflow value.
62357
62358 * sysdeps/mach/configure: Regenerated.
62359
62360 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
62361
62362 [BZ #14278]
62363 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62364
62365 2012-06-21 Jeff Law <law@redhat.com>
62366
62367 [BZ #13882]
62368 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
62369 uint16_t for elements in the "seen" array to avoid char overflows.
62370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62371 * elf/dl-open.c (dl_open_worker): Likewise.
62372
62373 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
62374
62375 * scripts/list-sources.sh: Scan PORTS for translations.
62376 * po/libc.pot: Regenerated.
62377
62378 2012-06-21 Andreas Jaeger <aj@suse.de>
62379
62380 [BZ #12194]
62381 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62382 warning.
62383 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62384 * bits/byteswap-16.h (__bswap_16): Likewise.
62385 * bits/byteswap.h (__bswap_constant_16): Likewise.
62386
62387 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
62388
62389 [BZ #14117]
62390 * sysdeps/i386/fpu_control.h: Removed.
62391 * sysdeps/x86_64/fpu_control.h: Moved to ...
62392 * sysdeps/x86/fpu_control.h: Here.
62393
62394 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62395 (_FPU_SETCW): Likewise.
62396
62397 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
62398
62399 [BZ #14117]
62400 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62401 * sysdeps/x86/fpu/bits/mathinline.h: This.
62402 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62403
62404 [BZ #14050]
62405 [BZ #14117]
62406 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62407 functions if __x86_64__ is defined.
62408
62409 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
62410
62411 * string/endian.h: Add !__ASSEMBLER__ condition for including
62412 conversion interfaces.
62413
62414 2012-06-15 Joseph Myers <joseph@codesourcery.com>
62415
62416 [BZ #14241]
62417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62418 of ABS(x) in calculating zero to negative powers other than odd
62419 integers.
62420 * math/libm-test.inc (pow_test): Add more tests.
62421
62422 2012-06-15 Andreas Jaeger <aj@suse.de>
62423
62424 * manual/contrib.texi (Contributors): Update entry of Liubov
62425 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62426 Machado Filho.
62427
62428 2012-06-15 Cyril Hrubis <metan@ucw.cz>
62429
62430 * string/string.h: Add __wur to GNU version of strerror_r.
62431
62432 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
62433
62434 [BZ #14229]
62435 * string/Makefile (tests): Add tst-strtok_r.
62436 * string/tst-strtok_r.c: New file.
62437 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62438 RAX_LP/RDX_LP on SAVE_PTR.
62439
62440 2012-06-14 Roland McGrath <roland@hack.frob.com>
62441
62442 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62443
62444 2012-06-14 Joseph Myers <joseph@codesourcery.com>
62445
62446 * libm_test.inc (csqrt_test): Allow more spurious underflow
62447 exceptions.
62448 (j0_test): Likewise.
62449 (j1_test): Likewise.
62450 (y0_test): Likewise.
62451 (y1_test): Likewise.
62452
62453 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
62454
62455 * po/Makefile (libc.pot): Use UTF-8 charset.
62456
62457 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
62458
62459 [BZ #14210]
62460 Suppress sign-conversion warning from FD_SET.
62461 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62462 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62463 not unsigned long int.
62464 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62465
62466 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
62467
62468 [BZ #14050]
62469 [BZ #14117]
62470 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62471 __extern_always_inline instead of __extern_inline.
62472 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62473 (__signbit): Likewise.
62474 (__signbitl): Support C++ namespace.
62475 (lrintf): New inline function.
62476 (lrint): Likewise.
62477 (llrintf): Likewise.
62478 (llrint): Likewise.
62479 (fmaxf): Likewise.
62480 (fmax): Likewise.
62481 (fminf): Likewise.
62482 (fmin): Likewise.
62483 (rint): Likewise.
62484 (rintf): Likewise.
62485 (ceil): Likewise.
62486 (ceilf): Likewise.
62487 (floor): Likewise.
62488 (floorf): Likewise.
62489 (nearbyint): Likewise.
62490 (nearbyintf): Likewise.
62491
62492 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
62493
62494 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62495 non-default versions.
62496
62497 2012-06-11 Roland McGrath <roland@hack.frob.com>
62498
62499 [BZ #14218]
62500 * manual/argp.texi (Argp): Reword argp_parse description slightly.
62501
62502 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
62503
62504 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62505 (FE_UPWARD, FE_DOWNWARD): Don't define.
62506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62507 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62508
62509 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62510 reading it.
62511 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62513
62514 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62515
62516 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62518 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62519 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62520
62521 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
62522
62523 [BZ #14117]
62524 * sysdeps/i386/fpu/bits/fenv.h: Removed.
62525 * sysdeps/i386/fpu/Implies: New file.
62526 * sysdeps/x86_64/fpu/Implies: Likewise.
62527 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62528 * sysdeps/x86/fpu/bits/fenv.h: This.
62529
62530 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62531 __SSE_MATH__.
62532
62533 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62534
62535 [BZ #14134]
62536 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62537 character 0xffff that matches the last element of the
62538 conversion table.
62539
62540 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62541
62542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62543 fmodl commit.
62544
62545 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62546
62547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62548 values higher than 25.6283.
62549
62550 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62551
62552 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62553 subnormal exponent extraction and add some __builtin_expect.
62554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62555 Fix for subnormal mantissa calculation.
62556
62557 2012-06-04 Mike Frysinger <vapier@gentoo.org>
62558
62559 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62560 cpu2 is -1 and errno is not ENOSYS.
62561
62562 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
62563
62564 [BZ #14117]
62565 * sysdeps/i386/i486/bits/string.h: Renamed to ...
62566 * sysdeps/x86/bits/string.h: This.
62567 * sysdeps/x86_64/bits/string.h: Removed.
62568
62569 * sysdeps/i386/i486/bits/string.h: Define inline functions only
62570 if not compiling for x86-64, but compiling for >= i486.
62571
62572 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62573 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62574
62575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62576 New macro from Linux kernel 3.4.0.
62577 (FP_XSTATE_MAGIC2): Likewise.
62578 (FP_XSTATE_MAGIC2_SIZE): Likewise.
62579 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62580 (struct _fpx_sw_bytes): New struct.
62581 (struct _xsave_hdr): Likewise.
62582 (struct _ymmh_state): Likewise.
62583 (struct _xstate): Likewise.
62584
62585 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62586 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62587 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62588 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62589 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62590 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62591
62592 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62594 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62595 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62596 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62597 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62598
62599 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62600
62601 [BZ #13743]
62602 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62603 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62604 (sysdep_headers): Include sys/platform/ppc.h.
62605 * sysdeps/powerpc/test-gettimebase.c: Test for
62606 __ppc_get_timebase() to catch future ISA opcode/insn changes.
62607 * manual/Makefile (appendices): Include platform.texi.
62608 * manual/contrib.texi (Contributors): Update @node pointers.
62609 * manual/maint.texi (Maintenance): Likewise.
62610 (Platform): New node.
62611 * manual/platform.texi: New file. Document the new features.
62612
62613 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62614 Jakub Jelinek <jakub@redhat.com>
62615
62616 [BZ #14188]
62617 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62618 where __builtin_expect is unavailable.
62619
62620 2012-06-03 David S. Miller <davem@davemloft.net>
62621
62622 * stdlib/longlong.h: Updated from GCC.
62623
62624 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
62625
62626 [BZ #14042]
62627 * sysdeps/powerpc/powerpc32/mcount.c: New file.
62628 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62629 __mcount_internal.
62630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62631 (GLIBC_2.16): Likewise.
62632
62633 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
62634
62635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62636
62637 2012-06-01 Joseph Myers <joseph@codesourcery.com>
62638
62639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62640 (default-abi): New variable.
62641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62642 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62643 variable.
62644 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62645 Likewise.
62646 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62647 Likewise.
62648 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62649 Likewise.
62650
62651 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62652 definition. Document in comment.
62653
62654 2012-06-01 David S. Miller <davem@davemloft.net>
62655
62656 * stdlib/longlong.h: Updated from GCC.
62657
62658 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
62659
62660 [BZ #14117]
62661 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62662 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62663 sys/debugreg.h sys/io.h here.
62664 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62665 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62666 sys/io.h.
62667 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62668 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62669 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62670 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62671 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62672 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62673
62674 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62675 Define only if __x86_64__ is defined.
62676
62677 2012-06-01 Joseph Myers <joseph@codesourcery.com>
62678
62679 [BZ #14048]
62680 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62681 Use int64_t for variable i.
62682 * math/libm-test.inc (fmod_test): Add more tests.
62683
62684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62685 z computation is not scheduled after fetestexcept.
62686 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62687 Use math_force_eval instead of asm to ensure calculation scheduled
62688 before exception test.
62689 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62690 Ensure a1 + u.d computation is not scheduled after fetestexcept.
62691
62692 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
62693
62694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62695 computation is not scheduled after fetestexcept.
62696
62697 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
62698
62699 [BZ #14117]
62700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62701 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62702
62703 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62704
62705 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62706 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62707
62708 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
62709
62710 [BZ #14117]
62711 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62712 <bits/wordsize.h>.
62713 (__WCHAR_MIN): Support __WORDSIZE == 64.
62714 (__WCHAR_MAX): Likewise.
62715
62716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62718
62719 [BZ #14183]
62720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62721 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62722
62723 [BZ #14117]
62724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62725 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62726
62727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62728 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62729
62730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62731 Defined to 1 if __x86_64__ isn't defined.
62732 (_STAT_VER_LINUX_OLD): New.
62733 (st_atime): Remove duplicate.
62734 (st_mtime): Likewise.
62735 (st_ctime): Likewise.
62736
62737 2012-05-31 David S. Miller <davem@davemloft.net>
62738
62739 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62740 entries.
62741
62742 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
62743
62744 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62745 gen-libm-test.pl.
62746
62747 [BZ #14132]
62748 * elf/dl-reloc.c: Include <_itoa.h>.
62749 (_dl_reloc_bad_type): Remove use of INTUSE.
62750 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62751 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62752 * stdio-common/psiginfo.c (psiginfo): Likewise.
62753 * stdio-common/psignal.c (psignal): Likewise.
62754 * string/strsignal.c (strsignal): Likewise.
62755 * include/signal.h (_sys_siglist): Declare hidden proto.
62756 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
62757 INTVARDEF with libc_hidden_data_def.
62758 * stdio-common/itoa-udigits.c: Likewise.
62759 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62760 (_itoa_lower_digits_internal): Remove declaration.
62761 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62762 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62763 (_sys_sigabbrev_internal): Remove aliases.
62764 (_sys_siglist): Define hidden alias.
62765
62766 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
62767
62768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62769 bits/sysctl.h.
62770
62771 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
62772
62773 [BZ #14117]
62774 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62775 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62776
62777 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62778 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62779 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62780 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62782 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62783
62784 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62785 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62786 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62787
62788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62789 with __addr.
62790 (insw): Likewise.
62791 (insl): Likewise.
62792 (outsb): Likewise.
62793 (outsw): Likewise.
62794 (outsl): Likewise.
62795
62796 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62798 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62799
62800 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62801 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62803 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62804 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62805 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62806
62807 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62808 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62809
62810 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62811 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62812
62813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62816
62817 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62818 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62819 to ...
62820 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62821
62822 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62823 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62824 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62825
62826 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62827 for x86-64.
62828 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62829
62830 2012-05-31 Joseph Myers <joseph@codesourcery.com>
62831
62832 * math/math.h (M_El): Use two more decimal places.
62833 (M_LOG2El): Likewise.
62834 (M_LOG10El): Likewise.
62835 (M_LN2l): Likewise.
62836 (M_LN10l): Likewise.
62837 (M_PIl): Likewise.
62838 (M_PI_2l): Likewise.
62839 (M_PI_4l): Likewise.
62840 (M_1_PIl): Likewise.
62841 (M_2_PIl): Likewise.
62842 (M_2_SQRTPIl): Likewise.
62843 (M_SQRT2l): Likewise.
62844 (M_SQRT1_2l): Likewise.
62845
62846 2012-05-31 David S. Miller <davem@davemloft.net>
62847
62848 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62849 values between float registers.
62850 * sysdeps/sparc/sparc64/memset.S: Likewise.
62851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62852
62853 2012-05-31 Mike Frysinger <vapier@gentoo.org>
62854
62855 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62856 -D_FORTIFY_SOURCE=1.
62857 (CPPFLAGS-tst-longjmp_chk.c): Define.
62858 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62859 (CPPFLAGS-tst-longjmp_chk2.c): Define.
62860 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62861 CFLAGS-tst-wchar-h.c.
62862
62863 2012-05-31 Marek Polacek <polacek@redhat.com>
62864
62865 [BZ #14132]
62866 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62867 __endmntent_internal): Remove declaration.
62868 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62869 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62870 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62871
62872 2012-05-30 David S. Miller <davem@davemloft.net>
62873
62874 * sysdeps/sparc/sparc32/soft-fp/q_util.c
62875 (___Q_simulate_exceptions): Use real FP ops rather than writing
62876 into the %fsr.
62877 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62878 Likewise.
62879
62880 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62881
62882 [BZ #14117]
62883 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62884 * sysdeps/x86/bits/xtitypes.h: This.
62885
62886 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62887 * sysdeps/x86/bits/wordsize.h: This.
62888
62889 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62890 * sysdeps/x86/bits/huge_vall.h: This.
62891
62892 * sysdeps/i386/bits/select.h: Removed.
62893 * sysdeps/x86_64/bits/select.h: Renamed to ...
62894 * sysdeps/x86/bits/select.h: This.
62895
62896 * sysdeps/i386/bits/setjmp.h: Removed.
62897 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62898 * sysdeps/x86/bits/setjmp.h: This.
62899
62900 * sysdeps/i386/bits/mathdef.h: Removed.
62901 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62902 * sysdeps/x86/bits/mathdef.h: This.
62903
62904 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
62905
62906 [BZ #14132]
62907 * include/sys/socket.h (__connect_internal)
62908 (__libc_sa_len_internal): Remove declaration.
62909 (__connect, __libc_sa_len): Declare hidden_proto.
62910 (SA_LEN): Remove use of INTUSE.
62911 * socket/connect.c: Add libc_hidden_def.
62912 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62913 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62914 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62915 alias.
62916 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62918 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62919 of adding _internal alias.
62920
62921 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62922
62923 [BZ #14117]
62924 * sysdeps/i386/bits/link.h: Removed.
62925 * sysdeps/i386/bits/linkmap.h: Likewise.
62926 * sysdeps/x86_64/bits/link.h: Renamed to ...
62927 * sysdeps/x86/bits/link.h: This.
62928 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62929 * sysdeps/x86/bits/linkmap.h: This.
62930
62931 * sysdeps/i386/bits/endian.h: Removed.
62932 * sysdeps/x86_64/bits/endian.h: Renamed to ...
62933 * sysdeps/x86/bits/endian.h: This.
62934
62935 * sysdeps/i386/bits/byteswap.h: Removed.
62936 * sysdeps/i386/bits/byteswap-16.h: Likewise.
62937 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62938 * sysdeps/x86/bits/byteswap.h: This.
62939 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62940 * sysdeps/x86/bits/byteswap-16.h: This.
62941 * sysdeps/i386/Implies: Add x86.
62942 * sysdeps/x86_64/Implies: Likewise.
62943
62944 2012-05-30 David S. Miller <davem@davemloft.net>
62945
62946 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62947 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62948 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62949 (FP_TRAPPING_EXCEPTIONS): Define.
62950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62951 (FP_TRAPPING_EXCEPTIONS): Define.
62952 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62953 subnormals only when inexact has been signalled or underflow
62954 exceptions are enabled.
62955 (_FP_PACK_CANONICAL): Likewise.
62956
62957 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62958
62959 [BZ #14183]
62960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62961 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62962
62963 2012-05-30 Richard Henderson <rth@twiddle.net>
62964
62965 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62966 with #ifndef NOT_IN_libc.
62967
62968 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
62969 marked to avoid plt entry.
62970
62971 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62972
62973 [BZ #14112]
62974 * Makeconfig (default-abi): New macro.
62975 (abi-includes): Likewise.
62976 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
62977 $(abi-$(default-abi)-lib-soname) for soname if defined.
62978 ($(common-objpfx)gnu/lib-names.stmp): Generate from
62979 abi-variants.
62980 * Makefile (installed-stubs): Likewise.
62981 * include/stubs-biarch.h: Removed.
62982 * scripts/lib-names.awk: Only handle one library at a time.
62983 * scripts/soversions.awk: Remove WORDSIZE support.
62984 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62985 entries.
62986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62987 Removed.
62988 (syscall-list-default-condition): Likewise.
62989 (syscall-list-default-condition): Likewise.
62990 (syscall-list-includes): Likewise.
62991 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62992 syscall-list-* with abi-*. Handle undefined abi-variants.
62993 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62994 * sysdeps/unix/sysv/linux/i386/Implies: New file.
62995 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62996 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62997 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62998 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62999 Removed.
63000 (syscall-list-32-options): Likewise.
63001 (syscall-list-32-condition): Likewise.
63002 (syscall-list-64-options): Likewise.
63003 (syscall-list-64-condition): Likewise.
63004 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63005 macro.
63006 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63007 Renamed to ...
63008 (abi-*): This.
63009 (abi-64-ld-soname): New macro.
63010 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63011 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63012 Renamed to ...
63013 (abi-*): This.
63014 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63015 * sysdeps/x86_64/x32/shlib-versions: Likewise.
63016
63017 2012-05-30 Joseph Myers <joseph@codesourcery.com>
63018
63019 * sysdeps/unix/sysv/linux/kernel-features.h
63020 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63021 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63022 include <kernel-features.h>.
63023 [!__NR_ftruncate64]: Remove conditional code.
63024 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63025 [__NR_ftruncate64]: Make code unconditional.
63026 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63027 * sysdeps/unix/sysv/linux/truncate64.c: Do not
63028 include <kernel-features.h>.
63029 [!__NR_ftruncate64]: Remove conditional code.
63030 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63031 [__NR_ftruncate64]: Make code unconditional.
63032 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63034 include <kernel-features.h>.
63035 [!__NR_ftruncate64]: Remove conditional code.
63036 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63037 [__NR_ftruncate64]: Make code unconditional.
63038 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63040 include <kernel-features.h>.
63041 [!__NR_ftruncate64]: Remove conditional code.
63042 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63043 [__NR_ftruncate64]: Make code unconditional.
63044 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63045
63046 * configure.in (libc_cv_fpie): Weaken to a compile test using
63047 LIBC_TRY_CC_OPTION.
63048 * configure: Regenerated.
63049
63050 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63051
63052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63056 Refreshed.
63057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63063 Refreshed.
63064
63065 2012-05-27 David S. Miller <davem@davemloft.net>
63066
63067 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63068 (___Q_zero): New.
63069 (__Q_simulate_exceptions): Return void. Change to simulate
63070 exceptions by writing into the %fsr.
63071 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63072 (__Qp_handle_exceptions): Likewise.
63073 (numbers): Delete.
63074 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63075 __Qp_handle_exceptions.
63076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63077 __Qp_handle_exceptions.
63078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63079 as unused and give dummy FP_RND_NEAREST initializer.
63080 (FP_INHIBIT_RESULTS): Define.
63081 (___Q_simulate_exceptions): Update declaration.
63082 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63083 formatting.
63084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63085 as unused and give dummy FP_RND_NEAREST initializer.
63086 (__Qp_handle_exceptions): Update declaration.
63087 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63088 formatting.
63089
63090 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
63091
63092 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63093 the temporary FPU control word.
63094 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63095 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63096 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63097 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63098 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63099 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63100 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63102 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63103 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63104 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63105
63106 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63107
63108 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63109 fields.
63110
63111 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
63112
63113 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63114 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63115 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63116 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63117 Likewise.
63118 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63119 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63120 Likewise.
63121
63122 2012-05-27 Ulrich Drepper <drepper@gmail.com>
63123
63124 * po/h.po: Update from translation team.
63125
63126 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
63127
63128 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63129
63130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63131 handling of denormals.
63132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63133 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63134 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63135 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63139 Likewise.
63140
63141 2012-05-26 Marek Polacek <polacek@redhat.com>
63142
63143 [BZ #14152]
63144 * math/libm-test.inc (fma_test): Don't always expect underflow
63145 exception.
63146
63147 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63148
63149 [BZ #12416]
63150 * elf/tst-execstack.c: Include stackinfo.h.
63151 (do_test): Adjust test case to ensure that pthread_getattr_np
63152 behaviour remains the same after marking stack executable.
63153
63154 2012-05-25 Joseph Myers <joseph@codesourcery.com>
63155
63156 * sysdeps/unix/sysv/linux/kernel-features.h
63157 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63158 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63159 kernel-features.h.
63160 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63161 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63162 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63163 kernel-features.h.
63164 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63165 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63166
63167 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
63168
63169 * configure.in: Define the default includes to being none.
63170 * configure: Regenerated.
63171
63172 2012-05-25 Roland McGrath <roland@hack.frob.com>
63173
63174 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63175 * sysdeps/x86_64/setjmp.S: Likewise.
63176 * sysdeps/i386/bsd-setjmp.S: Likewise.
63177 * sysdeps/i386/bsd-_setjmp.S: Likewise.
63178 * sysdeps/i386/setjmp.S: Likewise.
63179 * sysdeps/i386/__longjmp.S: Likewise.
63180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63181 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63182
63183 * include/stap-probe.h: New file.
63184 * configure.in: Handle --enable-systemtap.
63185 * configure: Regenerated.
63186 * config.h.in (USE_STAP_PROBE): New #undef.
63187 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63188 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63189 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63190
63191 2012-05-25 Joseph Myers <joseph@codesourcery.com>
63192
63193 [BZ #13717]
63194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63195 to 2.4.0 where earlier.
63196 * sysdeps/unix/sysv/linux/configure: Regenerated.
63197 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63198 <kernel-features.h>.
63199 [__ASSUME_32BITUIDS]: Make code unconditional.
63200 [!__ASSUME_32BITUIDS]: Remove conditional code.
63201 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63202 <kernel-features.h>.
63203 [__ASSUME_32BITUIDS]: Make code unconditional.
63204 [!__ASSUME_32BITUIDS]: Remove conditional code.
63205 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63206 [__ASSUME_32BITUIDS]: Make code unconditional.
63207 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63208 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63209 <kernel-features.h>.
63210 [__ASSUME_32BITUIDS]: Make code unconditional.
63211 [!__ASSUME_32BITUIDS]: Remove conditional code.
63212 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63213 <kernel-features.h>.
63214 [__ASSUME_32BITUIDS]: Make code unconditional.
63215 [!__ASSUME_32BITUIDS]: Remove conditional code.
63216 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63217 <kernel-features.h>.
63218 [__ASSUME_32BITUIDS]: Make code unconditional.
63219 [!__ASSUME_32BITUIDS]: Remove conditional code.
63220 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63221 <kernel-features.h>.
63222 [__ASSUME_32BITUIDS]: Make code unconditional.
63223 [!__ASSUME_32BITUIDS]: Remove conditional code.
63224 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63225 <kernel-features.h>.
63226 [__ASSUME_32BITUIDS]: Make code unconditional.
63227 [!__ASSUME_32BITUIDS]: Remove conditional code.
63228 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63229 <kernel-features.h>.
63230 [__ASSUME_32BITUIDS]: Make code unconditional.
63231 [!__ASSUME_32BITUIDS]: Remove conditional code.
63232 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63233 <kernel-features.h>.
63234 [__ASSUME_32BITUIDS]: Make code unconditional.
63235 [!__ASSUME_32BITUIDS]: Remove conditional code.
63236 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63237 <kernel-features.h>.
63238 [__ASSUME_32BITUIDS]: Make code unconditional.
63239 [!__ASSUME_32BITUIDS]: Remove conditional code.
63240 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63241 <kernel-features.h>.
63242 [__ASSUME_32BITUIDS]: Make code unconditional.
63243 [!__ASSUME_32BITUIDS]: Remove conditional code.
63244 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63245 <kernel-features.h>.
63246 [__ASSUME_32BITUIDS]: Make code unconditional.
63247 [!__ASSUME_32BITUIDS]: Remove conditional code.
63248 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63249 <kernel-features.h>.
63250 [__NR_setresgid] (__setresgid): Do not declare.
63251 [__ASSUME_32BITUIDS]: Make code unconditional.
63252 [!__ASSUME_32BITUIDS]: Remove conditional code.
63253 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63254 <kernel-features.h>.
63255 [__NR_setresuid] (__setresuid): Do not declare.
63256 [__ASSUME_32BITUIDS]: Make code unconditional.
63257 [!__ASSUME_32BITUIDS]: Remove conditional code.
63258 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63259 <kernel-features.h>.
63260 [__ASSUME_32BITUIDS]: Make code unconditional.
63261 [!__ASSUME_32BITUIDS]: Remove conditional code.
63262 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63263 <kernel-features.h>.
63264 [__ASSUME_32BITUIDS]: Make code unconditional.
63265 [!__ASSUME_32BITUIDS]: Remove conditional code.
63266 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63267 <kernel-features.h>.
63268 [__ASSUME_32BITUIDS]: Make code unconditional.
63269 [!__ASSUME_32BITUIDS]: Remove conditional code.
63270 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63271 <kernel-features.h>.
63272 [__ASSUME_32BITUIDS]: Make code unconditional.
63273 [!__ASSUME_32BITUIDS]: Remove conditional code.
63274 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63275 <kernel-features.h>.
63276 [__ASSUME_32BITUIDS]: Make code unconditional.
63277 [!__ASSUME_32BITUIDS]: Remove conditional code.
63278 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63279 <kernel-features.h>.
63280 [__ASSUME_32BITUIDS]: Make code unconditional.
63281 [!__ASSUME_32BITUIDS]: Remove conditional code.
63282 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63283 <kernel-features.h>.
63284 [__ASSUME_32BITUIDS]: Make code unconditional.
63285 [!__ASSUME_32BITUIDS]: Remove conditional code.
63286 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63287 <kernel-features.h>.
63288 [__ASSUME_32BITUIDS]: Make code unconditional.
63289 [!__ASSUME_32BITUIDS]: Remove conditional code.
63290 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63291 <kernel-features.h>.
63292 [__ASSUME_32BITUIDS]: Make code unconditional.
63293 [!__ASSUME_32BITUIDS]: Remove conditional code.
63294 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63295 <kernel-features.h>.
63296 [__ASSUME_32BITUIDS]: Make code unconditional.
63297 [!__ASSUME_32BITUIDS]: Remove conditional code.
63298 * sysdeps/unix/sysv/linux/kernel-features.h
63299 (__ASSUME_SETRESUID_SYSCALL): Remove.
63300 (__ASSUME_SETRESGID_SYSCALL): Likewise.
63301 (__ASSUME_32BITUIDS): Likewise.
63302 (__ASSUME_LDT_WORKS): Likewise.
63303 (__ASSUME_O_DIRECTORY): Likewise.
63304 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63305 architecture but not kernel version.
63306 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63307 (__ASSUME_MMAP2_SYSCALL): Likewise.
63308 (__ASSUME_STAT64_SYSCALL): Likewise.
63309 (__ASSUME_IPC64): Likewise.
63310 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63311 <kernel-features.h>.
63312 [__ASSUME_32BITUIDS]: Make code unconditional.
63313 [!__ASSUME_32BITUIDS]: Remove conditional code.
63314 * sysdeps/unix/sysv/linux/opendir.c: Do not include
63315 <kernel-features.h>.
63316 [__ASSUME_O_DIRECTORY]: Make code unconditional.
63317 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63318 132096]: Remove conditional code.
63319 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63320 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63321 <kernel-features.h>.
63322 [__ASSUME_32BITUIDS]: Make code unconditional.
63323 [!__ASSUME_32BITUIDS]: Remove conditional code.
63324 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63325 <kernel-features.h>.
63326 [__ASSUME_32BITUIDS]: Make code unconditional.
63327 [!__ASSUME_32BITUIDS]: Remove conditional code.
63328 * sysdeps/unix/sysv/linux/setegid.c: Do not include
63329 <kernel-features.h>.
63330 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63331 unconditional.
63332 (__setresgid): Do not declare.
63333 [__ASSUME_32BITUIDS]: Make code unconditional.
63334 [!__ASSUME_32BITUIDS]: Remove conditional code.
63335 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63336 <kernel-features.h>.
63337 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63338 unconditional.
63339 (__setresuid): Do not declare.
63340 [__ASSUME_32BITUIDS]: Make code unconditional.
63341 [!__ASSUME_32BITUIDS]: Remove conditional code.
63342 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63343 <kernel-features.h>.
63344 [__ASSUME_32BITUIDS]: Make code unconditional.
63345 [!__ASSUME_32BITUIDS]: Remove conditional code.
63346 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63347 <kernel-features.h>.
63348 [__ASSUME_32BITUIDS]: Make code unconditional.
63349 [!__ASSUME_32BITUIDS]: Remove conditional code.
63350
63351 2012-05-25 Richard Henderson <rth@twiddle.net>
63352
63353 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63354 dl_hwcap to ifunc resolver.
63355 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63356 elf_ifunc_invoke.
63357 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63358 dl_hwcap to ifunc resolver.
63359 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63360
63361 2012-05-24 Joseph Myers <joseph@codesourcery.com>
63362
63363 [BZ #14153]
63364 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63365 for |x| <= 2**-26, not 2**-57.
63366 * math/libm-test.inc (acos_test): Do not allow spurious underflow
63367 exception.
63368
63369 2012-05-24 Jeff Law <law@redhat.com>
63370
63371 * stdio-common/Makefile (tests): Add bug25.
63372 * stdio-common/bug25.c: New test.
63373
63374 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
63375
63376 [BZ #13576]
63377 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63378 multiple of MALLOC_ALIGNMENT in size.
63379 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63380
63381 2012-05-24 Joseph Myers <joseph@codesourcery.com>
63382
63383 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63384 Require >= 256.
63385 (FILENAME_MAX): Use macro-int-constant.
63386 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
63387 (_IOFBF): Use macro-int-constant.
63388 (_IOLBF): Likewise.
63389 (_IONBF): Likewise.
63390 (SEEK_CUR): Likewise.
63391 (SEEK_END): Likewise.
63392 (SEEK_SET): Likewise.
63393 (TMP_MAX): Likewise.
63394 (EOF): Use macro-int-constant. Require < 0.
63395 (NULL): Use macro-constant. Require == 0.
63396 (stdin): Require type to be FILE *.
63397 (stdout): Likewise.
63398 (stderr): Likewise.
63399 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63400 macro-int-constant.
63401 (EXIT_SUCCESS): Likewise.
63402 (NULL): Use macro-constant. Require == 0.
63403 (RAND_MAX): Use macro-int-constant.
63404 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63405 [C99-based standards] (strtof): Require function.
63406 [C99-based standards] (strtold): Likewise.
63407 [C99-based standards] (strtoll): Likewise.
63408 [C99-based standards] (strtoull): Likewise.
63409 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63410 [ISO || ISO99 || ISO11] (limits.h): Likewise.
63411 [ISO || ISO99 || ISO11] (math.h): Likewise.
63412 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63413 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
63415
63416 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
63417
63418 [BZ #14132]
63419 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63420 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63421 * intl/dgettext.c (DCGETTEXT): Likewise.
63422 * intl/gettext.c (DCGETTEXT): Likewise.
63423 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63424 * posix/regex_internal.h (gettext): Likewise.
63425 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63426 Remove declaration.
63427 * include/argz.h (__argz_count_internal)
63428 (__argz_stringify_internal): Remove declaration.
63429 (__argz_count, __argz_stringify): Declare hidden proto.
63430 * intl/dcgettext.c: Remove use of INTDEF.
63431 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63432 * string/argz-stringify.c: Likewise.
63433 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63434 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63435 Declare hidden proto.
63436 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63437 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63438 Declare hidden proto.
63439 * include/stdio.h (__asprintf_internal): Don't declare.
63440 (__asprintf): Don't define as macro. Declare hidden proto.
63441 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63442 (__fsetlocking): Declare hidden proto.
63443 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63444 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63445 hidden proto.
63446 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63447 (_IO_setlinebuf): Remove use of INTUSE.
63448 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63449 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63450 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63451 Remove declaration.
63452 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63453 (_IO_do_flush): Remove use of INTUSE.
63454 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63455 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63456 (_IO_adjust_column, _IO_least_wmarker)
63457 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63458 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63459 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63460 (_IO_default_doallocate, _IO_wdefault_doallocate)
63461 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63462 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63463 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63464 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63465 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63466 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63467 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63468 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63469 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63470 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63471 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63472 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63473 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63474 proto.
63475 (_IO_flush_all_internal, _IO_adjust_column_internal)
63476 (_IO_default_uflow_internal, _IO_default_finish_internal)
63477 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63478 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63479 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63480 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63481 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63482 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63483 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63484 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63485 (_IO_file_close_internal, _IO_file_close_it_internal)
63486 (_IO_file_underflow_internal, _IO_file_overflow_internal)
63487 (_IO_file_init_internal, _IO_file_attach_internal)
63488 (_IO_file_fopen_internal, _IO_file_read_internal)
63489 (_IO_file_sync_internal, _IO_file_seek_internal)
63490 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63491 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63492 (_IO_str_underflow_internal, _IO_str_overflow_internal)
63493 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63494 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63495 (_IO_list_all_internal, _IO_link_in_internal)
63496 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63497 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63498 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63499 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63500 (_IO_do_write_internal, _IO_padn_internal)
63501 (_IO_getline_info_internal, _IO_getline_internal)
63502 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63503 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63504 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63505 (_IO_vfscanf_internal, _IO_vfprintf_internal)
63506 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63507 (_IO_init_internal, _IO_un_link_internal): Don't declare.
63508 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63509 with libc_hidden_ver, remove use of INTUSE.
63510 * libio/genops.c: Likewise.
63511 * libio/freopen.c: Likewise.
63512 * libio/freopen64.c: Likewise.
63513 * libio/iofclose.c: Likewise.
63514 * libio/iofdopen.c: Likewise.
63515 * libio/iofflush.c: Likewise.
63516 * libio/iofflush_u.c: Likewise.
63517 * libio/iofgets.c: Likewise.
63518 * libio/iofgets_u.c: Likewise.
63519 * libio/iofopen.c: Likewise.
63520 * libio/iofopncook.c: Likewise.
63521 * libio/iofread.c: Likewise.
63522 * libio/iofread_u.c: Likewise.
63523 * libio/ioftell.c: Likewise.
63524 * libio/iofwrite.c: Likewise.
63525 * libio/iogetline.c: Likewise.
63526 * libio/iogets.c: Likewise.
63527 * libio/iogetwline.c: Likewise.
63528 * libio/iopadn.c: Likewise.
63529 * libio/iopopen.c: Likewise.
63530 * libio/ioseekoff.c: Likewise.
63531 * libio/ioseekpos.c: Likewise.
63532 * libio/iosetbuffer.c: Likewise.
63533 * libio/iosetvbuf.c: Likewise.
63534 * libio/ioungetc.c: Likewise.
63535 * libio/ioungetwc.c: Likewise.
63536 * libio/iovdprintf.c: Likewise.
63537 * libio/iovsprintf.c: Likewise.
63538 * libio/iovsscanf.c: Likewise.
63539 * libio/memstream.c: Likewise.
63540 * libio/obprintf.c: Likewise.
63541 * libio/oldfileops.c: Likewise.
63542 * libio/oldiofclose.c: Likewise.
63543 * libio/oldiofdopen.c: Likewise.
63544 * libio/oldiofopen.c: Likewise.
63545 * libio/oldiopopen.c: Likewise.
63546 * libio/oldstdfiles.c: Likewise.
63547 * libio/putc.c: Likewise.
63548 * libio/setbuf.c: Likewise.
63549 * libio/setlinebuf.c: Likewise.
63550 * libio/stdfiles.c: Likewise.
63551 * libio/strops.c: Likewise.
63552 * libio/vasprintf.c: Likewise.
63553 * libio/vscanf.c: Likewise.
63554 * libio/vsnprintf.c: Likewise.
63555 * libio/vswprintf.c: Likewise.
63556 * libio/wfiledoalloc.c: Likewise.
63557 * libio/wfileops.c: Likewise.
63558 * libio/wgenops.c: Likewise.
63559 * libio/wmemstream.c: Likewise.
63560 * libio/wstrops.c: Likewise.
63561 * libio/__fpurge.c: Likewise.
63562 * libio/__fsetlocking.c: Likewise.
63563 * assert/assert.c: Likewise.
63564 * debug/fgets_chk.c: Likewise.
63565 * debug/fgets_u_chk.c: Likewise.
63566 * debug/fread_chk.c: Likewise.
63567 * debug/fread_u_chk.c: Likewise.
63568 * debug/gets_chk.c: Likewise.
63569 * debug/obprintf_chk.c: Likewise.
63570 * debug/vasprintf_chk.c: Likewise.
63571 * debug/vdprintf_chk.c: Likewise.
63572 * debug/vsnprintf_chk.c: Likewise.
63573 * debug/vsprintf_chk.c: Likewise.
63574 * malloc/mtrace.c: Likewise.
63575 * misc/error.c: Likewise.
63576 * misc/syslog.c: Likewise.
63577 * stdio-common/asprintf.c: Likewise.
63578 * stdio-common/fxprintf.c: Likewise.
63579 * stdio-common/getw.c: Likewise.
63580 * stdio-common/isoc99_fscanf.c: Likewise.
63581 * stdio-common/isoc99_scanf.c: Likewise.
63582 * stdio-common/isoc99_vfscanf.c: Likewise.
63583 * stdio-common/isoc99_vscanf.c: Likewise.
63584 * stdio-common/isoc99_vsscanf.c: Likewise.
63585 * stdio-common/printf-prs.c: Likewise.
63586 * stdio-common/printf_fp.c: Likewise.
63587 * stdio-common/printf_fphex.c: Likewise.
63588 * stdio-common/printf_size.c: Likewise.
63589 * stdio-common/putw.c: Likewise.
63590 * stdio-common/scanf.c: Likewise.
63591 * stdio-common/sprintf.c: Likewise.
63592 * stdio-common/tmpfile.c: Likewise.
63593 * stdio-common/vfprintf.c: Likewise.
63594 * stdio-common/vfscanf.c: Likewise.
63595 * stdlib/strfmon_l.c: Likewise.
63596 * sunrpc/openchild.c: Likewise.
63597 * sunrpc/xdr_stdio.c: Likewise.
63598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63599 * sysdeps/mach/hurd/tmpfile.c: Likewise.
63600
63601 2012-05-24 Roland McGrath <roland@hack.frob.com>
63602
63603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63604
63605 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63606 in the third column, to generate for the shared library an IFUNC
63607 that uses _dl_vdso_vsym.
63608 * Makerules (COMPILE.c, compile-stdin.c): New variables.
63609 * Makeconfig (object-suffixes-noshared): New variable.
63610
63611 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63612 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63613 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63614 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63615
63616 [BZ #14132]
63617 * include/sys/time.h (__gettimeofday): Remove macro.
63618 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63619 * time/gettimeofday.c (__gettimeofday): Remove #undef.
63620 Remove INTDEF.
63621 (__gettimeofday): Add libc_hidden_def.
63622 (gettimeofday): Add libc_hidden_weak.
63623 * sysdeps/mach/gettimeofday.c: Likewise.
63624 * sysdeps/posix/gettimeofday.c: Likewise.
63625 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63626 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63628 (__gettimeofday_internal): Remove strong_alias.
63629 (__gettimeofday): Add libc_hidden_def.
63630 (gettimeofday): Add libc_hidden_weak.
63631 * sysdeps/unix/syscalls.list (gettimeofday):
63632 Remove __gettimeofday_internal alias.
63633
63634 2012-05-24 Daniel Jacobowitz <drow@false.org>
63635 H.J. Lu <hongjiu.lu@intel.com>
63636
63637 [BZ #12495]
63638 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63639 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63640 (largebin_index_32_big): New.
63641 (largebin_index): Use it for 16-byte alignment.
63642 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
63643 correction with front_misalign.
63644
63645 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
63646
63647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63649 Likewise.
63650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63651 Likewise.
63652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63653 Likewise.
63654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63655 Likewise.
63656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63657 Likewise.
63658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63659 Likewise.
63660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63661 Likewise.
63662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63663 Likewise.
63664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63665 Likewise.
63666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63667 Likewise.
63668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63669 Likewise.
63670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63671 Likewise.
63672
63673 * scripts/data/c++-types-x32-linux-gnu.data: New file.
63674 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63675
63676 2012-05-24 Joseph Myers <joseph@codesourcery.com>
63677
63678 [BZ #10846]
63679 [BZ #14036]
63680 * math/libm-test.inc (exp_test): Add test from bug 14036.
63681 (pow_test): Add test from bug 10846.
63682
63683 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63684 and other flags.
63685 (special_function): Do not include flags in test name.
63686 (parse_args): Likewise.
63687 * sysdeps/i386/fpu/libm-test-ulps: Update.
63688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63690 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63692
63693 * math/gen-libm-test.pl (%beautify): Add entries for underflow
63694 exceptions.
63695 * math/libm-test.inc ("Philosophy"): Update comment about
63696 exception testing.
63697 (UNDERFLOW_EXCEPTION): New macro.
63698 (UNDERFLOW_EXCEPTION_OK): Likewise.
63699 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63700 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63701 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63702 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63703 (INVALID_EXCEPTION_OK): Update value.
63704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63705 (OVERFLOW_EXCEPTION_OK): Likewise.
63706 (IGNORE_ZERO_INF_SIGN): Likewise.
63707 (test_exceptions): Handle underflow exceptions.
63708 (acos_test): Update for underflow exception expectations.
63709 (cexp_test): Likewise.
63710 (clog_test): Likewise.
63711 (clog10_test): Likewise.
63712 (csqrt_test): Likewise.
63713 (ctan_test): Likewise.
63714 (ctanh_test): Likewise.
63715 (exp_test): Likewise.
63716 (exp10_test): Likewise.
63717 (exp2_test): Likewise.
63718 (expm1_test): Likewise.
63719 (fma_test): Likewise.
63720 (j0_test): Likewise.
63721 (jn_test): Likewise.
63722 (nexttoward_test): Likewise.
63723 (pow_test): Likewise.
63724 (scalbn_test): Likewise.
63725 (scalbln_test): Likewise.
63726 (tan_test): Likewise.
63727 (y1_test): Likewise.
63728 * sysdeps/i386/fpu/libm-test-ulps: Update.
63729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63730
63731 2012-05-23 David S. Miller <davem@davemloft.net>
63732
63733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63734 (__libc_sigaction): Remove unused local variables.
63735
63736 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
63737
63738 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63739
63740 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
63741
63742 mktime: avoid signed integer overflow
63743 * time/mktime.c (__mktime_internal): Do not mishandle the case
63744 where diff == INT_MIN.
63745
63746 mktime: simplify computation of average
63747 * time/mktime.c (ranged_convert): Use new time_t_avg function
63748 instead of rolling our own (probably-slower) code.
63749
63750 mktime: do not assume signed right shift propagates sign bit
63751 * time/mktime.c (isdst_differ): New static function.
63752 (__mktime_internal): No need to normalize tm_isdst now.
63753 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63754 tm_isdst values.
63755
63756 mktime: merge another wrapv change from gnulib
63757 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63758 from some compilers.
63759
63760 mktime: remove incorrect attempt at unusual arithmetics
63761 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63762 The code didn't really work on such machines anyway.
63763 (TYPE_MINIMUM): Assume two's complement.
63764 (twos_complement_arithmetic): Verify that long_int and time_t
63765 are two's complement (or unsigned, in the latter case).
63766
63767 mktime: check signed shifts on long_int and time_t, too
63768 * time/mktime.c (SHR): Check that shifts work as desired
63769 on the types long_int and time_t too, as SHR is used on
63770 such types.
63771
63772 mktime: do not assume 'long' is wide enough
63773 * time/mktime.c (verify): Move decl up.
63774 (long_int): New type.
63775 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63776 to remove assumption in the code that 'long' is wide enough to
63777 store year values. This assumption is not true on x32 and on
63778 some non-glibc platforms.
63779
63780 mktime: merge wrapv change from gnulib
63781 * time/mktime.c (WRAPV): New macro.
63782 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63783 (guess_time_tm, __mktime_internal): Do not assume that signed
63784 integer overflow wraps around; modern compilers generate code
63785 where this assumption is no longer valid.
63786
63787 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
63788
63789 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63790 Replace "jmp L(pseudo_end)" with "ret".
63791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63792 Likewise.
63793
63794 2012-05-23 Andreas Jaeger <aj@suse.de>
63795
63796 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63797 * sysdeps/unix/sysv/linux/poll.c: Remove file.
63798
63799 2012-05-23 Andreas Jaeger <aj@suse.de>
63800 Maximilian Attems <max@stro.at>
63801
63802 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63803 New macros.
63804
63805 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
63806
63807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63808 code so that pseudo_end is just ret and the stack pointer is
63809 correct also for static library in error case.
63810
63811 2012-05-23 Joseph Myers <joseph@codesourcery.com>
63812
63813 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63814 move to syscalls.list.
63815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63819
63820 * manual/install.texi (Running make install): Do not mention Linux
63821 kernel version for which pt_chown is not needed.
63822 (Linux): Do not mention problems with nscd with 2.0 kernels.
63823 * INSTALL: Regenerated.
63824
63825 2012-05-23 Andreas Jaeger <aj@suse.de>
63826
63827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63828 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63829 macro.
63830 * sysdeps/unix/sysv/linux/s390/bits/mman.h
63831 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63832 * sysdeps/unix/sysv/linux/sh/bits/mman.h
63833 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63834 * sysdeps/unix/sysv/linux/i386/bits/mman.h
63835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63840 * sysdeps/unix/sysv/linux/bits/in.h
63841 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63842
63843 2012-05-22 Roland McGrath <roland@hack.frob.com>
63844
63845 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63846 (PREPARE_VERSION): Just use assert instead, it will be elided
63847 under [NDEBUG] anyway.
63848
63849 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63850
63851 * sysdeps/unix/sysv/linux/Makefile: Include
63852 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63853 (sysdep_routines): Remove sysctl.
63854 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63855 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63856 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63857 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63858 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63859
63860 2012-05-22 Andreas Jaeger <aj@suse.de>
63861
63862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63863 that pseudo_end is just ret and the stack pointer is correct also
63864 for static library in error case.
63865
63866 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
63867
63868 [BZ #14122]
63869 * nss/nsswitch.c (defconfig_entries): New variable.
63870 (__nss_database_lookup): Don't leak defconfig entries.
63871 (nss_parse_service_list): Don't leak on error paths.
63872 (free_database_entries): New function.
63873 (free_defconfig): New function.
63874 (free_mem): Move common code to free_database_entries.
63875
63876 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63877
63878 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63879 Add arch_prctl.
63880 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63881
63882 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63883 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63885 New macro.
63886 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63887 (INTERNAL_SYSCALL_TYPES): Likewise.
63888 (LOAD_ARGS_TYPES_[1-6]): Likewise.
63889 (LOAD_REGS_TYPES_[1-6]): Likewise.
63890 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63891 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63892
63893 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63894
63895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63896 copysignl for GLIBC_2_0.
63897 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63898 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63900 logbl for GLIBC_2_0.
63901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63902 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63903
63904 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63905
63906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63907 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63908
63909 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63910 Use "neg %eax".
63911
63912 * time/mktime.c: Update copyright years.
63913
63914 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
63915
63916 mktime: merge comment-quoting-style change from gnulib
63917 * time/mktime.c: Quote 'like this' in comments.
63918 The GNU coding standards suggest that we no longer quote `like this',
63919 as "`" and "'" are typically rendered asymmetrically nowadays.
63920 The typical gnulib style is to quote 'like this' when quoting
63921 code, and "like this" when quoting English.
63922
63923 * time/mktime.c (compile-command): Add "-I.".
63924
63925 mktime: merge mktime-internal.h change from gnulib
63926 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63927
63928 mktime: merge time_r change from gnulib
63929 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63930
63931 mktime: merge DEBUG change from gnulib
63932 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63933 case system <time.h> has a #define.
63934
63935 mktime: merge <sys/types.h> change from gnulib
63936 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63937 since <time.t> is now guaranteed to define time_t.
63938
63939 mktime: merge HAVE_CONFIG_H change from gnulib
63940 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63941
63942 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63943
63944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63945 Use "neg %eax".
63946
63947 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63948 __rlim_t cast.
63949 (struct rusage): Use anonymous union to pad each field to
63950 __syscall_slong_t.
63951
63952 2012-05-21 David S. Miller <davem@davemloft.net>
63953
63954 * Makefules (o-iterator): Remove .s cases.
63955 (compile-command.s): Delete.
63956 (COMPILE.s): Delete.
63957 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63958
63959 2012-05-21 Joseph Myers <joseph@codesourcery.com>
63960
63961 * configure.in (libc_cv_predef_stack_protector): Only consider
63962 "foobar" and "__stack_chk_fail" lines in libc_undefs.
63963 * configure: Regenerated.
63964
63965 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63966
63967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63968 New macro. Use R*LP on int and pointer.
63969 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63970 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63971 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63972 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63973
63974 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63975 [__WORDSIZE_TIME64_COMPAT32] instead of
63976 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63977 (struct utmp): Likewise.
63978 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63979 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63980 Renamed to ...
63981 (__WORDSIZE_TIME64_COMPAT32): This.
63982 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63983 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63984 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63985 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63986 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63987 (__WORDSIZE_TIME64_COMPAT32): New macro.
63988
63989 2012-05-21 Andreas Jaeger <aj@suse.de>
63990
63991 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63992 only if [SHARED]. Add prototype for __wcschr_ia32.
63993
63994 2012-05-21 Roland McGrath <roland@hack.frob.com>
63995
63996 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63997 of %rbp unmolested in the jmp_buf while mangling the low bits.
63998 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63999 unmolested high bits of %rbp while demangling the low bits.
64000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64001
64002 2012-05-21 Andreas Jaeger <aj@suse.de>
64003
64004 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64005 * sunrpc/svc_simple.c: Use it for registerrpc.
64006 * sunrpc/xcrypt.c: Use it for passwd2des.
64007
64008 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64009
64010 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
64011
64012 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64013 Don't define if [__SYSCALL_WORDSIZE != 32].
64014 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64015 New macro.
64016
64017 2012-05-21 Bruno Haible <bruno@clisp.org>
64018 Andreas Jaeger <aj@suse.de>
64019
64020 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64021 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64022 inptr and inend for must_buffer_ch.
64023 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64024 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64025 * stdio-common/Makefile (tests): Remove bug15.
64026 (bug15-ENV): Remove macro.
64027 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64028 anymore.
64029
64030 2012-05-19 Andreas Jaeger <aj@suse.de>
64031 Roland McGrath <roland@hack.frob.com>
64032
64033 * manual/contrib.texi: Completely rewritten. It contains now an
64034 alphabetical list of contributors and their contributions.
64035
64036 2012-05-21 Richard Henderson <rth@twiddle.net>
64037
64038 * misc/getauxval.c (__getauxval): Use unsigned long int.
64039 * misc/sys/auxv.h: Include <sys/cdefs.h>.
64040 (getauxval): Use unsigned long int.
64041
64042 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
64043
64044 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64045
64046 2012-05-21 Roland McGrath <roland@hack.frob.com>
64047
64048 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64049 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64050 __alignof__ (long double).
64051
64052 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64053
64054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64055
64056 2012-05-20 Richard Henderson <rth@twiddle.net>
64057
64058 * misc/getauxval.c: New file.
64059 * misc/sys/auxv.h: New file.
64060 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64061 (routines): Add getauxval.
64062 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64063 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64064 * elf/dl-sysdep.c (_dl_auxv): Remove.
64065 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64066 * elf/dl-support.c (_dl_auxv): New variable.
64067 (_dl_aux_init): Initialize it.
64068 * manual/startup.texi (Auxiliary Vector): New node.
64069 * sysdeps/generic/bits/hwcap.h: New file.
64070 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64071 * sysdeps/powerpc/sysdep.h: ... here. Include it.
64072 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64073 * sysdeps/sparc/sysdep.h: ... here. Include it.
64074 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64075 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64077 Update.
64078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64086
64087 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64088
64089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64090
64091 2012-05-19 David S. Miller <davem@davemloft.net>
64092
64093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64094
64095 2012-05-19 Joseph Myers <joseph@codesourcery.com>
64096
64097 [BZ #14123]
64098 * math/s_ccosh.c: Include <float.h>
64099 (__ccosh): Avoid internal overflow calculating sinh and cosh
64100 values before multiplying by sin and cos values.
64101 * math/s_ccoshf.c: Likewise.
64102 * math/s_ccoshl.c: Likewise.
64103 * math/s_csin.c: Likewise.
64104 * math/s_csinf.c: Likewise.
64105 * math/s_csinl.c: Likewise.
64106 * math/s_csinh.c: Likewise.
64107 * math/s_csinhf.c: Likewise.
64108 * math/s_csinhl.c: Likewise.
64109 * math/libm-test.inc (ccos_test): Add more tests.
64110 (ccosh_test): Likewise.
64111 (csin_test): Likewise.
64112 (csinh_test): Likewise.
64113 * sysdeps/i386/fpu/libm-test-ulps: Update.
64114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64115
64116 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
64117
64118 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64119 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64120
64121 * sysdeps/x86_64/x32/_itoa.h: Add comment.
64122
64123 2012-05-19 Joseph Myers <joseph@codesourcery.com>
64124
64125 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64126 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64127 * sysdeps/powerpc/soft-fp/Versions: Likewise.
64128 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64129 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64130 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64131 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64132 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64133 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64134 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64135 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64136 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64137 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64138 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64139 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64140 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64141 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64142 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64143 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64144 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64145 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64146 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64147 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64148 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64149 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64150 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64151 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64152 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64153 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64154 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64155 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64156
64157 2012-05-18 Andreas Jaeger <aj@suse.de>
64158
64159 * csu/.gitignore: Delete.
64160
64161 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
64162
64163 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64164 (timex): Use __syscall_slong_t.
64165
64166 2012-05-18 Andreas Jaeger <aj@suse.de>
64167 Carlos O'Donell <carlos_odonell@mentor.com>
64168
64169 * manual/install.texi (Configuring and compiling): Update
64170 description about files modified in the source directory.
64171 * INSTALL: Regenerated.
64172
64173 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
64174
64175 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64176 value. Use "or" to set return value to -1.
64177 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64178 negate return value.
64179
64180 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64181
64182 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64183 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64184 failure if the compiler has Graphite support disabled.
64185 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64186 Likewise.
64187 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64188 (CFLAGS-memmove.c): Likewise.
64189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64190 Likewise.
64191
64192 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
64193
64194 * sysdeps/x86_64/x32/_itoa.h: New file.
64195
64196 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64197 getdents system call only if kernel and user dirents have the
64198 same d_ino and d_off.
64199
64200 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64201 LLONG_MAX != LONG_MAX.
64202 (_itoa_word): Use _ITOA_WORD_TYPE on value.
64203 (_fitoa_word): Likewise.
64204
64205 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64206 years.
64207 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64209 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64210
64211 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64212 include <bits/wordsize.h>. Check __x86_64__ instead of
64213 __WORDSIZE.
64214 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64215 if __x86_64__ is defined. Use anonymous union on fpstate.
64216
64217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64218 anonymous union.
64219
64220 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
64221
64222 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64223 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64225 Refer to _rtld_local_ro instead of _rtld_global_ro.
64226 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64227 Likewise.
64228 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64229 Likewise.
64230 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64231 Likewise.
64232 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64233 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64234 of _rtld_global, and rtld_progname instead of _dl_argv[0].
64235
64236 [BZ #10882]
64237 * sysdeps/powerpc/powerpc32/dl-machine.c
64238 (__elf_machine_runtime_setup) [PROF]: Don't reference
64239 _dl_prof_resolve.
64240
64241 2012-05-18 Andreas Jaeger <aj@suse.de>
64242
64243 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64244 function only available for GCCs before 3.4 since GCC 3.4
64245 introduced a builtin.
64246 (lrint): Likewise.
64247 (llrintf): Likewise.
64248 (llrint): Likewise.
64249 (fmaxf): Likewise.
64250 (fmax): Likewise.
64251 (fminf): Likewise.
64252 (fmin): Likewise.
64253 (rint): Likewise.
64254 (rintf): Likewise.
64255 (nearbyint): Likewise.
64256 (nearbyintf): Likewise.
64257 (ceil): Likewise.
64258 (ceilf): Likewise.
64259 (floor): Likewise.
64260 (floorf): Likewise.
64261
64262 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
64263
64264 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64265 on both fields and cast pointer to __syscall_ulong_t.
64266
64267 * bits/types.h (__fsword_t): New type.
64268 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64269 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64271 (__FSWORD_T_TYPE): Likewise.
64272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64273 (__FSWORD_T_TYPE): Likewise.
64274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64275 (__FSWORD_T_TYPE): Likewise.
64276 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64277 (__FSWORD_T_TYPE): Likewise.
64278 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64279 __SWORD_TYPE with __fsword_t.
64280 (statfs64): Likewise.
64281
64282 2012-05-17 David S. Miller <davem@davemloft.net>
64283
64284 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64285
64286 2012-05-17 Andreas Jaeger <aj@suse.de>
64287
64288 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64289 warning.
64290
64291 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
64292
64293 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64294
64295 2012-05-17 Andreas Jaeger <aj@suse.de>
64296
64297 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64298 when it is used.
64299
64300 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
64301
64302 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64303
64304 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
64305
64306 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64307 * sysdeps/x86_64/tst-mallocalign1.c: New file.
64308
64309 2012-05-17 Andreas Jaeger <aj@suse.de>
64310 Carlos O'Donell <carlos_odonell@mentor.com>
64311
64312 [BZ #14059]
64313 * sysdeps/x86_64/multiarch/init-arch.h
64314 (bit_YMM_Usable): Rename to...
64315 (bit_AVX_Usable): ... this.
64316 (bit_FMA4_Usable): New macro.
64317 (bit_XMM_state): New macro.
64318 (bit_YMM_state): New macro.
64319 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64320 [__ASSEMBLER__] (index_AVX_Usable): ... this.
64321 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64322 (CPUID_OSXSAVE): New macro.
64323 (CPUID_AVX): New macro.
64324 (CPUID_FMA4): New macro.
64325 (index_YMM_Usable): Rename to...
64326 (index_AVX_Usable): ... this.
64327 (HAS_AVX): Use HAS_ARCH_FEATURE.
64328 (HAS_FMA4): Likewise.
64329 (HAS_YMM_USABLE): Remove.
64330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64331 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64332 are present.
64333 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64334 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64335 * sysdeps/x86_64/multiarch/Makefile: Likewise.
64336 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64337 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64338
64339 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
64340
64341 * math/libm-test.c: Support platforms without multiple rounding modes.
64342 * math/bug-nextafter.c: Support platforms without FP exceptions.
64343 * math/bug-nexttoward.c: Likewise.
64344 * math/test-fenv.c: Likewise.
64345 * math/test-misc.c: Likewise.
64346 * stdlib/bug-getcontext.c: Likewise.
64347
64348 2012-05-17 Andreas Jaeger <aj@suse.de>
64349
64350 * manual/examples/search.c (critter_cmp): Change signature to
64351 avoid warnings.
64352 * manual/string.texi (Collation Functions): Likewise.
64353
64354 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64355
64356 * bits/types.h: Fold copyright years.
64357 * bits/typesizes.h: Likewise.
64358 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64362 * time/time.h: Likewise.
64363
64364 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
64365
64366 [BZ #208]
64367 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64368 in instead of returning them. Return void.
64369 (__libc_mallinfo): Accumulate over all arenas.
64370 (__malloc_stats): Adjust for change in int_mallinfo interface.
64371
64372 2012-05-16 Roland McGrath <roland@hack.frob.com>
64373
64374 [BZ #10375]
64375 * configure.in (NM): Add AC_CHECK_TOOL for it.
64376 (libc_extra_cflags): New substituted variable.
64377 Check for -fstack-protector being used implicitly.
64378 * configure: Regenerated.
64379 * config.make.in (config-extra-cflags): New variable,
64380 gets @libc_extra_cflags@.
64381 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64382
64383 [BZ #10375]
64384 * configure.in: Check for _FORTIFY_SOURCE being predefined.
64385 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64386 * configure: Regenerated.
64387 * config.make.in (CPPUNDEFS): New substituted variable.
64388 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64389 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64390 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64391
64392 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64393
64394 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64395 (mq_attr): Use __syscall_slong_t.
64396
64397 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64398
64399 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64400 Check __x86_64__ instead of __WORDSIZE.
64401 (_STAT_VER_LINUX): Likewise.
64402 (stat): Check __x86_64__ instead of __WORDSIZE. Use
64403 __syscall_ulong_t and __syscall_slong_t.
64404 (stat64): Likewise.
64405
64406 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64407
64408 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64409
64410 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64411
64412 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64413
64414 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64415
64416 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64417 __syscall_ulong_t.
64418
64419 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64420 include <bits/wordsize.h>. Check __x86_64__ instead of
64421 __WORDSIZE.
64422 (greg_t): Use "__extension__ long long int" if __x86_64__ is
64423 defined.
64424 (mcontext_t): Replace "unsigned long" with "unsigned long long".
64425
64426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64427 include <bits/wordsize.h>. Check __x86_64__ instead of
64428 __WORDSIZE.
64429 (user_regs_struct): Use "__extension__ unsigned long long"
64430 instead of "unsigned long" if __x86_64__ is defined.
64431 (user): Likewise. Pad after pointer field if __ILP32__ is
64432 defined.
64433
64434 2012-05-16 Joseph Myers <joseph@codesourcery.com>
64435
64436 * configure.in (makeinfo): Require version 4.5 or later. Allow
64437 versions 5 to 9.
64438 * configure: Regenerated.
64439 * manual/install.texi (texinfo): Increase version requirement to
64440 4.5 or later.
64441 * INSTALL: Regenerated.
64442
64443 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64444
64445 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64446
64447 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64448
64449 * sysdeps/x86_64/x32/ffs.c: New file.
64450
64451 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64452 __syscall_ulong_t.
64453 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64454 defined. Use __syscall_ulong_t.
64455 (shminfo): Use __syscall_ulong_t.
64456 (shm_info): Likewise.
64457
64458 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64459 __syscall_ulong_t.
64460
64461 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64462 <bits/wordsize.h>.
64463 (msgqnum_t): Use __syscall_ulong_t.
64464 (msglen_t): Likewise.
64465 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
64466 __syscall_ulong_t.
64467
64468 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64469 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
64470
64471 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64472
64473 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64474 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64475
64476 * sysvipc/sys/msg.h (msgbuf): Replace long int with
64477 __syscall_slong_t.
64478
64479 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64480 include <bits/wordsize.h>. Check __x86_64__ instead of
64481 __WORDSIZE.
64482
64483 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64484 "unsigned long long int" if __x86_64__ is defined.
64485 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64486
64487 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64488 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
64489 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64490
64491 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64492 <stdint.h>.
64493 (GET_PC): Cast to uintptr_t first.
64494 (GET_FRAME): Likewise.
64495 (GET_STACK): Likewise.
64496
64497 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64499 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64501 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64503 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64504 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64505 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64508 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64510 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64524 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64526
64527 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
64528
64529 * Makerules (+depfiles): Also collect depfiles from .oS in
64530 $(extra-objs).
64531 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64532 .oS, $(libnldbl-routines)).
64533
64534 * Makerules (native-compile-mkdep-flags): Define.
64535 * sunrpc/Makefile (extra-objs): Add $(addprefix
64536 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64537 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64538 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
64539 calling $(make-target-directory).
64540
64541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64542
64543 * bits/types.h (__snseconds_t): Removed.
64544 * time/time.h (struct timespec): Replace __snseconds_t with
64545 __syscall_slong_t.
64546 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64547 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64548 Likewise.
64549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64550 (__SNSECONDS_T_TYPE): Likewise.
64551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64552 (__SNSECONDS_T_TYPE): Likewise.
64553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64554 (__SNSECONDS_T_TYPE): Likewise.
64555
64556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64557
64558 * sysdeps/mach/hurd/bits/typesizes.h
64559 (__SYSCALL_SLONG_TYPE): New macro.
64560 (__SYSCALL_ULONG_TYPE): Likewise.
64561
64562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64563
64564 * bits/types.h (__syscall_slong_t): New type.
64565 (__syscall_ulong_t): Likewise.
64566
64567 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64568 (__SYSCALL_ULONG_TYPE): Likewise.
64569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64570 (__SYSCALL_SLONG_TYPE): Likewise.
64571 (__SYSCALL_ULONG_TYPE): Likewise.
64572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64573 (__SYSCALL_SLONG_TYPE): Likewise.
64574 (__SYSCALL_ULONG_TYPE): Likewise.
64575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64576 (__SYSCALL_SLONG_TYPE): Likewise.
64577 (__SYSCALL_ULONG_TYPE): Likewise.
64578
64579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64580
64581 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64582 Add sigaltstack-offsets.sym.
64583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64584 <sigaltstack-offsets.h>.
64585 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
64586 longjmp_msg pointer.
64587 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
64588 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64589 signal stack.
64590 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64591
64592 2012-05-15 Joseph Myers <joseph@codesourcery.com>
64593
64594 * elf/stackguard-macros.h: Remove file.
64595 * sysdeps/generic/stackguard-macros.h: New file.
64596 * sysdeps/i386/stackguard-macros.h: Likewise.
64597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64603 * sysdeps/x86_64/stackguard-macros.h: Likewise.
64604 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64605 <elf/stackguard-macros.h>.
64606
64607 [BZ #14109]
64608 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64609 __aligned__ in attribute.
64610 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64611 (gregset_t): Likewise.
64612
64613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64614
64615 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64616 * sysdeps/x86_64/64/Implies-after: Here. New file.
64617 * sysdeps/x86_64/x32/Implies-after: New file.
64618
64619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64620
64621 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64622 and access return value for _dl_profile_fixup. Use R10_LP to
64623 load frame size.
64624
64625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64626
64627 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64628
64629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64630
64631 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64632 * sysdeps/x86_64/x32/sysdep.h: New file.
64633
64634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64635
64636 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64637 * sysdeps/x86_64/setjmp.S: Likewise.
64638
64639 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64640
64641 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64643 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64645 remove unused global constant.
64646
64647 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
64648
64649 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64650 include of <not-cancel.h>.
64651
64652 2012-05-15 Roland McGrath <roland@hack.frob.com>
64653
64654 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64655
64656 2012-05-15 Jeff Law <law@redhat.com>
64657 Andreas Jaeger <aj@suse.de>
64658
64659 [BZ #13594]
64660 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64661 out from...
64662 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64663 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64664 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64665 code changing __hst_map_handle.map.
64666
64667 2012-05-15 Roland McGrath <roland@hack.frob.com>
64668
64669 * configure.in (sysnames): Look for Implies-before and Implies-after
64670 files.
64671 * configure: Regenerated.
64672
64673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64674
64675 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64676 8-byte data alignment with LP_SIZE alignment.
64677
64678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64679
64680 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64681 into R10_LP.
64682
64683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64684
64685 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64686
64687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64688
64689 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64690 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64692 Likewise.
64693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64694
64695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64696
64697 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64698 (stackinfo_sub_sp): Likewise.
64699
64700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64701
64702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64703 RAX_LP.
64704
64705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64706
64707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64708 into R*_LP.
64709
64710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64711
64712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64713 sizes into R*_LP.
64714
64715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64716
64717 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64718
64719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64720
64721 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64722 into R11_LP and load __x86_64_shared_cache_size_half into
64723 R8_LP.
64724
64725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64726
64727 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64728 R8_LP.
64729
64730 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64731
64732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64733 logb for POWER7.
64734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64735 logbf for POWER7.
64736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64737 logbl for POWER7.
64738 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64739 powerpc32/power7/fpu/s_logb.c via #include.
64740 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64741 powerpc32/power7/fpu/s_logbf.c via #include.
64742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64743 powerpc32/power7/fpu/s_logbl.c via #include.
64744
64745 2012-05-15 Joseph Myers <joseph@codesourcery.com>
64746
64747 * README.libm: Remove file.
64748
64749 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64750
64751 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64752 count for x32. Use R*_LP and omit operand-size suffix.
64753
64754 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64755
64756 * shlib-versions: Move x86_64-.*-linux.* entries to ...
64757 * sysdeps/x86_64/64/shlib-versions: Here. New file.
64758 * sysdeps/x86_64/x32/shlib-versions: New file.
64759
64760 2012-05-14 Roland McGrath <roland@hack.frob.com>
64761
64762 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64763 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64764 Use _dl_fatal_printf instead.
64765
64766 2012-05-14 Joseph Myers <joseph@codesourcery.com>
64767
64768 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64769 set if not set by the user. Do not allow for being unset.
64770 * sysdeps/unix/sysv/linux/configure: Regenerated.
64771
64772 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64773
64774 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64775 the `q' suffix from lea and replace .quad with ASM_ADDR.
64776
64777 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64778
64779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64780 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
64781 instead of $17.
64782 (PTR_DEMANGLE): Likewise.
64783
64784 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64785
64786 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64787 (LP_OP): Likewise.
64788 (ASM_ADDR): Likewise.
64789 (RAX_LP): Likewise.
64790 (RBP_LP): Likewise.
64791 (RBX_LP): Likewise.
64792 (RCX_LP): Likewise.
64793 (RDI_LP): Likewise.
64794 (RSI_LP): Likewise.
64795 (RSP_LP): Likewise.
64796 (R8_LP): Likewise.
64797 (R9_LP): Likewise.
64798 (R10_LP): Likewise.
64799 (R10_LP): Likewise.
64800 (R11_LP): Likewise.
64801 (R12_LP): Likewise.
64802 (R13_LP): Likewise.
64803 (R14_LP): Likewise.
64804 (R15_LP): Likewise.
64805
64806 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64807
64808 * sysdeps/x86_64/x32/dl-machine.h: New file.
64809
64810 2012-05-14 Andreas Jaeger <aj@suse.de>
64811
64812 * manual/Makefile (subdir): Remove export of subdir.
64813 (all): Remove target.
64814 (.PHONY): Remove all from list.
64815 (mkinstalldirs): Remove.
64816 (.PHONY): Remove installdirs from list.
64817 ($(inst_infodir)/libc.info): Use make-target-directory.
64818 (installdirs): Remove.
64819 (subdir_%): Remove.
64820 (glibc-targets): Remove.
64821 (lib): Remove.
64822 (stubs): Remove.
64823 ($(objpfx)stubs ../po/manual.pot): Remove.
64824 ($(objpfx)stamp%): Remove.
64825 (make-target-directory): Remove.
64826 (subdir_install): Remove.
64827 (routines): Remove.
64828 (aux): Remove.
64829 (sources): Remove.
64830 (objects): Remove.
64831 (headers): Remove.
64832
64833 [BZ #13750]
64834 * manual/.gitignore: Remove, it's not needed anymore.
64835 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64836 all files in it.
64837 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64838 directory.
64839 (texis): Renamed to $(objpfx)texis.
64840 (texis-path): New, contains path to generated files.
64841 (chapters.%): Use texis-path for complete path, add extra argument
64842 libc-texinfo.sh.
64843 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64844 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64845 (summary,texi, stamp-summary): Use complete path of
64846 files. Generate files in build dir.
64847 (dir-add.texi): Build in build dir.
64848 (libm-err.texi,stamp-libm-err): Likewise.
64849 (version.texi, stamp-version): Likewise.
64850 (.%c.texi): Likewise.
64851 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64852 (mostlyclean): Remove target.
64853 (realclean): Remove target.
64854 (generated): Add new variable with contents from mostlyclean and
64855 realclean, remove entries duplicated in common-mostlyclean, add
64856 stamp-libm-err and stamp-version.
64857 (generated-dirs): Add libc directory.
64858 ($(inst_infodir)/libc.info): Install files from build dir.
64859
64860 * manual/install.texi (Configuring and compiling): Adjust since
64861 the info files are not part of the tar ball anymore.
64862
64863 2012-05-14 Andreas Jaeger <aj@suse.de>
64864
64865 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64866 variable.
64867
64868 2012-05-14 Joseph Myers <joseph@codesourcery.com>
64869
64870 [BZ #13717]
64871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64872 to 2.2.0 where earlier.
64873 * sysdeps/unix/sysv/linux/configure: Regenerated.
64874 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64875 Remove conditional code.
64876 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64877 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64878 Remove conditional code.
64879 [!__NR_lchown]: Likewise.
64880 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64881 [__NR_lchown]: Likewise.
64882 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64883 comment referencing __ASSUME_LCHOWN_SYSCALL.
64884 * sysdeps/unix/sysv/linux/i386/sigaction.c
64885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64887 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64888 Remove conditional code.
64889 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64890 (__protocol_available): Remove #if 0 code.
64891 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64892 conditional code.
64893 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64894 * sysdeps/unix/sysv/linux/kernel-features.h
64895 (__ASSUME_GETCWD_SYSCALL): Don't define.
64896 (__ASSUME_REALTIME_SIGNALS): Likewise.
64897 (__ASSUME_PREAD_SYSCALL): Likewise.
64898 (__ASSUME_PWRITE_SYSCALL): Likewise.
64899 (__ASSUME_POLL_SYSCALL): Likewise.
64900 (__ASSUME_LCHOWN_SYSCALL): Likewise.
64901 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64902 non-SPARC.
64903 (__ASSUME_SIOCGIFNAME): Don't define.
64904 (__ASSUME_MSG_NOSIGNAL): Likewise.
64905 (__ASSUME_SENDFILE): Define unconditionally.
64906 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64907 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64908 conditional code.
64909 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64910 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64911 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64912 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64913 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64914 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64915 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64917 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64920 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64923 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64926 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64929 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64932 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64935 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64938 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64940 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64941 Remove conditional code.
64942 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64943 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64944 Remove conditional code.
64945 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64946 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64947 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64948 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64949 Remove conditional code.
64950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64951 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64952 Remove conditional code.
64953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64954 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64955 Remove conditional code.
64956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64957 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64958 Remove conditional code.
64959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64960 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64961 Remove conditional code.
64962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64963 * sysdeps/unix/sysv/linux/sh/pwrite64.c
64964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64966 * sysdeps/unix/sysv/linux/sigaction.c
64967 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64968 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64969 * sysdeps/unix/sysv/linux/sigpending.c
64970 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64971 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64972 * sysdeps/unix/sysv/linux/sigprocmask.c
64973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64975 * sysdeps/unix/sysv/linux/sigsuspend.c
64976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64979 (__libc_missing_rt_sigs): Remove.
64980 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64981 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64982 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64983 Remove conditional code.
64984 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64985 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64986 return 1.
64987 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64988 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64989 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64990 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64991
64992 2012-05-14 Andreas Jaeger <aj@suse.de>
64993
64994 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64995 it's not used in glibc.
64996 (__coshm1): Likewise.
64997 (__acosh1p): Likewise.
64998 (__sgn): Likewise.
64999
65000 * manual/string.texi (Copying and Concatenation): Add missing
65001 variable in concat example.
65002 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65003
65004 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65005
65006 [BZ #14103]
65007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65008 __builtin_clzl with __builtin_clzll.
65009
65010 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65011
65012 [BZ #14104]
65013 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65014 libc_freeres_ptr.
65015
65016 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65017
65018 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65019 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65020 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65021 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65022
65023 2012-05-14 Mike Frysinger <vapier@gentoo.org>
65024
65025 * NEWS: Update ia64 info.
65026
65027 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
65028
65029 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65030 used as bcopy.
65031
65032 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
65033
65034 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65035 * sysdeps/unix/syscalls.list (dup3): Likewise.
65036 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65037 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65038
65039 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
65040
65041 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65042 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65043
65044 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
65045
65046 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65047 thread pointer.
65048 (TLS_IE): Use mov/add instead of movq/addq to load thread
65049 pointer.
65050 (TLS_GD_PREFIX): New.
65051 (TLS_GD): Use it.
65052
65053 2012-05-11 David S. Miller <davem@davemloft.net>
65054
65055 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65056 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65057 (_FPU_SETCW): Likewise.
65058
65059 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65060
65061 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65062 is 32-byte aligned.
65063
65064 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
65065
65066 [BZ #11837]
65067 * iconvdata/gb18030.c: Update tables.
65068 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
65069 characters specially.
65070 (BODY for TO_LOOP): Add encoding of missing ranges.
65071
65072 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
65073
65074 [BZ #13673]
65075 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65076 * sysdeps/mach/hurd/dup3.c: Likewise.
65077 * sysdeps/mach/hurd/readlinkat.c: Likewise.
65078 * sysdeps/powerpc/memmove.c:: Likewise.
65079
65080 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65081
65082 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65083 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65084
65085 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65086
65087 * elf/elf.h (R_X86_64_RELATIVE64): New.
65088 (R_X86_64_NUM): Updated.
65089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65090 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
65091 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65092 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65093 tst-quad1pie tst-quad2pie
65094 (modules-names): Add tst-quadmod1 tst-quadmod2.
65095 ($(objpfx)tst-quad1): New dependency.
65096 ($(objpfx)tst-quad2): Likewise.
65097 ($(objpfx)tst-quad1pie): Likewise.
65098 ($(objpfx)tst-quad2pie): Likewise.
65099 * sysdeps/x86_64/tst-quad1.c: New file.
65100 * sysdeps/x86_64/tst-quad1pie.c: New file.
65101 * sysdeps/x86_64/tst-quad2.c: Likewise.
65102 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65103 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65104 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65105 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65106 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65107
65108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65109
65110 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65111 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65112 * streams/stropts.h (t_scalar_t): Define type.
65113
65114 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65115 (_PATH_PRESERVE): Set to "/var/lib".
65116 (_PATH_RWHODIR): Set to "/var/spool/rwho".
65117
65118 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65119 instead of int.
65120
65121 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65122 if __dir_mkfile succeeded.
65123
65124 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65125 checking for _hurd_dtablesize. Unlock it right after having
65126 finished _hurd_dtable allocation.
65127
65128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65129
65130 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65131 * sysdeps/mach/hurd/configure: Regenerated.
65132 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65133 special-casing to...
65134 * sysdeps/gnu/configure.in: ... this new file.
65135 * sysdeps/unix/sysv/linux/configure: Regenerated.
65136 * sysdeps/gnu/configure: New generated file.
65137
65138 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65139 for Linux: use nsec instead of usec, as well as:
65140 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65141 members of type struct timespec.
65142 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65143 New macros.
65144 (struct stat64): Likewise.
65145 (_STATBUF_ST_NSEC): New macro.
65146 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65147
65148 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65149 __strtoul_internal rather than strtoul.
65150
65151 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65152
65153 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65154 and reject them.
65155
65156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65157
65158 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65159 which preserves existing values.
65160 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65161
65162 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65163
65164 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65165 TIMEOUT values. Return EINVAL for NFDS values either negative or
65166 greater than FD_SETSIZE.
65167
65168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65169
65170 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65171 allocated, call __vm_protect to finish enabling the existing space, and
65172 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65173 allocate the remainder.
65174
65175 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65176
65177 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65178 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
65179
65180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65181
65182 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65183 sysdeps/mach/hurd/readlink.c.
65184
65185 * posix/tst-sysconf.c (posix_options): Only use
65186 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65187 _POSIX_SYNCHRONIZED_IO when they are defined
65188 * sysdeps/mach/hurd/bits/posix_opt.h:
65189 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65190 (_XOPEN_REALTIME): Undefine macro.
65191 (_XOPEN_REALTIME_THREADS): Undefine macro.
65192 (_XOPEN_SHM): Undefine macro.
65193 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65194 macro to -1.
65195 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65196 macro to -1.
65197 (_POSIX_ASYNC_IO): Undefine macro.
65198 (_POSIX_PRIORITIZED_IO): Undefine macro.
65199 (_POSIX_SPIN_LOCKS): Define macro to -1.
65200
65201 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65202 SA_NODEFER, SA_RESETHAND.
65203 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65204 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65205 F_DUPFD_CLOEXEC.
65206
65207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65208
65209 * elf/Makefile (pldd-modules): Define unconditionally.
65210
65211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65212
65213 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65214
65215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65216
65217 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65218 Return ENOENT when name is empty.
65219 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65220
65221 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65222
65223 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65224
65225 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65226
65227 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65228
65229 Fix mlock in all cases except non-readable pages.
65230 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65231 instead of VM_PROT_ALL as parameter to __vm_wire function.
65232
65233 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65234 (__mkdir): When path is `/', just fail with EEXIST.
65235 * sysdeps/mach/hurd/mkdirat.c: Likewise.
65236
65237 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65238
65239 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65240 <sys/uio.h> (for writev).
65241 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65242 and <sys/param.h> (for MIN).
65243
65244 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65245
65246 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65247 REQUESTED_TIME. Properly set the remaining time and return EINTR
65248 if interrupted.
65249
65250 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65251
65252 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65253 Depend on against $(link-rpcuserlibs).
65254
65255 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65256
65257 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65258 (__libc_stack_end): Do not use attribute_relro.
65259 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65260 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65261 to libthread-provided value.
65262 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65263 attribute_relro.
65264
65265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65266
65267 [BZ #3748]
65268 * bits/libc-lock.h (__libc_once_get): New macro.
65269 * sysdeps/mach/bits/libc-lock.h: Likewise.
65270 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65272 instead of using implementation details.
65273
65274 * libio/fileops.c: Unconditionally include <kernel-features.h>.
65275 * libio/freopen.c: Likewise.
65276 * libio/freopen64.c: Likewise.
65277 * misc/syslog.c: Likewise.
65278 * nscd/connections.c: Likewise.
65279 * nscd/netgroupcache.c: Likewise.
65280 * sysdeps/posix/getcwd.c: Likewise.
65281
65282 2012-05-10 Roland McGrath <roland@hack.frob.com>
65283
65284 * math/w_ilogbf.c: Add #include <limits.h>.
65285
65286 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65287
65288 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65289 path instead of returning without unlocking.
65290
65291 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65292 immediate-write ioctls.
65293 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65294
65295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65296
65297 * sysdeps/mach/hurd/i386/init-first.c (init): Use
65298 __builtin_frame_address instead of making assumptions about the
65299 location of the return address relative to DATA. Force early load of
65300 the return address.
65301 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65302 __builtin_frame_address.
65303
65304 dup3 for GNU Hurd.
65305 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65306 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
65307 implement dup3 and do some further code clean-ups.
65308 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65309 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65310
65311 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65312
65313 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65314
65315 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65316 HURD_CRITICAL_END around holding _hurd_dtable_lock.
65317 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65318 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65319 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65320 d->port.lock.
65321
65322 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65323 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
65324 when handler == SIG_ERR, not when handler != SIG_ERR.
65325
65326 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65327
65328 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65329 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65330 definitions.
65331
65332 accept4 for GNU Hurd.
65333 * include/sys/socket.h (__libc_accept4): New prototype.
65334 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
65335 to implement __libc_accept4.
65336 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65337 __libc_accept4.
65338 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65339
65340 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65341 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65342 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65343 signal-defines.sym.
65344
65345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65346
65347 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65348
65349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65350
65351 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65352 assertion on O_CLOEXEC flag.
65353 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65354 * hurd/intern-fd.c: Likewise.
65355 * hurd/port2fd.c: Likewise.
65356
65357 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65358
65359 [BZ #3906]
65360 * bits/in.h (IPV6_PKTINFO): Define new macro.
65361 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65362
65363 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65364
65365 [BZ #13954]
65366 [BZ #13955]
65367 [BZ #13956]
65368 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65369 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65370 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65371 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65373 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65374 * math/libm-test.inc (logb_test) : Additional logb tests.
65375
65376 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
65377 Andreas Jaeger <aj@suse.de>
65378
65379 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65380 * configure: Regenerated.
65381 * config.h.in (LINK_OBSOLETE_RPC): New macro.
65382 * config.make.in (link-obsolete-rpc): New substituted variable.
65383 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65384 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65385 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65386 (shared-only-routines): Don't set it under [link-obsolete-rpc],
65387 so that libc.a contains the symbols.
65388 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65389 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65390 * sunrpc/auth_none.c: Likewise.
65391 * sunrpc/auth_unix.c: Likewise.
65392 * sunrpc/authdes_prot.c: Likewise.
65393 * sunrpc/authuxprot.c: Likewise.
65394 * sunrpc/clnt_gen.c: Likewise.
65395 * sunrpc/clnt_perr.c: Likewise.
65396 * sunrpc/clnt_raw.c: Likewise.
65397 * sunrpc/clnt_simp.c: Likewise.
65398 * sunrpc/clnt_tcp.c: Likewise.
65399 * sunrpc/clnt_udp.c: Likewise.
65400 * sunrpc/clnt_unix.c: Likewise.
65401 * sunrpc/des_crypt.c: Likewise.
65402 * sunrpc/des_soft.c: Likewise.
65403 * sunrpc/get_myaddr.c: Likewise.
65404 * sunrpc/key_call.c: Likewise.
65405 * sunrpc/key_prot.c: Likewise.
65406 * sunrpc/netname.c: Likewise.
65407 * sunrpc/pm_getmaps.c: Likewise.
65408 * sunrpc/pm_getport.c: Likewise.
65409 * sunrpc/pmap_clnt.c: Likewise.
65410 * sunrpc/pmap_prot.c: Likewise.
65411 * sunrpc/pmap_prot2.c: Likewise.
65412 * sunrpc/pmap_rmt.c: Likewise.
65413 * sunrpc/publickey.c: Likewise.
65414 * sunrpc/rpc_cmsg.c: Likewise.
65415 * sunrpc/rpc_common.c: Likewise.
65416 * sunrpc/rpc_dtable.c: Likewise.
65417 * sunrpc/rpc_prot.c: Likewise.
65418 * sunrpc/rpc_thread.c: Likewise.
65419 * sunrpc/rtime.c: Likewise.
65420 * sunrpc/svc.c: Likewise.
65421 * sunrpc/svc_auth.c: Likewise.
65422 * sunrpc/svc_raw.c: Likewise.
65423 * sunrpc/svc_run.c: Likewise.
65424 * sunrpc/svc_tcp.c: Likewise.
65425 * sunrpc/svc_udp.c: Likewise.
65426 * sunrpc/svc_unix.c: Likewise.
65427 * sunrpc/svcauth_des.c: Likewise.
65428 * sunrpc/xcrypt.c: Likewise.
65429 * sunrpc/xdr.c: Likewise.
65430 * sunrpc/xdr_array.c: Likewise.
65431 * sunrpc/xdr_float.c: Likewise.
65432 * sunrpc/xdr_intXX_t.c: Likewise.
65433 * sunrpc/xdr_mem.c: Likewise.
65434 * sunrpc/xdr_rec.c: Likewise.
65435 * sunrpc/xdr_ref.c: Likewise.
65436 * sunrpc/xdr_sizeof.c: Likewise.
65437 * sunrpc/xdr_stdio.c: Likewise.
65438
65439 2012-05-10 Roland McGrath <roland@hack.frob.com>
65440
65441 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65442 change. Update copyright years.
65443
65444 2012-05-10 Joseph Myers <joseph@codesourcery.com>
65445
65446 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65447
65448 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
65449 Joseph Myers <joseph@codesourcery.com>
65450 Paul Pluzhnikov <ppluzhnikov@google.com>
65451
65452 [BZ #14012]
65453 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65454 requiring rpcgen.
65455 [cross-compiling] (extra-libs): Likewise.
65456 [cross-compiling] (extra-libs-others): Likewise.
65457 [cross-compiling] (librpcsvc-routines): Likewise.
65458 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65459 [cross-compiling] (omit-deps): Likewise.
65460 (sunrpc-CPPFLAGS): New variable.
65461 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65462 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65463 (cross-rpcgen-objs): New variable.
65464 (extra-objs): Append $(cross-rpcgen-objs).
65465 ($(cross-rpcgen-objs)): New rule.
65466 ($(objpfx)cross-rpcgen): Likewise.
65467 (rpcgen-cmd): Define to use $(built-program-file). Expand
65468 comment.
65469 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65470 ($(objpfx)x%.stmp): Likewise.
65471 * sunrpc/proto.h [IS_IN_build] (_): Define.
65472 [IS_IN_build] (_libc_intl_domainname): Likewise.
65473
65474 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65475
65476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65477 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65478 and R_X86_64_TPOFF64.
65479
65480 2012-05-10 Joseph Myers <joseph@codesourcery.com>
65481
65482 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65483 sysdeps/unix/sysv/syscalls.list.
65484 (stime): Likewise.
65485 (utime): Likewise.
65486 * sysdeps/unix/sysv/syscalls.list: Remove file.
65487
65488 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
65489
65490 [BZ #3440]
65491 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65492 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65493 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65494 (__LC_IDENTIFICATION): Make these macros useful in #if
65495 expressions, as required by C99.
65496
65497 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
65498
65499 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65500 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
65501 after this.
65502
65503 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
65504
65505 * stdlib/longlong.h: Updated from GCC.
65506
65507 2012-05-09 Andreas Jaeger <aj@suse.de>
65508
65509 * nscd/nscd.c (run_modes): Make named enum, reorder so that
65510 default is first entry.
65511 (run_mode): Set type.
65512 (main): Remove informal message about syslog.
65513 (options): Fix typo.
65514
65515 [BZ #14053]
65516 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65517 to asm.
65518 (lrint): Likewise.
65519 (llrintf): Likewise.
65520 (llrint): Likewise.
65521 (rint): Likewise.
65522 (rintf): Likewise.
65523 (nearbyint): Likewise.
65524 (nearbyintf): Likewise.
65525
65526 2012-05-09 Andreas Jaeger <aj@suse.de>
65527 Pedro Alves <palves@redhat.com>
65528
65529 * nscd/nscd.c (run_mode): Use enum.
65530 (main): Cleanup coding style issue.
65531
65532 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
65533 Andreas Jaeger <aj@suse.de>
65534
65535 * nscd/nscd.c (go_background): Replaced with...
65536 (run_mode): ... this.
65537 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65538 (options): Add -F --foreground.
65539 (main): Implement it.
65540 (parse_opt): Parse it.
65541
65542 2012-05-09 Andreas Jaeger <aj@suse.de>
65543
65544 [BZ #14083]
65545 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65546 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65547 -Wconversion warning.
65548 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65549 Likewise.
65550
65551 2012-05-09 Joseph Myers <joseph@codesourcery.com>
65552
65553 * conform/data/locale.h-data (NULL): Use macro-constant. Require
65554 == 0.
65555 (LC_ALL): Use macro-int-constant.
65556 (LC_COLLATE): Likewise.
65557 (LC_CTYPE): Likewise.
65558 (LC_MESSAGES): Likewise.
65559 (LC_MONETARY): Likewise.
65560 (LC_NUMERIC): Likewise.
65561 (LC_TIME): Likewise.
65562 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65563 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65565 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65566 Specify type.
65567 [C99-based standards] (float_t): Expect type.
65568 [C99-based standards] (double_t): Expect type.
65569 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
65570 type.
65571 [C99-based standards] (HUGE_VALL): Likewise.
65572 [C99-based standards] (INFINITY): Likewise.
65573 [C99-based standards] (NAN): Likewise.
65574 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65575 [C99-based standards] (FP_NAN): Likewise.
65576 [C99-based standards] (FP_NORMAL): Likewise.
65577 [C99-based standards] (FP_SUBNORMAL): Likewise.
65578 [C99-based standards] (FP_ZERO): Likewise.
65579 [C99-based standards] (FP_FAST_FMA): Use
65580 optional-macro-int-constant. Specify type. Require == 1.
65581 [C99-based standards] (FP_FAST_FMAF): Likewise.
65582 [C99-based standards] (FP_FAST_FMAL): Likewise.
65583 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65584 [C99-based standards] (FP_ILOGBNAN): Likewise.
65585 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65586 Specify type.
65587 [C99-based standards] (MATH_ERREXCEPT): Likewise.
65588 [C99-based standards] (math_errhandling): Specify type.
65589 [ISO99 || ISO11] (signgam): Do not allow.
65590 [non-C99-based standards] (copysignf): Do not allow.
65591 [non-C99-based standards] (exp2f): Likewise.
65592 [non-C99-based standards] (log2f): Likewise.
65593 [non-C99-based standards] (modff): Allow.
65594 [non-C99-based standards] (erff): Do not allow.
65595 [non-C99-based standards] (erfcf): Likewise.
65596 [non-C99-based standards] (gammaf): Likewise.
65597 [non-C99-based standards] (hypotf): Likewise.
65598 [non-C99-based standards] (j0f): Likewise.
65599 [non-C99-based standards] (j1f): Likewise.
65600 [non-C99-based standards] (jnf): Likewise.
65601 [non-C99-based standards] (lgammaf): Likewise.
65602 [non-C99-based standards] (tgammaf): Likewise.
65603 [non-C99-based standards] (y0f): Likewise.
65604 [non-C99-based standards] (y1f): Likewise.
65605 [non-C99-based standards] (ynf): Likewise.
65606 [non-C99-based standards] (isnanf): Likewise.
65607 [non-C99-based standards] (acoshf): Likewise.
65608 [non-C99-based standards] (asinhf): Likewise.
65609 [non-C99-based standards] (atanhf): Likewise.
65610 [non-C99-based standards] (cbrtf): Likewise.
65611 [non-C99-based standards] (expm1f): Likewise.
65612 [non-C99-based standards] (ilogbf): Likewise.
65613 [non-C99-based standards] (log1pf): Likewise.
65614 [non-C99-based standards] (logbf): Likewise.
65615 [non-C99-based standards] (nextafterf): Likewise.
65616 [non-C99-based standards] (remainderf): Likewise.
65617 [non-C99-based standards] (rintf): Likewise.
65618 [non-C99-based standards] (scalbf): Likewise.
65619 [non-C99-based standards] (copysignl): Likewise.
65620 [non-C99-based standards] (exp2l): Likewise.
65621 [non-C99-based standards] (log2l): Likewise.
65622 [non-C99-based standards] (modfl): Allow.
65623 [non-C99-based standards] (erfl): Do not allow.
65624 [non-C99-based standards] (erfcl): Likewise.
65625 [non-C99-based standards] (gammal): Likewise.
65626 [non-C99-based standards] (hypotl): Likewise.
65627 [non-C99-based standards] (j0l): Likewise.
65628 [non-C99-based standards] (j1l): Likewise.
65629 [non-C99-based standards] (jnl): Likewise.
65630 [non-C99-based standards] (lgammal): Likewise.
65631 [non-C99-based standards] (tgammal): Likewise.
65632 [non-C99-based standards] (y0l): Likewise.
65633 [non-C99-based standards] (y1l): Likewise.
65634 [non-C99-based standards] (ynl): Likewise.
65635 [non-C99-based standards] (isnanl): Likewise.
65636 [non-C99-based standards] (acoshl): Likewise.
65637 [non-C99-based standards] (asinhl): Likewise.
65638 [non-C99-based standards] (atanhl): Likewise.
65639 [non-C99-based standards] (cbrtl): Likewise.
65640 [non-C99-based standards] (expm1l): Likewise.
65641 [non-C99-based standards] (ilogbl): Likewise.
65642 [non-C99-based standards] (log1pl): Likewise.
65643 [non-C99-based standards] (logbl): Likewise.
65644 [non-C99-based standards] (nextafterl): Likewise.
65645 [non-C99-based standards] (remainderl): Likewise.
65646 [non-C99-based standards] (rintl): Likewise.
65647 [non-C99-based standards] (scalbl): Likewise.
65648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65649 [non-C99-based standards] (FP_*): Do not allow.
65650 [C99-based standards] (FP_*): Change to
65651 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65652 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65653 allow.
65654 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65655 (SIG_ERR): Likewise.
65656 [X/Open-based standards] (SIG_HOLD): Likewise.
65657 (SIG_IGN): Likewise.
65658 (SIGABRT): Use macro-int-constant. Specify type. Require
65659 positive value.
65660 (SIGFPE): Likewise.
65661 (SIGILL): Likewise.
65662 (SIGINT): Likewise.
65663 (SIGSEGV): Likewise.
65664 (SIGTER): Likewise.
65665 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65666 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65667 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65668 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65669 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65670 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65671 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65672 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65673 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65674 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65675 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65676 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65677 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65678 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65679 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65680 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65681 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65682 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65683 [X/Open-based standards] (SIGTRAP): Likewise.
65684 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65685 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65686 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65687 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65688 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65689 allow.
65690
65691 2012-05-08 Ian Wienand <ianw@vmware.com>
65692
65693 [BZ #14080]
65694 * time/tzset.c (__tzset_parse_tz): Update default rules for
65695 daylight time changes in the Energy Policy Act of 2005.
65696
65697 2012-05-09 Andreas Jaeger <aj@suse.de>
65698
65699 [BZ #13983]
65700 * elf/ldconfig.c (parse_conf): Change string to make clear that
65701 ldconfig only issued a warning if ld.so.conf does not exist.
65702
65703 2012-05-08 David S. Miller <davem@davemloft.net>
65704
65705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65706 movxtod instead of popping the value on the stack.
65707
65708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65709
65710 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
65711
65712 * config.h.in: Add HAVE_ARM_PCS_VFP.
65713
65714 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
65715
65716 [BZ #13979]
65717 * include/features.h: Warn if user requests __FORTIFY_SOURCE
65718 checking but the checks are disabled for any reason.
65719
65720 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
65721
65722 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65723 and ELF64_R_TYPE with ELFW(R_TYPE).
65724
65725 2012-05-08 Joseph Myers <joseph@codesourcery.com>
65726
65727 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65728 (ulimit): Likewise.
65729
65730 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65731 (settimeofday): Likewise.
65732
65733 2012-05-08 Mike Frysinger <vapier@gentoo.org>
65734
65735 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
65736 a struct th_u2 inside the union, and move tu_block/tu_code into
65737 a new th_u3 union of tu_block/tu_code inside of that. Move
65738 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
65739 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
65740 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65741 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65742 (th_stuff): Change to th_u1.tu_stuff.
65743 (th_data): Define.
65744 (th_msg): Change to th_u1.th_u2.tu_data.
65745
65746 2012-05-07 David S. Miller <davem@davemloft.net>
65747
65748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65749
65750 [BZ #14074]
65751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65752 (SETUP_PIC_REG): Use it.
65753 (SETUP_PIC_REG_LEAF): Use it.
65754
65755 2012-05-07 Joseph Myers <joseph@codesourcery.com>
65756
65757 [BZ #13885]
65758 [BZ #13923]
65759 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65760 USE_AS_EXPM1L.
65761 (EXPL_FINITE): Likewise.
65762 (FLDLOG): Likewise.
65763 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65764 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65765 e_expl.S.
65766 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65767 USE_AS_EXPM1L.
65768 (EXPL_FINITE): Likewise.
65769 (FLDLOG): Likewise.
65770 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65771 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65772 e_expl.S.
65773 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
65774 test of -max_value argument for long double.
65775 * sysdeps/i386/fpu/libm-test-ulps: Update.
65776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65777
65778 2012-05-06 David S. Miller <davem@davemloft.net>
65779
65780 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65781 quad soft-float symbols whose references which are compiler
65782 generated.
65783 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65784
65785 2012-05-06 Joseph Myers <joseph@codesourcery.com>
65786
65787 [BZ #13884]
65788 [BZ #13914]
65789 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65790 USE_AS_EXP10L.
65791 (EXPL_FINITE): Likewise.
65792 (FLDLOG): Likewise.
65793 (c0): Likewise.
65794 (c1): Likewise.
65795 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
65796 Adjust comments for base varying.
65797 (__expl_finite): Change alias to EXPL_FINITE.
65798 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65799 e_expl.S.
65800 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65801 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65802 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65803 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65804 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65805 USE_AS_EXP10L.
65806 (EXPL_FINITE): Likewise.
65807 (FLDLOG): Likewise.
65808 (c0): Likewise.
65809 (c1): Likewise.
65810 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
65811 Adjust comments for base varying.
65812 (__expl_finite): Change alias to EXPL_FINITE.
65813 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
65814 tests for bugs.
65815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65816
65817 [BZ #14064]
65818 * math/libm-test.inc (check_float_internal): Correct ulp
65819 calculation for subnormal expected results.
65820
65821 2012-05-06 Andreas Jaeger <aj@suse.de>
65822
65823 * Makeconfig (+math-flags): New, set to -frounding-math.
65824 (+cflags): Add +math-flags so that all of glibc gets compiled with
65825 it.
65826
65827 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65828
65829 2012-05-05 Joseph Myers <joseph@codesourcery.com>
65830
65831 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65832 Disable one test.
65833
65834 [BZ #13787]
65835 [BZ #13922]
65836 [BZ #14036]
65837 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65838 (__ieee754_expl): Allow for and saturate large arguments.
65839 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65840 (u_threshold): Likewise.
65841 (__exp): Call __ieee754_exp before checking for overflow and
65842 underflow.
65843 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65844 (u_threshold): Likewise.
65845 (__expf): Call __ieee754_expf before checking for overflow and
65846 underflow.
65847 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65848 (u_threshold): Likewise.
65849 (__expl): Call __ieee754_expl before checking for overflow and
65850 underflow.
65851 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65852 (__ieee754_expl): Allow for and saturate large arguments.
65853 * math/libm-test.inc (exp_test): Add another test. Do not allow
65854 missing overflow exception on overflow.
65855 (expm1_test): Do not allow missing overflow exception on overflow.
65856
65857 * sysdeps/i386/fpu/e_expl.c: Move to ...
65858 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
65859 rather than using inline asm.
65860 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65861 * sysdeps/x86_64/fpu/e_expl.S: Copy from
65862 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65863
65864 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65865 (nice): Likewise.
65866 (poll): Likewise.
65867 (signal): Likewise.
65868 (time): Likewise.
65869 (times): Likewise.
65870
65871 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65872
65873 * sysdeps/unix/syscalls.list (adjtime): Add entry from
65874 sysdeps/unix/common/syscalls.list.
65875 (fchmod): Likewise.
65876 (fchown): Likewise.
65877 (ftruncate): Likewise.
65878 (getrusage): Likewise.
65879 (gettimeofday): Likewise.
65880 (setpgid): Likewise.
65881 (setregid): Likewise.
65882 (setreuid): Likewise.
65883 (sigaction): Likewise.
65884 (truncate): Likewise.
65885 (vhangup): Likewise.
65886 * sysdeps/unix/common/syscalls.list: Remove file.
65887 * sysdeps/unix/bsd/Implies: Don't include unix/common.
65888 * sysdeps/unix/sysv/linux/Implies: Likewise.
65889
65890 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
65891
65892 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65894 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65895 Moved to ...
65896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65897 Here.
65898 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65899 to ...
65900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65901 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65902 to ...
65903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65904 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65905 to ...
65906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65907 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65908 to ...
65909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65910 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65911 to ...
65912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65913 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65914 to ...
65915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65916 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65917 to ...
65918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65919 Here.
65920 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65921 to ...
65922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65923 Here.
65924 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65925 to ...
65926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65927 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65928 Moved to ...
65929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65930 Here.
65931 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65932 to ...
65933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65934
65935 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65936
65937 * sysdeps/unix/common/bits/dirent.h: Remove file.
65938 * sysdeps/unix/common/bits/fcntl.h: Likewise.
65939
65940 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65941 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65942 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65943 * sysdeps/unix/bsd/isatty.c: Likewise.
65944 * sysdeps/unix/bsd/tcdrain.c: Likewise.
65945 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65946 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65947
65948 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65949
65950 [BZ #13563]
65951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65952 long double comparison inaccuracies.
65953 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65955
65956 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
65957
65958 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65960
65961 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65962
65963 [BZ #14049]
65964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65965 nonzero digits before rounding a hex value.
65966 * stdlib/tst-strtod.c (tests): Add another test.
65967
65968 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65969
65970 * sysdeps/s390/fpu/libm-test-ulps: Update.
65971
65972 2012-05-03 Andreas Jaeger <aj@suse.de>
65973
65974 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65975 does not get optimized out.
65976 (malloc_opt_barrier): New.
65977
65978 2012-05-03 Andreas Jaeger <aj@suse.de>
65979 Roland McGrath <roland@hack.frob.com>
65980
65981 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65982 intermediate file deletion.
65983 (generated): Add .symlist files.
65984
65985 2012-05-03 Joseph Myers <joseph@codesourcery.com>
65986
65987 [BZ #13775]
65988 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65989 Redirect under this condition.
65990 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65991 [__USE_GNU] (__dprintf_chk): Not under this condition.
65992 [__USE_GNU] (__vdprintf_chk): Likewise.
65993 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65994 under this condition.
65995 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65996 [__USE_XOPEN2K8] (dprintf): Define under this condition.
65997 [__USE_XOPEN2K8] (vdprintf): Likewise.
65998 [__USE_GNU] (__dprintf_chk): Not under this condition.
65999 [__USE_GNU] (__vdprintf_chk): Likewise.
66000 [__USE_GNU] (dprintf): Likewise.
66001 [__USE_GNU] (vdprintf): Likewise.
66002
66003 2012-05-03 Roland McGrath <roland@hack.frob.com>
66004
66005 * elf/Makefile (common-generated): Set this instead of generated for
66006 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
66007 $(all-built-dso)-derived lists.
66008
66009 2012-05-03 Andreas Jaeger <aj@suse.de>
66010
66011 * sysdeps/i386/fpu/libm-test-ulps: Update.
66012
66013 * FAQ: Removed.
66014 * FAQ.in: Likewise.
66015 * scripts/gen-FAQ.pl: Likewise.
66016 * manual/install.texi (Installation): Point to online location of
66017 FAQ.
66018 * Makefile (files-for-dist): Remove FAQ.
66019 (FAQ): Remove.
66020
66021 2012-05-02 Allan McRae <allan@archlinux.org>
66022
66023 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66024 (LDFLAGS-reldepmod5.so): Likewise.
66025 (LDFLAGS-reldep6mod1.so): Likewise.
66026 (LDFLAGS-reldep6mod4.so): Likewise.
66027 (LDFLAGS-reldep8mod3.so): Likewise.
66028 (LDFLAGS-unload4mod1.so): Likewise.
66029 (LDFLAGS-unload4mod2.so): Likewise.
66030 (LDFLAGS-tst-initorder): Likewise.
66031 (LDFLAGS-tst-initordera2.so): Likewise.
66032 (LDFLAGS-tst-initordera3.so): Likewise.
66033 (LDFLAGS-tst-initordera4.so): Likewise.
66034 (LDFLAGS-tst-initorderb2.so): Likewise.
66035 (LDFLAGS-noload): Likewise.
66036 (LDFLAGS-next): Likewise.
66037 (LDFLAGS-order2mod1.so): Likewise.
66038 (LDFLAGS-order2mod2.so): Likewise.
66039 (LDFLAGS-tst-initorder2): Likewise.
66040 (LDFLAGS-tst-initorder2a.so): Likewise.
66041 (LDFLAGS-tst-initorder2b.so): Likewise.
66042 (LDFLAGS-tst-initorder2c.so): Likewise.
66043 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66044
66045 2012-05-02 David S. Miller <davem@davemloft.net>
66046
66047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66048
66049 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
66050
66051 [BZ #14055]
66052 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66053
66054 2012-05-02 Andreas Jaeger <aj@suse.de>
66055
66056 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66057 since we manipulate rounding mode.
66058 (CPPFLAGS-test-idouble.c): Likewise.
66059 (CPPFLAGS-test-ifloat.c): Likewise.
66060 (CFLAGS-test-ldouble.c): Likewise.
66061 (CFLAGS-test-double.c): Likewise.
66062 (CFLAGS-test-float.c): Likewise.
66063 (CFLAGS-test-misc.c): Likewise.
66064 (CFLAGS-test-test-fenv.c): Likewise.
66065
66066 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66067
66068 [BZ #2550]
66069 [BZ #2570]
66070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66071 comparisons to determine direction to adjust input.
66072
66073 2012-05-01 Roland McGrath <roland@hack.frob.com>
66074
66075 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66076 output to the target.
66077
66078 * scripts/localplt.awk: New file.
66079 * elf/Makefile ($(objpfx)check-localplt): Target removed.
66080 (check-localplt-CFLAGS): Variable removed.
66081 ($(all-built-dso:=.jmprel)): New static pattern rule.
66082 (generated): Add those targets.
66083 (localplt-built-dso): New variable.
66084 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66085
66086 * elf/check-localplt.c: File removed.
66087
66088 * scripts/check-execstack.awk: New file.
66089 * elf/Makefile ($(objpfx)check-execstack): Target removed.
66090 (check-execstack-CFLAGS): Variable removed.
66091 ($(objpfx)check-execstack.h): Target removed.
66092 ($(objpfx)execstack-default): New target.
66093 (generated): Add that instead of check-execstack.h.
66094 ($(all-built-dso:=.phdr)): New static pattern rule.
66095 (generated): Add those targets.
66096 * elf/check-execstack.c: File removed.
66097
66098 * scripts/check-textrel.awk: New file.
66099 * elf/Makefile ($(objpfx)check-textrel): Target removed.
66100 (check-textrel-CFLAGS): Variable removed.
66101 (all-built-dso): Use := to define.o
66102 ($(all-built-dso:=.dyn)): New static pattern rule.
66103 (generated): Add those targets.
66104 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66105 * config.make.in (READELF): New substituted variable.
66106 * elf/check-textrel.c: File removed.
66107
66108 2012-05-01 Joseph Myers <joseph@codesourcery.com>
66109
66110 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66111 allow.
66112 * conform/data/ctype.h-data [C99-based standards] (isblank):
66113 Expect function.
66114 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66115 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66117 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66118 Specify type. Require positive value.
66119 (EILSEQ): Likewise.
66120 (ERANGE): Likewise.
66121 [ISO || POSIX] (EILSEQ): Do not expect.
66122 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66123 Specify type. Require positive value.
66124 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66125 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66126 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66127 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66128 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66129 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66130 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66131 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66132 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66133 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66134 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66135 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66136 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66137 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66138 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66139 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66140 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66141 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66142 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66143 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66144 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66145 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66146 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66147 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66148 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66149 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66150 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66151 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66152 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66153 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66154 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66155 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66156 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66157 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66158 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66159 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66160 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66161 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66162 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66163 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66164 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66165 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66166 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66167 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66168 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66169 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66170 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66171 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66172 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66173 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66174 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66175 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66176 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66177 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66178 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66179 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66180 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66181 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66182 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66183 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66184 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66185 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66186 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66187 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66188 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66189 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66190 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66191 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66192 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66193 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66194 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66195 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66196 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66197 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66198 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66199 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66200 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66201 Require >= 2.
66202 (FLT_ROUNDS): Expect as macro, not constant.
66203 (FLT_MANT_DIG): Use macro-int-constant.
66204 (DBL_MANT_DIG): Likewise.
66205 (LDBL_MANT_DIG): Likewise.
66206 (FLT_DIG): Likewise.
66207 (DBL_DIG): Likewise.
66208 (LDBL_DIG): Likewise.
66209 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
66210 (DBL_MIN_EXP): Likewise.
66211 (LDBL_MIN_EXP): Likewise.
66212 (FLT_MAX_EXP): Use macro-int-constant.
66213 (DBL_MAX_EXP): Likewise.
66214 (LDBL_MAX_EXP): Likewise.
66215 (FLT_MAX_10_EXP): Likewise.
66216 (DBL_MAX_10_EXP): Likewise.
66217 (LDBL_MAX_10_EXP): Likewise.
66218 (FLT_MAX): Use macro-constant.
66219 (DBL_MAX): Likewise.
66220 (LDBL_MAX): Likewise.
66221 (FLT_EPSILON): Use macro-constant. Give upper bound.
66222 (DBL_EPSILON): Likewise.
66223 (LDBL_EPSILON): Likewise.
66224 (FLT_MIN): Likewise.
66225 (DBL_MIN): Likewise.
66226 (LDBL_MIN): Likewise.
66227 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66228 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66229 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66230 [ISO11] (FLT_HAS_SUBNORM): Likewise.
66231 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66232 [ISO11] (DBL_DECIMAL_DIG): Likewise.
66233 [ISO11] (FLT_DECIMAL_DIG): Likewise.
66234 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66235 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66236 [ISO11] (FLT_TRUE_MIN): Likewise.
66237 [ISO11] (LDBL_TRUE_MIN): Likewise.
66238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66239 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66240 (SCHAR_MIN): Use macro-int-constant. Specify type.
66241 (SCHAR_MAX): Likewise.
66242 (UCHAR_MAX): Likewise.
66243 (CHAR_MIN): Likewise.
66244 (CHAR_MAX): Likewise.
66245 (MB_LEN_MAX): Use macro-int-constant.
66246 (SHRT_MIN): Use macro-int-constant. Specify type.
66247 (SHRT_MAX): Likewise.
66248 (USHRT_MAX): Likewise.
66249 (INT_MAX): Likewise.
66250 (INT_MIN): Use macro-int-constant. Specify type. Make upper
66251 bound negative.
66252 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
66253 bound with "U".
66254 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
66255 bound with "L".
66256 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
66257 bound negative. Suffix upper bound with "L".
66258 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
66259 bound with "UL".
66260 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66261 Specify type.
66262 [C99-based standards] (LLONG_MAX): Likewise.
66263 [C99-based standards] (ULLONG_MAX): Likewise.
66264 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
66265 == 0.
66266 [ISO11] (max_align_t): Require type.
66267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66268
66269 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66270 from $CFLAGS, without defining away __attribute__ calls.
66271 (checknamespace): Use $CFLAGS_namespace.
66272
66273 * conform/conformtest.pl (@keywords): Only include C99 keywords
66274 for standards based on C99 or C11.
66275
66276 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66277 Disable tests.
66278 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66279 UNIX98]: Likewise.
66280
66281 * conform/conformtest.pl: Handle "macro-int-constant" and test for
66282 usability of symbols in #if.
66283
66284 * conform/conformtest.pl: If macro or constant types start
66285 "promoted:", expect the symbol to be of the following type
66286 promoted by the integer promotions.
66287
66288 * conform/conformtest.pl: Parse all "constant" and "macro" lines
66289 in one place. Also handle "macro-constant".
66290
66291 * conform/conformtest.pl: Only accept expected macro values with
66292 "==". Parse all "macro" lines in one place.
66293 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66294
66295 * conform/conformtest.pl: Handle braced types on "constant" lines
66296 instead of handling "typed-constant".
66297 * conform/data/signal.h-data: Use "constant" instead of
66298 "typed-constant".
66299
66300 * conform/conformtest.pl: Handle "optional-" at start of lines in
66301 one place rather than duplicating several cases. Handle each
66302 format of "macro" line with initial "optional-".
66303
66304 * conform/conformtest.pl: Only accept expected constant or
66305 optional-constant values with "==". Parse all "constant" lines in
66306 one place. Parse all "optional-constant" lines in one place.
66307 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66308 * conform/data/fmtmsg.h-data: Likewise.
66309 * conform/data/netinet/in.h-data: Likewise.
66310 * conform/data/tar.h-data: Likewise.
66311 * conform/data/limits.h-data: Use "==" form on "constant" and
66312 "optional-constant" lines.
66313
66314 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66315 Use -std=c99 for XOPEN2K.
66316 (@knownproblems): Remove.
66317 (newtoken): Don't check %isknown.
66318
66319 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66320 Do not expect macro.
66321 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66322 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66323 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66324 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66325 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66326 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66327 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66328 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66329 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66330 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66331 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66332 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66333 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66334 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66335 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66336 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66337 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66338 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66339 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66340 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66341 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66342 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66345 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66346 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66347 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66348 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66349 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66350 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66351 [XPG3] (acosh): Likewise.
66352 [XPG3] (asinh): Likewise.
66353 [XPG3] (atanh): Likewise.
66354 [XPG3] (cbrt): Likewise.
66355 [XPG3] (expm1): Likewise.
66356 [XPG3] (ilogb): Likewise.
66357 [XPG3] (log1p): Likewise.
66358 [XPG3] (logb): Likewise.
66359 [XPG3] (nextafter): Likewise.
66360 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66361 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66362 [XPG3] (remainder): Likewise.
66363 [XPG3] (rint): Likewise.
66364 [XPG3 || XPG4 || UNIX98] (round): Likewise.
66365 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66366 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66367 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66368 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66369 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66370 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66371 [UNIX98 || XOPEN2K] (scalb): Expect.
66372 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66373 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66374 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66375 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66376 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66377 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66378 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66379 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66380 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66381 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66382 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66383 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66384 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66385 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66386 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66387 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66388 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66389 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66390 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66391 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66392 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66393 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66394 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66395 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66396 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66397 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66398 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66399 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66400 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66401 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66402 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66403 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66404 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66405 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66406 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66407 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66408 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66409 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66410 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66411 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66412 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66413 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66414 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66415 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66416 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66417 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66418 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66419 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66420 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66421 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66422 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66423 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66424 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66425 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66426 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66427 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66428 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66429 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66430 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66431 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66432 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66433 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66434 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66435 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66436 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66437 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66438 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66439 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66440 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66441 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66442 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66443 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66444 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66445 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66446 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66447 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66448 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66449 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66450 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66451 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66452 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66453 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66454 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66455 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66456 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66457 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66458 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66459 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66460 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66461 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66462 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66463 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66464 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66465 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66466 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66467 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66468 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66469 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66470 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66471 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66472 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66473 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66474 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66475 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66476 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66477 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66478 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66479 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66480 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66481 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66482 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66483 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66484 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66485 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66486 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66487 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66488 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66489 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66490 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66491 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66492 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66493 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66494 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66495 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66496 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66497 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66498 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66499 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66500 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66501 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66502 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66503 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66504 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66505 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66506 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66507 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66508 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66509
66510 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66511 _XOPEN_SOURCE_EXTENDED for XPG4.
66512
66513 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66514
66515 * Makeconfig (localtime): Remove variable.
66516 (inst_localtime-file): Likewise.
66517
66518 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
66519
66520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66521 Update.
66522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66523 Update.
66524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66525 Update.
66526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66527 Update.
66528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66529 Update.
66530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66531 Update.
66532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66533 Update.
66534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66535 Update.
66536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66537 Update.
66538
66539 2012-05-01 Joseph Myers <joseph@codesourcery.com>
66540
66541 [BZ #2550]
66542 [BZ #2570]
66543 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66544 comparisons to determine direction to adjust input.
66545 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66546 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66548 Likewise.
66549 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66550 Likewise.
66551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66552 Likewise.
66553 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66554 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66555 Likewise.
66556 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66557 Likewise.
66558 * math/libm-test.inc (nexttoward_test): Add more tests.
66559
66560 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
66561
66562 [BZ #14040]
66563 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66564 in version GLIBC_2.1, not GLIBC_2.0.
66565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66566 Likewise.
66567
66568 2012-04-30 Joseph Myers <joseph@codesourcery.com>
66569
66570 [BZ #13942]
66571 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66572 (1 - x) * (1 + x).
66573 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66574 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66575 * math/libm-test.inc (acos_test): Add more tests.
66576 (asin_test): Likewise.
66577 * sysdeps/i386/fpu/libm-test-ulps: Update.
66578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66579
66580 [BZ #14034]
66581 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66582 of square root.
66583 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66584 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66585 * math/libm-test.inc (acos_test_tonearest): New function.
66586 (acos_test_towardzero): Likewise.
66587 (acos_test_downward): Likewise.
66588 (acos_test_upward): Likewise.
66589 (asin_test_tonearest): Likewise.
66590 (asin_test_towardzero): Likewise.
66591 (asin_test_downward): Likewise.
66592 (asin_test_upward): Likewise.
66593 (main): Call the new functions.
66594 * sysdeps/i386/fpu/libm-test-ulps: Update.
66595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66596
66597 [BZ #13884]
66598 [BZ #13924]
66599 * math/e_exp10.c: Include <float.h>.
66600 (__ieee754_exp10): Handle underflow here rather than multiplying
66601 large negative argument by M_LN10.
66602 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66603 of __ieee754_expf.
66604 * math/e_exp10l.c: Include <float.h>.
66605 (__ieee754_exp10l): Handle underflow here rather than multiplying
66606 large negative argument by M_LN10l.
66607 * math/libm-test.inc (exp10_test): Add another test. Do not allow
66608 spurious overflow exception on underflow.
66609
66610 2012-04-29 Marek Polacek <polacek@redhat.com>
66611
66612 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66613 (__fortify_function): New macro.
66614 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66615 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66616 __extern_always_inline.
66617 * libio/bits/stdio2.h: Likewise.
66618 * libio/bits/stdio.h: Likewise.
66619 * string/string.h: Likewise.
66620 * string/bits/string3.h: Likewise.
66621 * include/stdio.h: Likewise.
66622 * stdlib/bits/stdlib.h: Likewise.
66623 * stdlib/stdlib.h: Likewise.
66624 * rt/bits/mqueue2.h: Likewise.
66625 * rt/mqueue.h: Likewise.
66626 * posix/bits/unistd.h: Likewise.
66627 * posix/unistd.h: Likewise.
66628 * io/bits/poll2.h: Likewise.
66629 * io/bits/fcntl2.h: Likewise.
66630 * io/fcntl.h: Likewise.
66631 * io/sys/poll.h: Likewise.
66632 * misc/bits/syslog.h: Likewise.
66633 * misc/bits/syslog-ldbl.h: Likewise.
66634 * misc/sys/syslog.h: Likewise.
66635 * socket/bits/socket2.h: Likewise.
66636 * socket/sys/socket.h: Likewise.
66637 * debug/tst-chk1.c: Likewise.
66638 * wcsmbs/bits/wchar2.h: Likewise.
66639 * wcsmbs/bits/wchar-ldbl.h: Likewise.
66640 * wcsmbs/wchar.h: Likewise.
66641
66642 2012-04-29 Andreas Jaeger <aj@suse.de>
66643
66644 * Makerules (tests): Remove enable-check-abi protection.
66645 (check-abi-warn): Remove.
66646 (check-abi-%): Remove check-abi-warn usage.
66647
66648 * configure.in: Remove check-abi configure option.
66649 * configure: Regenerated.
66650 * config.make.in (enable-check-abi): Remove.
66651
66652 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
66653
66654 [BZ #14033]
66655 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66656 double functions to double *_finite functions.
66657
66658 [BZ #13941]
66659 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66660 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66661 LDBL_MIN_EXP.
66662 * stdio-common/Makefile (tests): Add tst-sprintf3.
66663 * stdio-common/tst-sprintf3.c: New file.
66664
66665 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66666 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66667
66668 2012-04-28 Joseph Myers <joseph@codesourcery.com>
66669
66670 * conform/conformtest.pl: Remove duplicate typed-constant
66671 handling.
66672
66673 2012-04-28 David S. Miller <davem@davemloft.net>
66674
66675 * Makerules (%.abilist): Add vpath on sysdep_dirs.
66676 (check-abi-%): Remove AWK script prerequisite and explicit
66677 abilist directory.
66678 (check-abi): Rewrite to just diff the symlist with the abilist.
66679 (config-tls, config-abi-config): Delete, no longer used.
66680 (update-abi-%): Remove AWK script and explicit abilist directory.
66681 (update-abi): Rewrite to simply compare and conditionally copy the
66682 symlist and the sysdep abilist file. Remove update-abi-config
66683 checks.
66684 * abilist/ld.abilist: Remove.
66685 * abilist/libBrokenLocale.abilist: Remove.
66686 * abilist/libanl.abilist: Remove.
66687 * abilist/libcrypt.abilist: Remove.
66688 * abilist/libdl.abilist: Remove.
66689 * abilist/librt.abilist: Remove.
66690 * abilist/libthread_db.abilist: Remove.
66691 * abilist/libutil.abilist: Remove.
66692 * scripts/extract-abilist.awk: Remove.
66693 * scripts/merge-abilist.awk: Remove.
66694 * sysdeps/generic/libcidn.abilist: New file.
66695 * sysdeps/generic/libnss_compat.abilist: New file.
66696 * sysdeps/generic/libnss_db.abilist: New file.
66697 * sysdeps/generic/libnss_dns.abilist: New file.
66698 * sysdeps/generic/libnss_files.abilist: New file.
66699 * sysdeps/generic/libnss_hesiod.abilist: New file.
66700 * sysdeps/generic/libnss_nis.abilist: New file.
66701 * sysdeps/generic/libnss_nisplus.abilist: New file.
66702 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66703 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66704 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66705 file.
66706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66707 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66708 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66709 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66710 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66711 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66712 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66713 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66714 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66715 file.
66716 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66717 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66718 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66719 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66720 file.
66721 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66722 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66723 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66724 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66725 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66726 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66727 file.
66728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66729 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66730 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66731 file.
66732 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66734 New file.
66735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66736 New file.
66737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66738 New file.
66739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66740 New file.
66741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66742 New file.
66743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66744 New file.
66745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66746 New file.
66747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66748 New file.
66749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66750 New file.
66751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66752 New file.
66753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66754 New file.
66755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66756 New file.
66757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66758 New file.
66759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66760 file.
66761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66762 New file.
66763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66764 New file.
66765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66766 file.
66767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66768 New file.
66769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66770 New file.
66771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66772 file.
66773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66774 New file.
66775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66776 New file.
66777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66778 New file.
66779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66780 New file.
66781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66782 New file.
66783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66784 New file.
66785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66787 file.
66788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66789 New file.
66790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66791 file.
66792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66793 file.
66794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66795 file.
66796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66797 file.
66798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66799 file.
66800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66801 New file.
66802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66803 file.
66804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66805 file.
66806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66807 New file.
66808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66809 file.
66810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66812 file.
66813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66814 New file.
66815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66816 file.
66817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66818 file.
66819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66820 file.
66821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66822 file.
66823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66824 file.
66825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66826 New file.
66827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66828 file.
66829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66830 file.
66831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66832 New file.
66833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66834 file.
66835 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66836 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66837 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66838 file.
66839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66840 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66841 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66842 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66843 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66844 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66845 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66846 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66847 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66848 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66851 file.
66852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66853 New file.
66854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66855 file.
66856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66857 file.
66858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66859 file.
66860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66861 file.
66862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66863 file.
66864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66865 New file.
66866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66867 New file.
66868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66869 file.
66870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66871 New file.
66872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66873 file.
66874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66876 file.
66877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66878 New file.
66879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66880 file.
66881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66882 file.
66883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66884 file.
66885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66886 file.
66887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66888 file.
66889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66890 New file.
66891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66892 New file.
66893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66894 file.
66895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66896 New file.
66897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66898 file.
66899
66900 2012-04-28 Joseph Myers <joseph@codesourcery.com>
66901
66902 * conform/conformtest.pl: Fix typo in handling typed-constant from
66903 allow-header.
66904
66905 2012-04-27 Joseph Myers <joseph@codesourcery.com>
66906
66907 * README: Cut down references to pre-2.6 Linux kernels and
66908 Linuxthreads. Update lists of configurations in libc and ports
66909 and sort alphabetically. Say "or newer" with Linux kernel version
66910 requirements.
66911
66912 * config.h.in [IS_IN_build]: Allow compiling without optimization.
66913
66914 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66915
66916 [BZ #887]
66917 * math/libm-test.inc (logb_test_downward): New test to expose
66918 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66919 rounding mode.
66920
66921 2012-04-27 Joseph Myers <joseph@codesourcery.com>
66922
66923 [BZ #14027]
66924 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66925 to be done.
66926 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66927 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66928
66929 2012-04-26 Joseph Myers <joseph@codesourcery.com>
66930
66931 * sysdeps/unix/i386/brk.S: Remove file.
66932 * sysdeps/unix/i386/dl-brk.S: Likewise.
66933 * sysdeps/unix/i386/pipe.S: Likewise.
66934 * sysdeps/unix/i386/sigreturn.S: Likewise.
66935 * sysdeps/unix/i386/syscall.S: Likewise.
66936 * sysdeps/unix/i386/vfork.S: Likewise.
66937 * sysdeps/unix/i386/wait.S: Likewise.
66938
66939 * sysdeps/unix/common/tcsendbrk.c: Move to ...
66940 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66941
66942 * configure.in (arm*-none*): Do not allow without
66943 --enable-hacker-mode.
66944 (netbsd*): Remove case setting base_os.
66945 (386bsd*): Likewise.
66946 (freebsd*): Likewise.
66947 (bsdi*): Likewise.
66948 (osf*): Likewise.
66949 (sunos*): Likewise.
66950 (ultrix*): Likewise.
66951 (newsos*): Likewise.
66952 (dynix*): Likewise.
66953 (*bsd*): Likewise.
66954 (sysv*): Likewise.
66955 (isc*): Likewise.
66956 (esix*): Likewise.
66957 (sco*): Likewise.
66958 (minix*): Likewise.
66959 (irix4*): Likewise.
66960 (irix6*): Likewise.
66961 (solaris[2-9]*): Likewise.
66962 (none): Likewise.
66963 * configure: Regenerated.
66964
66965 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66966
66967 [BZ #11521]
66968 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66969 overflow or cancellation in calculating denominator.
66970 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66972 down expression to avoid unexpected rounding in newer GCCs.
66973 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66974
66975 2012-04-26 David S. Miller <davem@davemloft.net>
66976
66977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66978 long-double compat symbols.
66979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66992
66993 2012-04-25 David S. Miller <davem@davemloft.net>
66994
66995 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66996 HWCAP_* values only after the memory barriers have been defined.
66997 (atomic_full_barrier): Define.
66998 (atomic_read_barrier): Define.
66999 (atomic_write_barrier): Define.
67000
67001 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
67002
67003 * shlib-versions: Add libgcc_s version information.
67004 * sysdeps/generic/libgcc_s.h: Remove.
67005 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67006 libgcc_s.h.
67007 * sysdeps/gnu/unwind-resume.c: Likewise.
67008 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67009
67010 2012-04-25 David S. Miller <davem@davemloft.net>
67011
67012 * sysdeps/unix/sparc/brk.S: Delete.
67013 * sysdeps/unix/sparc/dl-brk.S: Delete.
67014 * sysdeps/unix/sparc/pipe.S: Delete.
67015 * sysdeps/unix/sparc/sysdep.S: Delete.
67016 * sysdeps/unix/sparc/sysdep.h: Delete.
67017 * sysdeps/unix/sparc/vfork.S: Delete.
67018 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67019 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67021 (ret_ERRVAL, r0, r1, MOVE): Define.
67022 (JUMPTARGET): Remove.
67023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67024 sysdeps/unix/sparc/sysdep.h
67025 (ENTRY, END): Remove.
67026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67027
67028 2012-04-25 Joseph Myers <joseph@codesourcery.com>
67029
67030 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67031 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67032 -DIS_IN_build.
67033
67034 * timezone/README: Update upstream location and email address for
67035 tzcode and tzdata.
67036 * timezone/zdump.c: Update from tzcode 2012b.
67037 * timezone/zic.c: Likewise.
67038
67039 * configure.in (libc_cv_as_needed): Remove test.
67040 * configure: Regenerated.
67041 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67042 conditional definition.
67043 [$(have-as-needed) != yes] (no-as-needed): Likewise.
67044 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67045 * config.make.in (have-as-needed): Remove variable.
67046
67047 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
67048 Paul Pluzhnikov <ppluzhnikov@google.com>
67049
67050 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67051 strings correctly.
67052
67053 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
67054
67055 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67056 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67057 * sysdeps/sh/strlen.S: Likewise.
67058
67059 2012-04-24 Joseph Myers <joseph@codesourcery.com>
67060
67061 * sysdeps/unix/fork.S: Remove file.
67062 * sysdeps/unix/i386/fork.S: Likewise.
67063 * sysdeps/unix/sparc/fork.S: Likewise.
67064
67065 * sysdeps/unix/system.c: Remove file.
67066 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67067
67068 * sysdeps/unix/getegid.S: Remove file.
67069 * sysdeps/unix/geteuid.S: Likewise.
67070
67071 2012-04-24 Roland McGrath <roland@hack.frob.com>
67072
67073 * scripts/check-localplt.awk: New file.
67074 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67075 of diff.
67076 * scripts/data/localplt-generic.data: Add a comment.
67077
67078 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67079 NODE when __dir_mkfile failed.
67080 * sysdeps/mach/hurd/symlinkat.c: Likewise.
67081 Reported by Ludovic Courtès <ludo@gnu.org>.
67082
67083 2012-04-24 Andreas Jaeger <aj@suse.de>
67084
67085 * Makerules (common-clean): Also remove gen-as-const-headers
67086 files.
67087
67088 2012-04-24 Joseph Myers <joseph@codesourcery.com>
67089
67090 * Makerules (native-compile): Do not change working directory for
67091 build. Use $(OUTPUT_OPTION) in command.
67092 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67093
67094 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67095
67096 [BZ #13886]
67097 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67098 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67099 * math/libm-test.inc (floor_test): Add more tests.
67100 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67101
67102 2012-04-24 Joseph Myers <joseph@codesourcery.com>
67103
67104 * sysdeps/unix/getdents.c: Remove file.
67105 * sysdeps/unix/sysv/getdents.c: Likewise.
67106 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67107
67108 * sysdeps/unix/syscalls.list (madvise): Add syscall from
67109 sysdeps/unix/mman/syscalls.list.
67110 (mmap): Likewise.
67111 (mprotect): Likewise.
67112 (msync): Likewise.
67113 (munmap): Likewise.
67114 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67115 * sysdeps/unix/mman/syscalls.list: Remove.
67116 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67117
67118 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67119 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67120 * configure: Regenerated.
67121 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67122 $(libgcc_s_suffix).
67123 * config.make.in (libgcc_s_suffix): Remove variable.
67124
67125 2012-04-23 Joseph Myers <joseph@codesourcery.com>
67126
67127 * sysdeps/unix/sysv/gethostname.c: Move to ...
67128 * sysdeps/posix/gethostname.c: ... here.
67129
67130 * sysdeps/unix/execve.S: Remove file.
67131
67132 * sysdeps/unix/_exit.S: Remove file.
67133
67134 2012-04-23 Andreas Jaeger <aj@suse.de>
67135
67136 [BZ #13739]
67137 * manual/Makefile: Remove make dist support, there's no
67138 need for a stand-alone documentation tar ball.
67139 (TEXI2DVI): Define always, it's not in Makeconfig.
67140 (dist): Removed.
67141 (tar-it): Removed.
67142 (edition): Removed.
67143 (glibc-doc-$(edition).tar): Removed
67144 (%.Z): Removed.
67145 (%.gz): Removed.
67146 (%.uu): Removed.
67147 (ETAGS): Remove, it's in Makeconfig.
67148 (move-if-change): Remove, it's in Makeconfig.
67149
67150 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
67151
67152 [BZ #13970]
67153 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67154 (strtod, strtof, strtold, strtol, strtoul, strtoq)
67155 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67156 (strtod_l, strtof_l, strtold_l): Remove __wur.
67157 It is not necessarily an error to ignore strtol's return value.
67158 One can reliably look at the stored endptr to decide whether
67159 the number had valid syntax.
67160
67161 2012-04-21 Andreas Jaeger <aj@suse.de>
67162
67163 [BZ #13739]
67164 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67165
67166 2012-04-21 Joseph Myers <joseph@codesourcery.com>
67167
67168 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67169 * sysdeps/unix/sysv/Versions: Remove file.
67170
67171 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
67172
67173 [BZ #13927]
67174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67175
67176 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
67177
67178 [BZ #7064]
67179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67180 version from __vm86.
67181
67182 2012-04-20 Joseph Myers <joseph@codesourcery.com>
67183
67184 * sysdeps/unix/common/lxstat.c: Remove file.
67185 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67186
67187 * sysdeps/unix/sysv/Makefile: Remove file.
67188
67189 * sysdeps/unix/sysv/direct.h: Remove file.
67190
67191 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67192 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67193 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67194 * sysdeps/unix/sysv/bits/signum.h: Likewise.
67195 * sysdeps/unix/sysv/bits/stat.h: Likewise.
67196 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67197 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67198
67199 * sysdeps/unix/sysv/setrlimit.c: Remove file.
67200
67201 * sysdeps/unix/xmknod.c: Remove file.
67202 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67203
67204 * sysdeps/unix/sysv/settimeofday.c: Remove file.
67205
67206 * sysdeps/unix/sysv/i386/time.S: Remove file.
67207
67208 * sysdeps/unix/fxstat.c: Remove file.
67209 * sysdeps/unix/xstat.c: Likewise.
67210 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67211
67212 * sysdeps/unix/sysv/sigaction.c: Remove file.
67213
67214 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67215 (sysdep_headers): Remove variable.
67216 [termio.h not in sysdep_headers] (generated): Likewise.
67217 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67218 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67219 * sysdeps/unix/sysv/tcdrain.c: Likewise.
67220 * sysdeps/unix/sysv/tcflow.c: Likewise.
67221 * sysdeps/unix/sysv/tcflush.c: Likewise.
67222 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67223 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67224 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67225 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67226 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67227
67228 * sysdeps/unix/siglist.c: Remove file.
67229
67230 * sysdeps/unix/getppid.S: Remove file.
67231
67232 * sysdeps/unix/mkdir.c: Remove file.
67233 * sysdeps/unix/rmdir.c: Likewise.
67234
67235 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
67236
67237 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67238 ERR_MAX value.
67239 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67240 errlist-compat value.
67241
67242 2012-04-18 David S. Miller <davem@davemloft.net>
67243
67244 * sysdeps/generic/memcopy.h (reg_char): Delete.
67245 * debug/strcat_chk.c: Use char, not reg_char.
67246 * debug/strcpy_chk.c: Likewise.
67247 * debug/strncat_chk.c: Likewise.
67248 * debug/strncpy_chk.c: Likewise.
67249 * string/memchr.c: Likewise.
67250 * string/memrchr.c: Likewise.
67251 * string/rawmemchr.c: Likewise.
67252 * string/strcat.c: Likewise.
67253 * string/strchr.c: Likewise.
67254 * string/strchrnul.c: Likewise.
67255 * string/strcmp.c: Likewise.
67256 * string/strcpy.c: Likewise.
67257 * string/strncat.c: Likewise.
67258 * string/strncmp.c: Likewise.
67259 * string/strncpy.c: Likewise.
67260
67261 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
67262
67263 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67264 __builtin_memcopy is called when src and dest ranges are known to not
67265 overlap.
67266
67267 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
67268
67269 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67270 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67271 fwd_align_merge macro call.
67272 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67273 bwd_align_merge macro call.
67274 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67275
67276 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
67277
67278 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67279 bwd_align_merge macros.
67280 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67281 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67283
67284 2012-04-18 David S. Miller <davem@davemloft.net>
67285
67286 * sysdeps/sparc/sparc64/memcopy.h: Delete.
67287
67288 2012-04-18 Andreas Jaeger <aj@suse.de>
67289
67290 [BZ# 6794]
67291 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67292 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67294
67295 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67296 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67297 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67298
67299 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67300 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67301 Adjust for changed ldbl-128 files.
67302
67303 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67304 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67306
67307 2012-04-17 David S. Miller <davem@davemloft.net>
67308
67309 * sysdeps/sparc/sparc32/memcopy.h: Delete.
67310
67311 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
67312
67313 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67314 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67315 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67316 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67317 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67318 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67319
67320 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67321
67322 [BZ #6794]
67323 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67324 * math/libm-test.inc: Add ilogb errno and exception tests.
67325 * math/w_ilogb.c: New file: ilogb wrapper.
67326 * math/w_ilogbf.c: New file: ilogbf wrapper.
67327 * math/w_ilogbl.c: New file: ilogbl wrapper.
67328 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67329 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67330 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67331 exception being thrown with 0.0 as argument.
67332 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67333 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67334 exception being thrown with 0.0 as argument.
67335 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67336 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67337 exception being thrown with 0.0 as argument.
67338 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67339 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67340 exception being thrown with 0.0 as argument.
67341 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67342 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67343 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67344 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67346 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67347 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67348 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67349 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67350
67351 2012-04-17 Petr Baudis <pasky@ucw.cz>
67352
67353 * include/sys/uio.h: Change __vector to __iovec to avoid clash
67354 with altivec.
67355
67356 2012-04-16 Marek Polacek <polacek@redhat.com>
67357
67358 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67359
67360 2012-04-16 Marek Polacek <polacek@redhat.com>
67361
67362 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67363 operands of fdivp instruction.
67364
67365 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
67366
67367 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67368 * elf/tst-auditmod3b.c: Likewise.
67369 * elf/tst-auditmod4b.c: Likewise.
67370 * elf/tst-auditmod5b.c: Likewise.
67371 * elf/tst-auditmod6b.c: Likewise.
67372 * elf/tst-auditmod6c.c: Likewise.
67373 * elf/tst-auditmod7b.c: Likewise.
67374 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67375 * sysdeps/x86_64/preconfigure.in: Likewise.
67376 * sysdeps/x86_64/preconfigure: Regenerated.
67377
67378 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
67379
67380 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67381 __ILP32__.
67382
67383 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
67384
67385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67386 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67387
67388 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
67389
67390 [BZ #13973]
67391 * locale/iso-639.def: Fix gl language name. Spotted by
67392 Yaron Shahrabani.
67393
67394 2012-04-12 Roland McGrath <roland@hack.frob.com>
67395
67396 [BZ #2074]
67397 * libio/libio.h (__io_write_fn): Update comment.
67398
67399 2012-04-12 Petr Baudis <pasky@ucw.cz>
67400
67401 [BZ #2074]
67402 * stdio.texi (Hook Functions): The user provided writer function
67403 is not allowed to return -1.
67404
67405 2012-04-11 David S. Miller <davem@davemloft.net>
67406
67407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67408
67409 2012-04-11 Mike Frysinger <vapier@gentoo.org>
67410
67411 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67412 Add a leading slash to rtkaio.
67413
67414 2012-04-11 Jim Meyering <meyering@redhat.com>
67415
67416 [BZ #11959]
67417 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67418 It is not necessarily an error to ignore fwrite's return
67419 value. One can reliably use ferror to test for errors after
67420 the fact.
67421
67422 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
67423
67424 * bits/types.h (__snseconds_t): New type.
67425 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67426
67427 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67429 (__SNSECONDS_T_TYPE): Likewise.
67430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67431 (__SNSECONDS_T_TYPE): Likewise.
67432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67433 (__SNSECONDS_T_TYPE): Likewise.
67434
67435 2012-04-10 Andreas Jaeger <aj@suse.de>
67436
67437 [BZ #2636]
67438 * manual/time.texi (Processor Time): Return type of times is
67439 elapsed real time since an arbitrary point in the past.
67440 (CPU Time): Move CLK_TCK from here...
67441 (Processor Time): ...to here. Correct description.
67442 * manual/conf.texi (Constants for Sysconf): Correct description of
67443 _SC_CLK_TCK.
67444
67445 2012-04-10 David S. Miller <davem@davemloft.net>
67446
67447 [BZ #13967]
67448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67449 where the is a gap between DT_REL(A) and DT_JMPREL.
67450
67451 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
67452
67453 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67454 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67455 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67456
67457 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67458
67459 * elf/dl-support.c (_dl_inhibit_cache): New variable.
67460 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67461 (dl_main): Handle --inhibit-cache.
67462 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67463 _dl_inhibit_cache.
67464 * elf/dl-load.c (_dl_map_object): Use it.
67465 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67466
67467 2012-04-09 Joseph Myers <joseph@codesourcery.com>
67468
67469 [BZ #13872]
67470 * sysdeps/i386/fpu/e_powl.S (p78): New object.
67471 (__ieee754_powl): Saturate large exponents rather than testing for
67472 overflow of y*log2(x).
67473 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67474 * math/libm-test.inc (pow_test): Do not permit spurious overflow
67475 exceptions.
67476
67477 [BZ #11521]
67478 * math/s_ctan.c: Include <float.h>.
67479 (__ctan): Avoid internal overflow or cancellation in calculating
67480 denominator.
67481 * math/s_ctanf.c: Likewise.
67482 * math/s_ctanl.c: Likewise.
67483 * math/s_ctanh.c: Likewise.
67484 * math/s_ctanhf.c: Likewise.
67485 * math/s_ctanhl.c: Likewise.
67486 * math/libm-test.inc (ctan_test): Add more tests.
67487 (ctanh_test): Likewise.
67488 * sysdeps/i386/fpu/libm-test-ulps: Update.
67489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67490
67491 2012-04-09 Andreas Jaeger <aj@suse.de>
67492
67493 [BZ #6894]
67494 * manual/filesys.texi (Directory Entries): Mention that d_namlen
67495 is an optional BSD extension.
67496
67497 [BZ #10254]
67498 * manual/stdio.texi (Opening Streams): Document additional fopen
67499 parameters.
67500
67501 2012-04-09 Roland McGrath <roland@hack.frob.com>
67502
67503 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67504 %eax without telling the compiler.
67505
67506 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
67507
67508 [BZ # 13963]
67509 * manual/install.texi: Use sourceware.org.
67510
67511 2012-04-09 Joseph Myers <joseph@codesourcery.com>
67512
67513 [BZ #13873]
67514 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67515 (__ieee754_pow): Generate overflow and underflow using huge*huge
67516 and tiny*tiny rather than just returning constant infinity or zero
67517 for large exponents.
67518 * math/libm-test.inc (pow_test): Require overflow exceptions for
67519 applicable cases of large exponents.
67520
67521 [BZ #706]
67522 * sysdeps/i386/fpu/e_pow.S (p10): New object.
67523 (__ieee754_pow): Use iterative multiplication algorithm only for
67524 integer exponents with absolute value below 1024. Check for odd
67525 integer exponents when using algorithm for real exponents.
67526 * math/libm-test.inc (pow_test): Add more tests.
67527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67528
67529 2012-04-08 Joseph Myers <joseph@codesourcery.com>
67530
67531 [BZ #13705]
67532 * math/libm-test.inc (exp_test): Do not allow overflow exception
67533 on underflow test.
67534
67535 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
67536
67537 [BZ #13705]
67538 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67539 instead of __kernel_standard_f.
67540
67541 2012-04-08 Mike Frysinger <vapier@gentoo.org>
67542
67543 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67544 * sysdeps/x86_64/memset_chk.S: Likewise.
67545
67546 2012-04-08 Andreas Jaeger <aj@suse.de>
67547
67548 [BZ #10153]
67549 * manual/startup.texi (Environment Access): Describe return value
67550 for putenv and setenv.
67551
67552 [BZ #6895]
67553 * manual/filesys.texi (Directory Entries): Add description for
67554 DT_LNK.
67555
67556 [BZ #6890]
67557 * manual/filesys.texi (Directory Entries): Clarify that it's file
67558 system not operating system in the description of DT_UNKNOWN.
67559
67560 [BZ #6578]
67561 * manual/syslog.texi (closelog): Fix reference, it's openlog.
67562
67563 2012-04-08 Stephen Compall <s11@member.fsf.org>
67564
67565 [BZ #6649]
67566 * manual/llio.texi (Opening and Closing Files): Add cross
67567 reference to explain mode argument.
67568
67569 2012-04-07 Mike Frysinger <vapier@gentoo.org>
67570
67571 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67572 * sysdeps/x86_64/memset_chk.S: Likewise.
67573
67574 2012-04-07 David S. Miller <davem@davemloft.net>
67575
67576 * elf/elf.h (R_SPARC_WDISP10): Define.
67577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67578 R_SPARC_SIZE32.
67579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67580 R_SPARC_SIZE64 and R_SPARC_H34.
67581
67582 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
67583
67584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67585 conditions and remove no longer applicable assertion.
67586
67587 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
67588
67589 * bits/byteswap.h: Include <features.h>.
67590 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67591 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67592
67593 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
67594
67595 * bits/byteswap.h (__bswap_16): Removed.
67596 Include <bits/byteswap-16.h> to get __bswap_16.
67597 * sysdeps/i386/bits/byteswap.h: Likewise.
67598 * sysdeps/s390/bits/byteswap.h: Likewise.
67599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
67600 * bits/byteswap-16.h: New file.
67601 * sysdeps/i386/bits/byteswap-16.h: Likewise.
67602 * sysdeps/s390/bits/byteswap-16.h: Likewise.
67603 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67604 * string/Makefile (headers): Add bits/byteswap-16.h.
67605
67606 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
67607
67608 [BZ #13895]
67609 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67610 extra indirection.
67611 * nss/Makefile (tests-static, tests): Add tst-nss-static.
67612 * nss/tst-nss-static.c: New.
67613
67614 2012-04-06 Robert Millan <rmh@gnu.org>
67615
67616 [BZ #6486]
67617 * manual/llio.texi (File Position Primitive): lseek
67618 refers to WHENCE when it really means OFFSET.
67619
67620 2012-04-06 Andreas Jaeger <aj@suse.de>
67621
67622 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67623 strncmp declarations.
67624
67625 * abilist/libc.abilist: Add __poll and __ppoll.
67626
67627 2012-04-05 David S. Miller <davem@davemloft.net>
67628
67629 * scripts/check-local-headers.sh: Accept a host triplet in the
67630 path matched by the exclude regexp.
67631
67632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67633 definition.
67634 * sysdeps/powerpc/powerpc32/dl-machine.h
67635 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67636 * sysdeps/s390/s390-32/dl-machine.h
67637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67638 * sysdeps/sparc/sparc32/dl-machine.h
67639 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67640 * sysdeps/sparc/sparc64/dl-machine.h
67641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67642
67643 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67644 lazy binding.
67645 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67646 undefined symbol errors.
67647
67648 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67649 DT_NEEDED entries.
67650
67651 2012-04-05 Michael Matz <matz@suse.de>
67652
67653 [BZ #13592]
67654 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67655
67656 2012-04-05 Andreas Jaeger <aj@suse.de>
67657
67658 [BZ #13908]
67659 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67660 comment.
67661
67662 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
67663
67664 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67665 which ROUND is no valid rounding mode.
67666
67667 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
67668
67669 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67670 read again.
67671 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67672
67673 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
67674
67675 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67676 an exception using FPU order intentionally.
67677
67678 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
67679
67680 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67681 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67682 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67683 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67684
67685 2012-04-05 Simon Josefsson <simon@josefsson.org>
67686
67687 [BZ #12340]
67688 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67689 EINVAL when BUFLEN is too smal.
67690
67691 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
67692
67693 [BZ #13553]
67694 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67695 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67696
67697 2012-04-03 Andreas Jaeger <aj@suse.de>
67698
67699 [BZ #13938]
67700 * manual/setjmp.texi (System V contexts): Fix sentence.
67701
67702 [BZ #13926]
67703 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67704 New macro for this case.
67705 [!__GNUC__] (__bswap_64): New inline function for this case.
67706 * sysdeps/x86_64/bits/byteswap.h: Likewise.
67707 * bits/byteswap.h: Likewise.
67708 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67709 ull, guard with __GLIBC_HAVE_LONG_LONG.
67710
67711 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67712 __GLIBC_HAVE_LONG_LONG.
67713
67714 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67715 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67716
67717 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67718
67719 [BZ #13691]
67720 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67721 inptr and inend, rather than using last_ch.
67722
67723 2012-04-02 David S. Miller <davem@davemloft.net>
67724
67725 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67726 * stdio-common/printf-parse.h (read_int): Change return type to
67727 'int', return -1 on INT_MAX overflow.
67728 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67729 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
67730 overflows INT_MAX. Check for overflow of in-format-string precision
67731 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
67732 SIZE_MAX not INT_MAX for integer overflow test.
67733 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67734 skip the construct in the format string but do not record anything.
67735 * stdio-common/bug22.c: Adjust to test both width/prevision
67736 INT_MAX overflow as well as total length INT_MAX overflow. Check
67737 explicitly for proper errno values.
67738
67739 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
67740
67741 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67742 CHAR_MAX.
67743 * string/test-strcmp.c [! WIDE]: Likewise.
67744 * time/tst-mktime2.c: Likewise for INT_MAX.
67745 * string/test-string.h: #include <sys/param.h> for MIN.
67746
67747 * csu/init-first.c (__libc_init_first): Call __ctype_init.
67748 * sysdeps/i386/init-first.c (init): Likewise.
67749 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67750 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67751 * sysdeps/sh/init-first.c (init): Likewise.
67752
67753 2012-04-01 Ulrich Drepper <drepper@gmail.com>
67754
67755 * po/ru.po: Update from translation team.
67756 * po/vi.po: Likewise.
67757
67758 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
67759
67760 * resolv/nss_dns/dns-host.c: Merge copyright years.
67761
67762 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67763
67764 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67765 Optimize memcpy with prefetch if
67766 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
67767 src, dst pointers have unequal 16 byte alignments.
67768
67769 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67770
67771 [BZ #13928]
67772 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67773 from a CNAME entry and return the minimum ttl for the query.
67774 (gaih_getanswer_slice): Likewise.
67775
67776 2012-03-30 Jeff Law <law@redhat.com>
67777
67778 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67779 due to long keys.
67780 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67781 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67782
67783 * resolv/nss_dns/dns-host.c: Update copyright year.
67784
67785 2012-03-30 Ulrich Drepper <drepper@gmail.com>
67786
67787 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67788 requests to save a system call. Fix check that all bytes are sent.
67789
67790 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67791 comments for sendmmsg.
67792
67793 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67794
67795 [BZ #13691]
67796 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67797 with only 1 character between 0x0041 and 0x01b0.
67798 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67799 * wcsmbs/tst-mbsnrtowcs.c: New file.
67800
67801 2012-03-29 David S. Miller <davem@davemloft.net>
67802
67803 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67804 small copies by hand.
67805
67806 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67807
67808 [BZ #13761]
67809 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67810 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67811 group memberships.
67812
67813 2012-03-28 David S. Miller <davem@davemloft.net>
67814
67815 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67816 that branches into memcpy.
67817 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67820 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67821 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67822 bits.
67823 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67824 implementation too.
67825 * sysdeps/sparc/mempcpy.S: New file.
67826
67827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67828 the IFUNC routine in the libc case.
67829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67830
67831 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67832 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67833 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67834 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67835 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67836 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67837 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67838 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67839
67840 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67841 loop to 256 bytes instead of 64 bytes and fix test signedness.
67842
67843 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67844 * sysdeps/sparc/sparc32/Makefile: rather than here...
67845 * sysdeps/sparc/sparc64/Makefile: and here.
67846
67847 2012-03-28 Ulrich Drepper <drepper@gmail.com>
67848
67849 * malloc/mallocbug.c: Avoid warnings about unused variables.
67850
67851 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
67852
67853 [BZ #13760]
67854 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67855 in the right place. Discard and retry query if response is
67856 larger than input buffer size.
67857
67858 2012-03-28 Joseph Myers <joseph@codesourcery.com>
67859
67860 [BZ #369]
67861 [BZ #2678]
67862 [BZ #3866]
67863 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67864 x for large integer exponent.
67865 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67866 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
67867 sign of result as needed afterwards.
67868 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67869 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67870 result for underflowing pow the same as for overflow.
67871 (__kernel_standard_l): Handle powl overflow and underflow here
67872 rather than calling __kernel_standard.
67873 * math/libm-test.inc (pow_test): Add more tests.
67874
67875 [BZ #3868]
67876 [BZ #13879]
67877 [BZ #13910]
67878 [BZ #13911]
67879 [BZ #13912]
67880 [BZ #13913]
67881 [BZ #13915]
67882 [BZ #13916]
67883 [BZ #13917]
67884 [BZ #13918]
67885 [BZ #13919]
67886 [BZ #13920]
67887 [BZ #13921]
67888 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67889 * sysdeps/ieee754/k_standard.c: Include <float.h>.
67890 (__kernel_standard_l): New function.
67891 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67892 __kernel_standard.
67893 * math/w_acosl.c (__acosl): Likewise.
67894 * math/w_asinl.c (__asinl): Likewise.
67895 * math/w_atan2l.c (__atan2l): Likewise.
67896 * math/w_atanhl.c (__atanhl): Likewise.
67897 * math/w_coshl.c (__coshl): Likewise.
67898 * math/w_exp10l.c (__exp10l): Likewise.
67899 * math/w_exp2l.c (__exp2l): Likewise.
67900 * math/w_fmodl.c (__fmodl): Likewise.
67901 * math/w_hypotl.c (__hypotl): Likewise.
67902 * math/w_j0l.c (__j0l, __y0l): Likewise.
67903 * math/w_j1l.c (__j1l, __y1l): Likewise.
67904 * math/w_jnl.c (__jnl, __ynl): Likewise.
67905 * math/w_lgammal.c (__lgammal): Likewise.
67906 * math/w_log10l.c (__log10l): Likewise.
67907 * math/w_log2l.c (__log2l): Likewise.
67908 * math/w_logl.c (__logl): Likewise.
67909 * math/w_powl.c (__powl): Likewise.
67910 * math/w_remainderl.c (__remainderl): Likewise.
67911 * math/w_scalbl.c (sysv_scalbl): Likewise.
67912 * math/w_sinhl.c (__sinhl): Likewise.
67913 * math/w_sqrtl.c (__sqrtl): Likewise.
67914 * math/w_tgammal.c (__tgammal): Likewise.
67915 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67916 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67917 * math/libm-test.inc (acos_test): Add more tests.
67918 (acosh_test): Likewise.
67919 (asin_test): Likewise.
67920 (atanh_test): Likewise.
67921 (exp_test): Likewise.
67922 (exp10_test): Likewise.
67923 (exp2_test): Likewise.
67924 (expm1_test): Likewise.
67925 (lgamma_test): Likewise.
67926 (log_test): Likewise.
67927 (log10_test): Likewise.
67928 (log1p_test): Likewise.
67929 (log2_test): Likewise.
67930 (pow_test): Do not allow some spurious overflow exceptions.
67931 (sqrt_test): Add more tests.
67932 (tgamma_test): Likewise.
67933 (y0_test): Likewise.
67934 (y1_test): Likewise.
67935 (yn_test): Likewise.
67936
67937 2012-03-27 Anton Blanchard <anton@samba.org>
67938
67939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67940 MAP_HUGETLB.
67941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67942 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67944
67945 2012-03-27 David S. Miller <davem@davemloft.net>
67946
67947 * conform/Makefile: Run run-conformtest.sh using $(BASH).
67948
67949 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67950 have-as-vis3 check.
67951
67952 2012-03-27 Andreas Jaeger <aj@suse.de>
67953
67954 * sysdeps/x86_64/elf/configure.in: Moved to ...
67955 * sysdeps/x86_64/configure.in: ... here.
67956 * sysdeps/x86_64/elf/start.S: Moved to ...
67957 * sysdeps/x86_64/start.S: ... here.
67958 * sysdeps/x86_64/elf/configure: Delete.
67959
67960 * sysdeps/x86_64/configure.in: Merge contents from
67961 sysdeps/i386/configure.in (without i686 check).
67962
67963 * sysdeps/i386/elf/Versions: Merge into ...
67964 * sysdeps/i386/Versions: ... this.
67965 * sysdeps/i386/elf/Versions: Delete file.
67966 * sysdeps/i386/elf/start.S: Moved to ...
67967 * sysdeps/i386/start.S: ...here.
67968 * sysdeps/i386/elf/configure.in: Merge into...
67969 * sysdeps/i386/configure.in: ...here.
67970 * sysdeps/i386/elf/configure.in: Delete file.
67971 * sysdeps/i386/elf/configure: Delete file.
67972
67973 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67974 * debug/backtracesyms.c: ... here.
67975 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67976 * debug/backtracesymsfd.c: ... here.
67977 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67978 * sysdeps/generic/ifunc-sel.h: ... here.
67979
67980 * sysdeps/unix/i386/start.c: Delete file.
67981 * sysdeps/unix/sparc/start.c: Delete file.
67982 * sysdeps/unix/start.c: Delete file.
67983
67984 * sysdeps/sh/elf/configure.in: Moved to ...
67985 * sysdeps/sh/configure.in: ... here.
67986 * sysdeps/sh/elf/start.S: Moved to ...
67987 * sysdeps/sh/start.S: ... here.
67988 * sysdeps/sh/elf/configure: Delete file.
67989
67990 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67991 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67992 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67993 * sysdeps/powerpc/powerpc64/entry.h: ... here.
67994 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67995 * sysdeps/powerpc/powerpc64/start.S: here.
67996 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67997 * sysdeps/powerpc/powerpc64/Makefile: ... this.
67998 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67999 * sysdeps/powerpc/powerpc64/configure.in: ... this.
68000 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68001
68002 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68003 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68004 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68005 * sysdeps/powerpc/powerpc32/start.S: ... here.
68006 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68007 * sysdeps/powerpc/powerpc32/configure.in: ... this.
68008 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68009
68010 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68011 * sysdeps/powerpc/ifunc-sel.h: ... here.
68012 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68013 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68014
68015 * sysdeps/sparc/elf/configure.in: Moved to ...
68016 * sysdeps/sparc/configure.in: ... here.
68017 * sysdeps/sparc/elf/configure: Delete file.
68018 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68019 * sysdeps/sparc/sparc32/start.S: ... here.
68020 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68021 * sysdeps/sparc/sparc64/start.S: ... here.
68022 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68023 * sysdeps/sparc/sparc32/Makefile: ... this.
68024 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68025 * sysdeps/sparc/sparc64/Makefile: ... this.
68026
68027 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68028 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68029 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68030 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68031 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68032 * sysdeps/s390/s390-32/setjmp.S: ... here.
68033 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68034 * sysdeps/s390/s390-32/configure.in: ... here.
68035 * sysdeps/s390/s390-32/elf/configure: Delete file.
68036 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68037 * sysdeps/s390/s390-32/start.S: ... here.
68038
68039 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68040 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68041 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68042 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68043 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68044 * sysdeps/s390/s390-64/setjmp.S: ... here.
68045 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68046 * sysdeps/s390/s390-64/configure.in: ... here
68047 * sysdeps/s390/s390-64/elf/configure: Delete file.
68048 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68049 * sysdeps/s390/s390-64/start.S: ... here.
68050 * sysdeps/s390/s390-64/elf/configure: Delete.
68051
68052 * configure.in: Remove support for elf directories in sysdeps.
68053
68054 * configure: Regenerated.
68055 * sysdeps/i386/configure: Regenerated.
68056 * sysdeps/powerpc/powerpc32/configure: Regenerated.
68057 * sysdeps/powerpc/powerpc64/configure: Regenerated.
68058 * sysdeps/s390/s390-32/configure: Regenerated.
68059 * sysdeps/s390/s390-64/configure: Regenerated.
68060 * sysdeps/sh/configure: Regenerated.
68061 * sysdeps/sparc/configure: Regenerated.
68062 * sysdeps/x86_64/configure: Regenerated.
68063
68064 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
68065
68066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68067
68068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68069 denormal result into account.
68070
68071 2012-03-25 Roland McGrath <roland@hack.frob.com>
68072
68073 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68074 Reported by Allan McRae <allan@archlinux.org>.
68075
68076 2012-03-23 Jeff Law <law@redhat.com>
68077
68078 * nss/getnssent.c (__nss_getent): Fix typo.
68079
68080 2012-03-23 David S. Miller <davem@davemloft.net>
68081
68082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68083
68084 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
68085
68086 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68087 to pad to uint64_t for each field.
68088 (dl_tls_index): Replace unsigned long with uint64_t.
68089
68090 2012-03-23 Daniel Jacobowitz <dmj@google.com>
68091 Paul Pluzhnikov <ppluzhnikov@google.com>
68092
68093 [BZ #6528]
68094 * grp/Makefile (otherlibs): Don't set it.
68095 * inet/Makefile (otherlibs): Likewise.
68096 * login/Makefile (otherlibs): Likewise.
68097 * nscd/Makefile (otherlibs): Likewise.
68098 * posix/Makefile (otherlibs): Likewise.
68099 * pwd/Makefile (otherlibs): Likewise.
68100 * rt/Makefile (otherlibs): Likewise.
68101 * sunrpc/Makefile (otherlibs): Likewise.
68102 * nss/Makefile (otherlibs): Likewise.
68103 Add libnss_files to routines and static-only-routines.
68104 ($(objpfx)getent): Remove rule.
68105 * resolv/Makefile: Add libnss_dns and libresolv to routines and
68106 static-only-routines.
68107
68108 2012-03-22 Joseph Myers <joseph@codesourcery.com>
68109
68110 [BZ #13892]
68111 * math/s_cexp.c: Include <float.h>.
68112 (__cexp): Handle exp result overflowing not necessarily
68113 overflowing both real and imaginary parts of result.
68114 * math/s_cexpf.c: Likewise.
68115 * math/s_cexpl.c: Likewise.
68116 * math/libm-test.inc (cexp_test): Add more tests.
68117 * sysdeps/i386/fpu/libm-test-ulps: Update.
68118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68119
68120 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68121
68122 * include/link.h (ELFW): New macro.
68123 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68124 Replace ELF64_R_TYPE with ELFW(R_TYPE).
68125
68126 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68127
68128 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68129 with uint64_t.
68130
68131 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68132
68133 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68134 declaration.
68135 (struct La_x32_retval): Likewise.
68136
68137 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68138
68139 * sysdeps/x86_64/preconfigure.in: New file.
68140 * sysdeps/x86_64/preconfigure: New generated file.
68141
68142 2012-03-22 Joseph Myers <joseph@codesourcery.com>
68143
68144 [BZ #13824]
68145 * math/e_exp2l.c: Include <float.h>.
68146 (__ieee754_exp2l): Handle overflow and underflow cases
68147 separately. Only pass fractional part of argument to
68148 __ieee754_expl.
68149 * math/libm-test.inc (exp2_test): Add more tests.
68150
68151 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68152 negating x to take absolute value.
68153 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68154 Likewise.
68155 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68156 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68157 Likewise.
68158 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68159 computing low part if x was negated.
68160 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68161
68162 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
68163
68164 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68165 la_x32_gnu_pltexit.
68166 (pltexit): Cast int_retval to ptrdiff_t.
68167 * elf/tst-auditmod3b.c: Likewise.
68168 * elf/tst-auditmod4b.c: Likewise.
68169 * elf/tst-auditmod5b.c: Likewise.
68170 * elf/tst-auditmod6b.c: Likewise.
68171 * elf/tst-auditmod6c.c: Likewise.
68172 * elf/tst-auditmod7b.c: Likewise.
68173
68174 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68175 and x32_gnu_pltexit.
68176
68177 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68178 __ELF_NATIVE_CLASS.
68179 (La_x32_regs): New macro.
68180 (La_x32_retval): Likewise.
68181 (la_x32_gnu_pltenter): New function prototype.
68182 (la_x32_gnu_pltexit): Likewise.
68183
68184 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
68185
68186 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68187 exponent.
68188
68189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68190
68191 * configure.in (libc_cv_cc_nofma): Check for option to disable
68192 generation of FMA instructions.
68193 * configure: Regenerate.
68194 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68195 * sysdeps/ieee754/dbl-64/Makefile: New file.
68196 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68197 Remove brandred-fma4.
68198 (CFLAGS-brandred-fma4.c): Remove.
68199 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68200 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68201 define.
68202 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68203 define.
68204
68205 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
68206
68207 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68208 LLONG_MAX != LONG_MAX.
68209 (_itoa_word): Use _ITOA_WORD_TYPE on value.
68210 (_fitoa_word): Likewise.
68211 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68212 LLONG_MAX != LONG_MAX.
68213 * stdio-common/_itowa.h: Include <_itoa.h>.
68214 (_itowa_word): Use _ITOA_WORD_TYPE on value.
68215 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
68216 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
68217 only if not defined.
68218 (_ITOA_WORD_TYPE): Likewise.
68219 (_itoa_word): Use _ITOA_WORD_TYPE on value.
68220 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68221
68222 2012-03-21 David S. Miller <davem@davemloft.net>
68223
68224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68225
68226 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
68227
68228 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68229 of x86_64 when setting libc_cv_slibdir, libdir and
68230 libc_cv_localedir.
68231 * sysdeps/unix/sysv/linux/configure: Regenerated.
68232
68233 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68234
68235 * manual/lang.texi (Old Varargs): Remove section.
68236 (How Variadic): Update menu.
68237 (va_start): Do not mention varargs.h.
68238
68239 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
68240 Joseph Myers <joseph@codesourcery.com>
68241
68242 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68243 link test.
68244 * configure: Regenerated.
68245
68246 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
68247
68248 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68249 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68250 conformtest.pl
68251
68252 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68253
68254 * NOTES: Remove.
68255 * Makefile (files-for-dist): Remove NOTES.
68256 (NOTES): Remove rule.
68257 * README: Don't refer to NOTES.
68258 * manual/creature.texi: Don't include macros.texi.
68259 * manual/intro.texi (creature.texi): Remove comment referring to
68260 NOTES.
68261
68262 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68263 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68264 * configure: Regenerated.
68265 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68266 LIBC_TRY_CC_OPTION.
68267 (libc_cv_as_i686): Likewise.
68268 (libc_cv_cc_avx): Likewise.
68269 (libc_cv_cc_sse2avx): Likewise.
68270 (libc_cv_cc_fma4): Likewise.
68271 (libc_cv_cc_novzeroupper): Likewise.
68272 * sysdeps/i386/configure: Regenerated.
68273
68274 [BZ #13883]
68275 * sysdeps/i386/fpu/s_cexp.S: Remove.
68276 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68277 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68278 * math/libm-test.inc (cexp_test): Add more tests.
68279 * sysdeps/i386/fpu/libm-test-ulps: Update.
68280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68281
68282 2012-03-21 Allan McRae <allan@archlinux.org>
68283
68284 * timezone/Makefile: Do not install iso3166.tab and zone.tab
68285
68286 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68287
68288 [BZ #13871]
68289 * math/w_exp2.c: Do not include <float.h>.
68290 (o_threshold, u_threshold): Remove.
68291 (__exp2): Calculate result before checking finiteness and calling
68292 __kernel_standard.
68293 * math/w_exp2f.c: Likewise.
68294 * math/w_exp2l.c: Likewise.
68295 * math/libm-test.inc (exp2_test): Require overflow exception for
68296 1e6 input.
68297
68298 [BZ #3866]
68299 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68300 range of signed 64-bit integers before using fistpll. Remove
68301 checks for whether integers fit in mantissa bits.
68302 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68303 the range of signed 32-bit integers before using fistpl. Remove
68304 checks for whether integers fit in mantissa bits.
68305 * sysdeps/i386/fpu/e_powl.S (p64): New object.
68306 (__ieee754_powl): Test for y outside the range of signed 64-bit
68307 integers before using fistpll. Reduce 64-bit values to 63-bit
68308 ones as needed.
68309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68310 divide-by-zero is raised for zero to large negative powers.
68311 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68312 (__ieee754_powl): Test for y outside the range of signed 64-bit
68313 integers before using fistpll. Reduce 64-bit values to 63-bit
68314 ones as needed.
68315 * math/libm-test.inc (pow_test): Add more tests.
68316
68317 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
68318
68319 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68320 <stdio-common/_itoa.h>.
68321 * debug/segfault.c: Likewise.
68322 * elf/dl-cache.c: Likewise.
68323 * elf/dl-minimal.c: Likewise.
68324 * elf/dl-misc.c: Likewise.
68325 * elf/dl-sysdep.c: Likewise.
68326 * elf/dl-version.c: Likewise.
68327 * elf/rtld.c: Likewise.
68328 * hurd/hurdsock.c: Likewise.
68329 * hurd/lookup-retry.c: Likewise.
68330 * malloc/malloc.c: Likewise.
68331 * malloc/mtrace.c: Likewise.
68332 * nscd/nscd_getgr_r.c: Likewise.
68333 * nscd/nscd_getpw_r.c: Likewise.
68334 * nscd/nscd_getserv_r.c: Likewise.
68335 * posix/getopt_init.c: Likewise.
68336 * posix/wordexp.c: Likewise.
68337 * stdio-common/_itoa.c: Likewise.
68338 * stdio-common/printf_fphex.c: Likewise.
68339 * stdio-common/vfprintf.c: Likewise.
68340 * string/_strerror.c: Likewise.
68341 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68342 * sysdeps/i386/i686/hp-timing.h: Likewise.
68343 * sysdeps/mach/_strerror.c: Likewise.
68344 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68345 * sysdeps/mach/hurd/sethostid.c: Likewise.
68346 * sysdeps/mach/hurd/xmknodat.c: Likewise.
68347 * sysdeps/mach/xpg-strerror.c: Likewise.
68348 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68350 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68351 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68352 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68353 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68354 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68355 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68356 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68357 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68358 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68359 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68360 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68361 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68362 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68363 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68364 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68365 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68366 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68367 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68368 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68369
68370 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68371
68372 * stdio-common/_itoa.h: Moved to ...
68373 * sysdeps/generic/_itoa.h: Here.
68374
68375 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68376
68377 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68378 instead of "_itoa.h" and "_itowa.h".
68379 * stdio-common/vfprintf.: Likewise.
68380
68381 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
68382
68383 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68384 <bits/wordsize.h>.
68385 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68386 (__signbit): Likwise.
68387 (llrintf): Likwise.
68388 (llrint): Likwise.
68389
68390 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
68391
68392 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68393 __WORDSIZE != 64.
68394
68395 2012-03-20 Joseph Myers <joseph@codesourcery.com>
68396
68397 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68398 OVERFLOW_EXCEPTION_OK.
68399 * math/libm-test.inc ("Philosophy"): Update comment about
68400 exception testing.
68401 (OVERFLOW_EXCEPTION): Define.
68402 (OVERFLOW_EXCEPTION_OK): Likewise.
68403 (INVALID_EXCEPTION_OK): Renumber.
68404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68405 (IGNORE_ZERO_INF_SIGN): Likewise.
68406 (test_exceptions): Handle FE_OVERFLOW.
68407 (exp10_test): Expect overflow exceptions.
68408 (exp2_test): Likewise.
68409 (expm1_test): Likewise.
68410 (nextafter_test): Likewise.
68411 (pow_test): Likewise.
68412 (scalbn_test): Likewise.
68413 (scalbln_test): Likewise.
68414
68415 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68416
68417 * sysdeps/x86_64/bits/atomic.h
68418 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68419 64bit integer.
68420 (atomic_exchange_acq): Likewise.
68421 (__arch_exchange_and_add_body): Likewise.
68422 (__arch_add_body): Likewise.
68423 (atomic_add_negative): Likewise.
68424 (atomic_add_zero): Likewise.
68425
68426 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68427
68428 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68429 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68430
68431 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68432
68433 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68434 Check __x86_64__ instead of __WORDSIZE.
68435
68436 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68437
68438 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68439
68440 2012-03-19 David S. Miller <davem@davemloft.net>
68441
68442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68443
68444 * sysdeps/sparc/fpu/fenv_private.h: New file.
68445 * sysdeps/sparc/fpu/math_private.h: Use it.
68446 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68447 Remove.
68448 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68449 (libc_feholdexcept_setroundl): Remove.
68450 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68451 Remove.
68452 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68453 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68454
68455 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68456
68457 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68458 int64_t instead of long int.
68459 (INSERT_WORDS64): Likwise.
68460
68461 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68462
68463 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68464 _Unwind_GetCFA return to _Unwind_Ptr first.
68465
68466 2012-03-19 Joseph Myers <joseph@codesourcery.com>
68467
68468 [BZ #13629]
68469 * math/s_clog.c: Include <float.h>.
68470 (__clog): Scale large or subnormal inputs.
68471 * math/s_clogf.c: Likewise.
68472 * math/s_clogl.c: Likewise.
68473 * math/s_clog10.c: Include <float.h>.
68474 (M_LOG10_2): Define.
68475 (__clog10): Scale large or subnormal inputs.
68476 * math/s_clog10f.c: Likewise.
68477 * math/s_clog10l.c: Likewise.
68478 * math/libm-test.inc (clog_test): Add more tests.
68479 (clog10_test): Likewise.
68480 * sysdeps/i386/fpu/libm-test-ulps: Update.
68481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68482
68483 [BZ #11451]
68484 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68485 x and y.
68486 * math/libm-test.inc (atan2_test): Add another test.
68487
68488 * Makerules (common-objdir-compile): Remove.
68489 * sysdeps/unix/Makefile (config-generated): Do not add
68490 $(unix-generated) to variable.
68491 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68492 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68493 Remove rule.
68494 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68495 Likewise.
68496 [generic bits/local_lim.h] (before-compile): Do not append to
68497 variable.
68498 [generic bits/local_lim.h] (common-generated): Likewise.
68499 [generic sys/param.h] (before-compile): Do not append to variable.
68500 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68501 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68502 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68503 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68504 include.
68505 [generic sys/param.h] (sys/param.h-includes): Remove variable.
68506 [generic sys/param.h] (sys/param.h-includes): Remove rule.
68507 [generic sys/param.h] ($(addprefix
68508 $(common-objpfx),$(sys/param.h-includes))): Likewise.
68509 [generic sys/param.h] (common-generated): Do not append to
68510 variable.
68511 [generic sys/param.h] (sysdep_headers): Likewise.
68512 [generic bits/errno.h] (before-compile): Do not append to
68513 variable.
68514 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68515 rule.
68516 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68517 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68518 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68519 [generic bits/errno.h] (common-generated): Do not append to
68520 variable.
68521 [generic bits/ioctls.h] (before-compile): Do not append to
68522 variable.
68523 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68524 rule.
68525 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68526 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68527 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68528 rule.
68529 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68530 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68531 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68532 [generic bits/ioctls.h] (common-generated): Do not append to
68533 variable.
68534 [generic sys/syscall.h] (syscall.h): Remove variable.
68535 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68536 rule.
68537 [generic sys/syscall.h] (before-compile): Do not append to
68538 variable.
68539 [generic sys/syscall.h] (common-generated): Likewise.
68540 * sysdeps/unix/errnos-tmpl.c: Remove file.
68541 * sysdeps/unix/errnos.awk: Likewise.
68542 * sysdeps/unix/ioctls-tmpl.c: Likewise.
68543 * sysdeps/unix/ioctls.awk: Likewise.
68544 * sysdeps/unix/mk-local_lim.c: Likewise.
68545 * sysdeps/unix/snarf-ioctls: Likewise.
68546
68547 2012-03-19 Richard Henderson <rth@twiddle.net>
68548
68549 * sysdeps/i386/fpu/fenv_private.h: New file.
68550 * sysdeps/i386/fpu/math_private.h: Use it.
68551 (math_opt_barrier, math_force_eval): Remove.
68552 (libc_feholdexcept_setround_53bit): Remove.
68553 (libc_feupdateenv_53bit): Remove.
68554 * sysdeps/x86_64/fpu/math_private.h: Likewise.
68555 (math_opt_barrier, math_force_eval): Remove.
68556 (libc_feholdexcept): Remove.
68557 (libc_feholdexcept_setround): Remove.
68558 (libc_fetestexcept, libc_fesetenv): Remove.
68559 (libc_feupdateenv_test): Remove.
68560 (libc_feupdateenv, libc_feholdsetround): Remove.
68561 (libc_feresetround): Remove.
68562
68563 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68564 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68565
68566 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68567 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68568 (libc_feupdateenv_testl): New.
68569 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68570 (libc_feupdateenv_testf): New.
68571 (libc_feupdateenv): Use libc_feupdateenv_test.
68572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68573 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68574
68575 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68576 (libc_feholdsetroundf, libc_feholdsetroundl): New.
68577 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68578 (libc_feresetround_noex): New.
68579 (libc_feresetround_noexf): New.
68580 (libc_feresetround_noexl): New.
68581 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68582 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68583 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68584 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68585 SET_RESTORE_ROUND.
68586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68588 (__cos): Likewise.
68589 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68591 SET_RESTORE_ROUND_NOEX.
68592 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68593 SET_RESTORE_ROUND_NOEXF.
68594 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68595 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68596 (libc_feholdsetroundf): New.
68597 (libc_feresetround, libc_feresetroundf): New.
68598
68599 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68600 (libc_feholdexcept_setround_53bit): Convert from macro to function.
68601 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
68602
68603 * sysdeps/generic/math_private.h: Include <fenv.h>.
68604 (default_libc_feholdexcept): New.
68605 (default_libc_feholdexcept_setround): New.
68606 (default_libc_fesetenv, default_libc_feupdateenv): New.
68607 (libc_feholdexcept): Only define if undefined.
68608 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68609 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68610 (libc_feholdexcept_setroundl): Likewise.
68611 (libc_feholdexcept_setround_53bit): Likewise.
68612 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68613 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68614 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68615 (libc_feupdateenv_53bit): Likewise.
68616 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68617 (libc_feholdexcept): Convert from macro to inline function.
68618 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68619 (libc_fesetenv, libc_feupdateenv): Likewise.
68620
68621 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68622 not previously defined.
68623 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68624 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68625 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68626 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68627 * sysdeps/ieee754/flt-32/math_private.h: New file.
68628 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68629 math_private.h below SET_FLOAT_WORD.
68630 (__isnan, __isinf_ns, __finite): Remove.
68631 (__isnanf, __isinf_nsf, __finitef): Remove.
68632
68633 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
68634
68635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68636
68637 2012-03-17 David S. Miller <davem@davemloft.net>
68638
68639 [BZ #6471]
68640 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68641 for 2.16.
68642
68643 2012-03-16 David S. Miller <davem@davemloft.net>
68644
68645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68646 warnings.
68647
68648 [BZ #6471]
68649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68650 properly.
68651 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68652 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68653 sysdep_routines when subdir is sysvipc.
68654 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68655 __getshmlba helper.
68656
68657 * sysdeps/sparc/fpu/libm-test/ulps: Update.
68658
68659 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
68660
68661 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68662 [__LP64__].
68663
68664 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
68665
68666 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68667 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68668 (__lround): Renamed to ...
68669 (__llround): This. Replace long int with long long int.
68670 Define lround functions as aliases of llround functions.
68671 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68672
68673 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
68674
68675 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68676 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
68677 adresses to uintptr_t. Replace "long int" and "unsigned long
68678 int" with "greg_t" on va_arg.
68679
68680 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
68681
68682 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68683 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68684
68685 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68686 Move e_machine check before EI_CLASS check. Handle x32
68687 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68688 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68689 SKIP_EM_IA_64 and include
68690 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68691
68692 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68693 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68694 (add_system_dir): New macro.
68695
68696 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68697 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68698
68699 2012-03-16 Joseph Myers <joseph@codesourcery.com>
68700
68701 [BZ #2551]
68702 [BZ #2552]
68703 [BZ #2553]
68704 [BZ #2554]
68705 [BZ #2562]
68706 [BZ #2563]
68707 [BZ #2565]
68708 [BZ #2566]
68709 [BZ #2576]
68710 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68711 (y0): Likewise.
68712 * math/w_j0f.c (j0f): Likewise.
68713 (y0f): Likewise.
68714 * math/w_j0l.c (__j0l): Likewise.
68715 (__y0l): Likewise.
68716 * math/w_j1.c (j1): Likewise.
68717 (y1): Likewise.
68718 * math/w_j1f.c (j1f): Likewise.
68719 (y1f): Likewise.
68720 * math/w_j1l.c (__j1l): Likewise.
68721 (__y1l): Likewise.
68722 * math/w_jn.c (jn): Likewise.
68723 (yn): Likewise.
68724 * math/w_jnf.c (jnf): Likewise.
68725 (ynf): Likewise.
68726 * math/w_jnl.c (__jnl): Likewise.
68727 (__ynl): Likewise.
68728 * math/libm-test.inc (j0_test): Add more tests.
68729 (j1_test): Likewise.
68730 (jn_test): Likewise. Add trailing semicolon to existing test.
68731 (y0_test): Likewise.
68732 (y1_test): Likewise.
68733 * sysdeps/i386/fpu/libm-test-ulps: Update.
68734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68735
68736 [BZ #13851]
68737 [BZ #13854]
68738 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68739 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68740 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68741 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68742 (__tanl): Set errno for infinite argument.
68743 * sysdeps/i386/fpu/mptan.c: Remove.
68744 * sysdeps/i386/fpu/s_tan.S: Likewise.
68745 * sysdeps/i386/fpu/s_tanl.S: Likewise.
68746 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68747 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68748 * math/libm-test.inc (tan_test): Add more tests and enable more
68749 tests for double and long double.
68750 * sysdeps/i386/fpu/libm-test-ulps: Update.
68751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68752
68753 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
68754
68755 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68756 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68757
68758 2012-03-16 Roland McGrath <roland@hack.frob.com>
68759
68760 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68761 * configure.in: Use it for both main tree and add-ons.
68762 * configure: Regenerated.
68763
68764 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
68765
68766 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68767
68768 2012-03-16 Joseph Myers <joseph@codesourcery.com>
68769
68770 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68771 in comment.
68772
68773 [BZ #13851]
68774 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68775 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68776 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68777 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68778 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68779 infinite argument.
68780 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68782 != 0 for prec == 2.
68783 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68784 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68785 * sysdeps/i386/fpu/s_cosl.S: Likewise.
68786 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68787 * sysdeps/i386/fpu/s_sinl.S: Likewise.
68788 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68789 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68790 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68791 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68792 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68793 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68794 * math/libm-test.inc (cos_test): Add more tests and enable more
68795 tests for long double.
68796 (sin_test): Likewise.
68797 (sincos_test): Likewise.
68798 * sysdeps/i386/fpu/libm-test-ulps: Update.
68799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68800
68801 2012-03-16 David S. Miller <davem@davemloft.net>
68802
68803 * sysdeps/sparc/fpu/math_private.h: New file.
68804
68805 2012-03-15 David S. Miller <davem@davemloft.net>
68806
68807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68808 file.
68809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68811 file.
68812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68818 sysdep routines.
68819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68820
68821 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68822 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68823
68824 * sysdeps/sparc/sparc-ifunc.h: New file.
68825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68826 sparc-ifunc.h
68827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68829 Likewise.
68830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68831 Likewise.
68832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68836 Likewise.
68837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68842 Likewise.
68843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68844 Likewise.
68845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68869
68870 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
68871
68872 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68873 scaling.
68874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68875
68876 2012-03-15 Andreas Jaeger <aj@suse.de>
68877
68878 [BZ #13852]
68879 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68880 ieee754/flt-32 implementation for sin, cos and sincos.
68881 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68882 * sysdeps/i386/fpu/s_cosf.S: Likewise.
68883 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68884 * sysdeps/i386/fpu/s_sinf.S: Likewise.
68885 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68886 ieee754/flt-32 implementation for tan.
68887
68888 * math/libm-test.inc (cos_test): Enable some large input tests for
68889 float as well
68890 (sin_test): Likewise.
68891 (sincos_test): Likewise.
68892 (tan_test): Add tests for large input.
68893
68894 * sysdeps/i386/fpu/libm-test-ulps: Update.
68895
68896 2012-03-15 Andreas Jaeger <aj@suse.de>
68897
68898 [BZ #13658]
68899 * math/libm-test.inc (cos_test): Add more test cases.
68900 (sin_test): Likewise.
68901 (sincos_test): Likewise.
68902
68903 2012-03-15 Andreas Jaeger <aj@suse.de>
68904
68905 [BZ #13837]
68906 * math/libm-test.inc (cos_test): Add a test case for large input
68907 value.
68908 (sin_test): Likewise.
68909 (sincos_test): Likewise.
68910
68911 2012-03-15 Andreas Jaeger <aj@suse.de>
68912 Joseph Myers <joseph@codesourcery.com>
68913
68914 [BZ #13658]
68915 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68916 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68917 * sysdeps/i386/fpu/branred.c: Likewise.
68918 * sysdeps/i386/fpu/dosincos.c: Likewise.
68919 * sysdeps/i386/fpu/mpa.c: Likewise.
68920 * sysdeps/i386/fpu/s_cos.S: Likewise.
68921 * sysdeps/i386/fpu/s_sin.S: Likewise.
68922 * sysdeps/i386/fpu/s_sincos.S: Likewise.
68923 * sysdeps/i386/fpu/sincos32.c: Likewise.
68924
68925 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68926 Define.
68927 (libc_feupdateenv_53bit): Define.
68928 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68929 Define.
68930 (libc_feupdateenv_53bit): Define.
68931
68932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68933 53 bit (without extend i386 double precision).
68934
68935 * math/libm-test.inc (sincos_test): Add tests for large input.
68936 (sin): Likewise.
68937 (cos): Likewise.
68938
68939 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68940
68941 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
68942
68943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68944
68945 2012-03-15 David S. Miller <davem@davemloft.net>
68946
68947 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68948 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68949 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68950 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68963 file.
68964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68966 file.
68967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68969 file.
68970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68972 file.
68973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68975 fmin/fmax sysdep routines.
68976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68977
68978 2012-03-14 David S. Miller <davem@davemloft.net>
68979
68980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68984 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69009 routines.
69010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69011 file.
69012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69014 file.
69015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69017 file.
69018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69020 file.
69021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69023 file.
69024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69026 file.
69027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69028 file.
69029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69030 file.
69031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69032 file.
69033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69034 New file.
69035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69036 file.
69037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69038 file.
69039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69041 file.
69042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69044 file.
69045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69047 file.
69048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69050 VIS3 routines.
69051
69052 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69053 New file.
69054
69055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69056
69057 * sysdeps/sparc/configure.in: New file.
69058 * sysdeps/sparc/configure: Generate.
69059 * configure.in (libc_cv_sparc_as_vis3): Substitute.
69060 * configure: Regenerate.
69061 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69062 * config.make.in (have-as-vis3): New.
69063 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69064 available use -Av9d instead of -Av9a.
69065 * sysdeps/sparc/sparc64/Makefile: Likewise.
69066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69068 New file.
69069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69070 file.
69071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69072 New file.
69073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69074 file.
69075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69080
69081 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69082 fzeros/fnegs to load 0x80000000 into a float register instead of
69083 using the stack.
69084 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69085
69086 2012-03-14 Joseph Myers <joseph@codesourcery.com>
69087
69088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69089 bits/syscall.h.
69090 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69091 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69092 ($(inst_includedir)/bits/syscall.h): Remove rule.
69093 ($(objpfx)bits/syscall.d): Include instead of
69094 $(objpfx)syscall-list.d.
69095 (generated): Change syscall-list.h and syscall-list.d to
69096 bits/syscall.h and bits/syscall.d.
69097
69098 2012-03-14 Roland McGrath <roland@hack.frob.com>
69099
69100 [BZ #13846]
69101 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69102
69103 2012-03-14 Joseph Myers <joseph@codesourcery.com>
69104
69105 [BZ #13841]
69106 * math/s_csqrt.c: Include <float.h>.
69107 (__csqrt): Scale large or subnormal inputs.
69108 * math/s_csqrtf.c: Likewise.
69109 * math/s_csqrtl.c: Likewise.
69110 * math/libm-test.inc (csqrt_test): Add more tests.
69111 * sysdeps/i386/fpu/libm-test-ulps: Update.
69112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69113
69114 [BZ #13840]
69115 * math/libm-test.inc (hypot_test): Add more tests.
69116
69117 2012-03-13 David S. Miller <davem@davemloft.net>
69118
69119 [BZ #13840]
69120 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69121 double-precision for the calculation instead of scaling.
69122
69123 2012-03-13 Joseph Myers <joseph@codesourcery.com>
69124
69125 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69126 manipulate bits before adding and subtracting TWO52[sx].
69127 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69129 Likewise.
69130 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69131
69132 2012-03-13 David S. Miller <davem@davemloft.net>
69133
69134 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69135 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69137 rtld-global-offsets.h
69138 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69139
69140 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69141 large parameters.
69142
69143 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69144
69145 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69146 'err' in the ifdef scope in which it is actually used.
69147
69148 * nss/nss_db/db-init.c: Include string.h
69149
69150 2012-03-12 David S. Miller <davem@davemloft.net>
69151
69152 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69153 masking out of the most significant byte of random value used.
69154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69155 Fix coding style in previous change.
69156
69157 * sysdeps/unix/sysv/linux/kernel-features.h
69158 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69159 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69160 expression.
69161 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69162 later.
69163
69164 2012-03-11 David S. Miller <davem@davemloft.net>
69165
69166 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69167 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69168 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69169 for 'resultvar' otherwise things get truncated on 64-bit.
69170
69171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69172 Fix masking out of the most significant byte of random value used.
69173
69174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69175
69176 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
69177
69178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69179
69180 2012-03-09 David S. Miller <davem@davemloft.net>
69181
69182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69183 variables with appropriate CPP guards.
69184 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69185 from the frame pointer, not the stack pointer. Correct layout
69186 comments. Fix test on resulting framesize and the management of
69187 the outregs buffer for pltexit. Preserve floating point return
69188 values across _dl_call_pltexit call.
69189 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69190 framesize and the management of the outregs buffer for pltexit.
69191 Preserve floating point return values across _dl_call_pltexit
69192 call.
69193 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69194 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69195 (la_sparc64_gnu_pltexit): New functions.
69196 (print_exit): Fix format string for return register value.
69197
69198 2012-03-10 Joseph Myers <joseph@codesourcery.com>
69199
69200 * sunrpc/Makefile (others): Add rpcgen.
69201 ($(objpfx)rpcgen): Remove special build rule and dependency on
69202 libc.
69203 * sunrpc/rpcgen.c: New file.
69204
69205 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
69206
69207 [BZ #13673]
69208 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69209 * stdio-common/bug-vfprintf-nargs.c: Likewise.
69210 * sysdeps/i386/crti.S: Likewise.
69211 * sysdeps/i386/crtn.S: Likewise.
69212 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69213 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69214 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69215 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69216 * sysdeps/sh/crti.S: Likewise.
69217 * sysdeps/sh/crtn.S: Likewise.
69218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69219
69220 [BZ #13673]
69221 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69222 with URL.
69223 * locale/programs/locfile-kw.gperf: Likewise.
69224 * locale/programs/charmap-kw.h: Regenerated.
69225 * locale/programs/locfile-kw.h: Likewise.
69226
69227 [BZ #13673]
69228 * intl/plural.y: Replace FSF snail mail address with URL.
69229 * intl/plural.c: Regenerated.
69230
69231 2012-03-09 Richard Henderson <rth@twiddle.net>
69232
69233 * include/math_private.h: Remove file.
69234 * math/math_private.h: Move file ...
69235 * sysdeps/generic/math_private.h: ... here.
69236
69237 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69238 * sysdeps/powerpc/fpu/math_private.h: Likewise.
69239 * sysdeps/x86_64/fpu/math_private.h: Likewise.
69240
69241 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69242 and <math_private.h>.
69243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69248 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69249 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69251 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69254 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69255 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69257 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69260 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69261 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69269 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69283 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69286 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69288 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69289 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69290 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69293 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69294 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69295 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69297 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69302 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69307 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69317 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69323 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69330 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69331 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69334 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69336 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69337 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69338 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69340 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69342 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69343 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69344 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69345 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69346 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69348 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69349 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69350 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69355 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69356 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69357 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69359 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69360 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69363 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69364 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69366 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69368 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69370 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69371 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69372 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69373 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69374 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69376 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69377 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69380 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69381 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69383 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69385 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69386 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69387 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69388 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69389 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69390 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69391 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69392 * sysdeps/ieee754/k_standard.c: Likewise.
69393 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69394 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69396 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69397 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69398 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69399 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69410 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69411 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69412 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69413 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69414 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69416 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69417 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69418 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69419 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69420 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69421 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69423 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69424 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69425 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69426 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69431 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69432 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69433 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69434 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69435 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69437 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69438 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69439 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69441 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69443 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69444 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69446 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69449 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69450 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69451 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69452 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69453 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69470 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69472 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69473 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69485 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69486 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69489 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69491 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69497 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69500 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69501 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69526 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69527 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69529 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69533 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69534 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69535 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69537 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69540 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69541 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69542 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69547 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69548 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69553 * sysdeps/ieee754/s_lib_version.c: Likewise.
69554 * sysdeps/ieee754/s_matherr.c: Likewise.
69555 * sysdeps/ieee754/s_signgam.c: Likewise.
69556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69559 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69561 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69562 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69563 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69564 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69565 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69567 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69568 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69569 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69570 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69573 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69574 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69577
69578 2012-03-09 Joseph Myers <joseph@codesourcery.com>
69579
69580 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69581 * sunrpc/rpc_main.c: Likewise.
69582 * sunrpc/rpc_svcout.c: Likewise.
69583
69584 2012-03-09 David S. Miller <davem@davemloft.net>
69585
69586 * include/math_private.h: New file.
69587
69588 2012-03-09 Joseph Myers <joseph@codesourcery.com>
69589
69590 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69591 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69592 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69593 from <bits/socket_type.h>.
69594 (enum __socket_type): Don't define here.
69595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69597 bits/socket_type.h.
69598
69599 [BZ #13566]
69600 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69601 checking __USE_GNU.
69602
69603 * Makerules ($(inst_includedir)/%.h): New rule.
69604 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69605 (install-others): Remove variable setting.
69606 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69607
69608 2012-03-08 Richard Henderson <rth@twiddle.net>
69609
69610 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69611 from macro to inline function; merge with the
69612 !__LIBC_INTERNAL_MATH_INLINES version.
69613 (__ieee754_sqrtf): Likewise.
69614
69615 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69616 to inline function.
69617 (__rintf, __floor, __floorf): Likewise.
69618
69619 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69620 macro to inline function.
69621 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69622
69623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69624 not <math/math_private.h>.
69625
69626 2012-03-08 David S. Miller <davem@davemloft.net>
69627
69628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69629 copyright year.
69630 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69631
69632 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
69633
69634 * resolv/gai_misc.c (handle_requests): Fix struct timespec
69635 normalization.
69636 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69637 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69638
69639 2012-03-08 Ulrich Drepper <drepper@gmail.com>
69640
69641 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
69642 be defined individually, they must be defined as a block. Define
69643 S for printing a string instead of hidint the different by using a
69644 macro for adding the 'l'.
69645 * stdio-common/tst-fphex-wide.c: Adjust.
69646
69647 2012-03-07 Marek Polacek <polacek@redhat.com>
69648
69649 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69650
69651 2012-03-08 Marek Polacek <polacek@redhat.com>
69652
69653 [BZ #13806]
69654 * stdio-common/Makefile (tests): Add tst-fphex-wide.
69655 * stdio-common/tst-fphex.c: Define a few macros to make the
69656 test reusable. Use them.
69657 * stdio-common/tst-fphex-wide.c: New file.
69658
69659 2012-03-08 Joseph Myers <joseph@codesourcery.com>
69660
69661 [BZ #6911]
69662 * manual/macros.texi (gnusystems): New macro.
69663 (nongnusystems): Likewise.
69664 (gnulinuxhurdsystems): Likewise.
69665 (gnuhurdsystems): Likewise..
69666 (gnulinuxsystems): Likewise.
69667 * manual/charset.texi: Use new macros or @theglibc{} to refer to
69668 variants of the GNU system, not "GNU system".
69669 * manual/conf.texi: Likewise.
69670 * manual/errno.texi: Likewise. Update example of errno macro
69671 expansion.
69672 * manual/filesys.texi: Likewise.
69673 (getumask): Document as specific to GNU/Hurd.
69674 * manual/install.texi: Likewise. Reword some references to
69675 GNU/Linux.
69676 * manual/intro.texi: Likewise.
69677 * manual/io.texi: Likewise.
69678 (File Name Portability): Detail which constraints are inapplicable
69679 to all GNU systems and which are only inapplicable to GNU/Hurd.
69680 * manual/job.texi: Likewise.
69681 * manual/llio.texi: Likewise.
69682 (O_NOCTTY): Document as present on GNU/Linux.
69683 * manual/maint.texi: Likewise.
69684 * manual/memory.texi: Likewise.
69685 * manual/pattern.texi: Likewise.
69686 * manual/pipe.texi: Likewise.
69687 * manual/process.texi: Likewise.
69688 * manual/resource.texi: Likewise.
69689 (RUSAGE_CHILDREN): Remove statement about specifying a particular
69690 child on GNU/Hurd.
69691 * manual/setjmp.texi: Likewise.
69692 * manual/signal.texi: Likewise.
69693 * manual/startup.texi: Likewise.
69694 * manual/stdio.texi: Likewise.
69695 * manual/terminal.texi: Likewise.
69696 (ONLCR): Document as POSIX.
69697 (OXTABS): Document availability on GNU/Linux as XTABS.
69698 (ONOEOT): Document availability separately from other bits.
69699 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69700 * manual/time.texi: Likewise.
69701 * manual/users.texi: Likewise.
69702 * INSTALL: Regenerated.
69703 * sysdeps/gnu/errlist.c: Regenerated.
69704
69705 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69706 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69707 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
69708 puts.
69709 * configure: Regenerated.
69710
69711 2012-03-07 Joseph Myers <joseph@codesourcery.com>
69712
69713 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69714 default includes instead of AC_HEADER_CHECK.
69715 * sysdeps/i386/configure: Regenerated.
69716
69717 [BZ #10716]
69718 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69719 * math/s_cacoshf.c (__cacoshf): Likewise.
69720 * math/s_cacoshl.c (__cacoshl): Likewise.
69721 * math/s_casinh.c (__casinh): Set signs of result from argument.
69722 * math/s_casinhf.c (__casinhf): Likewise.
69723 * math/s_casinhl.c (__casinhl): Likewise.
69724 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69725 (casinh_test): Add more tests.
69726 * sysdeps/i386/fpu/libm-test-ulps: Update.
69727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69728
69729 2012-03-07 Ulrich Drepper <drepper@gmail.com>
69730
69731 * po/zh_TW.po: Update from translation team.
69732
69733 * login/Makefile (distribute): Remove variable.
69734 * catgets/Makefile: Likewise.
69735 * mach/Makefile: Likewise.
69736 * malloc/Makefile: Likewise.
69737 * misc/Makefile: Likewise.
69738 * iconv/Makefile: Likewise.
69739 * nscd/Makefile: Likewise.
69740 * hurd/Makefile: Likewise.
69741 * manual/Makefile: Likewise.
69742 * locale/Makefile: Likewise.
69743 * intl/Makefile: Likewise.
69744 * conform/Makefile: Likewise.
69745 * nss/Makefile: Likewise.
69746 * time/Makefile: Likewise.
69747 * soft-fp/Makefile: Likewise.
69748 * dirent/Makefile: Likewise.
69749 * gmon/Makefile: Likewise.
69750 * po/Makefile: Likewise.
69751 * rt/Makefile: Likewise.
69752 * socket/Makefile: Likewise.
69753 * math/Makefile: Likewise.
69754 * signal/Makefile: Likewise.
69755 * debug/Makefile: Likewise.
69756 * elf/Makefile: Likewise.
69757 * timezone/Makefile: Likewise.
69758 * stdlib/Makefile: Likewise.
69759 * iconvdata/Makefile: Likewise.
69760 * sunrpc/Makefile: Likewise.
69761 * io/Makefile: Likewise.
69762 * argp/Makefile: Likewise.
69763 * inet/Makefile: Likewise.
69764 * hesiod/Makefile: Likewise.
69765 * grp/Makefile: Likewise.
69766 * csu/Makefile: Likewise.
69767 * wctype/Makefile: Likewise.
69768 * crypt/Makefile: Likewise.
69769 * libio/Makefile: Likewise.
69770 * string/Makefile: Likewise.
69771 * nis/Makefile: Likewise.
69772 * resolv/Makefile: Likewise.
69773 * stdio-common/Makefile: Likewise.
69774 * wcsmbs/Makefile: Likewise.
69775 * dlfcn/Makefile: Likewise.
69776 * posix/Makefile: Likewise.
69777
69778 [BZ #6959]
69779 * timezone/Makefile: Don't install timezone files, just the programs
69780 and scripts.
69781
69782 2012-03-06 Ulrich Drepper <drepper@gmail.com>
69783
69784 * nss/databases.def: Add missing gshadow entry.
69785
69786 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
69787
69788 2012-03-06 Marek Polacek <polacek@redhat.com>
69789
69790 [BZ #13726]
69791 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69792 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69793 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69794 * stdio-common/tst-long-dbl-fphex.c: New file.
69795
69796 2012-03-06 David S. Miller <davem@davemloft.net>
69797
69798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69799 (set_obp_int): New function.
69800 (get_obp_int): New function.
69801 (__get_clockfreq_via_dev_openprom): Likewise.
69802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69803 Avoid unused variable warnings on 'val' and use builtin_expect.
69804 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69805 __builtin_expect.
69806 (INLINE_CLONE_SYSCALL): Likewise.
69807
69808 2012-03-05 David S. Miller <davem@davemloft.net>
69809
69810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69811
69812 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
69813
69814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69815
69816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69817 only for |x| >= 40.
69818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69819
69820 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
69821
69822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69823 Replace gettimeofday with __vdso_gettimeofday.
69824
69825 * sysdeps/unix/sysv/linux/x86_64/init-first.c
69826 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69827 __vdso_clock_gettime and __vdso_getcpu.
69828
69829 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69830 time with __vdso_time.
69831
69832 2012-03-05 Joseph Myers <joseph@codesourcery.com>
69833
69834 * manual/lang.texi (size_t): Note types to which size_t may be
69835 equivalent with the GNU C Library, but do not describe when
69836 differences between them are significant.
69837
69838 2012-03-05 Andreas Jaeger <aj@suse.de>
69839
69840 * sysdeps/i386/fpu/libm-test-ulps: Update.
69841
69842 2012-03-05 Joseph Myers <joseph@codesourcery.com>
69843
69844 [BZ #3976]
69845 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69846 (__ieee754_pow): Save and restore rounding mode and use
69847 round-to-nearest for main computations.
69848 * math/libm-test.inc (pow_test_tonearest): New function.
69849 (pow_test_towardzero): Likewise.
69850 (pow_test_downward): Likewise.
69851 (pow_test_upward): Likewise.
69852 (main): Call the new functions.
69853 * sysdeps/i386/fpu/libm-test-ulps: Update.
69854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69855
69856 [BZ #3976]
69857 * math/libm-test.inc (cosh_test_tonearest): New function.
69858 (cosh_test_towardzero): Likewise.
69859 (cosh_test_downward): Likewise.
69860 (cosh_test_upward): Likewise.
69861 (sinh_test_tonearest): Likewise.
69862 (sinh_test_towardzero): Likewise.
69863 (sinh_test_downward): Likewise.
69864 (sinh_test_upward): Likewise.
69865 (main): Call the new functions.
69866 * sysdeps/i386/fpu/libm-test-ulps: Update.
69867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69868
69869 2012-03-05 Tom de Vries <tom@codesourcery.com>
69870
69871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69872 default stack guard is set in last bytes.
69873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69874
69875 2012-03-05 Kees Cook <keescook@chromium.org>
69876
69877 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69878
69879 [BZ #13656]
69880 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69881 possibly allocate from heap instead of stack.
69882 * stdio-common/bug-vfprintf-nargs.c: New file.
69883 * stdio-common/Makefile (tests): Add nargs overflow test.
69884
69885 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
69886
69887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69888
69889 2012-03-03 Marek Polacek <polacek@redhat.com>
69890
69891 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69892 * math/math_private.h: Likewise.
69893 * stdlib/tst-strtod.c: Likewise.
69894 * sysdeps/i386/i486/bits/atomic.h: Likewise.
69895 * sysdeps/x86_64/bits/atomic.h: Likewise.
69896
69897 2012-03-02 David S. Miller <davem@davemloft.net>
69898
69899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69903 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69904 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69905 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69906 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69907
69908 2012-03-02 Roland McGrath <roland@hack.frob.com>
69909
69910 [BZ #13792]
69911 * manual/examples/README: New file, says the example source files
69912 can be used under GPL>=2.
69913 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69914 line containing just "*/".
69915 * manual/examples/add.c: Add copyright header (GPL>=2).
69916 * manual/examples/argp-ex1.c: Likewise.
69917 * manual/examples/argp-ex2.c: Likewise.
69918 * manual/examples/argp-ex3.c: Likewise.
69919 * manual/examples/argp-ex4.c: Likewise.
69920 * manual/examples/atexit.c: Likewise.
69921 * manual/examples/db.c: Likewise.
69922 * manual/examples/dir.c: Likewise.
69923 * manual/examples/dir2.c: Likewise.
69924 * manual/examples/execinfo.c: Likewise.
69925 * manual/examples/filecli.c: Likewise.
69926 * manual/examples/filesrv.c: Likewise.
69927 * manual/examples/fmtmsgexpl.c: Likewise.
69928 * manual/examples/genpass.c: Likewise.
69929 * manual/examples/inetcli.c: Likewise.
69930 * manual/examples/inetsrv.c: Likewise.
69931 * manual/examples/isockad.c: Likewise.
69932 * manual/examples/longopt.c: Likewise.
69933 * manual/examples/memopen.c: Likewise.
69934 * manual/examples/memstrm.c: Likewise.
69935 * manual/examples/mkfsock.c: Likewise.
69936 * manual/examples/mkisock.c: Likewise.
69937 * manual/examples/mygetpass.c: Likewise.
69938 * manual/examples/pipe.c: Likewise.
69939 * manual/examples/popen.c: Likewise.
69940 * manual/examples/rprintf.c: Likewise.
69941 * manual/examples/search.c: Likewise.
69942 * manual/examples/select.c: Likewise.
69943 * manual/examples/setjmp.c: Likewise.
69944 * manual/examples/sigh1.c: Likewise.
69945 * manual/examples/sigusr.c: Likewise.
69946 * manual/examples/stpcpy.c: Likewise.
69947 * manual/examples/strdupa.c: Likewise.
69948 * manual/examples/strftim.c: Likewise.
69949 * manual/examples/strncat.c: Likewise.
69950 * manual/examples/subopt.c: Likewise.
69951 * manual/examples/swapcontext.c: Likewise.
69952 * manual/examples/termios.c: Likewise.
69953 * manual/examples/testopt.c: Likewise.
69954 * manual/examples/testpass.c: Likewise.
69955 * manual/examples/timeval_subtract.c: Likewise.
69956
69957 [BZ #13792]
69958 * manual/time.texi (Elapsed Time): Move timeval_subtract example
69959 function to ...
69960 * manual/timeval_subtract.c.texi: ... here, new file.
69961
69962 2012-03-02 David S. Miller <davem@davemloft.net>
69963
69964 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69965
69966 2012-03-02 Joseph Myers <joseph@codesourcery.com>
69967
69968 [BZ #3976]
69969 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69970 (__sin): Save and restore rounding mode and use round-to-nearest
69971 for all computations.
69972 (__cos): Save and restore rounding mode and use round-to-nearest
69973 for all computations.
69974 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69975 <fenv.h>.
69976 (tan): Save and restore rounding mode and use round-to-nearest for
69977 all computations.
69978 * math/libm-test.inc (cos_test_tonearest): New function.
69979 (cos_test_towardzero): Likewise.
69980 (cos_test_downward): Likewise.
69981 (cos_test_upward): Likewise.
69982 (sin_test_tonearest): Likewise.
69983 (sin_test_towardzero): Likewise.
69984 (sin_test_downward): Likewise.
69985 (sin_test_upward): Likewise.
69986 (tan_test_tonearest): Likewise.
69987 (tan_test_towardzero): Likewise.
69988 (tan_test_downward): Likewise.
69989 (tan_test_upward): Likewise.
69990 (main): Call the new functions.
69991 * sysdeps/i386/fpu/libm-test-ulps: Update.
69992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69993
69994 [BZ #10135]
69995 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69996 small n, then large n, before computing and testing k+n.
69997 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69999 Likewise.
70000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70001 Likewise.
70002 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70003 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70010 * math/libm-test.inc (scalbn_test): Add more tests.
70011 (scalbln_test): Likewise.
70012
70013 * manual/filesys.texi (mode_t): Describe constraints on size and
70014 signedness, not exact equivalence to a particular type.
70015 (ino_t): Likewise.
70016 (ino64_t): Likewise.
70017 (dev_t): Likewise.
70018 (nlink_t): Likewise.
70019 (blkcnt_t): Likewise.
70020 (blkcnt64_t): Likewise.
70021 * manual/llio.texi (off_t): Likewise.
70022
70023 [BZ #3976]
70024 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70025 (__ieee754_exp): Save and restore rounding mode and use
70026 round-to-nearest for all computations.
70027 * math/libm-test.inc (exp_test_tonearest): New function.
70028 (exp_test_towardzero): Likewise.
70029 (exp_test_downward): Likewise.
70030 (exp_test_upward): Likewise.
70031 (main): Call the new functions.
70032 * sysdeps/i386/fpu/libm-test-ulps: Update.
70033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70034
70035 2012-03-01 Chris Demetriou <cgd@google.com>
70036
70037 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70038 have predictable order.
70039
70040 2012-03-01 David S. Miller <davem@davemloft.net>
70041
70042 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70043
70044 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70045 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70046 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70047 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70048
70049 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70050 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70051 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70053 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70054 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70055 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70056 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70057 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70058
70059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70060
70061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70062 * sysdeps/sparc/fpu/libm-test-ulps: to here.
70063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70064
70065 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70066 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70067 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70068 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70069 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70072 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70073 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70074 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70075 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70076 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70081 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70082 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70083 * sysdeps/sparc/elf/configure: Regenerated.
70084
70085 2012-03-01 Joseph Myers <joseph@codesourcery.com>
70086
70087 * configure.in (AS, LD): Require binutils 2.20 or later.
70088 * configure: Regenerated.
70089 * manual/install.texi (Tools for Compilation): Give binutils 2.20
70090 as required minimum version.
70091 * INSTALL: Regenerated.
70092
70093 [BZ #2541]
70094 [BZ #4108]
70095 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70096 before squaring exponent.
70097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70098 bottom long double and 27 bits of top long double before squaring
70099 exponent.
70100 * math/libm-test.inc (erfc_test): Add more tests.
70101 * sysdeps/i386/fpu/libm-test-ulps: Update.
70102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70104
70105 2012-03-01 Kai Tietz <ktietz@redhat.com>
70106
70107 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70108 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70109 containing bit-fields.
70110 * soft-fp/extended.h (_FP_UNION_E): Likewise.
70111 * soft-fp/single.h (_FP_UNION_S): Likewise.
70112 * soft-fp/double.h (_FP_UNION_D): Likewise.
70113
70114 2012-02-29 Joseph Myers <joseph@codesourcery.com>
70115
70116 [BZ #13786]
70117 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70118 not include ../strcmp.S.
70119 [USE_AS_STRNCASECMP_L]: Likewise.
70120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70121 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70122 * sysdeps/i386/i686/multiarch/strncase_l-c.c
70123 (__strncasecmp_l_ia32): Define as alias to
70124 __strncasecmp_l_nonascii.
70125
70126 [BZ #5794]
70127 * math/libm-test.inc (expm1_test): Add test for bug 5794.
70128 * sysdeps/i386/fpu/libm-test-ulps: Update.
70129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70130
70131 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70133
70134 2012-02-29 Jeff Law <law@redhat.com>
70135
70136 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70137 out of bounds read.
70138
70139 2012-02-29 Marek Polacek <polacek@redhat.com>
70140
70141 [BZ #13706]
70142 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70143 * elf/Makefile: Add rules to run tst-unused-dep.out.
70144
70145 2012-02-28 David S. Miller <davem@davemloft.net>
70146
70147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70151 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70152 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70153
70154 2012-02-29 Joseph Myers <joseph@codesourcery.com>
70155
70156 * math/libm-test.inc (llround_test): Move one test from
70157 lround_test. Use TEST_f_L in moved test.
70158 (lround_test): Move misplaced test to llround_test. Add testcase
70159 from bug 2561.
70160
70161 2012-02-28 Ulrich Drepper <drepper@gmail.com>
70162
70163 * sysdeps/x86_64/fpu/e_expf.S: New file.
70164 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70165
70166 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
70167
70168 [BZ #13637]
70169 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70170 of remain_len that may cause incomplete multi-byte character and
70171 false match.
70172 * posix/bug-regex33.c: New file.
70173 * posix/Makefile (tests): Add bug-regex33.
70174
70175 2012-02-28 Joseph Myers <joseph@codesourcery.com>
70176
70177 * manual/macros.texi: New file.
70178 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70179 * manual/libc.texinfo: Include macros.texi.
70180 * manual/creatute.texi: Likewise.
70181 * manual/install.texi: Likewise.
70182 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70183 @glibcadj{} in references to the GNU C Library.
70184 * manual/charset.texi: Likewise.
70185 * manual/conf.texi: Likewise.
70186 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
70187 when not using those macros.
70188 * manual/creature.texi: Likewise.
70189 * manual/crypt.texi: Likewise.
70190 * manual/errno.texi: Likewise.
70191 * manual/filesys.texi: Likewise.
70192 * manual/header.texi: Likewise.
70193 * manual/install.texi: Likewise.
70194 * manual/intro.texi: Likewise.
70195 * manual/io.texi: Likewise.
70196 * manual/job.texi: Likewise.
70197 * manual/lang.texi: Likewise.
70198 * manual/libc.texiinfo: Likewise.
70199 * manual/llio.texi: Likewise.
70200 * manual/locale.texi: Likewise.
70201 * manual/maint.texi: Likewise.
70202 * manual/math.texi: Likewise.
70203 * manual/memory.texi: Likewise.
70204 * manual/message.texi: Likewise.
70205 * manual/nss.texi: Likewise.
70206 * manual/pattern.texi: Likewise.
70207 * manual/process.texi: Likewise.
70208 * manual/resource.texi: Likewise.
70209 * manual/search.texi: Likewise.
70210 * manual/setjmp.texi: Likewise.
70211 * manual/signal.texi: Likewise.
70212 * manual/socket.texi: Likewise.
70213 * manual/startup.texi: Likewise.
70214 * manual/stdio.texi: Likewise.
70215 * manual/string.texi: Likewise.
70216 * manual/sysinfo.texi: Likewise.
70217 * manual/syslog.texi: Likewise.
70218 * manual/terminal.texi: Likewise.
70219 * manual/time.texi: Likewise.
70220 * manual/users.texi: Likewise.
70221 * INSTALL: Regenerated.
70222 * NOTES: Regenerated.
70223 * sysdeps/gnu/errlist.c: Regenerated.
70224
70225 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
70226
70227 * include/dirent.h: Include <dirstream.h> before
70228 <dirent/dirent.h>.
70229
70230 2012-02-28 David S. Miller <davem@davemloft.net>
70231
70232 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70233 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70234 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70236
70237 2012-02-27 David S. Miller <davem@davemloft.net>
70238
70239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70241 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70242 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70243
70244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70245 frame pointer instead of stack pointer relative arg slot.
70246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70249
70250 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
70251
70252 [BZ #3992]
70253 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70254
70255 2012-02-27 David S. Miller <davem@davemloft.net>
70256
70257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70261 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70262 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70263 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70264 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70265
70266 2012-02-27 Joseph Myers <joseph@codesourcery.com>
70267
70268 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70269 later. Allow versions 5-9.
70270 * configure: Regenerated.
70271 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70272 required minimum version and 4.6 as recommended version. Do not
70273 mention bugs in GCC 2.7 and 2.8.
70274 * INSTALL: Regenerated.
70275
70276 2012-02-27 David S. Miller <davem@davemloft.net>
70277
70278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70284 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70285 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70286
70287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70288 manipulate bits before adding and subtracting TWO112[sx].
70289 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70290
70291 2012-02-27 Roland McGrath <roland@hack.frob.com>
70292
70293 [BZ #13775]
70294 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70295 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70296 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70297 being in POSIX, because they are in 1003.1-2008.
70298
70299 * rt/tst-aio.c: Include <fcntl.h>.
70300 * rt/tst-aio7.c: Likewise.
70301 * rt/tst-aio64.c: Likewise.
70302
70303 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70304
70305 2012-02-27 Joseph Myers <joseph@codesourcery.com>
70306
70307 * manual/install.texi (--with-headers): Describe headers as
70308 interface headers, not private headers.
70309 (Specific advice for GNU/Linux systems): Describe use of headers
70310 from "make headers_install", not private headers from older
70311 kernels.
70312 * INSTALL: Regenerated.
70313 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70314 Change to 2.6.19.
70315 * sysdeps/unix/sysv/linux/configure: Regenerated.
70316
70317 * manual/llio.texi (fclean): Remove documentation.
70318
70319 * manual/Makefile (libc-texi-generated): New variable. Include
70320 version.texi.
70321 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70322 $(libc-texi-generated), not duplicated list of files.
70323 (version.texi, stamp-version): New rules.
70324 (realclean): Remove $(libc-texi-generated), not individual files
70325 from that list. Do not remove dir-add.texinfo.
70326 * manual/libc.texinfo: Comment out uses of edition numbers and
70327 references to printed manual. Remove last-updated dates.
70328 (EDITION): Comment out.
70329 (ISBN): Likewise.
70330 (VERSION, UPDATED): Remove.
70331 (version.texi): Include.
70332
70333 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
70334
70335 * sysdeps/posix/spawni.c: Include <signal.h>.
70336 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70337 * sysdeps/pthread/aio_fsync.c: Likewise.
70338
70339 2012-02-26 Ulrich Drepper <drepper@gmail.com>
70340
70341 * conform/Makefile (tests): Run only when not cross-compiling and
70342 when fast-check is not defined.
70343
70344 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70345 * conform/data/limits.h-data: Fixes for POSIX2008.
70346 * conform/run-conformtest.sh: Run all tests.
70347 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70348 headers.
70349 * include/bits/dlfcn.h: Likewise.
70350 * include/langinfo.h: Likewise.
70351 * include/monetary.h: Likewise.
70352 * include/sys/poll.h: Likewise.
70353
70354 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70355 for __USE_GNU.
70356 * posix/spawn.h: Define __need_sigset_t.
70357 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70358 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70359 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
70360 to get sigevent_t only.
70361 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70362 only for __USE_GNU.
70363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70364 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70365 process_vm_writev only for __USE_GNU.
70366 * termios/termios.h: Declare tcgetsid also for POSIX2008.
70367
70368 * conform/Makefile: For now ignore errors from run-conformtest.
70369 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
70370 POSIX to avoid namespace pollution. Don't prepend headers.
70371 * conform/data/aio.h-data: Fixes for POSIX testing.
70372 * conform/data/fcntl.h-data: Likewise.
70373 * conform/data/glob.h-data: Likewise.
70374 * conform/data/grp.h-data: Likewise.
70375 * conform/data/pthread.h-data: Likewise.
70376 * conform/data/pwd.h-data: Likewise.
70377 * conform/data/signal.h-data: Likewise.
70378 * conform/data/spawn.h-data: Likewise.
70379 * conform/data/stdio.h-data: Likewise.
70380 * conform/data/stdlib.h-data: Likewise.
70381 * conform/data/stropts.h-data: Likewise.
70382 * conform/data/sys/mman.h-data: Likewise.
70383 * conform/data/sys/stat.h-data: Likewise.
70384 * conform/data/sys/types.h-data: Likewise.
70385 * conform/data/sys/wait.h-data: Likewise.
70386 * conform/data/time.h-data: Likewise.
70387 * conform/data/unistd.h-data: Likewise.
70388 * conform/data/utime.h-data: Likewise.
70389
70390 * io/sys/stat.h: fchmod was always in POSIX.
70391 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70392 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70393 * rt/aio.h: Define __need_timespec before including <time.h>.
70394 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70395 struct. Add forward declaration of pthread_attr_t and use it in
70396 sigevent.
70397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70399 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70400 always remove CLK_TCK definition.
70401
70402 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
70403
70404 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70405
70406 2012-02-25 Ulrich Drepper <drepper@gmail.com>
70407
70408 * conform/run-conformtest.sh: New file.
70409 * conform/Makefile: Run run-conformtest for tests.
70410 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
70411 support.
70412
70413 * conform/data/uchar.h-data: New file.
70414 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70415 * conform/data/arpa/inet.h-data: Likewise.
70416 * conform/data/assert.h-data: Likewise.
70417 * conform/data/complex.h-data: Likewise.
70418 * conform/data/cpio.h-data: Likewise.
70419 * conform/data/ctype.h-data: Likewise.
70420 * conform/data/dirent.h-data: Likewise.
70421 * conform/data/dlfcn.h-data: Likewise.
70422 * conform/data/errno.h-data: Likewise.
70423 * conform/data/fcntl.h-data: Likewise.
70424 * conform/data/float.h-data: Likewise.
70425 * conform/data/fmtmsg.h-data: Likewise.
70426 * conform/data/fnmatch.h-data: Likewise.
70427 * conform/data/ftw.h-data: Likewise.
70428 * conform/data/glob.h-data: Likewise.
70429 * conform/data/grp.h-data: Likewise.
70430 * conform/data/iconv.h-data: Likewise.
70431 * conform/data/inttypes.h-data: Likewise.
70432 * conform/data/langinfo.h-data: Likewise.
70433 * conform/data/libgen.h-data: Likewise.
70434 * conform/data/limits.h-data: Likewise.
70435 * conform/data/locale.h-data: Likewise.
70436 * conform/data/math.h-data: Likewise.
70437 * conform/data/monetary.h-data: Likewise.
70438 * conform/data/mqueue.h-data: Likewise.
70439 * conform/data/ndbm.h-data: Likewise.
70440 * conform/data/net/if.h-data: Likewise.
70441 * conform/data/netdb.h-data: Likewise.
70442 * conform/data/netinet/in.h-data: Likewise.
70443 * conform/data/nl_types.h-data: Likewise.
70444 * conform/data/poll.h-data: Likewise.
70445 * conform/data/pthread.h-data: Likewise.
70446 * conform/data/pwd.h-data: Likewise.
70447 * conform/data/regex.h-data: Likewise.
70448 * conform/data/sched.h-data: Likewise.
70449 * conform/data/search.h-data: Likewise.
70450 * conform/data/semaphore.h-data: Likewise.
70451 * conform/data/setjmp.h-data: Likewise.
70452 * conform/data/signal.h-data: Likewise.
70453 * conform/data/spawn.h-data: Likewise.
70454 * conform/data/stdarg.h-data: Likewise.
70455 * conform/data/stdio.h-data: Likewise.
70456 * conform/data/stdlib.h-data: Likewise.
70457 * conform/data/string.h-data: Likewise.
70458 * conform/data/strings.h-data: Likewise.
70459 * conform/data/stropts.h-data: Likewise.
70460 * conform/data/sys/ipc.h-data: Likewise.
70461 * conform/data/sys/mman.h-data: Likewise.
70462 * conform/data/sys/msg.h-data: Likewise.
70463 * conform/data/sys/resource.h-data: Likewise.
70464 * conform/data/sys/select.h-data: Likewise.
70465 * conform/data/sys/sem.h-data: Likewise.
70466 * conform/data/sys/shm.h-data: Likewise.
70467 * conform/data/sys/socket.h-data: Likewise.
70468 * conform/data/sys/stat.h-data: Likewise.
70469 * conform/data/sys/statvfs.h-data: Likewise.
70470 * conform/data/sys/time.h-data: Likewise.
70471 * conform/data/sys/timeb.h-data: Likewise.
70472 * conform/data/sys/times.h-data: Likewise.
70473 * conform/data/sys/types.h-data: Likewise.
70474 * conform/data/sys/uio.h-data: Likewise.
70475 * conform/data/sys/un.h-data: Likewise.
70476 * conform/data/sys/utsname.h-data: Likewise.
70477 * conform/data/sys/wait.h-data: Likewise.
70478 * conform/data/syslog.h-data: Likewise.
70479 * conform/data/tar.h-data: Likewise.
70480 * conform/data/termios.h-data: Likewise.
70481 * conform/data/utime.h-data: Likewise.
70482 * conform/data/utmpx.h-data: Likewise.
70483 * conform/data/varargs.h-data: Likewise.
70484 * conform/data/wchar.h-data: Likewise.
70485 * conform/data/wctype.h-data: Likewise.
70486 * conform/data/wordexp.h-data: Likewise.
70487
70488 * include/stropts.h: New file.
70489 * include/uchar.h: New file.
70490 * include/aio.h: Changes to allow conformtest.pl to use the headers.
70491 * include/assert.h: Likewise.
70492 * include/ctype.h: Likewise.
70493 * include/dirent.h: Likewise.
70494 * include/dlfcn.h: Likewise.
70495 * include/fcntl.h: Likewise.
70496 * include/fnmatch.h: Likewise.
70497 * include/glob.h: Likewise.
70498 * include/grp.h: Likewise.
70499 * include/libio.h: Likewise.
70500 * include/locale.h: Likewise.
70501 * include/math.h: Likewise.
70502 * include/net/if.h: Likewise.
70503 * include/netdb.h: Likewise.
70504 * include/netinet/in.h: Likewise.
70505 * include/pthread.h: Likewise.
70506 * include/pwd.h: Likewise.
70507 * include/regex.h: Likewise.
70508 * include/sched.h: Likewise.
70509 * include/search.h: Likewise.
70510 * include/setjmp.h: Likewise.
70511 * include/signal.h: Likewise.
70512 * include/stdio.h: Likewise.
70513 * include/stdlib.h: Likewise.
70514 * include/string.h: Likewise.
70515 * include/sys/cdefs.h: Likewise.
70516 * include/sys/mman.h: Likewise.
70517 * include/sys/msg.h: Likewise.
70518 * include/sys/resource.h: Likewise.
70519 * include/sys/select.h: Likewise.
70520 * include/sys/socket.h: Likewise.
70521 * include/sys/stat.h: Likewise.
70522 * include/sys/statvfs.h: Likewise.
70523 * include/sys/time.h: Likewise.
70524 * include/sys/times.h: Likewise.
70525 * include/sys/uio.h: Likewise.
70526 * include/sys/utsname.h: Likewise.
70527 * include/sys/wait.h: Likewise.
70528 * include/termios.h: Likewise.
70529 * include/time.h: Likewise.
70530 * include/ulimit.h: Likewise.
70531 * include/unistd.h: Likewise.
70532 * include/utime.h: Likewise.
70533 * include/wchar.h: Likewise.
70534 * include/wctype.h: Likewise.
70535 * include/wordexp.h: Likewise.
70536
70537 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70538
70539 * time/time.h: TIME_UTC must be a macro.
70540 Make timespec_get available for ISO C11 only as well.
70541
70542 2012-02-24 Ulrich Drepper <drepper@gmail.com>
70543
70544 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70545 Reported by Peng Haitao <penght@cn.fujitsu.com>.
70546
70547 2012-02-24 Joseph Myers <joseph@codesourcery.com>
70548
70549 * configure.in: Use -o not -a in test for unsupported multi-arch.
70550
70551 2012-02-24 Joseph Myers <joseph@codesourcery.com>
70552
70553 * manual/texinfo.tex: Update to version 2012-01-19.16.
70554
70555 2012-02-24 Joseph Myers <joseph@codesourcery.com>
70556
70557 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70558
70559 2012-02-24 Roland McGrath <roland@hack.frob.com>
70560
70561 [BZ #13738]
70562 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70563 * manual/fdl-1.3.texi: New file.
70564 * manual/fdl-1.1.texi: File removed.
70565
70566 [BZ #13738]
70567 * manual/libc.texinfo (FDL_VERSION): New @set.
70568 Use it for mention of FDL in cover text.
70569 (Documentation License): Use it in @include file name.
70570
70571 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70572 Roland McGrath <roland@hack.frob.com>
70573
70574 [BZ #5461]
70575 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70576 (not LONG_LONG_MAX and LONG_LONG_MIN.
70577 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70578 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
70579 name.
70580 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70581
70582 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70583
70584 [BZ #2547]
70585 [BZ #11365]
70586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70587 manipulate bits before adding and subtracting TWO23[sx].
70588 * math/libm-test.inc (nearbyint_test): Add more tests.
70589
70590 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70591
70592 [BZ #2548]
70593 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70594 bits before adding and subtracting TWO23[sx].
70595 * math/libm-test.inc (rint_test): Add more tests.
70596 (rint_test_tonearest): Likewise.
70597 (rint_test_towardzero): Likewise.
70598 (rint_test_downward): Likewise.
70599 (rint_test_upward: Likewise.
70600
70601 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70602
70603 [BZ #10110]
70604 * include/stdc-predef.h: New file. Extracted from features.h.
70605 * include/features.h: Include stdc-predef.h.
70606 * Makefile (headers): Add stdc-predef.h.
70607 * CONFORMANCE (Compiler limitations): Update.
70608
70609 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70610
70611 * manual/libc.texinfo (VERSION, UPDATED): Revert.
70612
70613 2012-02-21 David S. Miller <davem@davemloft.net>
70614
70615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70617
70618 2012-02-20 David S. Miller <davem@davemloft.net>
70619
70620 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70621 using a normal save/restore sequence, rather than allocating a
70622 dummy stack frame just to store a frame pointer and restore.
70623 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70624
70625 2012-02-21 Joseph Myers <joseph@codesourcery.com>
70626
70627 * manual/install.texi: Fix stray word in line-wrapped comment.
70628
70629 2012-02-20 David S. Miller <davem@davemloft.net>
70630
70631 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70632 both binutils and gcc support GOTDATA.
70633
70634 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70635 "rd %pc" in the PIC register setup sequences.
70636
70637 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70638 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70640 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70641 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70646 (SYSCALL_ERROR_HANDLER): Likewise.
70647 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70650 (SYSCALL_ERROR_HANDLER): Likewise.
70651
70652 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70653 (HAVE_GCC_GOTDATA): New.
70654 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70655 relocation support in both binutils and gcc.
70656 * sysdeps/sparc/elf/configure: Regenerate.
70657
70658 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70659 * sysdeps/sparc/sparc32/elf/configure: Delete.
70660 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70661 * sysdeps/sparc/sparc64/elf/configure: Delete.
70662 * sysdeps/sparc/elf/configure.in: New file.
70663 * sysdeps/sparc/elf/configure: Generate.
70664
70665 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70666 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70668 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70669 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70670
70671 2012-02-21 Joseph Myers <joseph@codesourcery.com>
70672
70673 * manual/install.texi: Do not mention specific glibc version
70674 numbers.
70675 * manual/libc.texinfo (VERSION, UPDATED): Update.
70676 (@copying): Use @copyright{} and range of years.
70677
70678 2012-02-21 Joseph Myers <joseph@codesourcery.com>
70679
70680 [BZ #13695]
70681 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70682 [crti.S not in sysdirs] (generated): Do not append.
70683 [crti.S not in sysdirs] (omit-deps): Likewise.
70684 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70685 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70686 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70687 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70688 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70689 Likewise.
70690 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70691 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70692 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70693 * csu/defs.awk: Remove file.
70694 * sysdeps/generic/initfini.c: Likewise.
70695 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70696 variable.
70697 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70698 Likewise.
70699
70700 2012-02-20 Joseph Myers <joseph@codesourcery.com>
70701
70702 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70703 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70704 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70707 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70708 <bits/epoll.h>.
70709 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70710 (__EPOLL_PACKED): Define to empty if not defined by
70711 <bits/epoll.h>.
70712 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70714 bits/epoll.h.
70715
70716 2012-02-20 Joseph Myers <joseph@codesourcery.com>
70717
70718 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70719 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70721 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70722 <bits/timerfd.h>.
70723 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70725 bits/timerfd.h.
70726
70727 2012-02-20 Joseph Myers <joseph@codesourcery.com>
70728
70729 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70730 in C locale.
70731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70732 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70733 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70735
70736 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
70737
70738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70740
70741 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
70742
70743 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70744 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70745 defined.
70746 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70747 Likewise.
70748 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70749 entry for 2.16.
70750
70751 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
70752
70753 * math/w_acos.c: Use non-signaling floating-point comparisons.
70754 * math/w_acosf.c: Likewise.
70755 * math/w_acosh.c: Likewise.
70756 * math/w_acoshf.c: Likewise.
70757 * math/w_acoshl.c: Likewise.
70758 * math/w_acosl.c: Likewise.
70759 * math/w_asin.c: Likewise.
70760 * math/w_asinf.c: Likewise.
70761 * math/w_asinl.c: Likewise.
70762 * math/w_atanh.c: Likewise.
70763 * math/w_atanhf.c: Likewise.
70764 * math/w_atanhl.c: Likewise.
70765 * math/w_exp2.c: Likewise.
70766 * math/w_exp2f.c: Likewise.
70767 * math/w_exp2l.c: Likewise.
70768 * math/w_j0.c: Likewise.
70769 * math/w_j0f.c: Likewise.
70770 * math/w_j0l.c: Likewise.
70771 * math/w_j1.c: Likewise.
70772 * math/w_j1f.c: Likewise.
70773 * math/w_j1l.c: Likewise.
70774 * math/w_jn.c: Likewise.
70775 * math/w_jnf.c: Likewise.
70776 * math/w_log.c: Likewise.
70777 * math/w_log10.c: Likewise.
70778 * math/w_log10f.c: Likewise.
70779 * math/w_log10l.c: Likewise.
70780 * math/w_log2.c: Likewise.
70781 * math/w_log2f.c: Likewise.
70782 * math/w_log2l.c: Likewise.
70783 * math/w_logf.c: Likewise.
70784 * math/w_logl.c: Likewise.
70785 * math/w_sqrt.c: Likewise.
70786 * math/w_sqrtf.c: Likewise.
70787 * math/w_sqrtl.c: Likewise.
70788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70789 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70790 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70791 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70792 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70793
70794 2012-02-19 Joseph Myers <joseph@codesourcery.com>
70795
70796 [BZ #9739]
70797 * manual/string.texi (strnlen): Use correct parameter name in
70798 equivalent expression.
70799
70800 2012-02-19 Joseph Myers <joseph@codesourcery.com>
70801
70802 [BZ #11174]
70803 * manual/users.texi (seteuid): Consistently use neweuid for
70804 argument name.
70805
70806 2012-02-19 Joseph Myers <joseph@codesourcery.com>
70807
70808 [BZ #13704]
70809 * manual/nss.texi (Services in the NSS configuration): Correct
70810 list of services in example configuration file.
70811
70812 2012-02-19 Nick Bowler <nbowler@draconx.ca>
70813
70814 [BZ #11322]
70815 * manual/arith.texi: Remove statements about negative zero
70816 behaving identically to zero.
70817
70818 2012-02-18 Joseph Myers <joseph@codesourcery.com>
70819
70820 [BZ #5993]
70821 * manual/install.texi: Do not document upgrading from libc5.
70822
70823 2012-02-18 Joseph Myers <joseph@codesourcery.com>
70824
70825 [BZ #4596]
70826 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70827
70828 2012-02-18 David S. Miller <davem@davemloft.net>
70829
70830 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70831 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70832 %o7 across the call.
70833 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70834 instead.
70835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70836 SETUP_PIC_REG_LEAF.
70837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70838 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70839 * sysdeps/sparc/crtn.S: Likewise.
70840
70841 2012-02-17 Ulrich Drepper <drepper@gmail.com>
70842
70843 * aout/Makefile: Remove.
70844
70845 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
70846
70847 [BZ #13058]
70848 * manual/examples/argp-ex1.c (main): Format definition in GNU
70849 style.
70850 * manual/examples/argp-ex2.c (main): Likewise.
70851 * manual/examples/argp-ex3.c (main): Likewise.
70852 * manual/examples/argp-ex4.c (main): Likewise.
70853 * manual/examples/longopt.c (main): Use new-style prototype
70854 definition.
70855 * manual/examples/strncat.c (main): Specify return type and use
70856 (void) for arguments.
70857 * manual/examples/subopt.c (main): Use char **argv argument.
70858
70859 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70860
70861 [BZ #5077]
70862 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70863 rounding modes.
70864
70865 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
70866
70867 [BZ #6907]
70868 * manual/string.texi (strchr): Change when strchrnul is
70869 recommended.
70870
70871 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
70872
70873 [BZ #174]
70874 * manual/locale.texi (setlocale): Document LOCPATH.
70875
70876 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70877
70878 [BZ #10210]
70879 * manual/process.texi (execle): Move @dots{} before last argument.
70880
70881 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
70882
70883 [BZ #12047]
70884 * manual/charset.texi (Generic Charset Conversion): Fix typo
70885 (LC_TYPE -> LC_CTYPE).
70886
70887 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
70888
70889 [BZ #5805]
70890 * manual/arith.texi (scalbn): Use @var{} on parameter names.
70891 (scalbnf): Likewise.
70892 (scalbnl): Likewise.
70893 (scalbln): Likewise.
70894 (scalblnf): Likewise.
70895 (scalblnl): Likewise.
70896 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70897 (vwarnx): Likewise.
70898 (verr): Likewise.
70899 (verrx): Likewise.
70900 * manual/filesys.texi (telldir): Use braces around return type.
70901 * manual/llio.texi (mmap): Add space after comma.
70902 (mmap64): Likewise.
70903 * manual/math.texi (jn): Use @var{} on parameter names.
70904 (jnf): Likewise.
70905 (jnl): Likewise.
70906 (yn): Likewise.
70907 (ynf): Likewise.
70908 (ynl): Likewise.
70909 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70910 line.
70911 * manual/resource.texi (ulimit): Use @dots{} instead of literal
70912 "...".
70913 (sched_get_priority_min): Remove semicolon on @deftypefun line.
70914 (sched_get_priority_max): Likewise.
70915 * manual/signal.texi (sigvec): Add space after comma.
70916 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70917 names.
70918 (if_indextoname): Likewise.
70919 (if_freenameindex): Likewise.
70920 (sendto): Use ',' instead of '.' in prototype.
70921 * manual/startup.texi (syscall): Use @dots{} instead of literal
70922 "...".
70923 * manual/stdio.texi (__fpending): Separate initial words of
70924 paragraph from @deftypefun line.
70925 * manual/syslog.texi (syslog): Use @dots{} instead of literal
70926 "...".
70927 (vsyslog): Use @var{} on parameter names.
70928 * manual/terminal.texi (stty): Use @var{} on parameter names.
70929 * manual/users.texi (getutmp): Use @var{} on parameter names.
70930 (getutmpx): Likewise.
70931
70932 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70933
70934 [BZ #6884]
70935 * manual/stdio.texi (fopen): Fix typos in description of
70936 ",ccs=STRING".
70937
70938 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
70939
70940 [BZ #4026]
70941 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70942 get clock_id definition.
70943
70944 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
70945
70946 [BZ #4822]
70947 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70948 (madvise): Cast every argument to void on its own.
70949
70950 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70951
70952 [BZ #9902]
70953 * manual/startup.texi (Exit Status): Fix typo.
70954
70955 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70956
70957 [BZ #10140]
70958 * manual/examples/argp-ex1.c: Include <stdlib.h>.
70959 * manual/examples/argp-ex2.c: Likewise.
70960 * manual/examples/argp-ex3.c: Likewise.
70961
70962 2012-02-16 Richard Henderson <rth@redhat.com>
70963
70964 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70965 * sysdeps/s390/s390-32/initfini.c: Remove.
70966 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70967 * sysdeps/s390/s390-64/initfini.c: Remove.
70968
70969 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70970
70971 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70972 compiler output for sysdeps/generic/initfini.c.
70973 * sysdeps/sh/elf/initfini.c: Remove file.
70974
70975 2012-02-16 David S. Miller <davem@davemloft.net>
70976
70977 [BZ #11494]
70978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70979
70980 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70981 * sysdeps/sparc/crti.S: New file.
70982 * sysdeps/sparc/crtn.S: New file.
70983 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70984 * sysdeps/sparc/sparc64/Makefile: Likewise.
70985
70986 2012-02-15 Mike Frysinger <vapier@gentoo.org>
70987
70988 [BZ #3335]
70989 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70990
70991 2012-02-15 Roland McGrath <roland@hack.frob.com>
70992
70993 [BZ #4822]
70994 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70995
70996 * mach/devstream.c (cookie_io_functions_t): Macro removed.
70997 (write, read, close): Likewise.
70998 Patch by Aurelien Jarno <aurelien@aurel32.net>.
70999
71000 2012-02-15 Joseph Myers <joseph@codesourcery.com>
71001
71002 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71003 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71004 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71005 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71006 <bits/signalfd.h>.
71007 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71009 bits/signalfd.h.
71010
71011 2012-02-14 Marek Polacek <polacek@redhat.com>
71012
71013 * sysdeps/x86_64/crti.S: New file.
71014 * sysdeps/x86_64/crtn.S: New file.
71015 * sysdeps/x86_64/elf/initfini.c: Remove file.
71016
71017 2012-02-13 Joseph Myers <joseph@codesourcery.com>
71018
71019 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71020 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71021 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71022 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71023 <bits/inotify.h>.
71024 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71026 bits/inotify.h.
71027
71028 2012-02-13 Joseph Myers <joseph@codesourcery.com>
71029
71030 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71031 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71032 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71033 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71034 <bits/eventfd.h>.
71035 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71037 bits/eventfd.h.
71038
71039 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
71040
71041 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71042 __feraiseexcept instead of feraiseexcept.
71043
71044 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71045 nanosleep invocations.
71046 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71047 strings, and add error checking for a nanosleep invocations.
71048
71049 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
71050
71051 Replace FSF snail mail address with URLs, as per GNU coding standards.
71052 Most of the snail mail addresses were wrong anyway, and omitting
71053 them makes the source code easier to maintain. Almost all of the
71054 changes are to license notices and to locale LC_IDENTIFICATION
71055 addresses, except for this one:
71056 * manual/libc.texinfo: In "Published by", give the FSF's URL,
71057 not its snail mail address.
71058
71059 2012-02-09 Richard Henderson <rth@twiddle.net>
71060
71061 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71062 of kernel-features.h.
71063
71064 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71065
71066 2012-02-08 Marek Polacek <polacek@redhat.com>
71067
71068 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71069 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71070 * sysdeps/gnu/_G_config.h: Likewise.
71071 * sysdeps/generic/_G_config.h: Likewise.
71072
71073 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
71074
71075 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71076 tests.
71077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71078
71079 * sysdeps/powerpc/powerpc32/crti.S: New file.
71080 * sysdeps/powerpc/powerpc32/crtn.S: New file.
71081 * sysdeps/powerpc/powerpc64/crti.S: New file.
71082 * sysdeps/powerpc/powerpc64/crtn.S: New file.
71083
71084 * Makeconfig (have-initfini): Don't set.
71085 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71086 * configure.in (nopic_initfini): Don't substitute.
71087 * config.h.in (HAVE_INITFINI): Don't #undef.
71088 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71089 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71090
71091 2012-02-08 Joseph Myers <joseph@codesourcery.com>
71092
71093 Support crti.S and crtn.S provided directly by architectures.
71094 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71095 [crti.S in sysdirs] (omit-deps): Likewise.
71096 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71097 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71098 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71099 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71100 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71101 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71102 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71103 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71104 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71105 compiler output for sysdeps/generic/initfini.c.
71106 * sysdeps/i386/elf/Makefile: Remove file.
71107 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71108
71109 2012-02-07 Marek Polacek <polacek@redhat.com>
71110
71111 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71112 * sysdeps/gnu/_G_config.h: Likewise.
71113 * sysdeps/mach/hurd/_G_config.h: Likewise.
71114
71115 2012-02-07 Marek Polacek <polacek@redhat.com>
71116
71117 * math/Makefile (tests): Add tst-CMPLX2.
71118 * math/tst-CMPLX2.c: New file.
71119
71120 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
71121
71122 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71123
71124 * math/libm-test.inc (jn_test): Add missing L suffix.
71125
71126 2012-02-06 Marek Polacek <polacek@redhat.com>
71127
71128 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71129 * sysdeps/i386/fpu/e_powf.S: Likewise.
71130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71131 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
71133 * sysdeps/i386/fpu/e_pow.S: Likewise.
71134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
71137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71138 * sysdeps/i386/fpu/e_log2.S: Likewise.
71139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
71140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
71141 * sysdeps/i386/fpu/e_powl.S: Likewise.
71142 * sysdeps/i386/fpu/s_log1p.S: Likewise.
71143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
71144 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71145 * sysdeps/i386/fpu/e_logl.S: Likewise.
71146 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71147 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
71151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71152 * sysdeps/i386/fpu/e_log.S: Likewise.
71153 * sysdeps/i386/fpu/s_cexp.S: Likewise.
71154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71155 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71156 * sysdeps/i386/fpu/e_logf.S: Likewise.
71157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
71158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
71159 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71160 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71162 * sysdeps/i386/fpu/e_log10.S: Likewise.
71163 * sysdeps/i386/fpu/s_frexp.S: Likewise.
71164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71165 * sysdeps/i386/fpu/s_asinh.S: Likewise.
71166 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71168 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71169 * sysdeps/i386/asm-syntax.h: Likewise.
71170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71173 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71174 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71175 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71176 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71177 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71178 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71179 * sysdeps/powerpc/sysdep.h: Likewise.
71180 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71182
71183 2012-02-06 Joseph Myers <joseph@codesourcery.com>
71184
71185 [BZ #411]
71186 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71187
71188 2012-02-06 Joseph Myers <joseph@codesourcery.com>
71189
71190 * sysdeps/i386/sysdep.h: Include <features.h>.
71191 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71192 version.
71193
71194 2012-02-05 Joseph Myers <joseph@codesourcery.com>
71195
71196 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71197 Define.
71198 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71199 LOAD_PIC_REG_STR.
71200
71201 2012-02-03 Joseph Myers <joseph@codesourcery.com>
71202
71203 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71204 (SETUP_PIC_REG): Use GET_PC_THUNK.
71205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71206 macro.
71207
71208 2012-02-03 Joseph Myers <joseph@codesourcery.com>
71209
71210 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71211 for non-PIC compilation.
71212 (SETUP_PIC_REG): Add .p2align directive.
71213 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71214 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71215 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71216 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71217 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71221 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71222 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71223 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71224 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71225 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71226 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71227 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71230 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71231 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71232 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71235 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71236 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71241 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71242 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71243 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71244 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71246 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71247 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71249 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71250 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71253 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71254
71255 2012-02-03 Joseph Myers <joseph@codesourcery.com>
71256
71257 * math/tst-CMPLX.c: Include <stdio.h>.
71258
71259 2012-01-31 Joseph Myers <joseph@codesourcery.com>
71260
71261 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71262 float.
71263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71264 * sysdeps/sparc/bits/mathdef.h: Likewise.
71265
71266 2012-01-31 Marek Polacek <polacek@redhat.com>
71267
71268 * libio/libio.h: Don't define _PARAMS.
71269 * locale/programs/config.h: Don't define PARAMS.
71270 * stdlib/strtol_l.c: Likewise.
71271 (__strtol_l): Remove PARAMS from the prototype.
71272
71273 2012-01-31 Ulrich Drepper <drepper@gmail.com>
71274
71275 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
71276 names. Just use the correct names. Remove unnecessary wrapper
71277 functions.
71278 * malloc/arena.c: Likewise.
71279 * malloc/hooks.c: Likewise.
71280
71281 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71282 ARENA_TEST says not to. Simplify test for creation of a new arena.
71283 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71284
71285 2012-01-30 Ulrich Drepper <drepper@gmail.com>
71286
71287 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71288 into tail calls.
71289 (update_get_addr): New function.
71290 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71291 GET_ADDR_MODULE parameter.
71292
71293 2012-01-30 Joseph Myers <joseph@codesourcery.com>
71294
71295 * crypt/cert.c: Remove __STDC__ conditionals.
71296 * crypt/crypt-entry.c: Likewise.
71297 * crypt/crypt_util.c: Likewise.
71298 * libio/filedoalloc.c: Likewise.
71299 * libio/fileops.c: Likewise.
71300 * libio/genops.c: Likewise.
71301 * libio/iofclose.c: Likewise.
71302 * libio/iofdopen.c: Likewise.
71303 * libio/iofopen.c: Likewise.
71304 * libio/iofopen64.c: Likewise.
71305 * libio/iogetdelim.c: Likewise.
71306 * libio/iopopen.c: Likewise.
71307 * libio/obprintf.c: Likewise.
71308 * libio/oldfileops.c: Likewise.
71309 * libio/oldiofclose.c: Likewise.
71310 * libio/oldiofdopen.c: Likewise.
71311 * libio/oldiofopen.c: Likewise.
71312 * libio/oldiopopen.c: Likewise.
71313 * libio/wfiledoalloc.c: Likewise.
71314 * libio/wgenops.c: Likewise.
71315 * locale/programs/xmalloc.c: Likewise.
71316 * misc/syslog.c: Likewise.
71317 * stdio-common/xbug.c: Likewise.
71318 * string/memchr.c: Likewise.
71319 * string/memcmp.c: Likewise.
71320 * string/memrchr.c: Likewise.
71321 * string/rawmemchr.c: Likewise.
71322 * sysdeps/posix/getcwd.c: Likewise.
71323 * time/strftime_l.c: Likewise.
71324
71325 2012-01-30 Joseph Myers <joseph@codesourcery.com>
71326
71327 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71328 * config.make.in (config-cflags-sse2avx): Define.
71329 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71330 Fix typo.
71331
71332 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
71333
71334 * scripts/config.guess: Update from upstream config git repository.
71335 * scripts/config.sub: Likewise.
71336
71337 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
71338
71339 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71340 (EM_NUM): Update.
71341 (R_TILEPRO_*, R_TILEGX_*): New macros.
71342
71343 * scripts/firstversions.awk: Fix bug in version range handling.
71344
71345 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71346
71347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71348
71349 * include/sys/epoll.h: New file.
71350 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71351 libc_hidden_def.
71352
71353 2012-01-28 Ulrich Drepper <drepper@gmail.com>
71354
71355 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71356 Avoid unnecessary __WORDSIZE == 64 test.
71357 (fmaxf): Use VEX format if possible.
71358 (fmax): Likewise.
71359 (fminf): Likewise.
71360 (fmin): Likewise.
71361
71362 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71363 * math/math_private.h: Remove libc_fegetround* and
71364 libc_fesetround*.
71365 * sysdeps/i386/configure.in: Check for -msse2avx.
71366 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71367 also if SSE2AVX is defined.
71368 Remove libc_fegetround* and libc_fesetround*.
71369 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71370 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
71371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71372 of HAS_YMM_USABLE.
71373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71378
71379 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71380
71381 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71382
71383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71384 size is not set.
71385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71386
71387 2012-01-27 Ulrich Drepper <drepper@gmail.com>
71388
71389 [BZ #13618]
71390 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71391 relocation.
71392 * Makeconfig (libm): Define.
71393 * elf/Makefile: Add rules to build and run tst-relsort1.
71394 * elf/tst-relsort1.c: New file.
71395 * elf/tst-relsort1mod1.c: New file.
71396 * elf/tst-relsort1mod2.c: New file.
71397
71398 2012-01-27 Joseph Myers <joseph@codesourcery.com>
71399
71400 * math/s_ldexp.c: Remove __STDC__ conditionals.
71401 * math/s_ldexpf.c: Likewise.
71402 * math/s_ldexpl.c: Likewise.
71403 * math/s_nextafter.c: Likewise.
71404 * math/s_nexttowardf.c: Likewise.
71405 * math/s_significand.c: Likewise.
71406 * math/s_significandf.c: Likewise.
71407 * math/s_significandl.c: Likewise.
71408 * math/w_jnl.c: Likewise.
71409 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71410 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71411 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71412 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71413 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71415 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71424 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71426 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71428 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71429 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71430 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71437 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71446 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71447 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71448 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71449 * sysdeps/ieee754/k_standard.c: Likewise.
71450 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71452 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71462 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71464 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71469 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71472 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71473 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71475 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71481 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71489 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71492 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71493 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71500 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71501 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71502 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71508 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71510 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71511 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71512 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71525 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71529 * sysdeps/ieee754/s_matherr.c: Likewise.
71530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71534
71535 2012-01-26 Joseph Myers <joseph@codesourcery.com>
71536
71537 * crypt/md5.h: Remove __STDC__ conditionals.
71538 * libio/libioP.h: Likewise.
71539 * locale/programs/config.h: Likewise.
71540 * sysdeps/generic/sysdep.h: Likewise.
71541 * sysdeps/i386/asm-syntax.h: Likewise.
71542 * sysdeps/s390/asm-syntax.h: Likewise.
71543 * sysdeps/unix/sysdep.h: Likewise.
71544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71546
71547 2012-01-26 Joseph Myers <joseph@codesourcery.com>
71548
71549 * libio/libio.h: Remove __STDC__ conditionals.
71550 * malloc/obstack.h: Likewise.
71551 * math/complex.h: Likewise.
71552 * math/math.h: Likewise.
71553 * sysdeps/generic/_G_config.h: Likewise.
71554 * sysdeps/gnu/_G_config.h: Likewise.
71555 * sysdeps/mach/hurd/_G_config.h: Likewise.
71556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
71557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71558 * sysdeps/sparc/bits/mathdef.h: Likewise.
71559
71560 2012-01-26 Ulrich Drepper <drepper@gmail.com>
71561
71562 [BZ #13583]
71563 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71564 Clean up HAS_* macros.
71565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71566 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71567 possible.
71568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71569 HAS_AVX.
71570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71575
71576 2012-01-25 Joseph Myers <joseph@codesourcery.com>
71577
71578 * elf/tst-unique3.cc (gets): Remove declaration.
71579 * elf/tst-unique3lib.cc (gets): Likewise.
71580 * elf/tst-unique3lib2.cc (gets): Likewise.
71581 * elf/tst-unique4.cc (gets): Likewise.
71582
71583 2012-01-24 Ulrich Drepper <drepper@gmail.com>
71584
71585 * include/stdio.h: Add C++ protection. Add gets declarations and
71586 definitions.
71587 * debug/tst-chk1.c: Don't declare gets here.
71588 * stdio-common/tst-gets.c: Likewise.
71589
71590 2012-01-24 Joseph Myers <joseph@codesourcery.com>
71591
71592 * posix/glob: Remove directory.
71593
71594 2012-01-24 Joseph Myers <joseph@codesourcery.com>
71595
71596 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71597
71598 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
71599
71600 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71601 of the non-standard EPFNOSUPPORT.
71602
71603 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
71604
71605 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71606 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71607 ANYWHERE set to 1 only on KERN_NO_SPACE error.
71608
71609 2012-01-21 Ulrich Drepper <drepper@gmail.com>
71610
71611 * wcsmbs/uchar.h: Test __STDC_VERSION__.
71612
71613 2012-01-20 Ulrich Drepper <drepper@gmail.com>
71614
71615 * nscd/aicache.c (addhstaiX): Do not cache negative results of
71616 transient errors.
71617 * nscd/grpcache.c (cache_addgr): Likewise.
71618 * nscd/hstcache.c (cache_addhst): Likewise.
71619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
71620 * nscd/pwdcache.c (cache_addpw): Likewise.
71621 * nscd/servicescache.c (cache_addserv): Likewise.
71622
71623 2012-01-16 Ulrich Drepper <drepper@gmail.com>
71624
71625 * malloc/malloc.c: Various cleanups.
71626 * malloc/hooks.c: Likewise.
71627
71628 * stdlib/Makefile (tests): Add bug-fmtmsg1.
71629 * stdlib/bug-fmtmsg1.c: New file.
71630
71631 * stdlib/fmtmsg.c (init): Add missing unlock.
71632 Patch by Peng Haitao <penght@cn.fujitsu.com>.
71633
71634 2012-01-12 Marek Polacek <polacek@redhat.com>
71635
71636 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71637 and _GNU_SOURCE.
71638
71639 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
71640
71641 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71642 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71643 macro to ensure uniqueness of label name.
71644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71646
71647 2012-01-11 Ulrich Drepper <drepper@gmail.com>
71648
71649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71650
71651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71652 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71655
71656 2012-01-10 Ulrich Drepper <drepper@gmail.com>
71657
71658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71659
71660 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71661 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71663
71664 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71665
71666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71667 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71670
71671 * math/bits/math-finite.h: Add ldexp support.
71672
71673 2012-01-10 Marek Polacek <polacek@redhat.com>
71674
71675 * locale/programs/localedef.h (show_archive_content): Add noreturn
71676 attribute.
71677
71678 2012-01-09 Ulrich Drepper <drepper@gmail.com>
71679
71680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71681
71682 2012-01-08 Ulrich Drepper <drepper@gmail.com>
71683
71684 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71685
71686 * io/Makefile (headers): Add bits/poll2.h.
71687
71688 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
71689
71690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71691 typo #include statement.
71692
71693 2012-01-08 Ulrich Drepper <drepper@gmail.com>
71694
71695 * include/sys/cdefs.h: Define __attribute_alloc_size.
71696 * catgets/gencat.c: Add alloc_size attribute and apply consistently
71697 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71698 * elf/pldd.c: Likewise.
71699 * iconv/iconv_charmap.c: Likewise.
71700 * iconv/iconvconfig.c: Likewise.
71701 * iconv/strtab.c: Likewise.
71702 * locale/programs/locale.c: Likewise.
71703 * locale/programs/localedef.h: Likewise.
71704 * locale/programs/simple-hash.c: Likewise.
71705 * nscd/nscd.h: Likewise.
71706 * nss/makedb.c: Likewise.
71707 * sysdeps/generic/ldconfig.h: Likewise.
71708 * locale/programs/localedef.c: Remove xmalloc prototype.
71709 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71710
71711 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
71712
71713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71714 appropriate.
71715
71716 2012-01-08 Ulrich Drepper <drepper@gmail.com>
71717
71718 * math/Makefile (tests): Add tst-CMPLX.
71719 * math/tst-CMPLX.c: New file.
71720
71721 * math/complex.h (CMPLXL): Fix typo.
71722
71723 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71724 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71725 GLIBC_2.16.
71726 * debug/tst-chk1.c: Add poll and ppoll tests.
71727 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71728 * include/sys/poll.h: Add hidden proto for ppoll.
71729 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71730 * sysdeps/mach/hurd/ppoll.c: Likewise.
71731 * io/ppoll.c: Likewise.
71732 * debug/poll_chk.c: New file.
71733 * debug/ppoll_chk.c: New file.
71734 * include/bits/poll2.h: New file.
71735 * io/bits/poll2.h: New file.
71736
71737 [BZ #1350]
71738 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71739
71740 * configure.in: static is always set to yes. Remove.
71741 * config.make.in: Don't set build-static.
71742 * Makeconfig: Remove use of build-static.
71743 * dlfcn/Makefile: Likewise.
71744 * elf/Makefile: Likewise.
71745 * math/Makefile: Likewise.
71746 * misc/Makefile: Likewise.
71747 * nptl/Makefile: Likewise.
71748 * sysdeps/mach/hurd/Makefile: Likewise.
71749
71750 * configure.in: PWD_P is not used anymore.
71751 * config.make.in: Remove PWD_P entry.
71752
71753 * configure.in: Remove last remnants of RANLIB.
71754 No need to check for signed size_t anymore.
71755 Don't set libc_commonpagesize and libc_relro_required here for Alpha
71756 and IA-64.
71757 Remove __builtin_expect test because we require at least gcc 3.4.
71758 * aclocal.m4: Likewise.
71759
71760 * wcsmbs/mbrtoc16.c: Implement using towc function.
71761 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71762 * wcsmbs/wcsmbsload.c: Likewise.
71763 * iconv/gconv_simple.c: Likewise.
71764 * iconv/gconv_int.h: Likewise.
71765 * iconv/gconv_builtin.h: Likewise.
71766 * iconv/iconv_prog.c: Remove CHAR16 handling.
71767
71768 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71769
71770 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71771
71772 * configure.in: Remove --with-elf and --enable-bounded options.
71773 Dont set base_machine for ia64. More non-ELF conditions removed.
71774 Remove testing and setting of leading underscore information.
71775 * config.make.in (build-bounded): Set to no.
71776 * config.h.in: Remove NO_UNDERSCORES entry.
71777 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
71778 them.
71779 * csu/start.c: Remove !NO_UNDERSCORE code.
71780 * locale/localeinfo.h: Likewise.
71781 * sysdeps/generic/machine-gmon.h: Likewise.
71782 * sysdeps/generic/sysdep.h: Likewise.
71783 * sysdeps/i386/sysdep.h: Likewise.
71784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71785 * sysdeps/mach/sysdep.h: Likewise.
71786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
71787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
71788 * sysdeps/sh/sysdep.h: Likewise.
71789 * sysdeps/sparc/sparc32/alloca.S: Likewise.
71790 * sysdeps/unix/i386/sysdep.S: Likewise.
71791 * sysdeps/unix/sparc/start.c: Likewise.
71792 * sysdeps/unix/sparc/sysdep.S: Likewise.
71793 * sysdeps/unix/sparc/sysdep.h: Likewise.
71794 * sysdeps/unix/start.c: Likewise.
71795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71796 * sysdeps/x86_64/sysdep.h: Likewise.
71797
71798 2012-01-07 Ulrich Drepper <drepper@gmail.com>
71799
71800 [BZ #13553]
71801 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71802 for non-gcc.
71803 * argp/argp-fmtstream.h: Use const instead __const.
71804 * argp/argp.h: Likewise.
71805 * assert/assert.h: Likewise.
71806 * bits/fenv.h: Likewise.
71807 * bits/sched.h: Likewise.
71808 * bits/sigset.h: Likewise.
71809 * bits/sigthread.h: Likewise.
71810 * catgets/nl_types.h: Likewise.
71811 * conform/data/pthread.h-data: Likewise.
71812 * crypt/crypt-private.h: Likewise.
71813 * crypt/crypt.h: Likewise.
71814 * crypt/crypt_util.c: Likewise.
71815 * ctype/ctype.h: Likewise.
71816 * debug/execinfo.h: Likewise.
71817 * debug/mbsnrtowcs_chk.c: Likewise.
71818 * debug/mbsrtowcs_chk.c: Likewise.
71819 * debug/wcsnrtombs_chk.c: Likewise.
71820 * debug/wcsrtombs_chk.c: Likewise.
71821 * debug/wcstombs_chk.c: Likewise.
71822 * dirent/dirent.h: Likewise.
71823 * dlfcn/dlfcn.h: Likewise.
71824 * elf/neededtest4.c: Likewise.
71825 * grp/grp.h: Likewise.
71826 * gshadow/gshadow.h: Likewise.
71827 * iconv/gconv.h: Likewise.
71828 * iconv/gconv_int.h: Likewise.
71829 * iconv/gconv_simple.c: Likewise.
71830 * iconv/iconv.h: Likewise.
71831 * iconv/loop.c: Likewise.
71832 * iconv/skeleton.c: Likewise.
71833 * include/aio.h: Likewise.
71834 * include/aliases.h: Likewise.
71835 * include/argz.h: Likewise.
71836 * include/arpa/inet.h: Likewise.
71837 * include/assert.h: Likewise.
71838 * include/dirent.h: Likewise.
71839 * include/dlfcn.h: Likewise.
71840 * include/execinfo.h: Likewise.
71841 * include/fcntl.h: Likewise.
71842 * include/fenv.h: Likewise.
71843 * include/glob.h: Likewise.
71844 * include/grp.h: Likewise.
71845 * include/libintl.h: Likewise.
71846 * include/mntent.h: Likewise.
71847 * include/netdb.h: Likewise.
71848 * include/pwd.h: Likewise.
71849 * include/rpc/netdb.h: Likewise.
71850 * include/sched.h: Likewise.
71851 * include/search.h: Likewise.
71852 * include/shadow.h: Likewise.
71853 * include/signal.h: Likewise.
71854 * include/stdio.h: Likewise.
71855 * include/stdlib.h: Likewise.
71856 * include/string.h: Likewise.
71857 * include/sys/socket.h: Likewise.
71858 * include/sys/stat.h: Likewise.
71859 * include/sys/statfs.h: Likewise.
71860 * include/sys/statvfs.h: Likewise.
71861 * include/sys/syslog.h: Likewise.
71862 * include/sys/time.h: Likewise.
71863 * include/sys/uio.h: Likewise.
71864 * include/time.h: Likewise.
71865 * include/unistd.h: Likewise.
71866 * include/utmp.h: Likewise.
71867 * include/wchar.h: Likewise.
71868 * include/wctype.h: Likewise.
71869 * inet/aliases.h: Likewise.
71870 * inet/arpa/inet.h: Likewise.
71871 * inet/netinet/ether.h: Likewise.
71872 * inet/netinet/in.h: Likewise.
71873 * intl/libintl.h: Likewise.
71874 * io/bits/fcntl2.h: Likewise.
71875 * io/fcntl.h: Likewise.
71876 * io/ftw.h: Likewise.
71877 * io/sys/poll.h: Likewise.
71878 * io/sys/stat.h: Likewise.
71879 * io/sys/statfs.h: Likewise.
71880 * io/sys/statvfs.h: Likewise.
71881 * io/utime.h: Likewise.
71882 * libio/bits/stdio.h: Likewise.
71883 * libio/bits/stdio2.h: Likewise.
71884 * libio/libio.h: Likewise.
71885 * libio/libioP.h: Likewise.
71886 * libio/stdio.h: Likewise.
71887 * locale/lc-ctype.c: Likewise.
71888 * locale/locale.h: Likewise.
71889 * login/utmp.h: Likewise.
71890 * malloc/arena.c: Likewise.
71891 * malloc/malloc.c: Likewise.
71892 * malloc/malloc.h: Likewise.
71893 * malloc/mcheck.c: Likewise.
71894 * malloc/mtrace.c: Likewise.
71895 * math/bits/mathcalls.h: Likewise.
71896 * math/fenv.h: Likewise.
71897 * math/math_private.h: Likewise.
71898 * misc/bits/error.h: Likewise.
71899 * misc/bits/syslog.h: Likewise.
71900 * misc/err.h: Likewise.
71901 * misc/error.h: Likewise.
71902 * misc/fstab.h: Likewise.
71903 * misc/mntent.h: Likewise.
71904 * misc/regexp.h: Likewise.
71905 * misc/search.h: Likewise.
71906 * misc/sgtty.h: Likewise.
71907 * misc/sys/mman.h: Likewise.
71908 * misc/sys/syslog.h: Likewise.
71909 * misc/sys/uio.h: Likewise.
71910 * misc/sys/xattr.h: Likewise.
71911 * misc/ttyent.h: Likewise.
71912 * nis/rpcsvc/ypclnt.h: Likewise.
71913 * nss/nss.h: Likewise.
71914 * posix/bits/unistd.h: Likewise.
71915 * posix/fnmatch.h: Likewise.
71916 * posix/glob.h: Likewise.
71917 * posix/sched.h: Likewise.
71918 * posix/spawn.h: Likewise.
71919 * posix/sys/wait.h: Likewise.
71920 * posix/unistd.h: Likewise.
71921 * posix/wordexp.h: Likewise.
71922 * pwd/pwd.h: Likewise.
71923 * resolv/netdb.h: Likewise.
71924 * resource/sys/resource.h: Likewise.
71925 * rt/aio.h: Likewise.
71926 * rt/bits/mqueue2.h: Likewise.
71927 * rt/mqueue.h: Likewise.
71928 * shadow/shadow.h: Likewise.
71929 * signal/signal.h: Likewise.
71930 * socket/send.c: Likewise.
71931 * socket/sendto.c: Likewise.
71932 * socket/sys/socket.h: Likewise.
71933 * stdio-common/printf.h: Likewise.
71934 * stdlib/bits/stdlib.h: Likewise.
71935 * stdlib/fmtmsg.h: Likewise.
71936 * stdlib/monetary.h: Likewise.
71937 * stdlib/stdlib.h: Likewise.
71938 * stdlib/ucontext.h: Likewise.
71939 * streams/stropts.h: Likewise.
71940 * string/argz.h: Likewise.
71941 * string/bits/string2.h: Likewise.
71942 * string/string.h: Likewise.
71943 * string/strings.h: Likewise.
71944 * sunrpc/rpc/auth.h: Likewise.
71945 * sunrpc/rpc/auth_des.h: Likewise.
71946 * sunrpc/rpc/clnt.h: Likewise.
71947 * sunrpc/rpc/netdb.h: Likewise.
71948 * sunrpc/rpc/pmap_clnt.h: Likewise.
71949 * sunrpc/rpc/xdr.h: Likewise.
71950 * sysdeps/generic/inttypes.h: Likewise.
71951 * sysdeps/generic/net/if.h: Likewise.
71952 * sysdeps/generic/sys/swap.h: Likewise.
71953 * sysdeps/gnu/net/if.h: Likewise.
71954 * sysdeps/gnu/utmpx.h: Likewise.
71955 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71956 * sysdeps/i386/i486/bits/string.h: Likewise.
71957 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71958 * sysdeps/s390/bits/string.h: Likewise.
71959 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71960 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71961 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71962 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71963 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71964 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71965 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71966 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71967 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71968 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71969 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71971 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71972 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71973 * sysdeps/unix/sysv/linux/readv.c: Likewise.
71974 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71975 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71981 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71982 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71983 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71984 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71985 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71987 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71989 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71990 * sysvipc/sys/ipc.h: Likewise.
71991 * sysvipc/sys/msg.h: Likewise.
71992 * sysvipc/sys/sem.h: Likewise.
71993 * sysvipc/sys/shm.h: Likewise.
71994 * termios/termios.h: Likewise.
71995 * time/sys/time.h: Likewise.
71996 * time/time.h: Likewise.
71997 * wcsmbs/bits/wchar2.h: Likewise.
71998 * wcsmbs/uchar.h: Likewise.
71999 * wcsmbs/wchar.h: Likewise.
72000 * wctype/wctype.h: Likewise.
72001
72002 [BZ #13551]
72003 * Makeconfig: Remove all but ELF support including AIX support.
72004 * Makerules: Likewise.
72005 * config.h.in: Likewise.
72006 * config.make.in: Likewise.
72007 * configure: Likewise.
72008 * configure.in: Likewise.
72009 * csu/Makefile: Likewise.
72010 * csu/version.c: Likewise.
72011 * debug/Makefile: Likewise.
72012 * dlfcn/Makefile: Likewise.
72013 * elf/Makefile: Likewise.
72014 * extra-lib.mk: Likewise.
72015 * iconv/Makefile: Likewise.
72016 * include/libc-symbols.h: Likewise.
72017 * include/shlib-compat.h: Likewise.
72018 * resolv/Makefile: Likewise.
72019 * resolv/res_libc.c: Likewise.
72020 * rt/Makefile: Likewise.
72021 * sysdeps/i386/asm-syntax.h: Likewise.
72022 * sysdeps/i386/sysdep.h: Likewise.
72023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72024 * sysdeps/mach/sysdep.h: Likewise.
72025 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72026 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72027 * sysdeps/s390/asm-syntax.h: Likewise.
72028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
72029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
72030 * sysdeps/sh/sysdep.h: Likewise.
72031 * sysdeps/unix/sparc/sysdep.h: Likewise.
72032 * sysdeps/wordsize-32/divdi3.c: Likewise.
72033 * sysdeps/x86_64/sysdep.h: Likewise.
72034
72035 * argp/Versions: Remove _argp_unlock_xxx.
72036
72037 [BZ #13559]
72038 * abilist/ld.abilist: Update. Adjust for removal of tls option.
72039 * abilist/libBrokenLocale.abilist: Likewise.
72040 * abilist/libanl.abilist: Likewise.
72041 * abilist/libc.abilist: Likewise.
72042 * abilist/libcrypt.abilist: Likewise.
72043 * abilist/libdl.abilist: Likewise.
72044 * abilist/libm.abilist: Likewise.
72045 * abilist/libnsl.abilist: Likewise.
72046 * abilist/libpthread.abilist: Likewise.
72047 * abilist/libresolv.abilist: Likewise.
72048 * abilist/librt.abilist: Likewise.
72049 * abilist/libthread_db.abilist: Likewise.
72050 * abilist/libutil.abilist: Likewise.
72051 * abilist/libnss_db.abilist: New file.
72052
72053 * scripts/abilist.awk: Add support for indirect functions.
72054
72055 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72056
72057 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72058
72059 * shlib-versions: Remove entries for ports architectures.
72060
72061 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
72062 files in ports.
72063 * elf/stackguard-macros.h: Remove support for IA-64.
72064 * elf/tst-auditmod1.c: Likewise.
72065 * sysdeps/generic/ldsodefs.h: Likewise.
72066
72067 * sysdeps/unix/sysv/linux/configure.in: Ports should define
72068 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72069 configure files.
72070
72071 [BZ #13552]
72072 * configure.in: Remove --enable-omitfp support.
72073 * FAQ.in: Adjust.
72074 * config.make.in: Likewise.
72075 * Makeconfig: Likewise.
72076 * manual/install.texi: Likewise.
72077
72078 In case anyone cares, the IA-64 architecture could move to ports.
72079 * sysdeps/ia64/*: Removed.
72080 * sysdeps/unix/sysv/linux/ia64/*: Removed.
72081 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72082
72083 [BZ #13555]
72084 * configure.in: Remove entries for unsupported architectures.
72085
72086 [BZ #13533]
72087 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72088 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
72089 routines.
72090 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72091 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72092 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
72093 fall back to using wcrtomb.
72094 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72095 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
72096 renaming.
72097 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72098 * wcsmbs/tst-c16c32-1.c: New file.
72099
72100 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72101 local variable.
72102
72103 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72104
72105 * elf/tst-unique3.cc: Add explicit declaration of gets.
72106 * elf/tst-unique3lib.cc: Likewise.
72107 * elf/tst-unique3lib2.cc: Likewise.
72108 * elf/tst-unique4.cc: Likewise.
72109
72110 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72111
72112 2012-01-06 Joseph Myers <joseph@codesourcery.com>
72113
72114 [BZ #13566]
72115 * assert/assert.h (static_assert): Don't define for C++.
72116 * libio/stdio.h (gets): Do declare for C++ <= C++11.
72117 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72118
72119 2012-01-03 Ulrich Drepper <drepper@gmail.com>
72120
72121 * iconv/loop.c (single loop): Fix assertion in storing of
72122 remaining bytes.
72123
72124 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72125
72126 2012-01-01 Ulrich Drepper <drepper@gmail.com>
72127
72128 * posix/getconf.c: Update copyright year.
72129 * nss/getent.c: Likewise.
72130 * nss/makedb.c: Likewise.
72131 * iconv/iconvconfig.c: Likewise.
72132 * iconv/iconv_prog.c: Likewise.
72133 * elf/ldconfig.c: Likewise.
72134 * elf/pldd.c: Likewise.
72135 * elf/sotruss.ksh: Likewise.
72136 * catgets/gencat.c: Likewise.
72137 * csu/version.c: Likewise.
72138 * elf/ldd.bash.in: Likewise.
72139 * elf/sprof.c (print_version): Likewise.
72140 * locale/programs/locale.c: Likewise.
72141 * locale/programs/localedef.c: Likewise.
72142 * login/programs/pt_chown.c: Likewise.
72143 * nscd/nscd.c (print_version): Likewise.
72144 * debug/xtrace.sh: Likewise.
72145 * malloc/memusage.sh: Likewise.
72146 * malloc/mtrace.pl: Likewise.
72147 * debug/catchsegv.sh: Likewise.
72148
72149 2011-12-30 Jakub Jelinek <jakub@redhat.com>
72150
72151 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72152 pure attribute.
72153
72154 2011-12-24 Ulrich Drepper <drepper@gmail.com>
72155
72156 [BZ #13533]
72157 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72158 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72159 transformations.
72160 * iconv/gconv_int.h: Likewise.
72161 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72162 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72163 from libc for GLIBC_2.16.
72164 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72165 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72166 * wcsmbs/uchar.h: Really define mbstate_t.
72167 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72168 * wcsmbs/c16rtomb.c: New file.
72169 * wcsmbs/mbrtoc16.c: New file.
72170 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72171 for C/POSIX locale.
72172 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72173 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72174
72175 * wcsmbs/wchar.h: Add missing __restrict.
72176
72177 2011-12-23 Ulrich Drepper <drepper@gmail.com>
72178
72179 [BZ #13532]
72180 * time/Makefile (routines): Add timespec_get.
72181 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72182 * time/time.h: Define TIME_UTC and declare timespec_get. Define
72183 timespec for ISO C11.
72184 * time/timespec_get.c: New file.
72185 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72186 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72187
72188 [BZ #13531]
72189 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72190 * stdlib/stdlib.h: Declare aligned_alloc.
72191 * Versions.def: Add GLIBC_2.16 for libc.
72192 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72193
72194 [BZ 13527]
72195 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72196 ISO C11.
72197
72198 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72199 code.
72200
72201 [BZ #13528]
72202 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72203
72204 [BZ #13529]
72205 * assert/assert.h (static_assert): Define.
72206
72207 * version.h: Update for 2.16 development version.
72208
72209 [BZ #13526]
72210 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72211 _ISOC11_SOURCE.
72212
72213 * version.h (RELEASE): Bump for 2.15 release.
72214 * include/features.h (__GLIBC_MINOR__): Bump to 15.
72215
72216 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72217 Patch by Marek Polacek <mpolacek@redhat.com>.
72218
72219 * bits/byteswap.h: Protect long long constants with __extension__.
72220 * sysdeps/i386/bits/byteswap.h: Likewise.
72221 * sysdeps/ia64/bits/byteswap.h: Likewise.
72222 * sysdeps/s390/bits/byteswap.h: Likewise.
72223 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72224
72225 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72226
72227 [BZ #13540]
72228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72229 destination buffer.
72230 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72231
72232 2011-12-23 Marek Polacek <polacek@redhat.com>
72233
72234 * elf/dl-addr.c (determine_info): Add inline keyword.
72235 * elf/tst-auditmod4b.c (check_avx): Likewise.
72236 * elf/tst-auditmod6b.c (check_avx): Likewise.
72237 * elf/tst-auditmod6c.c (check_avx): Likewise.
72238 * elf/tst-auditmod7b.c (check_avx): Likewise.
72239
72240 2011-12-23 Ulrich Drepper <drepper@gmail.com>
72241
72242 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72243 !__SSE_MATH__.
72244
72245 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72246
72247 [BZ #13540]
72248 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72249 processing for last bytes.
72250
72251 2011-08-06 Bruno Haible <bruno@clisp.org>
72252
72253 [BZ #13061]
72254 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72255 U+0385, not to U+1FEE.
72256
72257 [BZ #13062]
72258 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72259 entry for U+00A5 U+0301.
72260
72261 2011-12-22 Ulrich Drepper <drepper@gmail.com>
72262
72263 [BZ #13166]
72264 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72265 buffer for the output is too small.
72266
72267 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72268 optimization.
72269
72270 [BZ #13185]
72271 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72272 SSE flags if possible.
72273
72274 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72275
72276 [BZ #13540]
72277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72278 processing for last bytes.
72279
72280 2011-12-22 Joseph Myers <joseph@codesourcery.com>
72281
72282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72283 (syscall-list-default-options, syscall-list-default-condition)
72284 (syscall-list-includes): Define.
72285 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72286 list of ABIs and options and #if conditions for each ABI. Do not
72287 handle common syscalls between ABIs specially.
72288 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72289 Remove.
72290 (syscall-list-variants, syscall-list-32bit-options)
72291 (syscall-list-32bit-condition, syscall-list-64bit-options)
72292 (syscall-list-64bit-condition): Define.
72293 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72294 (syscall-list-variants, syscall-list-32bit-options)
72295 (syscall-list-32bit-condition, syscall-list-64bit-options)
72296 (syscall-list-64bit-condition): Define.
72297 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72298 Remove.
72299 (syscall-list-variants, syscall-list-32bit-options)
72300 (syscall-list-32bit-condition, syscall-list-64bit-options)
72301 (syscall-list-64bit-condition): Define.
72302 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72303 Remove.
72304 (syscall-list-variants, syscall-list-32bit-options)
72305 (syscall-list-32bit-condition, syscall-list-64bit-options)
72306 (syscall-list-64bit-condition): Define.
72307
72308 2011-12-22 Ulrich Drepper <drepper@gmail.com>
72309
72310 * locale/iso-639.def: Add brx entry.
72311
72312 [BZ #13328]
72313 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72314 Proposed by Mariusz_Cukr <marcukr@op.pl>.
72315
72316 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72317 __feraiseexcept_renamed.
72318
72319 2011-12-21 Ulrich Drepper <drepper@gmail.com>
72320
72321 [BZ #13538]
72322 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72323 EPOLLET with unsigned values.
72324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72326
72327 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72328 to large cancellation.
72329 * math/s_cacoshf.c: Likewise.
72330 * math/s_cacoshl.c: Likewise.
72331
72332 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
72333
72334 [BZ #13305]
72335 [BZ #12786]
72336 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72337 * math/s_cacoshf.c: Likewise.
72338 * math/s_cacoshl.c: Likewise.
72339
72340 2011-12-21 Ulrich Drepper <drepper@gmail.com>
72341
72342 [BZ #13439]
72343 * iconv/gconv.h: Define __GCONV_SWAP.
72344 * iconvdata/unicode.c: The swap bit must be stored in __flags.
72345 * iconvdata/utf-16.c: Likewise.
72346 * iconvdata/utf-32.c: Likewise.
72347
72348 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
72349
72350 [BZ #13524]
72351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72352 numerator after shifting it by one limb.
72353
72354 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
72355
72356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72357 under [__USE_EXTERN_INLINES].
72358
72359 2011-12-17 Ulrich Drepper <drepper@gmail.com>
72360
72361 [BZ #13446]
72362 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72363
72364 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72365
72366 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72367 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72368 optimized code.
72369 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72371 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72372 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72373 for strncasecmp/strncasecmp_l compilation.
72374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72375 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72376
72377 2011-12-08 Marek Polacek <mpolacek@redhat.com>
72378
72379 [BZ #13484]
72380 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72381 of __asm__.
72382
72383 2011-12-17 Ulrich Drepper <drepper@gmail.com>
72384
72385 [BZ #13506]
72386 * time/tzfile.c (__tzfile_read): Check values from file header.
72387
72388 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
72389
72390 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72391 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72392 * powerpc/powerpc32/dl-start.S: Likewise.
72393 * powerpc/powerpc32/elf/start.S: Likewise.
72394 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72395 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72396 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72397 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72398 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72399 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72400 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72401 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72402 * powerpc/powerpc32/fpu/s_round.S: Likewise.
72403 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72404 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72405 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72406 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72407 * powerpc/powerpc32/memset.S: Likewise.
72408 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72409 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72410 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72411 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72412 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72413 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72414 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72415 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72416 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72417 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72419 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72420 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72421
72422 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72423
72424 * math/libm-test.inc: Added more nearbyint tests.
72425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72429
72430 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
72431
72432 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72433 FD_CLOEXEC.
72434
72435 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72436
72437 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72438 Add wcscpy-ssse3 wcscpy-c.
72439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72440 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72441 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72442 * sysdeps/x86_64/wcschr.S: New file.
72443 * sysdeps/x86_64/wcsrchr.S: New file.
72444 * string/test-strcmp.c: Remove checking of wcscmp function for
72445 wrong alignments.
72446 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72447 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72448 wcsrchr-sse2 wcsrchr-c.
72449 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72450 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72451 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72452 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72453 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72454 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72455 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72456 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72458 * wcsmbc/wcschr.c (WCSCHR): New macro.
72459
72460 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72461
72462 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72463 * wcsmbs/test-wcsrchr.c: New file.
72464 * string/test-strrchr.c: Add wcsrchr support.
72465 (WIDE): New macro.
72466 * wcsmbs/test-wcscpy.c: New file.
72467 * string/test-strcpy.c: Add wcscpy support.
72468 (WIDE): New macro.
72469
72470 2011-12-10 Ulrich Drepper <drepper@gmail.com>
72471
72472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72473 the inner loop.
72474
72475 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
72476
72477 [BZ #13472]
72478 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72479
72480 2011-12-04 Ulrich Drepper <drepper@gmail.com>
72481
72482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72483 Minor optimizations.
72484
72485 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72486 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72487 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72488
72489 2011-12-03 Ulrich Drepper <drepper@gmail.com>
72490
72491 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72492 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72493 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72494 for gcc to avoid warnings.
72495 * inet/Makefile (tests): Add tst-checks.
72496 * inet/tst-checks.c: New file.
72497
72498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72499 warning.
72500
72501 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72502 __wmemcmp_sse2.
72503
72504 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72505 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72506
72507 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72508
72509 2011-12-02 Ulrich Drepper <drepper@gmail.com>
72510
72511 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72512 problem.
72513
72514 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72515
72516 2011-11-29 Joseph Myers <joseph@codesourcery.com>
72517
72518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72519 conditional on GCC version.
72520 (__arch_compare_and_exchange_val_8_acq)
72521 (__arch_compare_and_exchange_val_16_acq)
72522 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72523 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72524 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72525
72526 2011-12-02 Joseph Myers <joseph@codesourcery.com>
72527
72528 * sysdeps/sh/backtrace.c: New file.
72529
72530 2011-12-02 Andreas Schwab <schwab@redhat.com>
72531
72532 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
72533 parenthesis.
72534
72535 2011-12-01 Andreas Schwab <schwab@redhat.com>
72536
72537 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72538 falling back to utime.
72539
72540 2011-11-30 Andreas Schwab <schwab@redhat.com>
72541
72542 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72543 expectations for float.
72544
72545 2011-11-29 Andreas Schwab <schwab@redhat.com>
72546
72547 * locale/weight.h (findidx): Add parameter len.
72548 * locale/weightwc.h (findidx): Likewise.
72549 * posix/fnmatch_loop.c (FCT): Adjust caller.
72550 * posix/regcomp.c (build_equiv_class): Likewise.
72551 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72552 * posix/regexec.c (check_node_accept_bytes): Likewise.
72553 * string/strcoll_l.c (STRCOLL): Likewise.
72554 * string/strxfrm_l.c (STRXFRM): Likewise.
72555
72556 2011-11-17 Ulrich Drepper <drepper@gmail.com>
72557
72558 * Makefile.in: Remove CVSOPT handling.
72559 * configure.in: Remove use of AC_REVISION.
72560 * iconvdata/Makefile (distribute): No need to filter out CVS.
72561 * scripts/list-sources.sh: Remove CVS, subversion and monotone
72562 handling.
72563
72564 2011-11-16 Andreas Schwab <schwab@redhat.com>
72565
72566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72567 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72568 [USE_AS_STRNCASECMP_L]: Likewise.
72569 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72570 NO_TLS_DIRECT_SEG_REFS.
72571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72572 Fix argument offsets for non-PIC.
72573 [USE_AS_STRNCASECMP_L]: Likewise.
72574 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72575 NO_TLS_DIRECT_SEG_REFS.
72576
72577 2011-11-15 Ulrich Drepper <drepper@gmail.com>
72578
72579 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72580 O_CLOEXEC.
72581 * locale/loadlocale.c (_nl_load_locale): Likewise.
72582
72583 2011-11-15 Andreas Schwab <schwab@redhat.com>
72584
72585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72586 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72588 (SYSCALL_GETTIME): Set errno on error.
72589
72590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72591 count references to noai6ai_cached.
72592
72593 2011-11-15 Ulrich Drepper <drepper@gmail.com>
72594
72595 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72596
72597 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72598 FD_CLOEXEC for /proc/self/maps.
72599
72600 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72601 FD_CLOEXEC for /proc/meminfo.
72602
72603 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72604 gai.conf.
72605
72606 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
72607 FD_CLOEXEC for given file.
72608
72609 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72610
72611 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72612 FD_CLOEXEC for /etc/hosts.
72613 (_gethtent): Likewise.
72614
72615 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72616
72617 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72618 cancellation and set FD_CLOEXEC for /etc/netgroup.
72619
72620 * nss/nss_files/files-key.c (search): Don't allow cancellation when
72621 reading /etc/publickey.
72622
72623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72624 allow cancellation when reading /etc/group.
72625
72626 * nss/nss_files/files-alias.c (internal_setent): Don't allow
72627 cancellation.
72628 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
72629
72630 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72631 when using data file.
72632
72633 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72634
72635 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72636 (write_nis_obj): Use "c" and "e" in fopen.
72637
72638 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72639
72640 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72641
72642 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72643
72644 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72645
72646 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72647 locale.alias.
72648
72649 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72650
72651 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72652
72653 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72654
72655 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72656 file parsing and set FD_CLOEXEC.
72657
72658 2011-11-14 Ulrich Drepper <drepper@gmail.com>
72659
72660 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72661
72662 2011-11-14 Andreas Schwab <schwab@redhat.com>
72663
72664 * malloc/arena.c (arena_get2): Don't call reused_arena when
72665 _int_new_arena failed.
72666
72667 2011-11-14 Ulrich Drepper <drepper@gmail.com>
72668
72669 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72670 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72675 to compile strcasecmp and strncasecmp.
72676 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72677 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72678
72679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72680
72681 2011-11-13 Ulrich Drepper <drepper@gmail.com>
72682
72683 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72684 locale-defines.sym to gen-as-const-headers.
72685 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72686 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72688 to compile strcasecmp and strncasecmp.
72689 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72690 strcasecmp_l and strncasecmp_l.
72691 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72692 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72693 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72694 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72695 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72697 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72698 * sysdeps/i386/i686/multiarch/strncase.S: New file.
72699 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72700 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72701 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72702
72703 2011-11-12 Ulrich Drepper <drepper@gmail.com>
72704
72705 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72706 result of SYSDEP_GETTIME_CPU to retval.
72707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72708 parameter list to macro. Remove trailing semicolon. Adjust users.
72709
72710 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72711 variable.
72712
72713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72714 mantissa words.
72715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72716
72717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72718 from unused variable.
72719
72720 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72721 DWARF definitions.
72722 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72723 for assembling.
72724
72725 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72726 over namespaces.
72727
72728 * sunrpc/rpc_prot.c (rejected): Fix case value.
72729
72730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72731 unsigned long long int to avoid warnings in shift.
72732
72733 * posix/regex_internal.c (re_string_reconstruct): Actually use result
72734 of use of trans.
72735 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72736 variable tmp.
72737
72738 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72739 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72740 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72741
72742 * nis/nis_table.c (nis_list): Use variable of correct type for
72743 result of __follow_path call.
72744
72745 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72746
72747 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72748 of math functions ceil, trunc, floor, round, and sqrt, when
72749 avaliable on the platform.
72750 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72751 name clash.
72752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72755
72756 2011-10-30 Marek Polacek <mpolacek@redhat.com>
72757
72758 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72759 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72760
72761 2011-11-11 Roland McGrath <roland@hack.frob.com>
72762
72763 * include/unistd.h: Fix __readlink return type.
72764 Reported by Chris Metcalf <cmetcalf@tilera.com>.
72765
72766 2011-11-11 Ulrich Drepper <drepper@gmail.com>
72767
72768 * stdlib/ucontext.h: Undo last change for makecontext.
72769
72770 2011-11-11 Andreas Schwab <schwab@redhat.com>
72771
72772 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72773
72774 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72775 * setjmp/setjmp.h: Mark functions as non-leaf.
72776 * setjmp/bits/setjmp2.h: Likewise.
72777 * stdlib/ucontext.h: Likewise.
72778
72779 2011-11-10 Andreas Schwab <schwab@redhat.com>
72780
72781 * malloc/arena.c (_int_new_arena): Don't increment narenas.
72782 (reused_arena): Don't check arena limit.
72783 (arena_get2): Atomically check arena limit.
72784
72785 2011-11-08 Ulrich Drepper <drepper@gmail.com>
72786
72787 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72788 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72789
72790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72791 instructions.
72792
72793 2011-11-07 Andreas Schwab <schwab@redhat.com>
72794
72795 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72796 handler when locking.
72797
72798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72799 Fix size of allocated buffer.
72800
72801 2011-11-04 Andreas Schwab <schwab@redhat.com>
72802
72803 [BZ #10103]
72804 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72805 declarations for long double functions.
72806 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72807
72808 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72809
72810 2011-11-03 Andreas Schwab <schwab@redhat.com>
72811
72812 * nscd/nscd.c (main): Don't start AVC thread until credentials are
72813 installed.
72814
72815 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72816 is disabled.
72817
72818 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
72819
72820 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72821
72822 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
72823
72824 * include/alloca.h (stackinfo_alloca_round): Define.
72825 (extend_alloca): Use it.
72826 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72827 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72828 here.
72829
72830 * scripts/check-local-headers.sh: Ignore libaudit.h.
72831
72832 * nscd/Makefile (extra-objs): Make recursively expanded.
72833
72834 2011-11-01 Ulrich Drepper <drepper@gmail.com>
72835
72836 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72838
72839 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72840 * posix/tst-rfc3484-2.c: Likewise.
72841 * posix/tst-rfc3484-3.c: Likewise.
72842
72843 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72844 process_vm_writev.
72845 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72846 process_vm_writev.
72847 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72848 process_vm_writev from libc using GLIBC_2.15 version.
72849
72850 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72851
72852 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
72853
72854 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72855 stack usage.
72856
72857 2011-10-31 Ulrich Drepper <drepper@gmail.com>
72858
72859 [BZ #13367]
72860 * nss/getent.c (initgroups_keys): Show error message in case no group
72861 names are given.
72862
72863 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72864 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72865 __bump_nl_timestamp.
72866 * nscd/connections (nscd_init): When host database is served open
72867 netlink socket and request notification about configuration changes.
72868 (main_loop_poll): Track netlink file descriptor and bump timestamp
72869 in case data becomes available.
72870 (main_loop_epoll): Likewise.
72871 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72872 (database_pers_head): Add extra_data fileds.
72873 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72875 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72876 Adjust caller.
72877 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72878 in6ai data, call __free_in6ai.
72879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72880 Add -DHAVE_NETLINK.
72881 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
72882 interface information. Reuse previous data if netlink timestamp
72883 is not changed.
72884 (__bump_nl_timestamp): New function.
72885 (__free_in6ai): New function.
72886
72887 2011-10-30 Ulrich Drepper <drepper@gmail.com>
72888
72889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72890 close_not_cancel_no_status here.
72891 (__check_pf): Reorganize code a bit to not call close twice if OOM.
72892
72893 2011-10-29 Ulrich Drepper <drepper@gmail.com>
72894
72895 [BZ #13276]
72896 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72897 return value.
72898
72899 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72900 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72901 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72902
72903 2011-07-03 Andreas Jaeger <aj@suse.de>
72904
72905 [BZ #10709]
72906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72907 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72908 * math/libm-test.inc (sin_test): Add test case.
72909
72910 2011-10-29 Ulrich Drepper <drepper@gmail.com>
72911
72912 [BZ #13337]
72913 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72914 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72915
72916 * elf/chroot_canon.c (chroot_canon): Cleanups.
72917
72918 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72919
72920 [BZ #13335]
72921 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72922 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72923
72924 * string/test-strchr.c: Make usable for strchrnul testing.
72925 * string/test-strchrnul.c: New file.
72926 * string/Makefile (strop-tests): Add strchrnul.
72927
72928 * po/it.po: Update from translation team.
72929 * po/es.po: Likewise.
72930
72931 2011-10-28 Ulrich Drepper <drepper@gmail.com>
72932
72933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72934 the three constants needed as parameters. Drop the others.
72935 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72936 __m128i_strloadu_tolower.
72937 Create and initialize variable zero and use it in all the places
72938 where _mm_setzero_si128 was used.
72939
72940 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72941 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72942 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72943 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72944 anymore.
72945 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72946 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72947 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72948 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72950 __mpranred, __mptan.
72951 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72952 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72953 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72954 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72955 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72956 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72958 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72960
72961 2011-10-28 Andreas Schwab <schwab@redhat.com>
72962
72963 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72964 redefine if SHARED.
72965 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72966
72967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72968 wide char related routines to wcsmbs subdir.
72969
72970 2011-10-27 Andreas Schwab <schwab@redhat.com>
72971
72972 [BZ #13344]
72973 * misc/sys/cdefs.h (__THROWNL): Define.
72974 * posix/unistd.h: Use __THREADNL instead of __THREAD
72975 for memory synchronization functions.
72976
72977 2011-10-26 Roland McGrath <roland@hack.frob.com>
72978
72979 [BZ #13349]
72980 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72981 doesn't exist.
72982 * manual/stdio.texi (Obstack Streams): Node removed.
72983
72984 2011-10-26 Andreas Schwab <schwab@redhat.com>
72985
72986 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72989
72990 * math/math_private.h (math_force_eval): Allow non-addressable
72991 arguments.
72992 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72993
72994 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72995
72996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72997 file is not needed.
72998
72999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73006 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73007 Add AVX variants.
73008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73013 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73014 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73015 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73018 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73019 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73020 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73021 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73024 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73026 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73027
73028 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73029 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
73030
73031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73032 place. Use VEX encoding when compiling for AVX.
73033
73034 2011-10-25 Andreas Schwab <schwab@redhat.com>
73035
73036 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73038
73039 * string/test-strchr.c (do_test): Don't generate NUL bytes.
73040
73041 2011-10-25 Ulrich Drepper <drepper@gmail.com>
73042
73043 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73044 useless if() expression.
73045 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73046 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73053 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73055 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73057 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73059 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73064
73065 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73066
73067 2011-10-25 Andreas Schwab <schwab@redhat.com>
73068
73069 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73070 condition.
73071 * elf/dl-fini.c (_dl_sort_fini): Likewise.
73072
73073 2011-10-25 Ulrich Drepper <drepper@gmail.com>
73074
73075 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73076 .text section. Avoid duplicate constants.
73077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73086 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73089 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73090 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73097 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73098 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73099 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73101 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73102 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73103 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73104 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73106 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73107 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73110 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73111 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73112 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73113 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73115 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73116 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73119 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73120 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73122
73123 2011-10-24 Ulrich Drepper <drepper@gmail.com>
73124
73125 * sysdeps/x86_64/dla.h: Move to ...
73126 * sysdeps/x86_64/fpu/dla.h: ...here.
73127 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73128 situations. Use __builtin_fma only for gcc 4.6 and up.
73129
73130 * config.make.in: Add have-mfma4 entry.
73131 * configure.in: Substitute libc_cv_cc_fma4.
73132 * math/Makefile (dbl-only-routines): Add sincostab.
73133 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73134 Use __sincostab not sincos.
73135 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73136 name is a macro.
73137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
73141 using __copysign.
73142 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
73143 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
73144 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73145 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73146 and __inv.
73147 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73148 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73149 __copysign.
73150 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
73151 define aliases when function name is a macro.
73152 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73153 sysdeps/ieee754/dbl-64/sincos.tbl.
73154 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73155 fma4-enabled routines.
73156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73157 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73166 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73167 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73168 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73183 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73184 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73185 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73186
73187 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73188 rename.
73189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73197
73198 2011-10-24 Andreas Schwab <schwab@redhat.com>
73199
73200 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73201
73202 2011-10-23 Ulrich Drepper <drepper@gmail.com>
73203
73204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73205
73206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73207 prediction.
73208 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73209
73210 * string/strnlen.c: Don't define STRNLEN, reverse logic.
73211 Remove unused variable magic_bits.
73212 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73213
73214 * string/strnlen.c: Define and use STRNLEN macro.
73215 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73216 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73218 * wcsmbs/wcslen.c: Define and use WCSLEN.
73219 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73220 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73221 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73222 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73223 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73224 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73225 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73226
73227 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73228
73229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73230 strnlen-sse2-no-bsf.
73231 Rename strlen-no-bsf to strlen-sse2-no-bsf.
73232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73233 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73234 Add strnlen support.
73235 (USE_AS_STRNLEN): New macro.
73236 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73238 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73239 * sysdeps/x86_64/wcslen.S: New file.
73240
73241 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
73242
73243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73244 XMM-moves are used for copying on small sizes.
73245
73246 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73247
73248 * wcsmbs/Makefile (strop-tests): Add wcschr.
73249 * wcsmbs/test-wcschr.c: New file.
73250 * string/test-strchr.c: Update.
73251 Add wcschr support.
73252 (WIDE): New macro.
73253
73254 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73255
73256 * wcsmbs/Makefile (strop-tests): Add wcslen.
73257 * wcsmbs/test-wcslen.c: New file.
73258 * string/test-strlen.c: Update.
73259 Add wcslen support.
73260 (WIDE): New macro.
73261
73262 2011-10-23 Ulrich Drepper <drepper@gmail.com>
73263
73264 * po/it.po: Update from translation team.
73265
73266 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73267
73268 * sysdeps/x86_64/wcscmp.S: Update.
73269 Fix wrong comparison semantics.
73270 wcscmp shall use signed comparison not unsigned.
73271 Don't use substraction to avoid overflow bug.
73272 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73273 * wcsmbc/wcscmp.c: Likewise.
73274 * string/test-strcmp.c: Likewise.
73275 Add new tests to check cases with negative values.
73276
73277 2011-10-23 Ulrich Drepper <drepper@gmail.com>
73278
73279 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73280 * sysdeps/x86_64/dla.h: ...here. New file.
73281 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73290
73291 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
73292
73293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73294 __ynl_finite aliases.
73295
73296 2011-10-22 Ulrich Drepper <drepper@gmail.com>
73297
73298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73299
73300 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73301 define DLA_FMA.
73302 [DLA_FMA] (EMULV): Use DLA_FMA.
73303 [DLA_FMA] (MUL12): Use EMULV.
73304 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73305 that are not needed.
73306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73313
73314 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
73315
73316 * math/s_nan.c: Undef __nan.
73317 * math/s_nanf.c: Undef __nanf.
73318 * math/s_nanl.c: Undef __nanl.
73319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73320 "math_private.h".
73321
73322 2011-10-22 Ulrich Drepper <drepper@gmail.com>
73323
73324 * math/s_catan.c: Add branch predictions.
73325 * math/s_catanf.c: Likewise.
73326 * math/s_catanh.c: Likewise.
73327 * math/s_catanhf.c: Likewise.
73328 * math/s_catanhl.c: Likewise.
73329 * math/s_catanl.c: Likewise.
73330 * math/s_cexp.c: Likewise.
73331 * math/s_cexpf.c: Likewise.
73332 * math/s_cexpl.c: Likewise.
73333 * math/s_clog.c: Likewise.
73334 * math/s_clog10.c: Likewise.
73335 * math/s_clog10f.c: Likewise.
73336 * math/s_clog10l.c: Likewise.
73337 * math/s_clogf.c: Likewise.
73338 * math/s_clogl.c: Likewise.
73339 * math/s_csqrt.c: Likewise.
73340 * math/s_csqrtf.c: Likewise.
73341 * math/s_csqrtl.c: Likewise.
73342 * math/s_ctanf.c: Likewise.
73343 * math/s_ctanh.c: Likewise.
73344 * math/s_ctanhf.c: Likewise.
73345 * math/s_ctanhl.c: Likewise.
73346 * math/s_ctanl.c: Likewise.
73347
73348 * math/math_private.h: Define __nan, __nanf, __nanl.
73349 * math/s_cacosh.c: Include <math_private.h>.
73350 * math/s_cacoshl.c: Likewise.
73351 * math/s_casinh.c: Likewise.
73352 * math/s_casinhf.c: Likewise.
73353 * math/s_casinhl.c: Likewise.
73354 * math/s_ccos.c: Rely entire on ccosh.
73355 * math/s_ccosf.c: Rely entire on ccoshf.
73356 * math/s_ccosl.c: Rely entirely on ccoshl.
73357 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
73358 Remove tests for FE_INVALID.
73359 * math/s_ccoshf.c: Likewise.
73360 * math/s_ccoshl.c: Likewise.
73361 * math/s_csin.c: Likewise.
73362 * math/s_csinf.c: Likewise.
73363 * math/s_csinh.c Likewise.
73364 * math/s_csinhf.c: Likewise.
73365 * math/s_csinhl.c: Likewise.
73366 * math/s_csinl.c: Likewise.
73367 * math/s_ctan.c: Likewise.
73368 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73369 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73371
73372 2011-10-21 Ulrich Drepper <drepper@gmail.com>
73373
73374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73375 compilation problems.
73376
73377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73378 __builtin_expect.
73379
73380 2011-10-20 Ulrich Drepper <drepper@gmail.com>
73381
73382 * sysdeps/i386/configure.in: Test for -mfma4 option.
73383 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73384 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73385 COMMON_CPUID_INDEX_80000001.
73386 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73387 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73388 use it if FMA3 is not supported.
73389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73390
73391 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73393
73394 2011-10-20 Andreas Schwab <schwab@redhat.com>
73395
73396 [BZ #12892]
73397 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73398 it would create a cycle with a link time dependency.
73399
73400 2011-10-19 Ulrich Drepper <drepper@gmail.com>
73401
73402 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73403 instruction.
73404 * string/Makefile (strop-tests): Add rawmemchr.
73405 * string/test-rawmemchr.c: New file.
73406
73407 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
73409 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
73410 when compiling str{,n}casecmp and when AVX is available. Hook up
73411 new optimized code in initializers.
73412
73413 2011-10-19 Andreas Schwab <schwab@redhat.com>
73414
73415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73416 __feraiseexcept instead of feraiseexcept.
73417
73418 2011-10-18 Ulrich Drepper <drepper@gmail.com>
73419
73420 * math/math_private.h: Define defaults for libc_fetestexcept and
73421 libc_feupdateenv.
73422 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73423 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73425 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73428 libc_fetestexcept and libc_feupdateenv.
73429
73430 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73431 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73432 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73433 * sysdeps/x86_64/fpu/math_private.h: Define special version of
73434 libc_feholdexcept_setround.
73435
73436 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73437 Add s_nearbyint-c and s_nearbyintf-c.
73438 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73439 nearbyintf inlines.
73440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73444
73445 * math/math_private.h: Define defaults for libc_fegetround,
73446 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73447 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73448 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73450 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73451 standard functions.
73452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73453 Remove comments and hacks for old compiler versions.
73454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73455 libc_fegetround, libc_fesetround, libc_feholdexcept, and
73456 libc_feholdexceptl.
73457
73458 2011-10-18 Andreas Schwab <schwab@redhat.com>
73459
73460 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73461 (__feraiseexcept_renamed): Add __NTH.
73462 (feraiseexcept): Add __NTH. Rename local variables to fix
73463 namespace violations.
73464
73465 2011-10-17 Ulrich Drepper <drepper@gmail.com>
73466
73467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73468
73469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73470
73471 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73472 recently added interfaces.
73473 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73474
73475 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73476 about macro parameter expansion.
73477
73478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73479 __NO_MATH_INLINES is defined. Cleanups.
73480
73481 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73482 and __floorf is target has SSE4.1.
73483 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73484 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73485 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73487
73488 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73489 name.
73490 (floorf): Likewise.
73491
73492 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73493
73494 2011-10-17 Andreas Schwab <schwab@redhat.com>
73495
73496 * misc/sys/cdefs.h: Fix last change.
73497
73498 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73499 database lookup.
73500
73501 2011-10-16 Ulrich Drepper <drepper@gmail.com>
73502
73503 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73504
73505 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73511 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73514 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73515 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73516 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73517 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73518 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73519 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73520 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73521 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73523 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73524 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73527
73528 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73529 ceil, ceilf, floor, floorf.
73530
73531 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73532 Perform IRELATIVE relocations last.
73533
73534 * elf/do-rel.h: Add another parameter nrelative, replacing the
73535 local variable with the same name. Change name of the function
73536 to end in Rel or Rela (uppercase).
73537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73538 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
73539 elf_dynamic_do_##reloc function.
73540
73541 2011-10-15 Ulrich Drepper <drepper@gmail.com>
73542
73543 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73544 is sufficient, at least on modern CPUs.
73545
73546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73547
73548 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73550
73551 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73552 __expl_finite.
73553 * math/bits/math-finite.h: Add entries for exp.
73554 * math/e_expl.c: Add __*_finite alias.
73555 * sysdeps/i386/fpu/e_exp.S: Likewise.
73556 * sysdeps/i386/fpu/e_expf.S: Likewise.
73557 * sysdeps/i386/fpu/e_expl.c: Likewise.
73558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73559 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73560 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73562 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73565
73566 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73567 is sufficient, at least on modern CPUs.
73568
73569 * ctype/ctype-info.c (__ctype_init): Define.
73570 * include/ctype.h (__ctype_init): Declare.
73571 (__ctype_b_loc): The variable is always initialized.
73572 (__ctype_toupper_loc): Likewise.
73573 (__ctype_tolower_loc): Likewise.
73574 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73575 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73576
73577 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
73578
73579 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73580
73581 * configure.in: Also look in $cxxmachine/include for C++ system
73582 headers.
73583
73584 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73585
73586 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73587 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73588 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73589 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
73590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73591 (USE_AS_WMEMCMP): New macro.
73592 Fixing indents.
73593 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73594 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73595 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73596 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73598 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73599 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73601 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73602 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73604 (USE_AS_WMEMCMP): New macro.
73605 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73606 * sysdeps/string/test-memcmp.c: Update.
73607 Fix simple_wmemcmp.
73608 Add new tests.
73609 * wcsmbs/wmemcmp.c: Update.
73610 (WMEMCMP): New macro.
73611 Fix overflow bug.
73612
73613 2011-10-12 Andreas Jaeger <aj@suse.de>
73614
73615 [BZ #13268]
73616 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73617
73618 2011-10-15 Ulrich Drepper <drepper@gmail.com>
73619
73620 * libio/iofwide.c (do_length): Avoid warning.
73621
73622 * ctype/ctype.h (__isctype_f): Add missing __THROW.
73623
73624 2011-10-14 Ulrich Drepper <drepper@gmail.com>
73625
73626 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73627
73628 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73629 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73630 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73631 * sysdeps/i386/i686/fpu/e_log.S: New file.
73632 * sysdeps/i386/i686/fpu/e_logf.S: New file.
73633 * sysdeps/i386/i686/fpu/e_logl.S: New file.
73634
73635 * ctype/ctype.h: Add support for inlined isXXX functions when
73636 compiling C++ code.
73637
73638 2011-10-14 Andreas Schwab <schwab@redhat.com>
73639
73640 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73641
73642 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73643
73644 2011-10-13 Roland McGrath <roland@hack.frob.com>
73645
73646 [BZ #13291]
73647 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73648
73649 2011-10-13 Andreas Schwab <schwab@redhat.com>
73650
73651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73652 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73653 feraiseexcept.
73654
73655 * sysdeps/x86_64/memrchr.S: Check for zero size.
73656
73657 * string/stratcliff.c: Add memrchr tests.
73658
73659 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73660
73661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73662 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73663 rawmemchr-sse2 rawmemchr-sse2-bsf.
73664 * sysdeps/i386/i686/multiarch/memchr.S: New file.
73665 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73666 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73667 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73668 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73669 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73670 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73671 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73674 * string/memrchr.c (MEMRCHR): New macro.
73675
73676 2011-10-12 Ulrich Drepper <drepper@gmail.com>
73677
73678 Add integration with gcc's -ffinite-math-only and optimize wrapper
73679 functions in libm.
73680 * Versions.def: Define GLIBC_2.15 version for libm.
73681 * math/Makefile (headers): Add bits/math-finite.h.
73682 * math/bits/math-finite.h: New file.
73683 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73684 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73685 * math/e_acoshl.c: Add __*_finite alias.
73686 * math/e_acosl.c: Likewise.
73687 * math/e_asinl.c: Likewise.
73688 * math/e_atan2l.c: Likewise.
73689 * math/e_atanhl.c: Likewise.
73690 * math/e_coshl.c: Likewise.
73691 * math/e_exp10.c: Likewise.
73692 * math/e_exp10f.c: Likewise.
73693 * math/e_exp10l.c: Likewise.
73694 * math/e_exp2l.c: Likewise.
73695 * math/e_fmodl.c: Likewise.
73696 * math/e_gammal_r.c: Likewise.
73697 * math/e_hypotl.c: Likewise.
73698 * math/e_j0l.c: Likewise.
73699 * math/e_j1l.c: Likewise.
73700 * math/e_jnl.c: Likewise.
73701 * math/e_lgammal_r.c: Likewise.
73702 * math/e_log10l.c: Likewise.
73703 * math/e_log2l.c: Likewise.
73704 * math/e_logl.c: Likewise.
73705 * math/e_powl.c: Likewise.
73706 * math/e_sinhl.c: Likewise.
73707 * math/e_sqrtl.c: Likewise.
73708 * math/e_scalb.c: Completely rewritten and optimized.
73709 * math/e_scalbf.c: Likewise.
73710 * math/e_scalbl.c: Likewise.
73711 * math/w_acos.c: Likewise.
73712 * math/w_acosf.c: Likewise.
73713 * math/w_acosl.c: Likewise.
73714 * math/w_acosh.c: Likewise.
73715 * math/w_acoshf.c: Likewise.
73716 * math/w_acoshl.c: Likewise.
73717 * math/w_asin.c: Likewise.
73718 * math/w_asinf.c: Likewise.
73719 * math/w_asinl.c: Likewise.
73720 * math/w_atan2.c: Likewise.
73721 * math/w_atan2f.c: Likewise.
73722 * math/w_atan2l.c: Likewise.
73723 * math/w_atanh.c: Likewise.
73724 * math/w_atanhf.c: Likewise.
73725 * math/w_atanhl.c: Likewise.
73726 * math/w_exp10.c: Likewise.
73727 * math/w_exp10f.c: Likewise.
73728 * math/w_exp10l.c: Likewise.
73729 * math/w_fmod.c: Likewise.
73730 * math/w_fmodf.c: Likewise.
73731 * math/w_fmodl.c: Likewise.
73732 * math/w_j0.c: Likewise.
73733 * math/w_j0f.c: Likewise.
73734 * math/w_j0l.c: Likewise.
73735 * math/w_j1.c: Likewise.
73736 * math/w_j1f.c: Likewise.
73737 * math/w_j1l.c: Likewise.
73738 * math/w_jn.c: Likewise.
73739 * math/w_jnf.c: Likewise.
73740 * math/w_log.c: Likewise.
73741 * math/w_logf.c: Likewise.
73742 * math/w_logl.c: Likewise.
73743 * math/w_log10.c: Likewise.
73744 * math/w_log10f.c: Likewise.
73745 * math/w_log10l.c: Likewise.
73746 * math/w_log2.c: Likewise.
73747 * math/w_log2f.c: Likewise.
73748 * math/w_log2l.c: Likewise.
73749 * math/w_pow.c: Likewise.
73750 * math/w_powf.c: Likewise.
73751 * math/w_powl.c: Likewise.
73752 * math/w_remainder.c: Likewise.
73753 * math/w_remainderf.c: Likewise.
73754 * math/w_remainderl.c: Likewise.
73755 * math/w_scalb.c: Likewise.
73756 * math/w_scalbf.c: Likewise.
73757 * math/w_scalbl.c: Likewise.
73758 * math/w_sqrt.c: Likewise.
73759 * math/w_sqrtf.c: Likewise.
73760 * math/w_sqrtl.c: Likewise.
73761 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73762 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
73763 used.
73764 * math/math_private.h: Declare __kernel_standard_f.
73765 * math/w_cosh.c: Remove cruft and optimize a bit.
73766 * math/w_coshf.c: Likewise.
73767 * math/w_coshl.c: Likewise.
73768 * math/w_exp2.c: Likewise.
73769 * math/w_exp2f.c: Likewise.
73770 * math/w_exp2l.c: Likewise.
73771 * math/w_hypot.c: Likewise.
73772 * math/w_hypotf.c: Likewise.
73773 * math/w_hypotl.c: Likewise.
73774 * math/w_lgamma.c: Likewise.
73775 * math/w_lgamma_r.c: Likewise.
73776 * math/w_lgammaf.c: Likewise.
73777 * math/w_lgammaf_r.c: Likewise.
73778 * math/w_lgammal.c: Likewise.
73779 * math/w_lgammal_r.c: Likewise.
73780 * math/w_sinh.c: Likewise.
73781 * math/w_sinhf.c: Likewise.
73782 * math/w_sinhl.c: Likewise.
73783 * math/w_tgamma.c: Likewise.
73784 * math/w_tgammaf.c: Likewise.
73785 * math/w_tgammal.c: Likewise.
73786 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73788 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73789 Minor optimizations. Pretty printing. Remove cruft.
73790 * sysdeps/i386/fpu/e_acosf.S: Likewise.
73791 * sysdeps/i386/fpu/e_acosh.S: Likewise.
73792 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73794 * sysdeps/i386/fpu/e_acosl.c: Likewise.
73795 * sysdeps/i386/fpu/e_asin.S: Likewise.
73796 * sysdeps/i386/fpu/e_asinf.S: Likewise.
73797 * sysdeps/i386/fpu/e_atan2.S: Likewise.
73798 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73799 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
73801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73803 * sysdeps/i386/fpu/e_exp10.S: Likewise.
73804 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73805 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73806 * sysdeps/i386/fpu/e_exp2.S: Likewise.
73807 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73808 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73809 * sysdeps/i386/fpu/e_fmod.S: Likewise.
73810 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73811 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73812 * sysdeps/i386/fpu/e_hypot.S: Likewise.
73813 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73814 * sysdeps/i386/fpu/e_log.S: Likewise.
73815 * sysdeps/i386/fpu/e_log10.S: Likewise.
73816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
73817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
73818 * sysdeps/i386/fpu/e_log2.S: Likewise.
73819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
73820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
73821 * sysdeps/i386/fpu/e_logf.S: Likewise.
73822 * sysdeps/i386/fpu/e_logl.S: Likewise.
73823 * sysdeps/i386/fpu/e_pow.S: Likewise.
73824 * sysdeps/i386/fpu/e_powf.S: Likewise.
73825 * sysdeps/i386/fpu/e_powl.S: Likewise.
73826 * sysdeps/i386/fpu/e_remainder.S: Likewise.
73827 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73828 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
73830 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73832 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73833 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73834 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73838 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73840 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73841 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73852 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73856 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73859 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73862 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73864 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73866 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73869 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73870 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73871 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73872 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73873 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73874 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73875 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73876 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73885 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73890 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73891 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73892 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73893 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73899 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73905 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73906 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73913 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73916 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73917 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73928 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73929 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73931 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73932 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73933 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73934 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73935 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73936 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73937 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73938 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73943 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73945 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
73946 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73947 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73948 (__isnanf): Likewise.
73949 (__isinf_ns): Likewise.
73950 (__isinf_nsf): Likewise.
73951 (__finite): Likewise.
73952 (__finitef): Likewise.
73953 (__ieee754_sqrt): Define as macro.
73954 (__ieee754_sqrtf): Define as macro.
73955 (__ieee754_sqrtl): Define as macro.
73956 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73957 inlined copy.
73958 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73959 __FINITE_MATH_ONLY__ consistent.
73960 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73961
73962 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
73963
73964 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73965 of rawmemchr.
73966
73967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73968
73969 2011-10-09 Ulrich Drepper <drepper@gmail.com>
73970
73971 * po/ja.po: Update from translation team.
73972
73973 2011-10-08 Roland McGrath <roland@hack.frob.com>
73974
73975 * locale/programs/locarchive.c (prepare_address_space): New function.
73976 (create_archive, enlarge_archive, open_archive): Use it.
73977
73978 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73979 inside [SHARED], where it is used.
73980
73981 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73982
73983 * nss/getent.c (netgroup_keys): Remove unused variable.
73984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73985
73986 2011-10-08 Ulrich Drepper <drepper@gmail.com>
73987
73988 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73991 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73993 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73994 * math/Makefile (libm-calls): Add s_isinf_ns.
73995 * math/divtc3.c: Use __isinf_nsl instead of isinf.
73996 * math/multc3.c: Likewise.
73997 * math/s_casin.c: Likewise.
73998 * math/s_casinf.c: Likewise.
73999 * math/s_casinl.c: Likewise.
74000 * math/s_ccos.c: Likewise.
74001 * math/s_ccosf.c: Likewise.
74002 * math/s_ccosl.c: Likewise.
74003 * math/s_ctan.c: Likewise.
74004 * math/s_ctanf.c: Likewise.
74005 * math/s_ctanh.c: Likewise.
74006 * math/s_ctanhf.c: Likewise.
74007 * math/s_ctanhl.c: Likewise.
74008 * math/s_ctanl.c: Likewise.
74009 * math/w_fmod.c: Likewise.
74010 * math/w_fmodf.c: Likewise.
74011 * math/w_fmodl.c: Likewise.
74012 * math/w_remainder.c: Likewise.
74013 * math/w_remainderf.c: Likewise.
74014 * math/w_remainderl.c: Likewise.
74015 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74016 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74017 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74019 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74020 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74021 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74022 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74023
74024 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74025 of the number.
74026 * stdio-common/printf_fphex.c: Likewise.
74027 * stdio-common/printf_size.c: Likewise.
74028
74029 * math/e_exp10.c: Include math_private.h using <...> not "...".
74030 * math/e_exp10f.c: Likewise.
74031 * math/e_exp10l.c: Likewise.
74032 * math/e_exp2l.c: Likewise.
74033 * math/e_j0l.c: Likewise.
74034 * math/e_j1l.c: Likewise.
74035 * math/e_jnl.c: Likewise.
74036 * math/e_lgammal_r.c: Likewise.
74037 * math/e_rem_pio2l.c: Likewise.
74038 * math/e_scalb.c: Likewise.
74039 * math/e_scalbf.c: Likewise.
74040 * math/e_scalbl.c: Likewise.
74041 * math/k_cosl.c: Likewise.
74042 * math/k_sinl.c: Likewise.
74043 * math/k_tanl.c: Likewise.
74044 * math/s_cacoshf.c: Likewise.
74045 * math/s_catan.c: Likewise.
74046 * math/s_catanf.c: Likewise.
74047 * math/s_catanh.c: Likewise.
74048 * math/s_catanhf.c: Likewise.
74049 * math/s_catanhl.c: Likewise.
74050 * math/s_catanl.c: Likewise.
74051 * math/s_ccosh.c: Likewise.
74052 * math/s_ccoshf.c: Likewise.
74053 * math/s_ccoshl.c: Likewise.
74054 * math/s_cexp.c: Likewise.
74055 * math/s_cexpf.c: Likewise.
74056 * math/s_cexpl.c: Likewise.
74057 * math/s_clog.c: Likewise.
74058 * math/s_clog10.c: Likewise.
74059 * math/s_clog10f.c: Likewise.
74060 * math/s_clog10l.c: Likewise.
74061 * math/s_clogf.c: Likewise.
74062 * math/s_clogl.c: Likewise.
74063 * math/s_csin.c: Likewise.
74064 * math/s_csinf.c: Likewise.
74065 * math/s_csinh.c: Likewise.
74066 * math/s_csinhf.c: Likewise.
74067 * math/s_csinhl.c: Likewise.
74068 * math/s_csinl.c: Likewise.
74069 * math/s_csqrt.c: Likewise.
74070 * math/s_csqrtf.c: Likewise.
74071 * math/s_csqrtl.c: Likewise.
74072 * math/s_ctan.c: Likewise.
74073 * math/s_ctanf.c: Likewise.
74074 * math/s_ctanh.c: Likewise.
74075 * math/s_ctanhf.c: Likewise.
74076 * math/s_ctanhl.c: Likewise.
74077 * math/s_ctanl.c: Likewise.
74078 * math/s_ldexp.c: Likewise.
74079 * math/s_ldexpf.c: Likewise.
74080 * math/s_ldexpl.c: Likewise.
74081 * math/s_significand.c: Likewise.
74082 * math/s_significandf.c: Likewise.
74083 * math/s_significandl.c: Likewise.
74084 * math/w_acos.c: Likewise.
74085 * math/w_acosf.c: Likewise.
74086 * math/w_acosh.c: Likewise.
74087 * math/w_acoshf.c: Likewise.
74088 * math/w_acoshl.c: Likewise.
74089 * math/w_acosl.c: Likewise.
74090 * math/w_asin.c: Likewise.
74091 * math/w_asinf.c: Likewise.
74092 * math/w_asinl.c: Likewise.
74093 * math/w_atan2.c: Likewise.
74094 * math/w_atan2f.c: Likewise.
74095 * math/w_atan2l.c: Likewise.
74096 * math/w_atanh.c: Likewise.
74097 * math/w_atanhf.c: Likewise.
74098 * math/w_atanhl.c: Likewise.
74099 * math/w_cosh.c: Likewise.
74100 * math/w_coshf.c: Likewise.
74101 * math/w_coshl.c: Likewise.
74102 * math/w_dremf.c: Likewise.
74103 * math/w_exp10.c: Likewise.
74104 * math/w_exp10f.c: Likewise.
74105 * math/w_exp10l.c: Likewise.
74106 * math/w_exp2.c: Likewise.
74107 * math/w_exp2f.c: Likewise.
74108 * math/w_fmod.c: Likewise.
74109 * math/w_fmodf.c: Likewise.
74110 * math/w_fmodl.c: Likewise.
74111 * math/w_hypot.c: Likewise.
74112 * math/w_hypotf.c: Likewise.
74113 * math/w_hypotl.c: Likewise.
74114 * math/w_j0.c: Likewise.
74115 * math/w_j0f.c: Likewise.
74116 * math/w_j0l.c: Likewise.
74117 * math/w_j1.c: Likewise.
74118 * math/w_j1f.c: Likewise.
74119 * math/w_j1l.c: Likewise.
74120 * math/w_jn.c: Likewise.
74121 * math/w_jnf.c: Likewise.
74122 * math/w_jnl.c: Likewise.
74123 * math/w_lgamma.c: Likewise.
74124 * math/w_lgamma_r.c: Likewise.
74125 * math/w_lgammaf.c: Likewise.
74126 * math/w_lgammaf_r.c: Likewise.
74127 * math/w_lgammal.c: Likewise.
74128 * math/w_lgammal_r.c: Likewise.
74129 * math/w_log.c: Likewise.
74130 * math/w_log10.c: Likewise.
74131 * math/w_log10f.c: Likewise.
74132 * math/w_log10l.c: Likewise.
74133 * math/w_log2.c: Likewise.
74134 * math/w_log2f.c: Likewise.
74135 * math/w_log2l.c: Likewise.
74136 * math/w_logf.c: Likewise.
74137 * math/w_logl.c: Likewise.
74138 * math/w_pow.c: Likewise.
74139 * math/w_powf.c: Likewise.
74140 * math/w_powl.c: Likewise.
74141 * math/w_remainder.c: Likewise.
74142 * math/w_remainderf.c: Likewise.
74143 * math/w_remainderl.c: Likewise.
74144 * math/w_scalb.c: Likewise.
74145 * math/w_scalbf.c: Likewise.
74146 * math/w_scalbl.c: Likewise.
74147 * math/w_sinh.c: Likewise.
74148 * math/w_sinhf.c: Likewise.
74149 * math/w_sinhl.c: Likewise.
74150 * math/w_sqrt.c: Likewise.
74151 * math/w_sqrtf.c: Likewise.
74152 * math/w_sqrtl.c: Likewise.
74153 * math/w_tgamma.c: Likewise.
74154 * math/w_tgammaf.c: Likewise.
74155 * math/w_tgammal.c: Likewise.
74156
74157 * po/ja.po: Update from translation team.
74158
74159 2011-09-29 Andreas Jaeger <aj@suse.de>
74160
74161 [BZ #13179]
74162 * sunrpc/netname.c (netname2host): Fix logic.
74163
74164 [BZ #6779]
74165 [BZ #6783]
74166 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74167 correctly.
74168 * math/w_remainder.c (__remainder): Likewise.
74169 * math/w_remainderf.c (__remainderf): Likewise.
74170 * math/libm-test.inc (remainder_test): Add test cases.
74171
74172 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74173
74174 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
74175 sdiv_qrnnd.
74176
74177 2011-10-07 Ulrich Drepper <drepper@gmail.com>
74178
74179 * string/test-memcmp.c: Avoid unncessary #defines.
74180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74181
74182 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74183
74184 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74185 Use new sse2 version for core i3 - i7 as it's faster
74186 than sse42 version.
74187 (bit_Prefer_PMINUB_for_stringop): New.
74188 * sysdeps/x86_64/rawmemchr.S: Update.
74189 Replace with faster SSE2 version.
74190 * sysdeps/x86_64/memrchr.S: New file.
74191 * sysdeps/x86_64/memchr.S: Update.
74192 Replace with faster SSE2 version.
74193
74194 2011-09-12 Marek Polacek <mpolacek@redhat.com>
74195
74196 * elf/dl-load.c (lose): Add cast to avoid warning.
74197
74198 2011-10-07 Ulrich Drepper <drepper@gmail.com>
74199
74200 * po/ca.po: Update from translation team.
74201
74202 * inet/getnetgrent_r.c: Hook up nscd.
74203 * nscd/Makefile (routines): Add nscd_netgroup.
74204 (nscd-modules): Add netgroupcache.
74205 (CFLAGS-netgroupcache.c): Define.
74206 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74207 (cache_search): Add const to second parameter.
74208 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74209 INNETGR.
74210 (dbs): Add netgrdb entry.
74211 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74212 (verify_persistent_db): Handle netgrdb.
74213 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74214 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74215 GETFDNETGR.
74216 (netgroup_response_header): Define.
74217 (innetgroup_response_header): Define.
74218 (datahead): Add netgroup_response_header and innetgroup_response_header
74219 elements.
74220 * nscd/nscd.conf: Add entries for netgroup cache.
74221 * nscd/nscd.h (dbtype): Add netgrdb.
74222 (_PATH_NSCD_NETGROUP_DB): Define.
74223 (netgroup_iov_disabled): Declare.
74224 (xmalloc, xcalloc, xrealloc): Move declarations here.
74225 (cache_search): Adjust prototype.
74226 Add netgroup-related prototypes.
74227 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74228 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74229 (__nscd_innetgr): Declare.
74230 * nscd/selinux.c (perms): Use access_vector_t as element type and
74231 add netgroup-related initializers.
74232 * nscd/netgroupcache.c: New file.
74233 * nscd/nscd_netgroup.c: New file.
74234 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74235 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74236 For four parameters use innetgr.
74237 * nss/nss_files/files-init.c: Add definition and callback for netgr.
74238 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74239 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74240 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74241
74242 * nscd/connections.c (register_traced_file): Don't register file
74243 for disabled databases.
74244
74245 2011-10-06 Ulrich Drepper <drepper@gmail.com>
74246
74247 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74248
74249 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74250 from tree and freeing node.
74251
74252 2011-09-25 Jiri Olsa <jolsa@redhat.com>
74253
74254 * nss/nsswitch.c (__nss_database_lookup): Handle
74255 nss_parse_service_list out of memory case.
74256
74257 2011-09-15 Jiri Olsa <jolsa@redhat.com>
74258
74259 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74260 out of memory case.
74261
74262 2011-10-04 Andreas Schwab <schwab@redhat.com>
74263
74264 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74265 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74266 pass it down.
74267 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74268 elf_machine_rela, elf_machine_lazy_rel.
74269 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74270 (ELF_DYNAMIC_DO_REL): Likewise.
74271 (ELF_DYNAMIC_DO_RELA): Likewise.
74272 (ELF_DYNAMIC_RELOCATE): Likewise.
74273 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74274 to ELF_DYNAMIC_DO_REL.
74275 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74276 (dl_main): In trace mode always set __RTLD_NOIFUNC.
74277 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74278 elf_machine_rela.
74279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74280 skip_ifunc, don't call ifunc function if non-zero.
74281 (elf_machine_rela): Likewise.
74282 (elf_machine_lazy_rel): Likewise.
74283 (elf_machine_lazy_rela): Likewise.
74284 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74285 (elf_machine_lazy_rel): Likewise.
74286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74287 Likewise.
74288 (elf_machine_lazy_rel): Likewise.
74289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74290 Likewise.
74291 (elf_machine_lazy_rel): Likewise.
74292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74293 (elf_machine_lazy_rel): Likewise.
74294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74295 (elf_machine_lazy_rel): Likewise.
74296 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74297 (elf_machine_lazy_rel): Likewise.
74298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74299 (elf_machine_lazy_rel): Likewise.
74300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74301 (elf_machine_lazy_rel): Likewise.
74302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74303 (elf_machine_lazy_rel): Likewise.
74304
74305 2011-09-28 Ulrich Drepper <drepper@gmail.com>
74306
74307 * nss/nss_files/files-init.c (_nss_files_init): Use static
74308 initialization for all the *_traced_file variables.
74309
74310 2011-09-28 Andreas Schwab <schwab@redhat.com>
74311
74312 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74313
74314 2011-09-27 Roland McGrath <roland@hack.frob.com>
74315
74316 [BZ #13226]
74317 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74318
74319 2011-09-27 Andreas Schwab <schwab@redhat.com>
74320
74321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74322 Reread the line before reparsing it.
74323
74324 2011-09-26 Andreas Schwab <schwab@redhat.com>
74325
74326 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74327
74328 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
74329 Maxim Kuvyrkov <maxim@codesourcery.com>
74330 Joseph Myers <joseph@codesourcery.com>
74331
74332 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74333 if needed for __stack_chk_guard.
74334
74335 2011-09-19 Roland McGrath <roland@hack.frob.com>
74336
74337 * sysdeps/posix/spawni.c (script_execute): Always define it.
74338 It will be optimized away if unused.
74339 (maybe_script_execute): New function.
74340 (__spawni): Call it.
74341
74342 * Makerules: Don't include tls.make.
74343 (config-tls): Always set to thread.
74344 * tls.make.c: File removed.
74345
74346 2011-09-19 Mike Frysinger <vapier@gentoo.org>
74347
74348 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74349 * config.make.in (CPPFLAGS-config): New substituted variable.
74350
74351 2011-09-15 Ulrich Drepper <drepper@gmail.com>
74352
74353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74354
74355 [BZ #13192]
74356 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74357 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74358
74359 2011-09-15 Roland McGrath <roland@hack.frob.com>
74360
74361 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74362 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74364 (CALL_FAIL): Likewise.
74365 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74366 (CALL_FAIL): Macro removed.
74367 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74368
74369 2011-09-15 Ulrich Drepper <drepper@gmail.com>
74370
74371 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74372 for __FINITE_MATH_ONLY__ == 1.
74373
74374 2011-09-15 Andreas Schwab <schwab@redhat.com>
74375
74376 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74377 __ieee754_sqrt instead of sqrt.
74378 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74379 __ieee754_sqrtf instead of sqrtf.
74380 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74381 __floorf instead of floorf.
74382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74383 __floorf, __truncf instead of floorf, truncf.
74384
74385 2011-09-14 Ulrich Drepper <drepper@gmail.com>
74386
74387 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74388
74389 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74390 __extern_always_inline.
74391 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74392 32-bit.
74393
74394 2011-09-14 Andreas Schwab <schwab@redhat.com>
74395
74396 * elf/rtld.c (dl_main): Also relocate in dependency order when
74397 doing symbol dependency testing.
74398
74399 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
74400
74401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74402 Always define `refsym'.
74403
74404 2011-09-13 Andreas Schwab <schwab@redhat.com>
74405
74406 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74407 (__FD_ELT): Renamed from __FDELT.
74408 * misc/bits/select2.h (__FD_ELT): Likewise.
74409 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74410 __FD_MASK instead of __FDELT, __FDMASK.
74411 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74412 Likewise.
74413 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74414 Likewise.
74415
74416 * elf/Makefile (gen-ldd): Fix pattern.
74417
74418 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74419 (init_tls): Likewise.
74420
74421 2011-09-12 Ulrich Drepper <drepper@gmail.com>
74422
74423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74424
74425 2011-09-12 Andreas Schwab <schwab@redhat.com>
74426
74427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74428 `struct cmsghdr *' instead of `void *'.
74429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74430 Likewise.
74431
74432 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
74433
74434 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74435 if non-absolute.
74436 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74437 ldd_rewrite_script.
74438
74439 2011-09-11 Ulrich Drepper <drepper@gmail.com>
74440
74441 * configure.in: Remove --with-tls option.
74442 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74443 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74444 out in case it is missing.
74445 * sysdeps/ia64/elf/configure.in: Likewise.
74446 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74447 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74448 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74449 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74450 * sysdeps/sh/elf/configure.in: Likewise.
74451 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74453 * sysdeps/x86_64/elf/configure.in: Likewise.
74454 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74455 * sysdeps/mach/hurd/tls.h: Likewise.
74456
74457 [BZ #13067]
74458 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74459
74460 [BZ #13090]
74461 * configure.in: Fix use of AC_INIT.
74462
74463 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74464
74465 2011-09-10 Ulrich Drepper <drepper@gmail.com>
74466
74467 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74468 __set_errno.
74469 * malloc/hooks.c: Likewise.
74470
74471 [BZ #11929]
74472 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
74473 variables statically.
74474 (narenas): Initialize.
74475 (list_lock): Initialize.
74476 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
74477 initializtion of main_arena and list_lock. Small cleanups.
74478 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74479 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
74480 Add initializers to main_arena and mp_.
74481 (malloc_state): Remove pagesize member. Change all users to use
74482 GLRO(dl_pagesize).
74483
74484 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74485 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
74486 is always initialized.
74487
74488 * malloc/malloc.c: Removed unused configurations and dead code.
74489 * malloc/arena.c: Likewise.
74490 * malloc/hooks.c: Likewise.
74491 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74492
74493 * include/tls.h: Removed. USE___THREAD must always be defined.
74494 * bits/libc-tsd.h: Don't handle !USE___THREAD.
74495 * elf/dl-libc.c: Likewise.
74496 * elf/dl-tsd.c: Likewise.
74497 * include/errno.h: Likewise.
74498 * include/netdb.h: Likewise.
74499 * include/resolv.h: Likewise.
74500 * inet/herrno-loc.c: Likewise.
74501 * inet/herrno.c: Likewise.
74502 * malloc/arena.c: Likewise.
74503 * malloc/hooks.c: Likewise.
74504 * malloc/malloc.c: Likewise.
74505 * resolv/res-state.c: Likewise.
74506 * resolv/res_libc.c: Likewise.
74507 * sysdeps/i386/dl-machine.h: Likewise.
74508 * sysdeps/ia64/dl-machine.h: Likewise.
74509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74513 * sysdeps/sh/dl-machine.h: Likewise.
74514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74516 * sysdeps/unix/i386/sysdep.S: Likewise.
74517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74518 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74523 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
74528 * sysdeps/x86_64/dl-machine.h: Likewise.
74529 * tls.make.c: Likewise.
74530
74531 * configure.in: Remove --with-__thread option. Make tests for
74532 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74533 tls_model attribute fail if no support is available. Remove
74534 USE_IN_LIBIO.
74535 * Makeconfig: Adjust for dropped configure option. All features are
74536 now mandatory.
74537 * Makerules: Likewise.
74538 * Versions.def: Likewise.
74539 * argp/argp-fmtstream.c: Likewise.
74540 * argp/argp-fmtstream.h: Likewise.
74541 * argp/argp-help.c: Likewise.
74542 * assert/assert.c: Likewise.
74543 * config.h.in: Likewise.
74544 * config.make.in: Likewise.
74545 * configure: Likewise.
74546 * configure.in: Likewise.
74547 * csu/Versions: Likewise.
74548 * csu/init.c: Likewise.
74549 * elf/tst-audit2.c: Likewise.
74550 * elf/tst-tls10.c: Likewise.
74551 * elf/tst-tls10.h: Likewise.
74552 * elf/tst-tls11.c: Likewise.
74553 * elf/tst-tls12.c: Likewise.
74554 * elf/tst-tls14.c: Likewise.
74555 * elf/tst-tlsmod11.c: Likewise.
74556 * elf/tst-tlsmod12.c: Likewise.
74557 * elf/tst-tlsmod13.c: Likewise.
74558 * elf/tst-tlsmod13a.c: Likewise.
74559 * elf/tst-tlsmod14a.c: Likewise.
74560 * elf/tst-tlsmod15b.c: Likewise.
74561 * elf/tst-tlsmod16a.c: Likewise.
74562 * elf/tst-tlsmod16b.c: Likewise.
74563 * elf/tst-tlsmod7.c: Likewise.
74564 * elf/tst-tlsmod8.c: Likewise.
74565 * elf/tst-tlsmod9.c: Likewise.
74566 * gmon/gmon.c: Likewise.
74567 * grp/fgetgrent_r.c: Likewise.
74568 * grp/putgrent.c: Likewise.
74569 * hurd/fopenport.c: Likewise.
74570 * include/libc-symbols.h: Likewise.
74571 * include/tls.h: Likewise.
74572 * intl/gettextP.h: Likewise.
74573 * intl/loadinfo.h: Likewise.
74574 * locale/global-locale.c: Likewise.
74575 * locale/localeinfo.h: Likewise.
74576 * mach/devstream.c: Likewise.
74577 * malloc/arena.c: Likewise.
74578 * malloc/set-freeres.c: Likewise.
74579 * misc/err.c: Likewise.
74580 * misc/getttyent.c: Likewise.
74581 * misc/mntent_r.c: Likewise.
74582 * posix/getopt.c: Likewise.
74583 * posix/wordexp.c: Likewise.
74584 * pwd/fgetpwent_r.c: Likewise.
74585 * resolv/Versions: Likewise.
74586 * resolv/res_hconf.c: Likewise.
74587 * shadow/fgetspent_r.c: Likewise.
74588 * shadow/putspent.c: Likewise.
74589 * stdio-common/printf_fphex.c: Likewise.
74590 * stdio-common/tmpfile.c: Likewise.
74591 * stdlib/abort.c: Likewise.
74592 * stdlib/fmtmsg.c: Likewise.
74593 * sunrpc/auth_unix.c: Likewise.
74594 * sunrpc/clnt_perr.c: Likewise.
74595 * sunrpc/clnt_tcp.c: Likewise.
74596 * sunrpc/clnt_udp.c: Likewise.
74597 * sunrpc/clnt_unix.c: Likewise.
74598 * sunrpc/openchild.c: Likewise.
74599 * sunrpc/svc_simple.c: Likewise.
74600 * sunrpc/svc_tcp.c: Likewise.
74601 * sunrpc/svc_udp.c: Likewise.
74602 * sunrpc/svc_unix.c: Likewise.
74603 * sunrpc/xdr.c: Likewise.
74604 * sunrpc/xdr_array.c: Likewise.
74605 * sunrpc/xdr_rec.c: Likewise.
74606 * sunrpc/xdr_ref.c: Likewise.
74607 * sunrpc/xdr_stdio.c: Likewise.
74608
74609 2011-09-09 Ulrich Drepper <drepper@gmail.com>
74610
74611 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74612
74613 2011-07-03 Andreas Jaeger <aj@suse.de>
74614
74615 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74616 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74617 regenerate with gen-libm-tests.pl.
74618
74619 2010-05-12 Petr Baudis <pasky@suse.cz>
74620
74621 [BZ #11589]
74622 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74623 around j0() zero points by switching to j1().
74624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74628
74629 2011-09-09 Ulrich Drepper <drepper@gmail.com>
74630
74631 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74632 instead of 0.
74633 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74634 instead of 0.
74635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74636 Patch in part by Pavel Roskin <proski@gnu.org>.
74637
74638 [BZ #13138]
74639 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74640 realloc.
74641 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
74642 Free memory block if necessary.
74643
74644 [BZ #12847]
74645 * libio/genops.c (INTDEF): For string streams the _lock pointer can
74646 be NULL. Don't lock in this case.
74647
74648 2011-09-09 Roland McGrath <roland@hack.frob.com>
74649
74650 * elf/elf.h (ELFOSABI_GNU): New macro.
74651 (ELFOSABI_LINUX): Define to that.
74652
74653 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
74654
74655 * string/strncat.c (strncat): Undef the symbol in case it has been
74656 defined in bits/string.h.
74657
74658 2011-09-09 Ulrich Drepper <drepper@gmail.com>
74659
74660 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74661
74662 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74663 link map.
74664
74665 2011-08-17 Andreas Jaeger <aj@suse.de>
74666
74667 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74668
74669 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
74670 Ian Lance Taylor <iant@google.com>
74671
74672 * math/libm-test.inc (lround_test): New testcase.
74673 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74674
74675 2011-09-08 Ulrich Drepper <drepper@gmail.com>
74676
74677 * Makefile: Remove support for automatic cvs check-ins.
74678 * Makerules: Likewise.
74679 * config.make.in: Likewise.
74680 * configure.in: Likewise.
74681 * intl/Makefile: Likewise.
74682 * locale/Makefile: Likewise.
74683 * po/Makefile: Likewise.
74684 * posix/Makefile: Likewise.
74685 * sysdeps/gnu/Makefile: Likewise.
74686 * sysdeps/mach/hurd/Makefile: Likewise.
74687 * sysdeps/sparc/sparc32/Makefile: Likewise.
74688
74689 [BZ #13118]
74690 * posix/Makefile (bug-regex32-ENV): Define.
74691 Patch by John Stanley <jpsinthemix@verizon.net>.
74692
74693 * misc/Makefile (headers): Add bits/select2.h.
74694 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74695 * misc/bits/select2.h: New file.
74696 * include/bits/select2.h: New file.
74697 * debug/Makefile (routines): Add fdelt_chk.
74698 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74699 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74700 FD_ISSET.
74701 * debug/fdelt_chk.c: New file.
74702
74703 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
74704 * wcsmbs/test-wmemcmp.c: Likewise.
74705 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74706 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74707
74708 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74709
74710 * string/Makefile (strop-tests): Add memcmp.
74711 * string/test-wmemcmp.c: New file.
74712 * string/test-memcmp.c: Add wmemcmp support.
74713
74714 2011-09-08 Roland McGrath <roland@hack.frob.com>
74715
74716 [BZ #13153]
74717 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74718 2011-07-19 change.
74719
74720 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74721 garbage value in a __mach_port_mod_refs call in the cases of the
74722 task-self and thread-self ports.
74723
74724 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
74725
74726 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74727
74728 2011-09-08 Andreas Schwab <schwab@redhat.com>
74729
74730 * elf/dl-load.c (lose): Check for non-null L.
74731
74732 2011-09-07 Ulrich Drepper <drepper@gmail.com>
74733
74734 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74735
74736 * elf/dl-libc.c (dlerror_run): Pass back error code from
74737 dl_catch_error.
74738
74739 [BZ #13123]
74740 * elf/dl-load.c (lose): Free l_origin if it is valid.
74741
74742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74743 names.
74744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74745 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74748 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74749 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74750
74751 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74752
74753 * sysdeps/powerpc/fpu/e_hypot.c: New file.
74754 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74757 * sysdeps/powerpc/fpu/k_cosf.c: New file.
74758 * sysdeps/powerpc/fpu/k_sinf.c: New file.
74759 * sysdeps/powerpc/fpu/s_cosf.c: New file.
74760 * sysdeps/powerpc/fpu/s_sinf.c: New file.
74761 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74762 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74763
74764 2011-08-15 Alan Modra <amodra@gmail.com>
74765
74766 [BZ #13092]
74767 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74768 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74769 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
74770 ppc_mcount to static-only-routines.
74771 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74772 __mcount_internal.
74773 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74774 __mcount_internal with usual JUMPTARGET. Remove useless nop.
74775
74776 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
74777
74778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74779 for finite and infinity parameters.
74780
74781 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
74782
74783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74784 and add nop instructions for throughput optimization.
74785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74786
74787 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
74788
74789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74790 aligned copy for power7 with vector-scalar instructions.
74791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74792
74793 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
74794
74795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74796 AVX check.
74797
74798 2011-09-07 Andreas Schwab <schwab@redhat.com>
74799
74800 [BZ #13144]
74801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74802 last change.
74803
74804 2011-09-07 Ulrich Drepper <drepper@gmail.com>
74805
74806 * sysdeps/unix/sysv/linux/x86_64/init-first.c
74807 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74808 syscall wrapper around clock_gettime in __vdso_clock_gettime.
74809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74810 clock_gettime.
74811
74812 2011-09-06 Ulrich Drepper <drepper@gmail.com>
74813
74814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74815 Forgot to demangle the pointer.
74816
74817 * sysdeps/i386/sysdep.h: Define atom_text_section.
74818 * sysdeps/x86_64/sysdep.h: Likewise.
74819 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74820 section with atom_text_section.
74821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74823 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74826
74827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74829 already be defined. Change to take two parameters and don't assign
74830 result to variable. Adjust all users.
74831 Define INTERNAL_GETTIME if not already defined.
74832 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74833 call.
74834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74835 HAVE_CLOCK_GETTIME_VSYSCALL.
74836 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74837
74838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74839 gettimeofday vsyscall, just use time.
74840
74841 2011-09-06 Andreas Schwab <schwab@redhat.com>
74842
74843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74844 <errno.h>.
74845
74846 2011-09-06 Ulrich Drepper <drepper@gmail.com>
74847
74848 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74849 syscall on x86-64.
74850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74851 syscall.
74852 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74854 syscall if possible.
74855
74856 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74857
74858 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74859 e_ident. Don't pass to find_mapsXX.
74860 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74861
74862 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74863
74864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74865 strchr-sse2-no-bsf strrchr-sse2-no-bsf
74866 * sysdeps/x86_64/multiarch/strchr.S: Update.
74867 Check bit_slow_BSF bit.
74868 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74870 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74871
74872 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74873
74874 [BZ #13134]
74875 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74876 before glibc 2.15.
74877 (tryshell): Define.
74878 (__spawni): Change last parameter to be flag. Test
74879 SPAWN_XFLAGS_USE_PATH flag to use path or not.
74880 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74881 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74882 * posix/spawni.c: Likewise.
74883 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74884 * posix/spawnp.c: Likewise. Change normal version to use
74885 SPAWN_XFLAGS_USE_PATH.
74886 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74887 SPAWN_XFLAGS_TRY_SHELL.
74888
74889 [BZ #13150]
74890 * posix/glob.h: Remove gcc 1.x support.
74891
74892 [BZ #13068]
74893 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74894
74895 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74896
74897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74898 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74899 strrchr-sse2-bsf
74900 * sysdeps/i386/i686/multiarch/strchr.S: New file.
74901 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74902 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74904 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74906
74907 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74908
74909 * sysdeps/x86_64/wcscmp.S: New file.
74910
74911 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74912 wcscmp-c wcscmp-sse2
74913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74914 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74916 * wcsmbs/wcscmp.c: Allow renaming.
74917
74918 2011-09-05 David S. Miller <davem@davemloft.net>
74919
74920 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74921 stack slot, rather than the struct return pointer slot.
74922 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74925 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74926
74927 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74928
74929 * po/ja.po: Update from translation team.
74930
74931 [BZ #13144]
74932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74933 kernel in 64-bit binaries.
74934
74935 2011-09-01 David S. Miller <davem@davemloft.net>
74936
74937 * elf/elf.h (HWCAP_SPARC_*): Move to..
74938 * sysdeps/sparc/sysdep.h: this new file and add new values.
74939 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74940 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74941 _DL_HWCAP_COUNT to 24.
74942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74943 entries.
74944 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74945 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74946 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74948 instead of magic constants.
74949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74950
74951 2011-08-31 David S. Miller <davem@davemloft.net>
74952
74953 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74955 Reimplement to do errno handling inline.
74956 (SYSCALL_ERROR_HANDLER): New macro.
74957 (__SYSCALL_STRING): Do not do errno handling in asm.
74958 (__CLONE_SYSCALL_STRING): Delete.
74959 (__INTERNAL_SYSCALL_STRING): Delete.
74960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74961 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74962 (PSEUDO): Reimplement to do errno handling inline.
74963 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74964 (SYSCALL_ERROR_HANDLER): New macro.
74965 (__SYSCALL_STRING): Do not do errno handling in asm.
74966 (__CLONE_SYSCALL_STRING): Delete.
74967 (__INTERNAL_SYSCALL_STRING): Delete.
74968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74969 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74970 i386.
74971 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74972 (inline_syscall*): Add 'err' argument.
74973 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74974 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74975 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74976 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74977
74978 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74980
74981 2011-08-30 Andreas Schwab <schwab@redhat.com>
74982
74983 * elf/rtld.c (dl_main): Relocate objects in dependency order.
74984
74985 2011-08-29 Jiri Olsa <jolsa@redhat.com>
74986
74987 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74988 directive.
74989
74990 2011-08-24 David S. Miller <davem@davemloft.net>
74991
74992 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74993
74994 2011-08-24 Andreas Schwab <schwab@redhat.com>
74995
74996 * elf/Makefile: Add rules to build and run unload8 test.
74997 * elf/unload8.c: New file.
74998 * elf/unload8mod1.c: New file.
74999 * elf/unload8mod1x.c: New file.
75000 * elf/unload8mod2.c: New file.
75001 * elf/unload8mod3.c: New file.
75002
75003 * elf/dl-close.c (_dl_close_worker): Reset private search list if
75004 it wasn't used.
75005
75006 2011-08-23 David S. Miller <davem@davemloft.net>
75007
75008 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75009 subtract stack bias.
75010 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75011 %sp not %fp in calculations.
75012 (_JMPBUF_UNWINDS_ADJ): Likewise.
75013
75014 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75015 (aio_suspend): Call it to force an exception region around the
75016 AIO_MISC_WAIT() invocation.
75017
75018 2011-08-23 Andreas Schwab <schwab@redhat.com>
75019
75020 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75021 backslash.
75022
75023 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
75024
75025 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75026 protection macro.
75027 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75028 and <dl-machine.h>.
75029 (Elf64_FuncDesc): Remove.
75030
75031 2011-08-22 David S. Miller <davem@davemloft.net>
75032
75033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75034 sigaltstack check, add missing cfi directives.
75035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75036 missing cfi directives, and sigaltstack handling.
75037
75038 2011-08-16 Andreas Schwab <schwab@redhat.com>
75039
75040 [BZ #11724]
75041 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75042 object is seen twice.
75043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
75044
75045 * elf/Makefile (distribute): Add tst-initorder2.c.
75046 (tests): Add tst-initorder2.
75047 (modules-names): Add tst-initorder2a tst-initorder2b
75048 tst-initorder2c tst-initorder2d. Add rules to build them.
75049 ($(objpfx)tst-initorder2.out): New rule.
75050 * elf/tst-initorder2.c: New file.
75051 * elf/tst-initorder2.exp: New file.
75052
75053 2011-08-22 Andreas Schwab <schwab@redhat.com>
75054
75055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75056
75057 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75058 dependencies back to end of function.
75059
75060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75061 $(elfobjdir)/ld.so.
75062
75063 2011-08-21 Ulrich Drepper <drepper@gmail.com>
75064
75065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75066 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75068 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75069 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75070 of __vdso_gettimeofday.
75071 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75072 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
75073 attribute_hidden.
75074 (_libc_vdso_platform_setup): Remove initialization of
75075 __vdso_gettimeofday and __vdso_time.
75076
75077 2011-08-20 Ulrich Drepper <drepper@gmail.com>
75078
75079 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75080 and fgetc_unlocked.
75081 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75082 getc_unlocked.
75083
75084 * elf/dl-open.c (add_to_global): Report additions to the global scope
75085 for LD_DEBUG=scopes.
75086 (dl_open_worker): Also print scope of newly loaded dependencies.
75087 (_dl_show_scope): Indicate if there is no scope.
75088
75089 [BZ #13114]
75090 * stdio-common/Makefile (tests): Add bug24.
75091 * stdio-common/bug24.c: New file.
75092
75093 2011-08-19 Andreas Jaeger <aj@suse.de>
75094
75095 [BZ #13114]
75096 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75097 non-existant file when using close-on-exec mode.
75098
75099 2011-08-20 Ulrich Drepper <drepper@gmail.com>
75100
75101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75102 the very first instruction.
75103
75104 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75105 the CFI state in the end.
75106 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75107 inclusion of dl-trampoline.h.
75108 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75109
75110 2011-08-19 Andreas Schwab <schwab@redhat.com>
75111
75112 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75113 expectations for long double.
75114
75115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75116 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75117
75118 2011-08-14 David S. Miller <davem@davemloft.net>
75119
75120 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75121 artificual limit depends upon the system page size.
75122
75123 2011-08-17 Ulrich Drepper <drepper@gmail.com>
75124
75125 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75126 * resolv/Makefile: Define CFLAGS-libresolv.
75127
75128 2011-08-17 Andreas Schwab <schwab@redhat.com>
75129
75130 * nss/makedb.c (compute_tables): Make variables used in nested
75131 function static.
75132
75133 2011-08-17 Ulrich Drepper <drepper@gmail.com>
75134
75135 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75136 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75137 if buffer was too small.
75138
75139 * elf/pldd.c (main): Attach to all threads in the process.
75140 Rewrite /proc handling to use *at functions.
75141
75142 2011-08-16 Ulrich Drepper <drepper@gmail.com>
75143
75144 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75145 specifies first scope to show.
75146 (dl_open_worker): Update callers. Move printing scope of new
75147 object to before the relocation.
75148 * elf/rtld.c (dl_main): Update _dl_show_scope call.
75149 * sysdeps/generic/ldsodefs.h: Update declaration.
75150
75151 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75152 string for the scope number.
75153
75154 2011-08-14 Ulrich Drepper <drepper@gmail.com>
75155
75156 * nscd/servicescache.c (cache_addserv): Make sure written is always
75157 initialized.
75158
75159 2011-08-14 Roland McGrath <roland@hack.frob.com>
75160
75161 * sysdeps/i386/i486/bits/atomic.h
75162 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75163 statement expression, so as to suppress "set but not used" warning.
75164 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75165
75166 * string/strncat.c (STRNCAT): Use prototype definition.
75167
75168 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75169 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75170 -Iprograms here.
75171 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75172 (localedef-modules): Add localedef.
75173 (locale-modules): Add locale.
75174
75175 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75176 * elf/rtld.c (dl_main): Invert order of assignment in last change,
75177 to avoid a warning.
75178
75179 2011-08-14 David S. Miller <davem@davemloft.net>
75180
75181 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75182 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75183
75184 2011-08-13 Ulrich Drepper <drepper@gmail.com>
75185
75186 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75187 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75188 * elf/rtld.c (dl_main): Set l_name of vDSO.
75189 Call _dl_show_scope when DL_DEBUG_SCOPES.
75190 (process_dl_debug): Recognize scopes flag and also set it for all.
75191 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75192 Declare _dl_show_scope.
75193
75194 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75195 (do_dlopen): Pass caller_dlopen to dl_open.
75196 (__libc_dlopen_mode): Initialize caller_dlopen.
75197
75198 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75199 of libc. Make tolower call locale-independent. Optimize a bit by
75200 using isdigit instead of isalnum.
75201 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75202
75203 2011-08-12 Ulrich Drepper <drepper@gmail.com>
75204
75205 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75206 was a dependency or dynamically loaded.
75207
75208 2011-08-11 Ulrich Drepper <drepper@gmail.com>
75209
75210 * intl/l10nflist.c: Allow architecture-specific pop function.
75211 * sysdeps/x86_64/l10nflist.c: New file.
75212
75213 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75214 classification.
75215
75216 2011-08-10 Andreas Schwab <schwab@redhat.com>
75217
75218 * include/dirent.h: Add libc_hidden_proto for scandirat and
75219 scandirat64. Don't declare __scandirat64.
75220 * dirent/scandirat.c: Add libc_hidden_def.
75221 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75222 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75223
75224 2011-08-10 David S. Miller <davem@davemloft.net>
75225
75226 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75227 enum.
75228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75230 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75231
75232 2011-08-09 Ulrich Drepper <drepper@gmail.com>
75233
75234 * Versions.def [libc]: Add GLIBC_2.15.
75235 * dirent/Makefile (routines): Add scandirat and scandirat64.
75236 * dirent/Versions [libc]: Export scandirat and scandirat64 for
75237 GLIBC_2.15.
75238 * dirent/dirent.h: Declare scandirat and scandirat64.
75239 * dirent/scandirat.c: New file.
75240 * dirent/scandirat64.c: New file.
75241 * sysdeps/wordsize-64/scandirat.c: New file.
75242 * sysdeps/wordsize-64/scandirat64.c: New file.
75243 * dirent/opendir.c: Define opendirat.
75244 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
75245 using scandirat.
75246 * dirent/scandir64.c: Adjust for scandir.c change.
75247 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
75248 __scandirat64, and __scandir_cancel_handler.
75249 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
75250 additional parameter and use openat instead of open (outside of ld.so).
75251 Add new __opendir as wrapper around __opendirat.
75252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75253 here without requiring old scandirat implementation.
75254
75255 2011-08-08 Ulrich Drepper <drepper@gmail.com>
75256
75257 * dirent/scandir.c (cancel_handler): Renamed to
75258 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
75259 defined. Adjust users.
75260 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75262
75263 2011-08-04 Ulrich Drepper <drepper@gmail.com>
75264
75265 * string/test-string.h (IMPL): Use __STRING to expand name and then
75266 stringify it.
75267
75268 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
75269 of cleanups.
75270
75271 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75272
75273 * string/Makefile: Update.
75274 (strop-tests): Append strncat.
75275 * string/test-wcscmp.c: New file.
75276 New comprehensive test for wcscmp.
75277 * string/test-strcmp.c: Update.
75278 (WIDE): New define.
75279
75280 2011-07-22 Andreas Schwab <schwab@redhat.com>
75281
75282 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75283 line.
75284
75285 2011-07-26 Andreas Schwab <schwab@redhat.com>
75286
75287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75288 encoding to ACE if AI_IDN.
75289
75290 2011-08-01 Jakub Jelinek <jakub@redhat.com>
75291
75292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75293 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75294
75295 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75296
75297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75298 Fix overflow bug in strncat.
75299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75300
75301 * string/test-strncat.c: Update.
75302 Add new tests for checking overflow bugs.
75303
75304 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75305
75306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75307 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75308 * sysdeps/i386/i686/multiarch/strcat.S: New file.
75309 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75311 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75312 * sysdeps/i386/i686/multiarch/strncat.S: New file.
75313 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75314 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75315
75316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75317 (USE_AS_STRCAT): Define.
75318 Add strcat and strncat support.
75319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75320
75321 2011-07-25 Andreas Schwab <schwab@redhat.com>
75322
75323 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75324 __n bigger than INT_MAX+1.
75325 (__strncmp_g): Likewise.
75326
75327 2011-07-23 Ulrich Drepper <drepper@gmail.com>
75328
75329 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75330 * libio/stido.h: Likewise.
75331
75332 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75333 (AF_NFC): Define.
75334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75335 (AF_NFC): Define.
75336
75337 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75340 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75342
75343 [BZ #13021]
75344 * scripts/test-installation.pl: Don't expect libnss_test1 to be
75345 installed.
75346
75347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75348 typo.
75349 (_dl_x86_64_save_sse): Likewise.
75350
75351 2011-07-22 Ulrich Drepper <drepper@gmail.com>
75352
75353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75354 OSXSAVE.
75355 (_dl_x86_64_save_sse): Likewise.
75356
75357 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75358
75359 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75360
75361 2011-07-21 Andreas Schwab <schwab@redhat.com>
75362
75363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75364 change.
75365 (_dl_x86_64_save_sse): Use correct AVX check.
75366
75367 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75368
75369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75370 bug in strncpy/strncat.
75371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75372
75373 2011-07-21 Ulrich Drepper <drepper@gmail.com>
75374
75375 * string/tester.c (test_strcat): Add tests for different alignments
75376 of source and destination.
75377 (test_strncat): Likewise.
75378
75379 2011-07-20 Ulrich Drepper <drepper@gmail.com>
75380
75381 [BZ #12852]
75382 * posix/glob.c (glob): Check passed in values before using them in
75383 expressions to avoid some overflows.
75384 (glob_in_dir): Likewise.
75385
75386 [BZ #13007]
75387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75388 check for AVX enablement so that we don't crash with old kernels and
75389 new hardware.
75390 * elf/tst-audit4.c: Add same checks here.
75391 * elf/tst-audit6.c: Likewise.
75392
75393 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75394
75395 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
75396
75397 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75398
75399 2011-07-20 Ulrich Drepper <drepper@gmail.com>
75400
75401 * po/cs.po: Update from translation team.
75402 * po/bg.po: Likewise.
75403
75404 2011-07-12 Marek Polacek <mpolacek@redhat.com>
75405
75406 * misc/sys/cdefs.h: Add support for const attribute.
75407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75408 to gnu_dev_{major,minor,makedev} functions.
75409
75410 2011-07-20 Marek Polacek <mpolacek@redhat.com>
75411
75412 * intl/dcigettext.c (get_output_charset): Add missing bracket.
75413
75414 2011-07-20 Andreas Schwab <schwab@redhat.com>
75415
75416 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75417 strlen results.
75418
75419 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75420
75421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75422 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75423 register in order to avoid conflicts with the soft frame pointer
75424 being held in r11 when necessary.
75425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75426 (INTERNAL_VSYSCALL_NCS): Likewise.
75427
75428 2011-07-14 Marek Polacek <mpolacek@redhat.com>
75429
75430 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75431 * elf/dl-fini.c (_dl_fini): Adjust caller.
75432 * elf/dl-close.c (_dl_close_worker): Likewise.
75433 * sysdeps/generic/ldsodefs.h: Adjust declaration.
75434
75435 2011-07-15 Marek Polacek <mpolacek@redhat.com>
75436
75437 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75438 "aux_cache->nlibs < 0".
75439
75440 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75441 in the reload-count case.
75442
75443 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75444
75445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75446 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75447 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75449 * sysdeps/x86_64/multiarch/strcat.S: New file.
75450 * sysdeps/x86_64/multiarch/strncat.S: New file.
75451 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75453 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75454 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75456 (USE_AS_STRCAT): Define.
75457 Add strcat and strncat support.
75458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75460 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75461 * string/strncat.c: Update.
75462 (USE_AS_STRNCAT): Define.
75463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75464 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75465 and i7.
75466 * sysdeps/x86_64/multiarch/init-arch.h
75467 (bit_Prefer_PMINUB_for_stringop): New.
75468 (index_Prefer_PMINUB_for_stringop): Likewise.
75469 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75470 bit_Prefer_PMINUB_for_stringop.
75471
75472 2011-07-19 Ulrich Drepper <drepper@gmail.com>
75473
75474 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75475 buffer64.
75476 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75477 of casting of buffer.
75478 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75479 buffer32 and buffer64.
75480 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75481 writes instead of casting of buffer.
75482 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75483 buffer32.
75484 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75485 casting of buffer.
75486
75487 2011-07-19 Andreas Schwab <schwab@redhat.com>
75488
75489 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75490
75491 2011-07-19 Ulrich Drepper <drepper@gmail.com>
75492
75493 * nscd/nscd.c (termination_handler): Don't do anything for a database
75494 if it has not yet been initialized.
75495
75496 2011-07-18 Ulrich Drepper <drepper@gmail.com>
75497
75498 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75499
75500 2011-07-15 Marek Polacek <mpolacek@redhat.com>
75501
75502 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75503
75504 2011-07-18 Ulrich Drepper <drepper@gmail.com>
75505
75506 * po/nl.po: Update from translation team.
75507 * po/sv.po: Likewise.
75508
75509 2011-07-16 Roland McGrath <roland@hack.frob.com>
75510
75511 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75512 now disallowed by GCC.
75513
75514 * configure.in (use-default-link): Default to yes if a test -shared
75515 link meets our qualifications.
75516 * configure: Regenerated.
75517
75518 * config.make.in (output-format): New variable.
75519 * configure.in: Check for ld --print-output-format support.
75520 * configure: Regenerated.
75521 * Makerules ($(common-objpfx)format.lds)
75522 [$(output-format) != unknown]: Just use $(output-format),
75523 instead of the linker-script munging.
75524
75525 2011-07-14 Roland McGrath <roland@hack.frob.com>
75526
75527 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75528 of $(common-objpfx)shlib.lds.
75529 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75530
75531 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75532 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75533
75534 * configure.in (-z relro check): Adjust test code to add a large
75535 writable data section after it.
75536 * configure: Regenerated.
75537
75538 2011-07-11 Roland McGrath <roland@hack.frob.com>
75539
75540 * configure.in (-z relro check): Fix test code to make the variable
75541 truly const.
75542 * configure: Regenerated.
75543
75544 2011-07-11 Ulrich Drepper <drepper@gmail.com>
75545
75546 * nscd/nscd.h (struct traced_file): Define.
75547 (struct database_dyn): Remove inotify_descr, reset_res, and filename
75548 elements. Add traced_files.
75549 (inotify_fd): Declare.
75550 (register_traced_file): Declare.
75551 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75552 (inotify_fd): Export.
75553 (resolv_conf_descr): Remove.
75554 (nscd_init): Move inotify descriptor creation to main.
75555 Don't register files for notification here.
75556 (register_traced_file): New function.
75557 (invalidate_cache): Don't use reset_res to determine whether to call
75558 res_init, go through the list of registered files.
75559 (main_loop_poll): The inotify descriptors are now stored in the
75560 structures for the traced files.
75561 (main_loop_epoll): Likewise.
75562 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
75563 to __nss_disable_nscd.
75564 * nscd/cache.c (prune_cache): There is no single inotify descriptor
75565 for a database anymore. Check the records for all the registered
75566 files instead.
75567 * nss/Makefile (libnss_files-routines): Add files-init.
75568 (libnss_db-routines): Add db-init.
75569 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75570 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75571 * nss/nss_db/db-init.c: New file.
75572 * nss/nss_files/files-init.c: New file.
75573 * nss/nsswitch.c (nss_load_library): New function. Broken out of
75574 __nss_lookup_function.
75575 (__nss_lookup_function): Call nss_load_library.
75576 (nss_load_all_libraries): New function.
75577 (__nss_disable_nscd): Take parameter with callback function for files
75578 to register. Set is_nscd. Load all the DSOs for the NSS modules
75579 used for the cached services.
75580 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75581 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75582 options for features to all the files in nscd.
75583
75584 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75585
75586 2011-07-10 Roland McGrath <roland@hack.frob.com>
75587
75588 * csu/elf-init.c (__libc_csu_init): Comment typo.
75589
75590 2011-07-09 Ulrich Drepper <drepper@gmail.com>
75591
75592 * po/pl.po: Update from translation team.
75593 * po/ja.po: Likewise.
75594 * po/ru.po: Likewise.
75595 * po/ko.po: Likewise.
75596 * po/fr.po: Likewise.
75597
75598 2011-07-09 Roland McGrath <roland@hack.frob.com>
75599
75600 * configure.in (.ctors/.dtors header and trailer check):
75601 Use an empirical test on a built program.
75602 * configure: Regenerated.
75603
75604 * configure.in (-z relro check): Use an empirical test on a built DSO.
75605 Detect, but do not require, on ia64.
75606 * configure: Regenerated.
75607
75608 * configure.in (READELF): Find it with AC_CHECK_TOOL.
75609 Update tests that use readelf to use $READELF instead.
75610 * configure: Regenerated.
75611
75612 2011-07-08 Ulrich Drepper <drepper@gmail.com>
75613
75614 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75615 if the result is not used.
75616
75617 2011-07-05 Andreas Jaeger <aj@suse.de>
75618
75619 [BZ#9696]
75620 * stdlib/tst-strtod.c: Add testcase.
75621
75622 2011-07-07 Ulrich Drepper <drepper@gmail.com>
75623
75624 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75625 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75626 The latter has a higher limit. Take additional parameter to pass to
75627 the new function.
75628 (__pathconf): Pass file to __statfs_link_max.
75629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75630 __statfs_link_max.
75631 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75632 __statfs_link_max.
75633
75634 [BZ #12868]
75635 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75636 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75637 Handle Lustre.
75638 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75639 (__statfs_filesize_max): Likewise.
75640 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75641
75642 2011-07-05 Andreas Jaeger <aj@suse.de>
75643
75644 * resolv/res_comp.c (dn_skipname): Remove unused variable.
75645
75646 2011-07-06 Marek Polacek <mpolacek@redhat.com>
75647
75648 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75649 `status' variable.
75650 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75651 Likewise.
75652
75653 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
75654
75655 * Makefile (strop-tests): Add strncat.
75656 * string/test-strncat.c: New file.
75657
75658 2011-06-30 Marek Polacek <mpolacek@redhat.com>
75659
75660 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75661
75662 2011-06-21 Andreas Jaeger <aj@suse.de>
75663
75664 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75665 Copy rule from iconvdata/Makefile.
75666
75667 2011-07-06 Ulrich Drepper <drepper@gmail.com>
75668
75669 [BZ #12922]
75670 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75671 but no long options are defined, just return 'W'.
75672
75673 2011-06-22 Marek Polacek <mpolacek@redhat.com>
75674
75675 [BZ #9696]
75676 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75677
75678 2011-07-06 Ulrich Drepper <drepper@gmail.com>
75679
75680 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75681 netgroups to read.
75682 (innetgr): Likewise.
75683
75684 2011-07-05 Roland McGrath <roland@hack.frob.com>
75685
75686 * config.make.in (install_root): Default to $(DESTDIR).
75687
75688 2011-07-05 Ulrich Drepper <drepper@gmail.com>
75689
75690 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75691
75692 2011-07-02 Roland McGrath <roland@hack.frob.com>
75693
75694 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75695
75696 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75697 containing directory rather than embedding absolute directory names.
75698
75699 * scripts/check-local-headers.sh: Rewritten using awk.
75700 Match by word, not by line. Print error messages for matches.
75701 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75702
75703 * Makerules [shlib-lds-flags empty]:
75704 ($(common-objpfx)libc_pic.opts): New target.
75705 ($(common-objpfx)libc_pic.os.clean): New target.
75706 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75707
75708 * config.make.in (OBJCOPY): New variable.
75709 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75710 * configure: Regenerated.
75711
75712 * config.make.in (use-default-link): New variable.
75713 * configure.in (use_default_link): Grok --with-default-link to set it.
75714 * configure: Regenerated.
75715 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75716 (shlib-lds, shlib-lds-flags): Define to empty.
75717
75718 * Makerules (shlib-lds): New variable.
75719 (shlib-lds-flags): New variable.
75720 (build-shlib, build-moduile, build-module-asneeded): Use it.
75721 ($(common-objpfx)libc.so): Use $(shlib-lds).
75722 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75723 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75724
75725 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75726 DT_FLAGS/DT_FLAGS_1 with zero flags.
75727
75728 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75729 linker script munging.
75730
75731 2011-07-02 Ulrich Drepper <drepper@gmail.com>
75732
75733 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75734 as 128-bit value.
75735 * crypt/sha512.c (sha512_process_block): Perform total addition using
75736 128-bit if possible.
75737 (__sha512_finish_ctx): Likewise.
75738 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75739 as 64-bit value.
75740 * crypt/sha256.c (SWAP64): Define.
75741 (sha256_process_block): Perform total addition using 64-bit if
75742 possible.
75743 (__sha256_finish_ctx): Likewise.
75744
75745 2011-07-01 Ulrich Drepper <drepper@gmail.com>
75746
75747 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
75748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
75749 * nscd/hstcache.c (cache_addhst): Likewise.
75750 * nscd/grpcache.c (cache_addgr): Likewise.
75751 * nscd/aicache.c (addhstaiX): Likewise.
75752 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75753
75754 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
75755
75756 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
75758 * nscd/hstcache.c (cache_addhst): Likewise.
75759 * nscd/grpcache.c (cache_addgr): Likewise.
75760 * nscd/aicache.c (addhstaiX): Likewise.
75761
75762 2011-07-01 Andreas Schwab <schwab@redhat.com>
75763
75764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75765 domain only when needed.
75766
75767 2011-06-30 Andreas Schwab <schwab@redhat.com>
75768
75769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75770 is always restored.
75771
75772 2011-06-29 Ulrich Drepper <drepper@gmail.com>
75773
75774 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75775 are re-adding the entry.
75776 * nscd/servicescache.c (cache_addserv): Likewise.
75777
75778 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
75779
75780 * sysdeps/generic/dl-irel.h: fix protection against multiple
75781 inclusions.
75782 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75783
75784 2011-06-28 Ulrich Drepper <drepper@gmail.com>
75785
75786 [BZ #12935]
75787 * malloc/memusage.sh: Fix quoting in message.
75788 * debug/xtrace.sh: Likewise.
75789
75790 * configure.in: Remove support for --experimental-malloc option, make
75791 it the default.
75792 * config.make.in: Likewise.
75793 * malloc/Makefile: Likewise.
75794
75795 2011-06-27 Andreas Schwab <schwab@redhat.com>
75796
75797 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75798 two-byte characters.
75799
75800 2011-06-27 Roland McGrath <roland@hack.frob.com>
75801
75802 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75803 AC_CACHE_CHECK invocation.
75804 * configure: Regenerated.
75805
75806 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75807
75808 2011-06-27 Ulrich Drepper <drepper@gmail.com>
75809
75810 [BZ #12350]
75811 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
75812 bit from old_res_options.
75813
75814 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75815
75816 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75817 value type for setfct.
75818
75819 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
75820
75821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75822 __gettimeofday instead of gettimeofday.
75823
75824 2011-06-26 Ulrich Drepper <drepper@gmail.com>
75825
75826 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75827
75828 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
75829
75830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75831
75832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75833 info.
75834
75835 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
75836
75837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75838 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75839 strcpy-sse2-unaligned strncpy-sse2-unaligned
75840 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75841 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75842 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75843 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75844 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75847 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75848 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75849 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75850 (STRCPY): Support SSE2 and SSSE3 versions.
75851
75852 2011-06-24 Ulrich Drepper <drepper@gmail.com>
75853
75854 [BZ #12874]
75855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75856 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75857 kernels which artificially limit size of requests.
75858
75859 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
75860
75861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75862 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75863 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75864 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75865 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75866 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75867 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75868 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75871 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75872 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75873 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75874 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75875 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75877 Enable unaligned load optimization for Intel Core i3, i5 and i7
75878 processors.
75879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75880 Define.
75881 (index_Fast_Unaligned_Load): Define.
75882 (HAS_FAST_UNALIGNED_LOAD): Define.
75883
75884 2011-06-23 Marek Polacek <mpolacek@redhat.com>
75885
75886 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75887
75888 2011-06-22 Ulrich Drepper <drepper@gmail.com>
75889
75890 [BZ #12907]
75891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75892 until it is clear that the information is realy needed.
75893 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75894
75895 2011-06-22 Andreas Schwab <schwab@redhat.com>
75896
75897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75898
75899 2011-06-22 Ulrich Drepper <drepper@gmail.com>
75900
75901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75902 /sys/devices/system/cpu/online if it is usable.
75903
75904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75905 reading the information from the /proc filesystem to once a second.
75906
75907 2011-06-21 Andreas Jaeger <aj@suse.de>
75908
75909 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75910 NULL after inclusion of kernel headers.
75911
75912 2011-06-21 Ulrich Drepper <drepper@gmail.com>
75913
75914 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75915 calls to internal_setent.
75916
75917 [BZ #12885]
75918 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75919 addresses using gethostbyname4_r ignore IPv4 addresses.
75920
75921 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75922 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
75923
75924 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75925
75926 2011-06-20 David S. Miller <davem@davemloft.net>
75927
75928 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75929 inclusions.
75930 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75931
75932 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75933 (elf_irel): Use it.
75934 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75935 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75936 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75937 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75938 * sysdeps/x86_64/dl-irel.h: Likewise.
75939
75940 * elf/dl-runtime.c: Use elf_ifunc_invoke.
75941 * elf/dl-sym.c: Likewise.
75942
75943 2011-06-15 Ulrich Drepper <drepper@gmail.com>
75944
75945 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
75946 need to dereference resplen2.
75947
75948 2011-06-14 Andreas Schwab <schwab@redhat.com>
75949
75950 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75951
75952 2011-06-15 Ulrich Drepper <drepper@gmail.com>
75953
75954 * Makeconfig: Define vardbdir and inst_vardbdir.
75955 * nss/Makefile: Add rules to install db-Makefile.
75956
75957 * nss/nss_db/db-XXX.c: Cleanup.
75958
75959 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75960 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75961 GLIBC_PRIVATE.
75962 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75963 * nss/makedb.c: Implement -g option to specify that value strings
75964 are generated and should not be added to table iterated over for
75965 get*ent calls.
75966 * nss/nss_db/db-initgroups.c: New file.
75967
75968 * nss/getent.c: Add support for initgroups lookups through getgrouplist
75969 interface.
75970
75971 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75972 (internal_getgrouplist): Adjust to name change.
75973 Update use_initgroups_entry if this is not the first call.
75974 * nss/databases.def: Add initgroups entry.
75975
75976 * nss/makedb.c (compute_tables): Check result of multiple hash table
75977 sizes to minimize maximum chain length.
75978
75979 2011-06-14 Ulrich Drepper <drepper@gmail.com>
75980
75981 * Versions.def: Add entry for libnss_db.
75982 * shlib-versions: Likewise.
75983 * nss/Makefile: Add rules to build libnss_db.
75984 * nss/Versions: Add libnss_db information. Organize libnss_files
75985 entries better.
75986 * nss/db-Makefile: Add gshadow support. Change rules for the new
75987 makedb progra. Some minor improvements to generate smaller files.
75988 * nss/nss_db/nss_db.h: Move NSS database header data structures to
75989 here from...
75990 * nss/makedb.c: ...here.
75991 Improve database format to be smaller and require less memory at
75992 runtime.
75993 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
75994 db anymore.
75995 * nss/nss_db/db-netgrp.c: Likewise.
75996 * nss/nss_db/db-open.c: Likewise.
75997 * nss/nss_files/flies-XXX.x: Adjust comments.
75998 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75999 * nss/nss_files/files-grp.c: Likewise.
76000 * nss/nss_files/files-hosts.c: Likewise.
76001 * nss/nss_files/files-network.c: Likewise.
76002 * nss/nss_files/files-proto.c: Likewise.
76003 * nss/nss_files/files-pwd.c: Likewise.
76004 * nss/nss_files/files-rpc.c: Likewise.
76005 * nss/nss_files/files-service.c: Likewise.
76006 * nss/nss_files/files-sgrp.c: Likewise.
76007 * nss/nss_files/files-spwd.c: Likewise.
76008 * nss/nss_db/db-alias.c: Removed.
76009 * nss/nss_db/dummy-db.h: Removed.
76010
76011 2011-06-02 Ulrich Drepper <drepper@gmail.com>
76012
76013 * nss/makedb.c: Rewritten to not use database library.
76014 * nss/Makefile: Update to build new makedb program.
76015
76016 2011-06-14 Andreas Jaeger <aj@suse.de>
76017
76018 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76019 memset declaration.
76020
76021 2011-06-10 Andreas Schwab <schwab@redhat.com>
76022
76023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76024 tmpbuf.
76025
76026 2011-06-10 Roland McGrath <roland@hack.frob.com>
76027
76028 * Makerules (shlib.lds): Fail if the linker script comes out empty.
76029 * elf/Makefile ($(objpfx)ld.so): Likewise.
76030
76031 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76032 Don't list ld.so twice in dependencies.
76033
76034 * posix/bug-regex31.c: Include <stdlib.h>.
76035
76036 * nscd/hstcache.c (cache_addhst): Remove unused variable.
76037
76038 * nis/nss_compat/compat-spwd.c
76039 (getspent_next_nss_netgr): Remove unused variable.
76040 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76041
76042 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76043 nonmembers" output to use the right array.
76044
76045 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76046
76047 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76048
76049 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76050 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76051 * catgets/gencat.c (read_input_file): Likewise.
76052 * locale/programs/locarchive.c (enlarge_archive): Likewise.
76053
76054 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76055 variable definition inside #if's controlling its use.
76056
76057 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76058
76059 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76060
76061 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76062
76063 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76064 unreachable code.
76065
76066 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76067
76068 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76069 * configure: Regenerated.
76070
76071 * Makerules: Revert last change.
76072 * elf/Makefile: Likewise.
76073
76074 2011-06-09 Roland McGrath <roland@hack.frob.com>
76075
76076 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76077 * elf/Makefile ($(objpfx)librtld.os): Likewise.
76078 (reloc-link): Likewise.
76079
76080 2011-06-09 Ulrich Drepper <drepper@gmail.com>
76081
76082 * elf/Makefile: Add rules to build pldd.
76083 * elf/pldd.c: New file.
76084 * elf/pldd-xx.c: New file.
76085
76086 2011-06-07 Ulrich Drepper <drepper@gmail.com>
76087
76088 * version.h: Update for 2.15 development version.
76089
76090 2011-06-07 David S. Miller <davem@davemloft.net>
76091
76092 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76093 ifuncs.
76094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76095 elf_machine_lazy_rel): Likewise.
76096 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76098 elf_machine_lazy_rel): Likewise.
76099 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76100 dl_hwcap via passed in argument.
76101 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76102 Likewise.
76103
76104 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76105
76106 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
76107
76108 2011-06-06 Roland McGrath <roland@hack.frob.com>
76109
76110 [BZ #12849]
76111 * manual/fdl-1.1.texi: New file, verbatim from:
76112 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76113 * manual/lgpl-2.1.texi: New file, verbatim from:
76114 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76115 * manual/Makefile (licenses): New variable, list those new file names.
76116 (texis): Use it.
76117 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76118
76119 * manual/fdl.texi: File removed.
76120 * manual/lesser.texi: File removed.
76121 * manual/libc.texinfo (Copying, Documentation License):
76122 Use new @include file names, put @appendix directive before @include.
76123
76124 2011-06-04 Jakub Jelinek <jakub@redhat.com>
76125
76126 [BZ #12841]
76127 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76128 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76129 (mq_open): Add __NTH.
76130
76131 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
76132
76133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76134 Assume Intel Core i3/i5/i7 processor if AVX is available.
76135
76136 2011-05-31 Ulrich Drepper <drepper@gmail.com>
76137
76138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76139 typo.
76140
76141 2011-05-31 Andreas Schwab <schwab@redhat.com>
76142
76143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76144 memory. Use alloca_account. Fix memory leak when retrying.
76145
76146 2011-05-31 Ulrich Drepper <drepper@gmail.com>
76147
76148 * version.h (RELEASE): Bump for 2.14 release.
76149 * include/features.h (__GLIBC_MINOR__): Bump to 14.
76150
76151 * config.make.in (RANLIB): Remove entry.
76152
76153 2011-05-30 Ulrich Drepper <drepper@gmail.com>
76154
76155 * po/Makefile (po-sed-cmd): Add ksh to extensions.
76156 (libc.pot): Work around missing support for .ksh extension in xgettext.
76157
76158 [BZ #12684]
76159 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76160 if both request failed.
76161 (send_dg): In case of server errors clear resplen or *resplen2.
76162
76163 [BZ #12454]
76164 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76165 when there are multiple maps.
76166 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76167 (_dl_fini): Remove test here.
76168
76169 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76170
76171 2011-05-29 Ulrich Drepper <drepper@gmail.com>
76172
76173 [BZ #12350]
76174 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76175 bit from old_res_options.
76176 (gaih_inet): Likewise.
76177
76178 [BZ #11099]
76179 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76180 as signed.
76181
76182 * resolv/res_init.c (res_setoptions): Make the code more compact.
76183
76184 [BZ #11558]
76185 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76186 set RES_USEVC.
76187
76188 [BZ #11634]
76189 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76190
76191 * malloc/malloc.h: Mark malloc hook variables as deprecated.
76192
76193 [BZ #11781]
76194 * malloc/malloc.h: Declare malloc hook variables as volatile.
76195
76196 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76197 in last patch.
76198
76199 [BZ #11799]
76200 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76201 raise in the comment.
76202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76204 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76205
76206 2011-05-28 Ulrich Drepper <drepper@gmail.com>
76207
76208 [BZ #12811]
76209 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76210 grow the buffers more if it already has to be sufficient.
76211 (build_wcs_upper_buffer): Likewise.
76212 * posix/regexec.c (check_matching): Likewise.
76213 (clean_state_log_if_needed): Likewise.
76214 (extend_buffers): Don't enlarge buffers beyond size of the input
76215 buffer.
76216 Patches mostly by Emil Wojak <emil@wojak.eu>.
76217 * posix/bug-regex32.c: New file.
76218 * posix/Makefile (tests): Add bug-regex32.
76219
76220 * locale/findlocale.c (_nl_find_locale): Return right away if
76221 _nl_explode_name failed.
76222 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76223
76224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76225
76226 * debug/xtrace.sh: Unify messages.
76227 * malloc/memusage.sh: Likewise.
76228
76229 [BZ #12813]
76230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76231 time symbol from vDSO. Substitute with vsyscall if not available.
76232 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76233 __vdso_time.
76234
76235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76236 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76238 Add sendmmsg and internal_sendmmsg.
76239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76240 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76242
76243 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76244 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76246
76247 2011-05-27 Ulrich Drepper <drepper@gmail.com>
76248
76249 [BZ #12813]
76250 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76251 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
76252 available.
76253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76254 __vdso_getcpu.
76255
76256 [BZ #12814]
76257 * iconvdata/Makefile (tests): Add bug-iconv9.
76258 * iconvdata/bug-iconv9.c: New file.
76259
76260 2011-05-27 Andreas Schwab <schwab@redhat.com>
76261
76262 [BZ #12814]
76263 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76264
76265 2011-05-25 Jakub Jelinek <jakub@redhat.com>
76266
76267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76268 (struct user_regs_struct): Change intcs field back to cs.
76269
76270 2011-05-25 Ulrich Drepper <drepper@gmail.com>
76271
76272 * po/ja.po: Update from translation team.
76273
76274 2011-05-23 Ulrich Drepper <drepper@gmail.com>
76275
76276 [BZ #12795]
76277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76278 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76279
76280 2011-05-20 Andreas Schwab <schwab@redhat.com>
76281
76282 * stdlib/longlong.h: Update from GCC.
76283
76284 2011-05-23 Andreas Schwab <schwab@redhat.com>
76285
76286 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76287 parameter name.
76288 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76289 Add parameter name.
76290 (__sysconf): Pass it down.
76291
76292 2011-05-22 Ulrich Drepper <drepper@gmail.com>
76293
76294 [BZ #12671]
76295 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76296 some situations.
76297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76298 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76299 add in in __libc_use_alloca calls. Adjust callers.
76300 (glob): Use malloc in some situations.
76301
76302 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76303 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76304 pltexit.
76305
76306 2011-05-21 Ulrich Drepper <drepper@gmail.com>
76307
76308 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76309 and CLOCK_BOOTTIME_ALARM.
76310
76311 [BZ #12782]
76312 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76313 is returned.
76314
76315 * string/_strerror.c (__strerror_r): Print negative errors as signed
76316 numbers.
76317
76318 [BZ #12777]
76319 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76320 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76321 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76322
76323 * configure.in: Fix typo in redirection and correct removal of test
76324 files in two cases.
76325
76326 [BZ #12788]
76327 * locale/setlocale.c (new_composite_name): Fix test to check for
76328 identical name of all categories.
76329
76330 [BZ #12792]
76331 * libio/filedoalloc.c (local_isatty): New function.
76332 (_IO_file_doallocate): Use local_isatty.
76333 * stdio-common/perror.c (perror): In case a new stream is used
76334 forward the stream error.
76335 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76336 error flag.
76337
76338 2011-05-20 Ulrich Drepper <drepper@gmail.com>
76339
76340 [BZ #11884]
76341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76342 alloca.
76343 * include/alloca.h (extend_alloca_account): Define.
76344
76345 [BZ #11857]
76346 * posix/regex.h: Fix comments with documentation of user-accessible
76347 fields after compilation and describe correct free'ing of pattern
76348 after re_compile_pattern.
76349 Patch by Reuben Thomas <rrt@sc3d.org>.
76350
76351 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
76352
76353 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76354 and -mno-altivec to prevent the compiler from using Altivec and/or
76355 VSX instructions when the corresponding registers are not available.
76356
76357 2011-05-19 Andreas Schwab <schwab@redhat.com>
76358
76359 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76360
76361 2011-05-19 Ulrich Drepper <drepper@gmail.com>
76362
76363 * libio/freopen.c (freopen): Use __dup2, not dup2.
76364 * libio/freopen64.c (freopen64): Likewise.
76365
76366 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
76367
76368 [BZ #12775]
76369 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76370 * math/Makefile (tests): Add test-powl.
76371 (CFLAGS-test-powl.c): Define.
76372 * math/test-powl.c: New file.
76373
76374 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
76375
76376 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76377
76378 2011-05-17 Ulrich Drepper <drepper@gmail.com>
76379
76380 [BZ #11837]
76381 * iconvdata/gb18030.c: Update to GB18020-2005.
76382
76383 2011-05-16 Ulrich Drepper <drepper@gmail.com>
76384
76385 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76386 RE_SYNTAX_POSIX_AWK): Update to match recent development.
76387 Patch by Aharon Robbins <arnold@skeeve.com>.
76388
76389 [BZ #11892]
76390 * stdlib/putenv.c (putenv): Don't always create copy of the variable
76391 on the stack.
76392
76393 [BZ #11895]
76394 * misc/pselect.c (__pselect): Handle timeout value errors hidden
76395 through underflows.
76396
76397 [BZ #12766]
76398 * misc/error.c (error_at_line): Ensure file_name and old_file_name
76399 point to strings before performing equality test for error_one_per_line
76400 mode.
76401
76402 [BZ #11697]
76403 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76404
76405 [BZ #11820]
76406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76407 (struct user_fpregs_struct): Avoid __uint*_t types.
76408
76409 [BZ #6420]
76410 * malloc/mtrace.c (tr_where): Add additional parameter to point to
76411 symbol info. Use it instead of calling _dl_addr locally.
76412 (lock_and_info): New function.
76413 (tr_freehook): Call lock_and_info and pass symbol info as additional
76414 parameter to tr_where.
76415 (tr_mallochook): Likewise.
76416 (tr_reallochook): Likewise.
76417 (tr_memalignhook): Likewise.
76418
76419 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
76420 used and couldn't be at all thread-safe.
76421
76422 2011-05-15 Ulrich Drepper <drepper@gmail.com>
76423
76424 * libio/freopen.c (freopen): Don't close old file descriptor
76425 before the new one is opened. Instead dup the new file descriptor
76426 to the old one after the new stream is created.
76427 * libio/freopen64.c (freopen64): Likewise.
76428 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76429 * libio/fileops.c (_IO_new_file_close_it): Handle new
76430 _IO_FLAGS2_NOCLOSE flag.
76431 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76432 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76433 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76434 _IO_FLAGS2_NOCLOSE flag.
76435 * include/unistd.h: Add hidden_proto for dup3.
76436 Define __have_dup3.
76437 * io/dup3.c: Define hidden symbol.
76438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76439
76440 [BZ #7101]
76441 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76442 when an incomplete long option is used.
76443 * posix/tst-getopt_long1.c: New file.
76444 * posix/Makefile (tests): Add tst-getopt_long1.
76445
76446 [BZ #10138]
76447 * scripts/config.guess: Update from autoconf-2.68.
76448 * scripts/config.sub: Likewise.
76449
76450 [BZ #10157]
76451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76452 tests into ...
76453 (has_cpuclock): ...this. New function.
76454 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76455 macro here based on has_cpuclock code.
76456
76457 [BZ #10149]
76458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76459 First byte (not low byte) is now always NUL.
76460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76461
76462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76463 Use non-cancelable interfaces.
76464
76465 [BZ #9809]
76466 * locale/iso-639.def: Add entry for Sorani.
76467
76468 [BZ #11901]
76469 * include/stdlib.h: Move include protection to the right place.
76470 Define abort_msg_s. Declare __abort_msg with it.
76471 * stdlib/abort.c (__abort_msg): Adjust type.
76472 * assert/assert.c (__assert_fail_base): New function. Majority
76473 of code from __assert_fail. Allocate memory for __abort_msg with
76474 mmap.
76475 (__assert_fail): Now call __assert_fail_base.
76476 * assert/assert-perr.c: Remove bulk of implementation. Use
76477 __assert_fail_base.
76478 * include/assert.hL Declare __assert_fail_base.
76479 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76480 mmap.
76481 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76482
76483 2011-05-14 Ulrich Drepper <drepper@gmail.com>
76484
76485 [BZ #11952]
76486 [BZ #12453]
76487 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76488 until all modules are registered in the DTV.
76489 * elf/Makefile: Add rules to build and run tst-tls19.
76490 * elf/tst-tls19.c: New file.
76491 * elf/tst-tls19mod1.c: New file.
76492 * elf/tst-tls19mod2.c: New file.
76493 * elf/tst-tls19mod3.c: New file.
76494 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76495
76496 [BZ #12083]
76497 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76498 correctly.
76499
76500 [BZ #12601]
76501 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76502 two-byte sequence errors.
76503 * iconvdata/Makefile (tests): Add bug-iconv8.
76504 * iconvdata/bug-iconv8.c: New file.
76505
76506 [BZ #12626]
76507 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76508 buf2 definition.
76509
76510 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76511
76512 [BZ #12432]
76513 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76514 (dummy_getcfa): New function.
76515 (init): Get _Unwind_GetCFA address, use dummy if not found.
76516 (backtrace_helper): In recursion check, also check whether CFA changes.
76517 (__backtrace): Completely initialize arg.
76518
76519 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76520 storing incomplete byte sequence in state object. Avoid testing for
76521 guaranteed too small input if we know there is enough data available.
76522
76523 2011-05-11 Andreas Schwab <schwab@redhat.com>
76524
76525 * Makeconfig (+link-pie): Indent.
76526 * Rules (binaries-pie): Define if $(have-fpie) and
76527 $(build-shared).
76528 (binaries-shared): Also filter out $(binaries-pie).
76529 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76530 * nscd/Makefile (others-pie): Add nscd.
76531 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76532 ($(objpfx)nscd): Remove command override.
76533 * login/Makefile (others-pie): Add pt_chown.
76534 ($(objpfx)pt_chown): Remove command override.
76535 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76536 remove command overrides.
76537
76538 2011-05-13 Ulrich Drepper <drepper@gmail.com>
76539
76540 * libio/tst_putwc.c: Fix error messages.
76541
76542 [BZ #12724]
76543 * libio/fileops.c (_IO_new_file_close_it): Always flush when
76544 currently writing and seek to current position when not.
76545 * libio/Makefile (tests): Add bug-fclose1.
76546 * libio/bug-fclose1.c: New file.
76547
76548 2011-05-12 Ulrich Drepper <drepper@gmail.com>
76549
76550 [BZ #12511]
76551 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76552 don't set DF_1_NODELETE here.
76553 (do_lookup_x): When entering new entry test for copy relocation
76554 and if necessary set DF_1_NODELETE flag.
76555 * elf/tst-unique4.cc: New file.
76556 * elf/tst-unique4.h: New file.
76557 * elf/tst-unique4lib.cc: New file.
76558 * elf/Makefile: Add rules to build and run tst-unique4.
76559 Patch by Piotr Bury <pbury@goahead.com>.
76560
76561 2011-05-11 Ulrich Drepper <drepper@gmail.com>
76562
76563 [BZ #12052]
76564 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76565
76566 [BZ #12625]
76567 * misc/mntent_r.c (addmntent): Flush the stream after the output
76568
76569 [BZ #12393]
76570 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76571 (is_trusted_path_normalize): Skip initial colon. Append slash
76572 to empty buffer. Duplicate is_trusted_path code but allow
76573 constructed patch to be prefix.
76574 (is_dst): Allow $ORIGIN followed by /.
76575 (_dl_dst_substitute): Correct clearing of check_for_trusted.
76576 Correct testing of result of is_trusted_path_normalize
76577 (decompose_rpath): Fix warning.
76578
76579 2011-05-10 Ulrich Drepper <drepper@gmail.com>
76580
76581 [BZ #11257]
76582 * grp/initgroups.c (internal_getgrouplist): When we found the service
76583 list through the initgroups entry in nsswitch.conf do not always
76584 continue on a successful lookup. Don't always use the
76585 __nss_group_database value if it is set.
76586 * nss/nsswitch.conf (initgroups): Change action for successful db
76587 lookup to continue for compatibility.
76588
76589 2011-05-09 Ulrich Drepper <drepper@gmail.com>
76590
76591 [BZ #11532]
76592 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76593 and CP774 modules.
76594 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76595 and CP774 modules.
76596 * iconvdata/tst-tables.sh: Likewise.
76597 * iconvdata/cp770.c: New file.
76598 * iconvdata/cp771.c: New file.
76599 * iconvdata/cp772.c: New file.
76600 * iconvdata/cp773.c: New file.
76601 * iconvdata/cp774.c: New file.
76602 * iconvdata/testdata/CP770: New file.
76603 * iconvdata/testdata/CP770..UTF8: New file.
76604 * iconvdata/testdata/CP771: New file.
76605 * iconvdata/testdata/CP771..UTF8: New file.
76606 * iconvdata/testdata/CP772: New file.
76607 * iconvdata/testdata/CP772..UTF8: New file.
76608 * iconvdata/testdata/CP773: New file.
76609 * iconvdata/testdata/CP773..UTF8: New file.
76610 * iconvdata/testdata/CP774: New file.
76611 * iconvdata/testdata/CP774..UTF8: New file.
76612
76613 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76614 END CHARMAP line.
76615 * iconvdata/gen-8bit-gap.sh: Likewise.
76616 * iconvdata/gen-8bit.sh: Likewise.
76617
76618 * locale/iso-639.def: Add ary entry.
76619
76620 [BZ #11258]
76621 * locale/C-translit.h.in: Add U20A1 transliteration.
76622
76623 [BZ #12178]
76624 * locale/iso-639.def: Add wae entry.
76625 Patch by Kevin Bortis <bortis@translate-wae.ch>.
76626
76627 [BZ #12545]
76628 * locale/programs/localedef.c (construct_output_path): Use ssize_t
76629 for n.
76630
76631 [BZ #12711]
76632 * locale/C-translit.h.in: Add entry for U20B9.
76633 Patch by pravin.d.s@gmail.com.
76634
76635 2011-05-08 Ulrich Drepper <drepper@gmail.com>
76636
76637 [BZ #12713]
76638 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76639 ENAMETOOLONG use generic getcwd.
76640 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
76641 in rtld. Use *stat64.
76642 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76643 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76644 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76645 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76646 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76647 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76648 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76649 __fstatat64 macros.
76650 * include/dirent.h: Add libc_hidden_proto for rewinddir.
76651 * dirent/rewinddir.c: Add libc_hidden_def.
76652 * sysdeps/mach/hurd/rewinddir.c: Likewise.
76653 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
76654
76655 * include/dirent.h (__alloc_dir): Add flags parameter.
76656 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76657 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76658 __alloc_dir.
76659 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
76660 from fdopendir if O_CLOEXEC is already set.
76661
76662 2011-03-15 Alan Modra <amodra@gmail.com>
76663
76664 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76665 l_tls_firstbyte_offset non-zero. Save padding offset in
76666 l_tls_firstbyte_offset for later use.
76667 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76668 freeing static tls block.
76669
76670 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
76671
76672 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76673 where #ifdef was intended. The intent is to prevent ARG_MAX from
76674 being defined by the kernel headers.
76675
76676 2011-05-07 Ulrich Drepper <drepper@gmail.com>
76677
76678 [BZ #12734]
76679 * resolv/resolv.h: Define RES_NOTLDQUERY.
76680 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76681 no-tld-query and set RES_NOTLDQUERY.
76682 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76683 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76684 modern BIND to search name as TLD unless forbidden.
76685
76686 2011-05-07 Petr Baudis <pasky@suse.cz>
76687 Ulrich Drepper <drepper@gmail.com>
76688
76689 [BZ #12393]
76690 * elf/dl-load.c (fillin_rpath): Move trusted path check...
76691 (is_trusted_path): ...to here.
76692 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76693 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76694 using is_trusted_path_normalize() in setuid scripts.
76695
76696 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
76697
76698 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76699 __BEGIN/__END_DECLS.
76700
76701 2011-05-06 Ulrich Drepper <drepper@gmail.com>
76702
76703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76704 NSS_STATUS_NOTFOUND if no record was found.
76705
76706 2011-05-05 Andreas Schwab <schwab@redhat.com>
76707
76708 * sunrpc/Makefile (headers): Add rpc/netdb.h.
76709 (headers-not-in-tirpc): Remove rpc/netdb.h
76710 * resolv/netdb.h: Revert last change.
76711
76712 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76713
76714 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76715 circular dependency between libgcc.a and libc.a.
76716
76717 2011-05-05 Andreas Schwab <schwab@redhat.com>
76718
76719 * resolv/netdb.h: Don't include <rpc/netdb.h>.
76720 * nis/Makefile: Don't install rpcsvc/*.
76721 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76722 instead of <rpc/types.h>.
76723 (MAXHOSTNAMELEN): Define.
76724
76725 2011-05-03 Andreas Schwab <schwab@redhat.com>
76726
76727 * elf/ldconfig.c (add_dir): Don't crash on empty path.
76728
76729 2011-04-28 Maciej Babinski <mbabinski@google.com>
76730
76731 [BZ #12714]
76732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76733 gethostbyname4_r when IPv6 results are possible.
76734
76735 2011-05-02 Ulrich Drepper <drepper@gmail.com>
76736
76737 [BZ #12723]
76738 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76739 _PC_PIPE_BUF handling.
76740
76741 2011-04-30 Bruno Haible <bruno@clisp.org>
76742
76743 [BZ #12717]
76744 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76745 * resolv/netdb.h (getnameinfo): Change type of flags parameter
76746 to 'int'.
76747 * inet/getnameinfo.c (getnameinfo): Likewise.
76748
76749 2011-04-29 Ulrich Drepper <drepper@gmail.com>
76750
76751 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76752 to groups setting in database lookup.
76753 * nss/nsswitch.conf: Add initgroups entry.
76754
76755 2011-04-22 Ulrich Drepper <drepper@gmail.com>
76756
76757 [BZ #12685]
76758 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76759 mode string.
76760 Patch by Eric Blake <eblake@redhat.com>.
76761
76762 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
76763
76764 * sunrpc/Makefile (need-export-routines): Add svc_run.
76765 (routines): Remove svc_run.
76766 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76767 * sunrpc/clnt_perr.c (clnt_perrno): Export.
76768 * sunrpc/svc_run.c (svc_run): Likewise.
76769 * sunrpc/svc_udp.c (svcudp_create): Likewise.
76770
76771 2011-04-21 Ulrich Drepper <drepper@gmail.com>
76772
76773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76774 problem in reallocation in last patch.
76775
76776 2011-04-20 Ulrich Drepper <drepper@gmail.com>
76777
76778 * sunrpc/Makefile: Move inclusion of Rules.
76779
76780 2011-04-19 Ulrich Drepper <drepper@gmail.com>
76781
76782 * nss/nss_files/files-initgroups.c: New file.
76783 * nss/Makefile (libnss_files-routines): Add files-initgroups.
76784 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76785 _nss_files_initgroups_dyn.
76786
76787 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
76788
76789 * elf/elf.h (R_ARM_IRELATIVE): Define.
76790
76791 2011-04-19 Ulrich Drepper <drepper@gmail.com>
76792
76793 * po/ru.po: Update from translation team.
76794
76795 2011-04-17 Ulrich Drepper <drepper@gmail.com>
76796
76797 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76798 dependencies.
76799
76800 2011-02-06 Mike Frysinger <vapier@gentoo.org>
76801
76802 [BZ #12653]
76803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76804 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76808
76809 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
76810
76811 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76812 differing bytes.
76813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76816
76817 2011-04-17 Ulrich Drepper <drepper@gmail.com>
76818
76819 [BZ #12420]
76820 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76821 storing it.
76822 * stdlib/bug-getcontext.c: New file.
76823 * stdlib/Makefile: Add rules to build and run bug-getcontext.
76824
76825 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76826
76827 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76828 instructions into .machine "z9-109".
76829 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76830 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76831
76832 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76833
76834 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76835 between environment variables and auxiliary vector.
76836
76837 2011-04-16 Ulrich Drepper <drepper@gmail.com>
76838
76839 * Makefile: Add rules to build linkobj/libc.so.
76840 * include/libc-symbols.h: Define libc_hidden_nolink.
76841 * include/rpc/auth.h: Mark functions which are to be hidden.
76842 * include/rpc/auth_des.h: Likewise.
76843 * include/rpc/auth_unix.h: Likewise.
76844 * include/rpc/clnt.h: Likewise.
76845 * include/rpc/des_crypt.h: Likewise.
76846 * include/rpc/key_prot.h: Likewise.
76847 * include/rpc/pmap_clnt.h: Likewise.
76848 * include/rpc/pmap_prot.h: Likewise.
76849 * include/rpc/pmap_rmt.h: Likewise.
76850 * include/rpc/rpc_msg.h: Likewise.
76851 * include/rpc/svc.h: Likewise.
76852 * include/rpc/svc_auth.h: Likewise.
76853 * include/rpc/xdr.h: Likewise.
76854 * nis/Makefile: Link all DSOs against linkobj/libc.so.
76855 * nss/Makefile: Likewise.
76856 * sunrpc/Makefile: Don't install headers. Build library with normal
76857 entry points. Don't build rpcinfo. Link RPC tests appropriately.
76858 * sunrpc/auth_des.c: Hide exported symbols by default, export some
76859 for the compat linking library. Remove use of INTDEF/INTUSE.
76860 * sunrpc/auth_none.c: Likewise.
76861 * sunrpc/auth_unix.c: Likewise.
76862 * sunrpc/authdes_prot.c: Likewise.
76863 * sunrpc/authuxprot.c: Likewise.
76864 * sunrpc/clnt_gen.c: Likewise.
76865 * sunrpc/clnt_perr.c: Likewise.
76866 * sunrpc/clnt_raw.c: Likewise.
76867 * sunrpc/clnt_simp.c: Likewise.
76868 * sunrpc/clnt_tcp.c: Likewise.
76869 * sunrpc/clnt_udp.c: Likewise.
76870 * sunrpc/clnt_unix.c: Likewise.
76871 * sunrpc/des_crypt.c: Likewise.
76872 * sunrpc/des_soft.c: Likewise.
76873 * sunrpc/get_myaddr.c: Likewise.
76874 * sunrpc/key_call.c: Likewise.
76875 * sunrpc/key_prot.c: Likewise.
76876 * sunrpc/netname.c: Likewise.
76877 * sunrpc/pm_getmaps.c: Likewise.
76878 * sunrpc/pm_getport.c: Likewise.
76879 * sunrpc/pmap_clnt.c: Likewise.
76880 * sunrpc/pmap_prot.c: Likewise.
76881 * sunrpc/pmap_prot2.c: Likewise.
76882 * sunrpc/pmap_rmt.c: Likewise.
76883 * sunrpc/publickey.c: Likewise.
76884 * sunrpc/rpc_cmsg.c: Likewise.
76885 * sunrpc/rpc_common.c: Likewise.
76886 * sunrpc/rpc_dtable.c: Likewise.
76887 * sunrpc/rpc_prot.c: Likewise.
76888 * sunrpc/rpc_thread.c: Likewise.
76889 * sunrpc/rtime.c: Likewise.
76890 * sunrpc/svc.c: Likewise.
76891 * sunrpc/svc_auth.c: Likewise.
76892 * sunrpc/svc_authux.c: Likewise.
76893 * sunrpc/svc_raw.c: Likewise.
76894 * sunrpc/svc_run.c: Likewise.
76895 * sunrpc/svc_simple.c: Likewise.
76896 * sunrpc/svc_tcp.c: Likewise.
76897 * sunrpc/svc_udp.c: Likewise.
76898 * sunrpc/svc_unix.c: Likewise.
76899 * sunrpc/svcauth_des.c: Likewise.
76900 * sunrpc/xcrypt.c: Likewise.
76901 * sunrpc/xdr.c: Likewise.
76902 * sunrpc/xdr_array.c: Likewise.
76903 * sunrpc/xdr_float.c: Likewise.
76904 * sunrpc/xdr_intXX_t.c: Likewise.
76905 * sunrpc/xdr_mem.c: Likewise.
76906 * sunrpc/xdr_rec.c: Likewise.
76907 * sunrpc/xdr_ref.c: Likewise.
76908 * sunrpc/xdr_sizeof.c: Likewise.
76909 * sunrpc/xdr_stdio.c: Likewise.
76910
76911 2011-04-10 Ulrich Drepper <drepper@gmail.com>
76912
76913 [BZ #12650]
76914 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76915 * sysdeps/ia64/dl-tls.h: Likewise.
76916 * sysdeps/powerpc/dl-tls.h: Likewise.
76917 * sysdeps/s390/dl-tls.h: Likewise.
76918 * sysdeps/sh/dl-tls.h: Likewise.
76919 * sysdeps/sparc/dl-tls.h: Likewise.
76920 * sysdeps/x86_64/dl-tls.h: Likewise.
76921 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76922
76923 2011-03-14 Andreas Schwab <schwab@redhat.com>
76924
76925 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76926 rpath element also skip the following colon.
76927 (expand_dynamic_string_token): Add is_path parameter and pass
76928 down to DL_DST_REQUIRED and _dl_dst_substitute.
76929 (decompose_rpath): Call expand_dynamic_string_token with
76930 non-zero is_path. Ignore empty rpaths.
76931 (_dl_map_object_from_fd): Call expand_dynamic_string_token
76932 with zero is_path.
76933
76934 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
76935
76936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76937 Make cancelable.
76938
76939 2011-04-09 Ulrich Drepper <drepper@gmail.com>
76940
76941 [BZ #12655]
76942 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76943 Patch by Filipe David Manana <fdmanana@apache.org>.
76944
76945 2011-04-07 Andreas Schwab <schwab@redhat.com>
76946
76947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76948 Maintain aligned stack.
76949 (CHECK_RSP): Remove unused macro.
76950
76951 2011-04-03 Ulrich Drepper <drepper@gmail.com>
76952
76953 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76955
76956 2011-04-02 Ulrich Drepper <drepper@gmail.com>
76957
76958 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76959
76960 * include/features.h: Mention __USE_XOPEN2K8 in comment.
76961
76962 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
76963
76964 [BZ #12518]
76965 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76966 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76967 * sysdeps/x86_64/memmove.c: New file.
76968 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76969 (memcpy): Renamed to ...
76970 (__new_memcpy): This.
76971 (memcpy): Provide GLIBC_2_14 memcpy.
76972 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76973 (memcpy): Provide GLIBC_2_2_5 memcpy.
76974
76975 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76976
76977 [BZ #12631]
76978 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76979
76980 2011-03-30 Andreas Schwab <schwab@redhat.com>
76981
76982 * misc/syncfs.c: New file.
76983 * misc/Makefile (routines): Add syncfs.
76984 * posix/unistd.h: Declare syncfs.
76985 * sysdeps/unix/syscalls.list: Add syncfs.
76986
76987 2011-04-01 Andreas Schwab <schwab@redhat.com>
76988
76989 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76990 open_by_handle_at.
76991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76996 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76998
76999 2011-04-01 Ulrich Drepper <drepper@gmail.com>
77000
77001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77003 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77008
77009 * io/Makefile: Compile fallocate.c, fallocate64.c, and
77010 sync_file_range.c with -fexceptions.
77011 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77012 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77013 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77014 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77015 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77016 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77018 sync_file_range as cancellation point
77019 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
77020 now a wrapper around __call_sync_file_range with cancellation handling.
77021 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77022 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
77023 function name to __call_sync_file_range.
77024 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77025 Add call_sync_file_range.
77026
77027 2011-04-01 Andreas Schwab <schwab@redhat.com>
77028
77029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77030 bits/timex.h.
77031
77032 2011-04-01 Ulrich Drepper <drepper@gmail.com>
77033
77034 * iconv/iconv.h: Fix typo in comment.
77035 * io/fcntl.h: Likewise.
77036 * libio/stdio.h: Likewise.
77037 * posix/spawn.h: Likewise.
77038 * posix/unistd.h: Likewise.
77039 * stdlib/stdlib.h: Likewise.
77040 * time/time.h: Likewise.
77041 * wcsmbs/wchar.h: Likewise.
77042
77043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77044 open_by_handle): Add.
77045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77046 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
77047 Augment a few comments.
77048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77053 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77054 open_by_handle.
77055
77056 * io/fcntl.h (AT_EMPTY_PATH): Define.
77057
77058 2011-03-30 Ulrich Drepper <drepper@gmail.com>
77059
77060 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77061 * sysdeps/unix/sysv/linux/bits/time.h: New file.
77062 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77063 to...
77064 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
77065 * Versions.def: Add GLIBC_2.14.
77066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77067 Export.
77068
77069 2011-03-22 Ulrich Drepper <drepper@gmail.com>
77070
77071 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77072 round counter.
77073 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77074
77075 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
77076
77077 [BZ #12597]
77078 * string/test-strncmp.c (do_page_test): New function.
77079 (check2): Likewise.
77080 (test_main): Call check2.
77081 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77082
77083 2011-03-20 Ulrich Drepper <drepper@gmail.com>
77084
77085 [BZ #12587]
77086 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77087 Handle cache information in CPU leaf 4.
77088 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77089
77090 2011-03-18 Ulrich Drepper <drepper@gmail.com>
77091
77092 [BZ #12583]
77093 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77094 character representation.
77095 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77096
77097 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
77098
77099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77100 END(__isnan) to END(__isnanf) to match function entry point/label
77101 EALIGN(__isnanf,...).
77102
77103 2011-03-10 Jakub Jelinek <jakub@redhat.com>
77104
77105 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77106
77107 2011-03-10 Ulrich Drepper <drepper@gmail.com>
77108
77109 [BZ #12510]
77110 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77111 copy from the symbol referenced in the relocation to initialize the
77112 used variable.
77113 Patch by Piotr Bury <pbury@goahead.com>.
77114 * elf/Makefile: Add rules to build and tst-unique3.
77115 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77116 * elf/tst-unique3.cc: New file.
77117 * elf/tst-unique3.h: New file.
77118 * elf/tst-unique3lib.cc: New file.
77119 * elf/tst-unique3lib2.cc: New file.
77120
77121 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77122
77123 2011-03-10 Mike Frysinger <vapier@gentoo.org>
77124
77125 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77126 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
77127 to _start.
77128
77129 2011-03-06 Ulrich Drepper <drepper@gmail.com>
77130
77131 * elf/dl-load.c (_dl_map_object): If we are looking for the first
77132 to-be-loaded object along a path to loader is ld.so.
77133
77134 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
77135 Ulrich Drepper <drepper@gmail.com>
77136
77137 * sysdeps/x86_64/memset.S: After aligning destination, code
77138 branches to different locations depending on the value of
77139 misalignment, when multiarch is enabled. Fix this.
77140
77141 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
77142
77143 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77144 Set _x86_64_preferred_memory_instruction for AMD processsors.
77145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77146 Set bit_Prefer_SSE_for_memop for AMD processors.
77147
77148 2011-03-04 Ulrich Drepper <drepper@gmail.com>
77149
77150 * libio/fmemopen.c (fmemopen): Optimize a bit.
77151
77152 2011-03-03 Andreas Schwab <schwab@redhat.com>
77153
77154 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77155
77156 2011-03-03 Roland McGrath <roland@redhat.com>
77157
77158 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77159
77160 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
77161
77162 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77163 __bzero_ultra1 instead of __memset_ultra1.
77164
77165 2011-02-23 Andreas Schwab <schwab@redhat.com>
77166 Ulrich Drepper <drepper@gmail.com>
77167
77168 [BZ #12509]
77169 * include/link.h (struct link_map): Add l_orig_initfini.
77170 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77171 returning unsuccessfully.
77172 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77173 close of a file loaded at startup, restore the original l_initfini
77174 list.
77175 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77176 list, store the pointer.
77177 * elf/Makefile ($(objpfx)noload-mem): New rule.
77178 (noload-ENV): Define.
77179 (tests): Add $(objpfx)noload-mem.
77180 * elf/noload.c: Include <memcheck.h>.
77181 (main): Call mtrace. Close all opened handles.
77182
77183 2011-02-17 Andreas Schwab <schwab@redhat.com>
77184
77185 [BZ #12454]
77186 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77187 dependencies are missing.
77188
77189 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
77190
77191 Fix __if_freereq crash: Unlike the generic version which uses free,
77192 Hurd needs munmap.
77193 * sysdeps/mach/hurd/ifreq.h: New file.
77194
77195 2011-01-27 Petr Baudis <pasky@suse.cz>
77196 Ulrich Drepper <drepper@gmail.com>
77197
77198 [BZ 12445]#
77199 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77200 to extend_alloca().
77201 * stdio-common/bug23.c: New file.
77202 * stdio-common/Makefile (tests): Add bug23.
77203
77204 2010-09-28 Andreas Schwab <schwab@redhat.com>
77205 Ulrich Drepper <drepper@gmail.com>
77206
77207 [BZ #12489]
77208 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77209 before performing relro protection. At old place add assertion
77210 to make sure nothing changed.
77211
77212 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
77213 Glauber de Oliveira Costa <glommer@gmail.com>
77214
77215 * elf/elf.h: Add new ARM TLS relocs.
77216
77217 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
77218
77219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77220 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77221 cast from r3.
77222 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
77223 'tests' variable.
77224 * sysdeps/wordsize-64/tst-writev.c: New file.
77225
77226 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
77227
77228 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77229 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77230 insns in _dl_start to prevent a TOC reference before relocs are
77231 resolved.
77232
77233 2011-02-15 Ulrich Drepper <drepper@gmail.com>
77234
77235 [BZ #12469]
77236 * Makeconfig: Remove RANLIB definition.
77237 * Makerules: Don't use RANLIB.
77238 * aclocal.m4: Remove ranlib test.
77239 * configure.in: No need to check for ranlib.
77240 * elf/rtld-Rules: Don't use RANLIB.
77241
77242 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
77243
77244 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77245 protection macro.
77246 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77247 inclusion protection macro.
77248
77249 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77250 SIGRTMIN and SIGRTMAX and print information in that case only when
77251 SIGRTMIN is defined.
77252
77253 2011-02-11 Jakub Jelinek <jakub@redhat.com>
77254
77255 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77256 arginfo fn returning -1.
77257
77258 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77259 and thousands string is zero terminated.
77260
77261 2011-02-03 Andreas Schwab <schwab@redhat.com>
77262
77263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77264 sysdeps/unix/sysv/linux/bits/socket.h.
77265
77266 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
77267
77268 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77269 (__CPU_COUNT): Remove old macros.
77270 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77271 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77272 (__CPU_ALLOC, __CPU_FREE): Add macros.
77273 (__sched_cpualloc, __sched_cpufree): Add declarations.
77274
77275 2011-02-05 Ulrich Drepper <drepper@gmail.com>
77276
77277 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77278 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77279 * nscd/aicache.c (addhstaiX): Return timeout of added value.
77280 (readdhstai): Return value of addhstaiX call.
77281 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77282 (addgrbyX): Return value returned by cache_addgr.
77283 (readdgrbyname): Return value returned by addgrbyX.
77284 (readdgrbygid): Likewise.
77285 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77286 (addpwbyX): Return value returned by cache_addpw.
77287 (readdpwbyname): Return value returned by addhstbyX.
77288 (readdpwbyuid): Likewise.
77289 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77290 (addservbyX): Return value returned by cache_addserv.
77291 (readdservbyname): Return value returned by addservbyX:
77292 (readdservbyport): Likewise.
77293 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77294 (addhstbyX): Return value returned by cache_addhst.
77295 (readdhstbyname): Return value returned by addhstbyX.
77296 (readdhstbyaddr): Likewise.
77297 (readdhstbynamev6): Likewise.
77298 (readdhstbyaddrv6): Likewise.
77299 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77300 (readdinitgroups): Return value returned by addinitgroupsX.
77301 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77302 (prune_cache): Keep track of timeout value of re-added entries.
77303 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77304 * nscd/nscd.h: Adjust prototypes of readd* functions.
77305
77306 2011-02-04 Roland McGrath <roland@redhat.com>
77307
77308 * nis/nis_server.c (nis_servstate): Use the right name for 0.
77309 (nis_stats): Likewise.
77310 * nis/nis_modify.c (nis_modify): Likewise.
77311 * nis/nis_remove.c (nis_remove): Likewise.
77312 * nis/nis_add.c (nis_add): Likewise.
77313
77314 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77315
77316 * posix/fnmatch_loop.c: Add some consts.
77317
77318 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77319
77320 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
77321
77322 [BZ #12460]
77323 * config.make.in (config-cflags-novzeroupper): Define.
77324 * configure.in: Substitute libc_cv_cc_novzeroupper.
77325 * elf/Makefile (AVX-CFLAGS): Define.
77326 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77327 (CFLAGS-tst-auditmod4a.c): Likewise.
77328 (CFLAGS-tst-auditmod4b.c): Likewise.
77329 (CFLAGS-tst-auditmod6b.c): Likewise.
77330 (CFLAGS-tst-auditmod6c.c): Likewise.
77331 (CFLAGS-tst-auditmod7b.c): Likewise.
77332 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77333
77334 2011-02-02 Ulrich Drepper <drepper@gmail.com>
77335
77336 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77337 function to the callback.
77338 Patch partly by Jiri Olsa <jolsa@redhat.com>.
77339
77340 2011-02-02 Andreas Schwab <schwab@redhat.com>
77341
77342 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77343 of errno.
77344
77345 2011-01-19 Ulrich Drepper <drepper@gmail.com>
77346
77347 [BZ #11724]
77348 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77349 of constructors.
77350 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77351 of destructors.
77352 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77353
77354 [BZ #11724]
77355 * elf/Makefile: Add rules to build and run new test.
77356 * elf/tst-initorder.c: New file.
77357 * elf/tst-initorder.exp: New file.
77358 * elf/tst-initordera1.c: New file.
77359 * elf/tst-initordera2.c: New file.
77360 * elf/tst-initordera3.c: New file.
77361 * elf/tst-initordera4.c: New file.
77362 * elf/tst-initorderb1.c: New file.
77363 * elf/tst-initorderb2.c: New file.
77364 * elf/tst-order-a1.c: New file.
77365 * elf/tst-order-a2.c: New file.
77366 * elf/tst-order-a3.c: New file.
77367 * elf/tst-order-a4.c: New file.
77368 * elf/tst-order-b1.c: New file.
77369 * elf/tst-order-b2.c: New file.
77370 * elf/tst-order-main.c: New file.
77371 New test case by George Gensure <werkt0@gmail.com>.
77372
77373 2010-10-01 Andreas Schwab <schwab@redhat.com>
77374
77375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77376 decoding ACE if AI_CANONIDN.
77377
77378 2011-01-18 Ulrich Drepper <drepper@gmail.com>
77379
77380 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77381
77382 2011-01-17 Ulrich Drepper <drepper@gmail.com>
77383
77384 * version.h (RELEASE): Bump for 2.13 release.
77385 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77386
77387 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77388
77389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77390 MADV_NOHUGEPAGE.
77391 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77393 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77397
77398 * posix/getconf.c: Update copyright year.
77399 * catgets/gencat.c: Likewise.
77400 * csu/version.c: Likewise.
77401 * debug/catchsegv.sh: Likewise.
77402 * debug/xtrace.sh: Likewise.
77403 * elf/ldconfig.c: Likewise.
77404 * elf/ldd.bash.in: Likewise.
77405 * elf/sprof.c (print_version): Likewise.
77406 * iconv/iconv_prog.c: Likewise.
77407 * iconv/iconvconfig.c: Likewise.
77408 * locale/programs/locale.c: Likewise.
77409 * locale/programs/localedef.c: Likewise.
77410 * malloc/memusage.sh: Likewise.
77411 * malloc/mtrace.pl: Likewise.
77412 * nscd/nscd.c (print_version): Likewise.
77413 * nss/getent.c: Likewise.
77414
77415 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77416 PF_CAIF, and PF_ALG.
77417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77418
77419 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
77420
77421 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77422 (modules-names): Use them.
77423 (ifunc-test-modules, ifunc-pie-tests): Define.
77424 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77425 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77426 (test-extras): Likewise.
77427 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77428 $(compile-command.c).
77429 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77430 (all-built-dso): Define.
77431 (check-textrel.out, check-execstack.out): Depend on it.
77432
77433 * configure.in: Don't override --enable-multi-arch.
77434
77435 2011-01-15 Ulrich Drepper <drepper@gmail.com>
77436
77437 [BZ #6812]
77438 * nscd/hstcache.c (tryagain): Define.
77439 (cache_addhst): Return tryagain not notfound for temporary errors.
77440 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77441 failed.
77442
77443 2011-01-14 Ulrich Drepper <drepper@gmail.com>
77444
77445 [BZ #10563]
77446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77447 to make the syscall.
77448 * sysdeps/unix/sysv/linux/setgroups.c: New file.
77449
77450 [BZ #12378]
77451 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77452 and fall back to matching as normal character if the string ends before
77453 the matching ']' is found. This is what POSIX requires.
77454 * posix/testfnm.c: Adjust test result.
77455 * posix/globtest.sh: Adjust test result. Add new test.
77456 * posix/tst-fnmatch.input: Likewise.
77457 * posix/tst-fnmatch2.c: Add new test.
77458
77459 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
77460
77461 * elf/Makefile (check-execstack): Revert last change. Depend on
77462 check-execstack.h.
77463 (check-execstack.h): New target.
77464 (generated): Add check-execstack.h.
77465 * elf/check-execstack.c: Include "check-execstack.h".
77466 (main): Revert last change.
77467 (handle_file): Return zero if GNU_STACK is absent and
77468 DEFAULT_STACK_PERMS doesn't include PF_X.
77469
77470 2011-01-13 Ulrich Drepper <drepper@gmail.com>
77471
77472 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77473 in child fails because the descriptor is already closed.
77474 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77475 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77477
77478 [BZ #12397]
77479 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77480 syscall.
77481
77482 [BZ #10484]
77483 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77484 temporary buffer used to handle multi lookups locally.
77485 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77486
77487 2011-01-12 Ulrich Drepper <drepper@gmail.com>
77488
77489 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77490 loader is ld.so.
77491
77492 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
77493
77494 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77495 alignment for SSE2.
77496
77497 2011-01-12 Ulrich Drepper <drepper@gmail.com>
77498
77499 [BZ #12394]
77500 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77501 characters. When rounding increased number of integer digits recompute
77502 number of groups.
77503 * stdio-common/tst-grouping.c: New file.
77504 * stdio-common/Makefile: Add rules to build and run tst-grouping.
77505
77506 2011-01-09 Ulrich Drepper <drepper@gmail.com>
77507
77508 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77509 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
77510
77511 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77512 void.
77513 * bits/select.h: Likewise.
77514
77515 2011-01-08 Ulrich Drepper <drepper@gmail.com>
77516
77517 * po/ja.po: Update from translation team.
77518
77519 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
77520
77521 [BZ #11155]
77522 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77523 implementation just like for lxstat, fxstatat, et al.
77524
77525 2010-12-27 Jim Meyering <meyering@redhat.com>
77526
77527 [BZ #12348]
77528 * posix/regexec.c (build_trtable): Return failure indication upon
77529 calloc failure. Otherwise, re_search_internal could infloop on OOM.
77530
77531 2010-12-25 Ulrich Drepper <drepper@gmail.com>
77532
77533 [BZ #12201]
77534 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77535 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77536 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77538
77539 [BZ #12207]
77540 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77541
77542 [BZ #12204]
77543 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77544 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77545
77546 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
77547
77548 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77549 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77550 script has SORT_BY_INIT_PRIORITY.
77551 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77552 NO_CTORS_DTORS_SECTIONS is defined.
77553 * elf/soinit.c: Likewise.
77554 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77555 NO_CTORS_DTORS_SECTIONS is defined.
77556 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77557 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77558 * sysdeps/sh/init-first.c: Likewise.
77559 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77560
77561 2010-12-24 Ulrich Drepper <drepper@gmail.com>
77562
77563 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77564 always use the slow path.
77565
77566 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
77567
77568 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77569 similar rule which adds the sysdep directories to the header search in
77570 order to pick up the correct platform stackinfo.h.
77571 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77572 perform test if it is, otherwise return successfully without testing.
77573 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77574 DEFAULT_STACK_PERMS define in stackinfo.h.
77575 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77576 defined in stackinfo.h.
77577 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77578 DEFAULT_STACK_PERMS defined in stackinfo.h.
77579 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77580 * sysdeps/ia64/stackinfo.h: Likewise.
77581 * sysdeps/s390/stackinfo.h: Likewise.
77582 * sysdeps/sh/stackinfo.h: Likewise.
77583 * sysdeps/sparc/stackinfo.h: Likewise.
77584 * sysdeps/x86_64/stackinfo.h: Likewise.
77585 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77586 PF_X for powerpc64. Retain PF_X for powerpc32.
77587
77588 2010-12-19 Ulrich Drepper <drepper@gmail.com>
77589
77590 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77591 accurately.
77592 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77593 GETDENTS_64BIT_ALIGNED.
77594
77595 2010-12-14 Ulrich Drepper <dreper@gmail.com>
77596
77597 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77598
77599 2010-12-10 Andreas Schwab <schwab@redhat.com>
77600
77601 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77602 _GNU_SOURCE.
77603
77604 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77605 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77606 Remove __restrict.
77607 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77608 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77609
77610 2010-12-09 Ulrich Drepper <drepper@gmail.com>
77611
77612 [BZ #11655]
77613 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77614 are initialized.
77615
77616 2010-12-09 Jakub Jelinek <jakub@redhat.com>
77617
77618 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77619
77620 2010-12-03 Ulrich Drepper <drepper@gmail.com>
77621
77622 * po/it.po: Update from translation team.
77623
77624 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
77625
77626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77627 unused codes.
77628
77629 2010-11-30 Ulrich Drepper <drepper@gmail.com>
77630
77631 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77632
77633 2010-11-24 Andreas Schwab <schwab@redhat.com>
77634
77635 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77636 specially.
77637 (gaih_getanswer_slice): Likewise.
77638
77639 2010-10-20 Jakub Jelinek <jakub@redhat.com>
77640
77641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77642
77643 2010-05-31 Petr Baudis <pasky@suse.cz>
77644
77645 [BZ #11149]
77646 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77647 silently even in the chroot mode.
77648
77649 2010-11-22 Ulrich Drepper <drepper@gmail.com>
77650
77651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77652 last patch a bit. Pretty printing
77653
77654 2010-05-31 Petr Baudis <pasky@suse.cz>
77655
77656 [BZ #10085]
77657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77658 initialization of skip_initgroups_dyn.
77659
77660 2010-11-19 Ulrich Drepper <drepper@gmail.com>
77661
77662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77664
77665 2010-11-16 Ulrich Drepper <drepper@gmail.com>
77666
77667 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77668
77669 2010-11-11 Andreas Schwab <schwab@redhat.com>
77670
77671 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77672 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77673 (tst-fnmatch-ENV): Set MALLOC_TRACE.
77674 ($(objpfx)tst-fnmatch-mem): New rule.
77675 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77676 * posix/tst-fnmatch.c (main): Call mtrace.
77677
77678 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
77679
77680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77681 Support Intel processor model 6 and model 0x2c.
77682
77683 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
77684
77685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77686 signed comparison.
77687
77688 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
77689
77690 [BZ #12205]
77691 * string/test-strncasecmp.c (check_result): New function.
77692 (do_one_test): Use it.
77693 (check1): New function.
77694 (test_main): Use it.
77695 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77696 Support strcasecmp and strncasecmp.
77697
77698 2010-11-08 Ulrich Drepper <drepper@gmail.com>
77699
77700 [BZ #12194]
77701 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
77703
77704 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
77705
77706 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77707 IFUNC support.
77708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77709 memset-x86-64.
77710 * sysdeps/x86_64/multiarch/bzero.S: New file.
77711 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77712 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77713 * sysdeps/x86_64/multiarch/memset.S: New file.
77714 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77716 Set bit_Prefer_SSE_for_memop for Intel processors.
77717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77718 Define.
77719 (index_Prefer_SSE_for_memop): Define.
77720 (HAS_PREFER_SSE_FOR_MEMOP): Define.
77721
77722 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
77723
77724 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77726
77727 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
77728
77729 [BZ #12191]
77730 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77731 (__x86_64_raw_data_cache_size_half): Likewise.
77732 (__x86_64_raw_shared_cache_size): Likewise.
77733 (__x86_64_raw_shared_cache_size_half): Likewise.
77734
77735 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77736 (__x86_64_raw_data_cache_size_half): Likewise.
77737 (__x86_64_raw_shared_cache_size): Likewise.
77738 (__x86_64_raw_shared_cache_size_half): Likewise.
77739 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77740 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77741 and __x86_64_raw_shared_cache_size_half. Round
77742 __x86_64_data_cache_size_half, __x86_64_data_cache_size
77743 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77744 to multiple of 256 bytes.
77745
77746 2010-11-03 Ulrich Drepper <drepper@gmail.com>
77747
77748 [BZ #12167]
77749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77750 of inacessible symlinks. Verify result of symlink before returning it.
77751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77752 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77753
77754 2010-10-28 Erich Ritz <erichritz@gmail.com>
77755
77756 * math/math.h (isinf): Fix typo in comment.
77757
77758 2010-11-01 Ulrich Drepper <drepper@gmail.com>
77759
77760 * po/da.po: Update from translation team.
77761
77762 2010-10-26 Ulrich Drepper <drepper@gmail.com>
77763
77764 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77765 is added to the list.
77766
77767 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77768 Ulrich Drepper <drepper@gmail.com>
77769
77770 * elf/dl-object.c (_dl_new_object): Don't append the new object to
77771 the global list here. Move code to...
77772 (_dl_add_to_namespace_list): ...here. New function.
77773 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77774 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77775 * elf/dl-load.c (lose): Don't remove the element from the list.
77776 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77777 (_dl_map_object): Likewise.
77778
77779 2010-10-25 Ulrich Drepper <drepper@gmail.com>
77780
77781 [BZ #12159]
77782 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77783 into all bytes of SSE register.
77784 Patch by Richard Li <richardpku@gmail.com>.
77785
77786 2010-10-24 Ulrich Drepper <drepper@gmail.com>
77787
77788 [BZ #12140]
77789 * malloc/malloc.c (_int_free): Fill correct number of bytes when
77790 perturbing.
77791
77792 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
77793
77794 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77795 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77797 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77799 submachine.
77800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77801
77802 2010-10-22 Andreas Schwab <schwab@redhat.com>
77803
77804 * include/dlfcn.h (__RTLD_SECURE): Define.
77805 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
77806 mode & __RTLD_SECURE instead.
77807 (open_path): Rename preloaded parameter to secure.
77808 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77809 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77810 * elf/dl-deps.c (openaux): Likewise.
77811 * elf/rtld.c (struct map_args): Remove is_preloaded.
77812 (map_doit): Don't use it.
77813 (dl_main): Likewise.
77814 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77815 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77816
77817 2010-09-09 Andreas Schwab <schwab@redhat.com>
77818
77819 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77820 (sysd-rules-targets): Remove duplicates.
77821 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77822 rtld-%.$o dependency.
77823
77824 2010-10-18 Andreas Schwab <schwab@redhat.com>
77825
77826 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77827 _dl_map_object do it.
77828
77829 2010-10-19 Ulrich Drepper <drepper@gmail.com>
77830
77831 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77832 fast fma builtins, define the macros in the C99 standard.
77833 (FP_FAST_FMAF): Likewise.
77834 (FP_FAST_FMAL): Likewise.
77835 * sysdeps/x86_64/bits/mathdef.h: Likewise.
77836
77837 * bits/mathdef.h: Update copyright year.
77838 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77839
77840 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
77841
77842 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77843 builtins, define the macros in the C99 standard.
77844 (FP_FAST_FMAF): Likewise.
77845 (FP_FAST_FMAL): Likewise.
77846 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77847 multiply/add.
77848 (FP_FAST_FMAF): Likewise.
77849
77850 2010-10-15 Jakub Jelinek <jakub@redhat.com>
77851
77852 [BZ #3268]
77853 * math/libm-test.inc (fma_test): Some new testcases.
77854 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77856 y and infinite z. Do multiplication by C already in long double.
77857 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77859 y and infinite z. Do bitwise or of inexact bit into u.d.
77860 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77861 * sysdeps/i386/fpu/s_fmaf.S: Removed.
77862 * sysdeps/i386/fpu/s_fma.S: Removed.
77863 * sysdeps/i386/fpu/s_fmal.S: Removed.
77864
77865 2010-10-16 Jakub Jelinek <jakub@redhat.com>
77866
77867 [BZ #3268]
77868 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77870 computation is not scheduled after fetestexcept. Fix value
77871 of minimum denormal long double.
77872
77873 2010-10-14 Jakub Jelinek <jakub@redhat.com>
77874
77875 [BZ #3268]
77876 * math/libm-test.inc (fma_test): Add some more tests.
77877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77878 correctly.
77879
77880 2010-10-15 Andreas Schwab <schwab@redhat.com>
77881
77882 * scripts/data/localplt-s390-linux-gnu.data: New file.
77883 * scripts/data/localplt-s390x-linux-gnu.data: New file.
77884
77885 2010-10-13 Jakub Jelinek <jakub@redhat.com>
77886
77887 [BZ #3268]
77888 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77889 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77890 instead of dbl-64.
77891 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77892 inlines.
77893 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77895 if one of x and y is very large and the other is subnormal.
77896 * sysdeps/s390/fpu/s_fmaf.c: New file.
77897 * sysdeps/s390/fpu/s_fma.c: New file.
77898 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77899 * sysdeps/powerpc/fpu/s_fma.S: New file.
77900 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77901 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77902 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77903
77904 2010-10-12 Jakub Jelinek <jakub@redhat.com>
77905
77906 [BZ #3268]
77907 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77908 fma tests.
77909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77910 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77911 * sysdeps/i386/i686/multiarch/s_fma.c: Include
77912 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77913 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77914 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77915 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77916
77917 2010-10-12 Ulrich Drepper <drepper@redhat.com>
77918
77919 [BZ #12078]
77920 * posix/regcomp.c (parse_branch): One more memory leak plugged.
77921 * posix/bug-regex31.input: Add test case.
77922
77923 2010-10-11 Ulrich Drepper <drepper@gmail.com>
77924
77925 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77926 * posix/bug-regex31.input: New file.
77927
77928 [BZ #12078]
77929 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77930 (parse_sub_exp): Fix last change, use postorder.
77931
77932 * posix/bug-regex31.c: New file.
77933 * posix/Makefile: Add rules to build and run bug-regex31.
77934
77935 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77936
77937 [BZ #12078]
77938 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77939
77940 [BZ #12108]
77941 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77942 to have entries in sys_siglist.
77943
77944 [BZ #12093]
77945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77946 be NULL.
77947
77948 2010-10-07 Jakub Jelinek <jakub@redhat.com>
77949
77950 [BZ #3268]
77951 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77952 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77953 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77954 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77956 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77957 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77958 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77959 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77960 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77961 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77963 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77964 * math/ftestexcept.c (fetestexcept): Likewise.
77965 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77966 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77967 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77969 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77970 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77972
77973 2010-10-11 Ulrich Drepper <drepper@gmail.com>
77974
77975 [BZ #12107]
77976 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77977 newline.
77978
77979 2010-10-06 Ulrich Drepper <drepper@gmail.com>
77980
77981 * string/bug-strstr1.c: New file.
77982 * string/Makefile: Add rules to build and run bug-strstr1.
77983
77984 2010-10-05 Eric Blake <eblake@redhat.com>
77985
77986 [BZ #12092]
77987 * string/str-two-way.h (two_way_long_needle): Always clear memory
77988 when skipping input due to the shift table.
77989
77990 2010-10-03 Ulrich Drepper <drepper@gmail.com>
77991
77992 [BZ #12005]
77993 * malloc/mcheck.c: Handle large requests.
77994
77995 [BZ #12077]
77996 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77997 for strncmp and strncasecmp.
77998 * string/stratcliff.c: Add tests for strcmp and strncmp.
77999 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78000
78001 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
78002
78003 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78004 __set_fpscr.
78005
78006 2010-09-30 Andreas Jaeger <aj@suse.de>
78007
78008 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78009 (CGROUP_SUPER_MAGIC): Define.
78010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78011 Handle btrfs and cgroup file systems.
78012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78013 Likewise.
78014
78015 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
78016
78017 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78018 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78019
78020 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78021
78022 [BZ #12067]
78023 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78024 trying to locate the ELF header.
78025
78026 2010-09-27 Andreas Schwab <schwab@redhat.com>
78027
78028 [BZ #11611]
78029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78030 Mask out sign-bit copies when constructing f_fsid.
78031
78032 2010-09-24 Petr Baudis <pasky@suse.cz>
78033
78034 * debug/stack_chk_fail_local.c: Add missing licence exception.
78035 * debug/warning-nop.c: Likewise.
78036
78037 2010-09-15 Joseph Myers <joseph@codesourcery.com>
78038
78039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78040 implementing getdents64 using getdents syscall, set d_type if
78041 __ASSUME_GETDENTS32_D_TYPE.
78042
78043 2010-09-16 Andreas Schwab <schwab@redhat.com>
78044
78045 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78046 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78047
78048 2010-09-21 Ulrich Drepper <drepper@redhat.com>
78049
78050 [BZ #12037]
78051 * posix/unistd.h: Undo change of feature selection for ftruncate from
78052 2010-01-11.
78053
78054 2010-09-20 Ulrich Drepper <drepper@redhat.com>
78055
78056 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78057 detection.
78058
78059 2010-09-20 Andreas Schwab <schwab@redhat.com>
78060
78061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78062 fanotify_mark.
78063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78064
78065 2010-09-14 Andreas Schwab <schwab@redhat.com>
78066
78067 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78068 variables after CHECK_SP call.
78069 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78070
78071 2010-09-13 Andreas Schwab <schwab@redhat.com>
78072 Ulrich Drepper <drepper@redhat.com>
78073
78074 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78075 re-relocationg ld.so.
78076 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78077 _dl_init_paths call.
78078 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
78079 here anymore.
78080
78081 2010-09-14 Ulrich Drepper <drepper@redhat.com>
78082
78083 * resolv/res_init.c (__res_vinit): Count the default server we added.
78084
78085 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
78086 Ulrich Drepper <drepper@redhat.com>
78087
78088 [BZ #11968]
78089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78090 (____longjmp_chk): Use %ebx for saving value across system call.
78091 Add unwind info.
78092
78093 2010-09-06 Andreas Schwab <schwab@redhat.com>
78094
78095 * manual/Makefile: Don't mix pattern rules with normal rules.
78096
78097 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
78098
78099 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78100 operation.
78101 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78102 * libio/iofopncook.c (_IO_cookie_init): Likewise.
78103 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78104 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78106 Likewise.
78107
78108 2010-09-04 Ulrich Drepper <drepper@redhat.com>
78109
78110 [BZ #11979]
78111 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78112 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78113
78114 2010-09-02 Ulrich Drepper <drepper@redhat.com>
78115
78116 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78117 * sysdeps/x86_64/addmul_1.S: Likewise.
78118 * sysdeps/x86_64/lshift.S: Likewise.
78119 * sysdeps/x86_64/mul_1.S: Likewise.
78120 * sysdeps/x86_64/rshift.S: Likewise.
78121 * sysdeps/x86_64/sub_n.S: Likewise.
78122 * sysdeps/x86_64/submul_1.S: Likewise.
78123
78124 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
78125
78126 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78127 Define __sched_param instead of SCHED_* and sched_param when
78128 <bits/sched.h> is included with __need_schedparam defined.
78129 * bits/sched.h [__need_schedparam]
78130 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78131 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78132 (__defined_schedparam): Define to 1.
78133 (__sched_param): New structure, identical to sched_param.
78134 (__need_schedparam): Undefine.
78135
78136 2010-08-31 Mike Frysinger <vapier@gentoo.org>
78137
78138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78139 (epoll_create1): Declare.
78140
78141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78142
78143 2010-08-31 Andreas Schwab <schwab@redhat.com>
78144
78145 [BZ #7066]
78146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78147 shifting retval into place.
78148
78149 2010-09-01 Ulrich Drepper <drepper@redhat.com>
78150
78151 * nis/rpcsvc/nis.h: Update copyright notice.
78152 * nis/rpcsvc/nis.x: Likewise.
78153 * nis/rpcsvc/nis_callback.h: Likewise.
78154 * nis/rpcsvc/nis_callback.x: Likewise.
78155 * nis/rpcsvc/nis_object.x: Likewise.
78156 * nis/rpcsvc/nis_tags.h: Likewise.
78157 * nis/rpcsvc/yp.h: Likewise.
78158 * nis/rpcsvc/yp.x: Likewise.
78159 * nis/rpcsvc/ypupd.h: Likewise.
78160 * nis/yp_xdr.c: Likewise.
78161 * nis/ypupdate_xdr.c: Likewise.
78162
78163 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
78164 mainly the body of pmap_getport. Add parameters to specify timeouts.
78165 (pmap_getport): Use __libc_rpc_getport.
78166 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78167 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78168 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78169
78170 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
78171
78172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78173 fanotify_mark.
78174
78175 2010-08-27 Roland McGrath <roland@redhat.com>
78176
78177 * sysdeps/i386/i686/multiarch/Makefile
78178 (CFLAGS-varshift.c): New variable.
78179
78180 2010-08-27 Ulrich Drepper <drepper@redhat.com>
78181
78182 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78183 * sysdeps/i386/i686/multiarch/varshift.c: New file.
78184
78185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78186
78187 * sysdeps/x86_64/strlen.S: Minimal code improvement.
78188
78189 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
78190
78191 * sysdeps/x86_64/strlen.S: Unroll the loop.
78192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78193 strlen-sse2 strlen-sse2-bsf.
78194 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78195 __strlen_no_bsf if bit_Slow_BSF is set.
78196 (__strlen_sse42): Removed.
78197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78198 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78199
78200 2010-08-25 Roland McGrath <roland@redhat.com>
78201
78202 * sysdeps/x86_64/multiarch/varshift.S: File removed.
78203 * sysdeps/x86_64/multiarch/varshift.c: New file.
78204 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78205 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78206 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78207 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78208
78209 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
78210
78211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78212 strlen-sse2 strlen-sse2-bsf.
78213 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78214 __strlen_sse2_bsf if bit_Slow_BSF is unset.
78215 (__strlen_sse2): Removed.
78216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78219 bit_Slow_BSF for Atom.
78220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78221 (index_Slow_BSF): Define.
78222 (HAS_SLOW_BSF): Define.
78223
78224 2010-08-25 Ulrich Drepper <drepper@redhat.com>
78225
78226 [BZ #10851]
78227 * resolv/res_init.c (__res_vinit): When no server address at all
78228 is given default to loopback.
78229
78230 2010-08-24 Roland McGrath <roland@redhat.com>
78231
78232 * configure.in: Remove config-name.h generation.
78233 * configure: Regenerated.
78234 * config-name.in: File removed.
78235 * scripts/config-uname.sh: New file.
78236 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78237 ($(objdir)config-name.h): New target.
78238
78239 * sunrpc/rpc_parse.h: Avoid nested comment.
78240
78241 2010-08-24 Richard Henderson <rth@redhat.com>
78242 Ulrich Drepper <drepper@redhat.com>
78243 H.J. Lu <hongjiu.lu@intel.com>
78244
78245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78247 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78248 Replace _mm_srli_si128 with __m128i_shift_right. Replace
78249 _mm_alignr_epi8 with _mm_loadu_si128.
78250 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78251 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78252 (__m128i_shift_right): Removed.
78253 * sysdeps/i386/i686/multiarch/varshift.h: New file.
78254 * sysdeps/i386/i686/multiarch/varshift.S: New file.
78255 * sysdeps/x86_64/multiarch/varshift.h: New file.
78256 * sysdeps/x86_64/multiarch/varshift.S: New file.
78257
78258 2010-08-21 Mike Frysinger <vapier@gentoo.org>
78259
78260 * configure.in: Move assembler checks to before sysdep dir checking.
78261
78262 2010-08-20 Petr Baudis <pasky@suse.cz>
78263
78264 * LICENSES: Sync the sunrpc license.
78265
78266 2010-08-19 Ulrich Drepper <drepper@redhat.com>
78267
78268 * sunrpc/auth_des.c: Update copyright notice once again.
78269 * sunrpc/auth_none.c: Likewise.
78270 * sunrpc/auth_unix.c: Likewise.
78271 * sunrpc/authdes_prot.c: Likewise.
78272 * sunrpc/authuxprot.c: Likewise.
78273 * sunrpc/bindrsvprt.c: Likewise.
78274 * sunrpc/clnt_gen.c: Likewise.
78275 * sunrpc/clnt_perr.c: Likewise.
78276 * sunrpc/clnt_raw.c: Likewise.
78277 * sunrpc/clnt_simp.c: Likewise.
78278 * sunrpc/clnt_tcp.c: Likewise.
78279 * sunrpc/clnt_udp.c: Likewise.
78280 * sunrpc/clnt_unix.c: Likewise.
78281 * sunrpc/des_crypt.c: Likewise.
78282 * sunrpc/des_soft.c: Likewise.
78283 * sunrpc/get_myaddr.c: Likewise.
78284 * sunrpc/getrpcport.c: Likewise.
78285 * sunrpc/key_call.c: Likewise.
78286 * sunrpc/key_prot.c: Likewise.
78287 * sunrpc/openchild.c: Likewise.
78288 * sunrpc/pm_getmaps.c: Likewise.
78289 * sunrpc/pm_getport.c: Likewise.
78290 * sunrpc/pmap_clnt.c: Likewise.
78291 * sunrpc/pmap_prot.c: Likewise.
78292 * sunrpc/pmap_prot2.c: Likewise.
78293 * sunrpc/pmap_rmt.c: Likewise.
78294 * sunrpc/rpc/auth.h: Likewise.
78295 * sunrpc/rpc/auth_unix.h: Likewise.
78296 * sunrpc/rpc/clnt.h: Likewise.
78297 * sunrpc/rpc/des_crypt.h: Likewise.
78298 * sunrpc/rpc/key_prot.h: Likewise.
78299 * sunrpc/rpc/netdb.h: Likewise.
78300 * sunrpc/rpc/pmap_clnt.h: Likewise.
78301 * sunrpc/rpc/pmap_prot.h: Likewise.
78302 * sunrpc/rpc/pmap_rmt.h: Likewise.
78303 * sunrpc/rpc/rpc.h: Likewise.
78304 * sunrpc/rpc/rpc_des.h: Likewise.
78305 * sunrpc/rpc/rpc_msg.h: Likewise.
78306 * sunrpc/rpc/svc.h: Likewise.
78307 * sunrpc/rpc/svc_auth.h: Likewise.
78308 * sunrpc/rpc/types.h: Likewise.
78309 * sunrpc/rpc/xdr.h: Likewise.
78310 * sunrpc/rpc_clntout.c: Likewise.
78311 * sunrpc/rpc_cmsg.c: Likewise.
78312 * sunrpc/rpc_common.c: Likewise.
78313 * sunrpc/rpc_cout.c: Likewise.
78314 * sunrpc/rpc_dtable.c: Likewise.
78315 * sunrpc/rpc_hout.c: Likewise.
78316 * sunrpc/rpc_main.c: Likewise.
78317 * sunrpc/rpc_parse.c: Likewise.
78318 * sunrpc/rpc_parse.h: Likewise.
78319 * sunrpc/rpc_prot.c: Likewise.
78320 * sunrpc/rpc_sample.c: Likewise.
78321 * sunrpc/rpc_scan.c: Likewise.
78322 * sunrpc/rpc_scan.h: Likewise.
78323 * sunrpc/rpc_svcout.c: Likewise.
78324 * sunrpc/rpc_tblout.c: Likewise.
78325 * sunrpc/rpc_util.c: Likewise.
78326 * sunrpc/rpc_util.h: Likewise.
78327 * sunrpc/rpcinfo.c: Likewise.
78328 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78329 * sunrpc/rpcsvc/key_prot.x: Likewise.
78330 * sunrpc/rpcsvc/klm_prot.x: Likewise.
78331 * sunrpc/rpcsvc/mount.x: Likewise.
78332 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78333 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78334 * sunrpc/rpcsvc/rex.x: Likewise.
78335 * sunrpc/rpcsvc/rstat.x: Likewise.
78336 * sunrpc/rpcsvc/rusers.x: Likewise.
78337 * sunrpc/rpcsvc/sm_inter.x: Likewise.
78338 * sunrpc/rpcsvc/spray.x: Likewise.
78339 * sunrpc/rpcsvc/yppasswd.x: Likewise.
78340 * sunrpc/rtime.c: Likewise.
78341 * sunrpc/svc.c: Likewise.
78342 * sunrpc/svc_auth.c: Likewise.
78343 * sunrpc/svc_authux.c: Likewise.
78344 * sunrpc/svc_raw.c: Likewise.
78345 * sunrpc/svc_run.c: Likewise.
78346 * sunrpc/svc_simple.c: Likewise.
78347 * sunrpc/svc_tcp.c: Likewise.
78348 * sunrpc/svc_udp.c: Likewise.
78349 * sunrpc/svc_unix.c: Likewise.
78350 * sunrpc/svcauth_des.c: Likewise.
78351 * sunrpc/xcrypt.c: Likewise.
78352 * sunrpc/xdr.c: Likewise.
78353 * sunrpc/xdr_array.c: Likewise.
78354 * sunrpc/xdr_float.c: Likewise.
78355 * sunrpc/xdr_mem.c: Likewise.
78356 * sunrpc/xdr_rec.c: Likewise.
78357 * sunrpc/xdr_ref.c: Likewise.
78358 * sunrpc/xdr_sizeof.c: Likewise.
78359 * sunrpc/xdr_stdio.c: Likewise.
78360
78361 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78362 handling.
78363
78364 2010-08-19 Andreas Schwab <schwab@redhat.com>
78365
78366 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78367
78368 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
78369
78370 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78371 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78373 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78375 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78376 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78377 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78380 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78382 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78384
78385 2010-07-26 Anton Blanchard <anton@samba.org>
78386
78387 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78388 * malloc/arena.c (heap_trim): Likewise.
78389
78390 2010-08-16 Ulrich Drepper <drepper@redhat.com>
78391
78392 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78393 here. Not...
78394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78395 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78396
78397 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
78398
78399 * sysdeps/i386/elf/Makefile: New file.
78400
78401 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
78402
78403 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78404 from fanotify_init.
78405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78407
78408 2010-08-15 Ulrich Drepper <drepper@redhat.com>
78409
78410 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78411 of strncasecmp_l.
78412 * sysdeps/multiarch/strcmp.S: Likewise.
78413
78414 2010-08-14 Ulrich Drepper <drepper@redhat.com>
78415
78416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78417 strncase_l-nonascii.
78418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78419 Add strncase_l-ssse3.
78420 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78421 * sysdeps/x86_64/strcmp.S: Likewise.
78422 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78423 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78424 * sysdeps/x86_64/strncase.S: New file.
78425 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78426 * sysdeps/x86_64/strncase_l.S: New file.
78427 * string/Makefile (strop-tests): Add strncasecmp.
78428 * string/test-strncasecmp.c: New file.
78429
78430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78431 warning.
78432
78433 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78434 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78435
78436 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
78437
78438 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78439
78440 2010-08-12 Ulrich Drepper <drepper@redhat.com>
78441
78442 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78444 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78445
78446 2010-05-01 Alan Modra <amodra@gmail.com>
78447
78448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78449 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78450 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78451 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78452 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78453 tidying. Don't tail-call __sigjmp_save for static lib.
78454 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78455 save location.
78456 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78457 (CALL_MCOUNT): Add eh info, and nop after bl.
78458 (TAIL_CALL_SYSCALL_ERROR): New macro.
78459 (PSEUDO_RET): Use it.
78460 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78461 Correct save location of integer regs and cr.
78462 (_dl_profile_resolve): Correct cr save location. Delete nops
78463 after bl when SHARED. Reduce cfi size a little by better
78464 placement of cfi directives.
78465 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78466 make a stack frame. Instead use parm save area as a temp.
78467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78468 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
78469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78470 Don't make a stack frame for parent, use parm save area.
78471 Increase child stack frame to 112 bytes. Don't save unused reg,
78472 and adjust reg usage. Set up cfi on error recovery and
78473 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78475 (__makecontext): Add dummy nop after jump to exit.
78476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78477 Use correct parm save area and cr save, reduce stack frame.
78478 Correct cfi for possible PSEUDO_RET frame setup.
78479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78480 Branch to local label emitted by PSEUDO_RET rather than
78481 __syscall_error.
78482
78483 2010-08-12 Andreas Schwab <schwab@redhat.com>
78484
78485 [BZ #11904]
78486 * locale/programs/locale.c (print_assignment): New function.
78487 (show_locale_vars): Use it.
78488
78489 2010-08-11 Ulrich Drepper <drepper@redhat.com>
78490
78491 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78492 field.
78493 (struct statfs64): Likewise.
78494 (_STATFS_F_FLAGS): Define.
78495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78497 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78498 (ST_VALID): Define locally.
78499 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78500 __statvfs_getflags, use the provided value.
78501 * sysdeps/unix/sysv/linux/kernel-features.h: Define
78502 __ASSUME_STATFS_F_FLAGS.
78503
78504 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78505
78506 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78507 Add sys/fanotify.h.
78508 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78509 fanotify_mask for GLIBC_2.13.
78510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78511 fanotify_init and fanotify_mark.
78512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78513 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78514
78515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78516 Add prlimit.
78517 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78518 prlimit64 for GLIBC_2.13.
78519 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78520 prlimit64.
78521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78522 syscall.
78523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
78528 add prlimit alias.
78529 * sysdeps/unix/sysv/linux/prlimit.c: New file.
78530
78531 [BZ #11903]
78532 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78533 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78534
78535 * nss/Makefile: Add rules to build and run tst-nss-test1.
78536 * shlib-versions: Add entry for libnss_test1.
78537 * nss/nss_test1.c: New file.
78538 * nss/tst-nss-test1.c: New file.
78539
78540 * nss/nsswitch.c (__nss_database_custom): Define new variable.
78541 (__nss_configure_lookup): Set appropriate entry in
78542 __nss_configure_lookup to true.
78543 * nss/nsswitch.h: Define enum with indeces of databases in
78544 databases and __nss_database_custom arrays. Declare
78545 __nss_database_custom.
78546 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78547 to avoid using nscd when custom rules are installed.
78548 * nss/getXXbyYY_r.c: Likewise.
78549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78550
78551 * nss/nss_files/files-parse.c: Whitespace fixes.
78552
78553 2010-08-09 Ulrich Drepper <drepper@redhat.com>
78554
78555 [BZ #11883]
78556 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78557 * posix/fnmatch_loop.c: Likewise.
78558
78559 2010-07-17 Andi Kleen <ak@linux.intel.com>
78560
78561 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78562 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78563 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78564 * Versions.def [GLIBC_2.13]: Add.
78565
78566 2010-08-06 Ulrich Drepper <drepper@redhat.com>
78567
78568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78569 Also fail if tpwd after pwuid call is NULL.
78570
78571 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
78572
78573 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78574 when converting to ms.
78575
78576 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
78577
78578 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78579 EOPNOTSUPP errors with ENOTTY.
78580 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78581 EOPNOTSUPP errors with ENOTTY.
78582
78583 2010-07-31 Ulrich Drepper <drepper@redhat.com>
78584
78585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78586 Add strcasecmp_l-ssse3.
78587 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78588 strcasecmp.
78589 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78590 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78591 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78592
78593 2010-07-30 Ulrich Drepper <drepper@redhat.com>
78594
78595 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78596
78597 * string/Makefile (strop-tests): Add strcasecmp.
78598 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78599 strcasecmp_l-nonascii.
78600 (gen-as-const-headers): Add locale-defines.sym.
78601 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78602 * sysdeps/x86_64/strcasecmp.S: New file.
78603 * sysdeps/x86_64/strcasecmp_l.S: New file.
78604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78605 * sysdeps/x86_64/locale-defines.sym: New file.
78606 * string/test-strcasecmp.c: New file.
78607
78608 * string/test-strcasestr.c: Test both ends of the range of characters.
78609 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78610
78611 2010-07-29 Roland McGrath <roland@redhat.com>
78612
78613 [BZ #11856]
78614 * manual/locale.texi (Yes-or-No Questions): Fix example code.
78615
78616 2010-07-27 Ulrich Drepper <drepper@redhat.com>
78617
78618 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78619 for ld.so.
78620
78621 2010-07-27 Andreas Schwab <schwab@redhat.com>
78622
78623 * manual/memory.texi (Malloc Tunable Parameters): Document
78624 M_PERTURB.
78625
78626 2010-07-26 Roland McGrath <roland@redhat.com>
78627
78628 [BZ #11840]
78629 * configure.in (-fgnu89-inline check): Set and substitute
78630 gnu89_inline, not libc_cv_gnu89_inline.
78631 * configure: Regenerated.
78632 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78633
78634 2010-07-26 Ulrich Drepper <drepper@redhat.com>
78635
78636 * string/test-strnlen.c: New file.
78637 * string/Makefile (strop-tests): Add strnlen.
78638 * string/tester.c (test_strnlen): Add a few more test cases.
78639 * string/tst-strlen.c: Better error reporting.
78640
78641 * sysdeps/x86_64/strnlen.S: New file.
78642
78643 2010-07-24 Ulrich Drepper <drepper@redhat.com>
78644
78645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78646 lower-latency instructions.
78647
78648 2010-07-23 Ulrich Drepper <drepper@redhat.com>
78649
78650 * string/test-strcasestr.c: New file.
78651 * string/test-strstr.c: New file.
78652 * string/Makefile (strop-tests): Add strstr and strcasestr.
78653 * string/str-two-way.h: Don't undefine MAX.
78654 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78655
78656 2010-07-21 Andreas Schwab <schwab@redhat.com>
78657
78658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78659 strcasestr-nonascii.
78660 (CFLAGS-strcasestr-nonascii.c): Define.
78661 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78663 Remove unused attribute.
78664
78665 2010-07-20 Roland McGrath <roland@redhat.com>
78666
78667 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78668 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
78669 ld.so.cache was broken. With it, there is no way to disable dsocaps
78670 like LD_HWCAP_MASK can disable hwcaps.
78671
78672 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
78673
78674 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78675
78676 2010-07-16 Ulrich Drepper <drepper@redhat.com>
78677
78678 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78679 call in strcasestr.
78680 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78681 __strcasestr_sse42_nonascii.
78682 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78683 strcasestr-nonascii.c.
78684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78685
78686 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
78687
78688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78692
78693 2010-07-09 Ulrich Drepper <drepper@redhat.com>
78694
78695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78696 fcntl.
78697
78698 2010-07-06 Andreas Schwab <schwab@redhat.com>
78699
78700 [BZ #11577]
78701 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78702 dl_signal_cerror.
78703
78704 2010-07-06 Ulrich Drepper <drepper@redhat.com>
78705
78706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78707 _PC_PIPE_BUF using F_GETPIPE_SZ.
78708
78709 2010-07-05 Roland McGrath <roland@redhat.com>
78710
78711 * manual/arith.texi (Rounding Functions): Fix rint description
78712 implicit in round description.
78713
78714 2010-07-02 Ulrich Drepper <drepper@redhat.com>
78715
78716 * elf/Makefile: Fix linking for a few tests to make recent linker
78717 happy.
78718
78719 2010-06-30 Andreas Schwab <schwab@redhat.com>
78720
78721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78722 $(common-objpfx)libc_nonshared.a.
78723
78724 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
78725
78726 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78727 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78728 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78729 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78730 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78733 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78748 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78749 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78750 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78751 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78752 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78753 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78754 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78755 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78756 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78757 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78758 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78759 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78774
78775 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
78776
78777 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78778 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
78779 * string/memmove.c (memmove): Renamed to ...
78780 (MEMMOVE): ...this. Default to memmove.
78781 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78782 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78783 (END_CHK): Define.
78784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78785 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78786 mempcpy-ssse3-back memmove-ssse3-back.
78787 * sysdeps/x86_64/multiarch/bcopy.S: New file .
78788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78790 * sysdeps/x86_64/multiarch/memcpy.S: New file.
78791 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78792 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78793 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78794 * sysdeps/x86_64/multiarch/memmove.c: New file.
78795 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78796 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78797 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78798 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78801 Define.
78802 (index_Fast_Copy_Backward): Define.
78803 (HAS_ARCH_FEATURE): Define.
78804 (HAS_FAST_REP_STRING): Define.
78805 (HAS_FAST_COPY_BACKWARD): Define.
78806
78807 2010-06-21 Andreas Schwab <schwab@redhat.com>
78808
78809 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78810 Restore proper fallback handling.
78811
78812 2010-06-19 Ulrich Drepper <drepper@redhat.com>
78813
78814 [BZ #11701]
78815 * posix/group_member.c (__group_member): Correct checking loop.
78816
78817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78818 OOM in getpwuid_r correctly. Return error number when the caller
78819 should return, otherwise -1.
78820 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78821 call returning > 0 value.
78822 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78823
78824 2010-06-07 Andreas Schwab <schwab@redhat.com>
78825
78826 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78827 libc_nonshared.a from targets in modules-names.
78828
78829 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
78830
78831 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78832 requires it.
78833
78834 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
78835
78836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78837 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78840
78841 2010-06-02 Andreas Schwab <schwab@redhat.com>
78842
78843 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78844
78845 2010-06-14 Ulrich Drepper <drepper@redhat.com>
78846
78847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78848 and F_GETPIPE_SZ.
78849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78855
78856 2010-06-14 Roland McGrath <roland@redhat.com>
78857
78858 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78859
78860 2010-06-07 Jakub Jelinek <jakub@redhat.com>
78861
78862 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78863 __REDIRECT followed by __THROW.
78864 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78865 * posix/getopt.h (getopt): Likewise.
78866
78867 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
78868
78869 * hurd/lookup-at.c (__file_name_lookup_at): Accept
78870 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
78871 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78872 in AT_FLAGS.
78873 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78874 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78875
78876 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
78877
78878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78879
78880 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
78881
78882 [BZ #11640]
78883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78884 Properly check family and model.
78885
78886 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
78887
78888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78889
78890 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
78891
78892 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78893
78894 2010-05-21 Ulrich Drepper <drepper@redhat.com>
78895
78896 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78897 symbol reference.
78898
78899 2010-05-19 Andreas Schwab <schwab@redhat.com>
78900
78901 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78902 symbol reference.
78903
78904 2010-05-21 Andreas Schwab <schwab@redhat.com>
78905
78906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78907 and internal_recvmmsg.
78908 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78909 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78910 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78911 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78912
78913 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78916
78917 2010-05-20 Andreas Schwab <schwab@redhat.com>
78918
78919 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78920
78921 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
78922
78923 POWER7 optimizations.
78924 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78925 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78926
78927 2010-05-19 Ulrich Drepper <drepper@redhat.com>
78928
78929 * version.h: Update for 2.13 development version.
78930
78931 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
78932
78933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78934 exceptions. Return 0.
78935
78936 2010-05-07 Roland McGrath <roland@redhat.com>
78937
78938 * elf/ldconfig.c (main): Add a const.
78939
78940 2010-05-06 Ulrich Drepper <drepper@redhat.com>
78941
78942 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78943 (args_options): Add no-idn option.
78944 (ahosts_keys_int): Add idn_flags to ai_flags.
78945 (parse_option): Handle 'i' option to clear idn_flags.
78946
78947 * malloc/malloc.c (_int_free): Possible race in the most recently
78948 added check. Only act on the data if no current modification
78949 happened.
78950
78951 See ChangeLog.17 for earlier changes.