]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
timezone: fix parallel check failures
[thirdparty/glibc.git] / ChangeLog
1 2015-09-18 Mike Frysinger <vapier@gentoo.org>
2
3 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4
5 2015-09-18 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #18980]
8 * sysdeps/generic/math_private.h: Include <float.h>.
9 (math_narrow_eval): New macro.
10 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12 math_narrow_eval on overflowing return value.
13 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14 Likewise.
15 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18 Likewise.
19 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20
21 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
22
23 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24 * math/Makefile: Remove isinf_ns.c.
25 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26 * math/multc3.c (__multc3): Likewise.
27 * math/s_casin.c (__casin): Likewise.
28 * math/s_casinf.c (__casinf): Likewise.
29 * math/s_casinl.c (__casinl): Likewise.
30 * math/s_cproj.c (__cproj): Likewise.
31 * math/s_cprojf.c (__cprojf): Likewise.
32 * math/s_cprojl.c (__cprofl): Likewise.
33 * math/s_ctan.c (__ctan): Likewise.
34 * math/s_ctanf.c (__ctanf): Likewise.
35 * math/s_ctanh.c (__ctanh): Likewise.
36 * math/s_ctanhf.c (__ctanhf): Likewise.
37 * math/s_ctanhl.c (__ctanhl): Likewise.
38 * math/s_ctanl.c (__ctanl): Likewise.
39 * math/w_fmod.c (__fmod): Likewise.
40 * math/w_fmodf.c (__fmodf): Likewise.
41 * math/w_fmodl.c (_fmodl): Likewise.
42 * math/w_remainder.c (__remainder): Likewise.
43 * math/w_remainderf.c (__remainderf): Likewise.
44 * math/w_remainderl.c (__remainderl): Likewise.
45 * math/w_scalb.c (__scalb): Likewise.
46 * math/w_scalbf.c (__scalbf): Likewise.
47 * math/w_scalbl.c (__scalbl): Likewise.
48 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
49 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
50 with isinf.
51 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
52 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
53 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
54 __isinf_nsf with isinf.
55 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
56 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
57 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
58 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
59 with isinf.
60 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
61 __isinf_nsl with isinf.
62 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
63 with isinf.
64 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
65 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
66 __isinf_nsl with isinf.
67 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
68 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
69 with isinf.
70
71 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
72
73 * resolv/base64.c (rcsid): Remove unused static.
74 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
75 static. (tqpi1): Likewise.
76 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
77 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
78 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
79 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
80 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
81 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
82 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
83 * timezone/private.h (time_t_min): Likewise. (time_t_max):
84 Likewise.
85
86 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
87
88 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
89 <nptl/pthreadP.h>.
90 (_longjmp_unwind): Use __libc_ptf_call.
91 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
92
93 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
94
95 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
96 * sysdeps/arm/__longjmp.S: Likewise
97
98 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
99
100 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
101 Use __builtin_signbit.
102 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
103 Use __builtin_signbitf.
104 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
105 Use __builtin_signbitl.
106 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
107 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
108
109 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
110
111 [BZ #15367]
112 [BZ #17441]
113
114 * math/Makefile: Build test-snan.c with -fsignaling-nans.
115 * math/math.h (fpclassify): Use __builtin_fpclassify when
116 available. (signbit): Use __builtin_signbit(f/l).
117 (isfinite): Use__builtin_isfinite. (isnormal): Use
118 __builtin_isnormal. (isnan): Use __builtin_isnan.
119 (isinf): Use __builtin_isinf_sign.
120
121 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
122
123 * benchtests/Makefile: Add bench-math-inlines, link with libm.
124 * benchtests/bench-math-inlines.c: New benchmark.
125 * benchtests/bench-util.h: New file.
126 * benchtests/bench-util.c: New file.
127 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
128
129 2015-09-18 Carlos O'Donell <carlos@redhat.com>
130
131 * elf/tst-dlmopen1.c: Define TEST_SO.
132 (do_test): Use TEST_SO.
133
134 * elf/dl-load.c: Include libc-internal.h.
135 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
136
137 2015-09-18 Vincent Bernat <vincent@bernat.im>
138
139 [BZ #17887]
140 * time/strptime_l.c (__strptime_internal): Make %z accept
141 [+-]HH:MM time zones.
142
143 2015-09-18 Vincent Bernat <vincent@bernat.im>
144
145 [BZ #17886]
146 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
147 valid time zone.
148
149 2015-09-17 Mike Frysinger <vapier@gentoo.org>
150
151 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
152 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
154 (__ASSUME_FDATASYNC): Delete.
155
156 2015-09-17 Joseph Myers <joseph@codesourcery.com>
157
158 * conform/linknamespace.pl: Require weak undefined symbols to be
159 in the standard namespace.
160 (%strong_syms): Rename to %seen_syms.
161 (%strong_seen): Rename to %seen_where.
162
163 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
164
165 [BZ #18970]
166 * misc/error.c (error): Replace pthread_setcancelstate with
167 __pthread_setcancelstate.
168 (error_at_line): Likewise.
169 * posix/wordexp.c (parse_comm): Likewise.
170 * stdlib/fmtmsg.c (fmtmsg): Likewise.
171 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
172 (__pthread_setcancelstate): This.
173 (pthread_setcancelstate): Add an alias.
174 * nptl/nptl-init.c (pthread_functions): Replace
175 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
176 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
177 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
178 hidden_proto.
179 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
180 it with hidden_def.
181 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
182 (pthread_setcancelstate): Renamed to ...
183 (__pthread_setcancelstate): This.
184 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
185 __libc_ptf_call with __pthread_setcancelstate.
186
187 2015-09-17 Joseph Myers <joseph@codesourcery.com>
188 Andreas Schwab <schwab@suse.de>
189
190 [BZ #17118]
191 * math/s_ctan.c (__ctan): Determine sign of zero real part of
192 result when imaginary part of argument is infinite using sine and
193 cosine.
194 * math/s_ctanf.c (__ctanf): Likewise.
195 * math/s_ctanl.c (__ctanl): Likewise.
196 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
197 of result when real part of argument is infinite using sine and
198 cosine.
199 * math/s_ctanhf.c (__ctanhf): Likewise.
200 * math/s_ctanhl.c (__ctanhl): Likewise.
201 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
202 (ctanh_test_data): Add more tests of ctanh.
203
204 2015-09-17 Joseph Myers <joseph@codesourcery.com>
205
206 [BZ #15384]
207 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
208 bit-mask as in subtraction.
209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
210 Likewise.
211 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
212 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
213 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
214
215 [BZ #18951]
216 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
217 underflow exception for small results.
218 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
219 Likewise.
220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
221 Likewise.
222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
223 Likewise.
224 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
225 Likewise.
226 * math/auto-libm-test-in: Add more tests of tgamma.
227 * math/auto-libm-test-out: Regenerated.
228
229 2015-09-17 Andreas Schwab <schwab@suse.de>
230
231 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
232
233 2015-09-16 Joseph Myers <joseph@codesourcery.com>
234
235 [BZ #18977]
236 * math/bits/mathcalls.h
237 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
238 not declare.
239 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
240 Likewise.
241 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
242 Likewise.
243 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
244 Likewise.
245 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
246 Likewise.
247 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
248 Likewise.
249 * conform/data/math.h-data
250 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
251 function.
252 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
253 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
254 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
255 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
256 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
257 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
258 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
259 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
260 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
261 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
262 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
263
264 [BZ #6803]
265 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
266 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
267 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
268 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
269 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
270 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
271 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
272 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
273 [NO_LONG_DOUBLE] (scalbnl): Likewise.
274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
275 Likewise.
276 [NO_LONG_DOUBLE] (scalbnl): Likewise.
277 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
280 long_double_symbol calls.
281 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
282 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
283 strong alias of __ldexpl.
284 (scalbnl): Define using long_double_symbol.
285 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
286 Remove alias.
287 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
288 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
289 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
290 (scalbln_test_data): Add more errno expectations.
291
292 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
293
294 Cache the host port like we cache the task port. This way we do not
295 need to call the kernel just to get the port. Furthermore, we no
296 longer increase the reference count on every invocation of
297 `mach_host_self'.
298
299 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
300 Protect declarations against the macro expansion.
301 * mach/mach_init.c (__mach_host_self_): New variable.
302 (mach_init): Initialize `__mach_host_self_'.
303 * mach/mach_init.h (__mach_host_self_): New declaration.
304 (__mach_host_self, mach_host_self): New macros.
305 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
306 Release reference.
307
308 2015-09-16 Joseph Myers <joseph@codesourcery.com>
309
310 [BZ #4404]
311 * po/de.po: Update from Translation Project.
312
313 [BZ #16415]
314 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
315 (__expm1l): Remove code to handle positive infinity and overflow.
316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
317 variable.
318 (__expm1l): Remove code to handle positive infinity and overflow.
319
320 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
321 Paul Pluzhnikov <ppluzhnikov@google.com>
322
323 [BZ #18872]
324 * stdio-common/Makefile (tst-printf-bz18872): New test.
325 (tst-printf-bz18872-mem.out): Likewise.
326 * stdio-common/tst-printf-bz18872.sh: Generate new test.
327 * stdio-common/vfprintf.c: Fix memory leaks.
328
329 2015-09-16 Andreas Schwab <schwab@suse.de>
330
331 [BZ #17244]
332 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
333 Remove extra va_start/va_end calls.
334
335 [BZ #17243]
336 * posix/execl.c (execl): Add missing va_end.
337 * posix/execle.c (execle): Likewise.
338 * posix/execlp.c (execlp): Likewise.
339
340 2015-09-15 Roland McGrath <roland@hack.frob.com>
341
342 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
343 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
344
345 2015-09-15 Joseph Myers <joseph@codesourcery.com>
346
347 [BZ #18967]
348 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
349 undefine around includes of <bits/mathcalls.h>.
350 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
351 not declare function.
352 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
353 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
354 (scalb): Likewise.
355 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
356 not define macro.
357 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
358 variable.
359 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
360 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
361 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
362
363 [BZ #18857]
364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
365 return non-finite argument without doing ordered comparisons on
366 it.
367
368 [BZ #16296]
369 * math/fenv.h (fegetround): Use __attribute_pure__.
370 * include/fenv.h (__fegetround): Likewise.
371
372 [BZ #18595]
373 * math/s_ctan.c (__ctan): Force underflow exception for results
374 whose real or imaginary part has small absolute value.
375 * math/s_ctanf.c (__ctanf): Likewise.
376 * math/s_ctanh.c (__ctanh): Likewise.
377 * math/s_ctanhf.c (__ctanhf): Likewise.
378 * math/s_ctanhl.c (__ctanhl): Likewise.
379 * math/s_ctanl.c (__ctanl): Likewise.
380 * math/auto-libm-test-in: Do not allow missing underflow for ctan
381 and ctanh. Add more tests of ctan and ctanh.
382
383 [BZ #15918]
384 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
385 handling of cases where one argument is an infinity.
386
387 [BZ #18875]
388 [BZ #18966]
389 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
390 (MO): New macro.
391 (__ieee754_exp10): For small results, force underflow exception
392 and remove excess range and precision from return value.
393 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
394 (MO): New macro.
395 (__ieee754_exp10f): For small results, force underflow exception
396 and remove excess range and precision from return value.
397 * math/auto-libm-test-in: Add more tests of exp10.
398 * math/auto-libm-test-out: Regenerated.
399
400 2015-09-14 Joseph Myers <joseph@codesourcery.com>
401
402 [BZ #18875]
403 [BZ #18961]
404 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
405 (MO): New macro.
406 (__ieee754_exp): For small results, force underflow exception and
407 remove excess range and precision from return value.
408 (__exp_finite): Likewise.
409 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
410 (MO): New macro.
411 (__ieee754_expf): For small results, force underflow exception and
412 remove excess range and precision from return value.
413 (__expf_finite): Likewise.
414 * math/auto-libm-test-in: Add more tests of exp.
415 * math/auto-libm-test-out: Regenerated.
416
417 [BZ #16521]
418 [BZ #18875]
419 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
420 small results.
421 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
422 (MO): New macro.
423 (__ieee754_exp2): For small results, force underflow exception and
424 remove excess range and precision from return value.
425 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
426 (MO): New macro.
427 (__ieee754_exp2f): For small results, force underflow exception
428 and remove excess range and precision from return value.
429 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
430 (MO): New macro.
431 (__ieee754_exp2l): Force underflow exception for small results.
432 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
433 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
434 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
435 (MO): New macro.
436 (__ieee754_exp2l): Force underflow exception for small results.
437 * math/auto-libm-test-in: Add more tests or exp2.
438 * math/auto-libm-test-out: Regenerated.
439
440 2015-09-14 Carlos O'Donell <carlos@redhat.com>
441
442 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
443
444 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
445 /dev/null.
446
447 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
448
449 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
450 io fs process)): Drop spurious backslash.
451
452 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
453
454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
455 Use sysinfo system call instead of parsing /proc/meminfo.
456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
457 Likewise.
458
459 2015-09-11 Mike Frysinger <vapier@gentoo.org>
460
461 [BZ #16985]
462 * programs/localedef.c (main): Display argv[remaining] when
463 output_path is NULL.
464
465 2015-09-11 Joseph Myers <joseph@codesourcery.com>
466
467 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
468 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
469 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
470 tanh.
471 * math/auto-libm-test-out: Regenerated.
472 * sysdeps/i386/fpu/libm-test-ulps: Update.
473 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
474 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476
477 2015-09-11 Roland McGrath <roland@hack.frob.com>
478
479 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
480 Use 'override' keyword to freeze the value here, preventing
481 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
482
483 2015-09-11 Joseph Myers <joseph@codesourcery.com>
484
485 [BZ #14912]
486 * sysdeps/aarch64/bits/atomic.h: Move to ...
487 * sysdeps/aarch64/atomic-machine.h: ...here.
488 (_AARCH64_BITS_ATOMIC_H): Rename macro to
489 _AARCH64_ATOMIC_MACHINE_H.
490 * sysdeps/alpha/bits/atomic.h: Move to ...
491 * sysdeps/alpha/atomic-machine.h: ...here.
492 * sysdeps/arm/bits/atomic.h: Move to ...
493 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
494 * bits/atomic.h: Move to ...
495 * sysdeps/generic/atomic-machine.h: ...here.
496 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
497 * sysdeps/i386/bits/atomic.h: Move to ...
498 * sysdeps/i386/atomic-machine.h: ...here.
499 * sysdeps/ia64/bits/atomic.h: Move to ...
500 * sysdeps/ia64/atomic-machine.h: ...here.
501 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
502 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
503 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
504 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
505 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
506 * sysdeps/microblaze/bits/atomic.h: Move to ...
507 * sysdeps/microblaze/atomic-machine.h: ...here.
508 * sysdeps/mips/bits/atomic.h: Move to ...
509 * sysdeps/mips/atomic-machine.h: ...here.
510 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
511 * sysdeps/powerpc/bits/atomic.h: Move to ...
512 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
513 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
514 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
515 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
516 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
517 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
518 <atomic-machine.h> instead of <bits/atomic.h>.
519 * sysdeps/s390/bits/atomic.h: Move to ...
520 * sysdeps/s390/atomic-machine.h: ...here.
521 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
522 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
523 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
524 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
525 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
526 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
527 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
528 * sysdeps/tile/bits/atomic.h: Move to ...
529 * sysdeps/tile/atomic-machine.h: ...here.
530 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
531 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
532 <sysdeps/tile/atomic-machine.h> instead of
533 <sysdeps/tile/bits/atomic.h>.
534 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
535 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
536 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
537 <sysdeps/tile/atomic-machine.h> instead of
538 <sysdeps/tile/bits/atomic.h>.
539 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
540 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
541 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
542 <sysdeps/arm/atomic-machine.h> instead of
543 <sysdeps/arm/bits/atomic.h>.
544 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
545 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
546 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
547 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
548 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
549 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
550 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
551 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
552 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
554 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
555 * sysdeps/x86_64/bits/atomic.h: Move to ...
556 * sysdeps/x86_64/atomic-machine.h: ...here.
557 * include/atomic.h: Include <atomic-machine.h> instead of
558 <bits/atomic.h>.
559
560 * sysdeps/mips/mips32/libm-test-ulps: Update.
561 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
562
563 [BZ #18952]
564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
565 not convert non-integer negative arguments to int to determine the
566 value of signgam.
567 * math/auto-libm-test-in: Add more tests of lgamma.
568 * math/auto-libm-test-out: Regenerated.
569
570 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
571 cosh, csqrt, erfc, expm1 and lgamma.
572 * math/auto-libm-test-out: Regenerated.
573 * sysdeps/i386/fpu/libm-test-ulps: Update.
574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
575
576 2015-09-10 Joseph Myers <joseph@codesourcery.com>
577
578 [BZ #2542]
579 [BZ #2543]
580 [BZ #2558]
581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
582 __lgamma_neg for arguments from -28.0 to -2.0.
583 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
584 __lgamma_negf for arguments from -15.0 to -2.0.
585 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
586 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
587 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
588 Call __lgamma_negl for arguments from -33.0 to -2.0.
589 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
590 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
591 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
592 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
593 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
594 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
595 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
596 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
597 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
598 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
599 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
600 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
601 (__lgamma_neg): Likewise.
602 (__lgamma_negl): Likewise.
603 (__lgamma_product): Likewise.
604 (__lgamma_productl): Likewise.
605 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
606 * math/auto-libm-test-in: Add more tests of lgamma.
607 * math/auto-libm-test-out: Regenerated.
608 * sysdeps/i386/fpu/libm-test-ulps: Update.
609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610
611 2015-09-09 Justin Maggard <jmaggard@netgear.com>
612
613 [BZ #18675]
614 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
615
616 2015-09-08 Joseph Myers <joseph@codesourcery.com>
617
618 [BZ #14912]
619 * bits/libc-lock.h: Move to ...
620 * sysdeps/generic/libc-lock.h: ...here.
621 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
622 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
623 * sysdeps/mach/hurd/libc-lock.h: ...here.
624 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
625 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
626 * sysdeps/mach/bits/libc-lock.h: Move to ...
627 * sysdeps/mach/libc-lock.h: ...here.
628 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
629 * sysdeps/nptl/bits/libc-lock.h: Move to ...
630 * sysdeps/nptl/libc-lock.h: ...here.
631 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
632 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
633 * sysdeps/nptl/libc-lockP.h: ...here.
634 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
635 * crypt/crypt_util.c: Include <libc-lock.h> instead of
636 <bits/libc-lock.h>.
637 * dirent/scandir-tail.c: Likewise.
638 * dlfcn/dlerror.c: Likewise.
639 * elf/dl-close.c: Likewise.
640 * elf/dl-iteratephdr.c: Likewise.
641 * elf/dl-lookup.c: Likewise.
642 * elf/dl-open.c: Likewise.
643 * elf/dl-support.c: Likewise.
644 * elf/dl-writev.h: Likewise.
645 * elf/rtld.c: Likewise.
646 * grp/fgetgrent.c: Likewise.
647 * gshadow/fgetsgent.c: Likewise.
648 * gshadow/sgetsgent.c: Likewise.
649 * iconv/gconv_conf.c: Likewise.
650 * iconv/gconv_db.c: Likewise.
651 * iconv/gconv_dl.c: Likewise.
652 * iconv/gconv_int.h: Likewise.
653 * iconv/gconv_trans.c: Likewise.
654 * include/link.h: Likewise.
655 * inet/getnameinfo.c: Likewise.
656 * inet/getnetgrent.c: Likewise.
657 * inet/getnetgrent_r.c: Likewise.
658 * intl/bindtextdom.c: Likewise.
659 * intl/dcigettext.c: Likewise.
660 * intl/finddomain.c: Likewise.
661 * intl/gettextP.h: Likewise.
662 * intl/loadmsgcat.c: Likewise.
663 * intl/localealias.c: Likewise.
664 * intl/textdomain.c: Likewise.
665 * libidn/idn-stub.c: Likewise.
666 * libio/libioP.h: Likewise.
667 * locale/duplocale.c: Likewise.
668 * locale/freelocale.c: Likewise.
669 * locale/newlocale.c: Likewise.
670 * locale/setlocale.c: Likewise.
671 * login/getutent_r.c: Likewise.
672 * login/getutid_r.c: Likewise.
673 * login/getutline_r.c: Likewise.
674 * login/utmp-private.h: Likewise.
675 * login/utmpname.c: Likewise.
676 * malloc/mtrace.c: Likewise.
677 * misc/efgcvt.c: Likewise.
678 * misc/error.c: Likewise.
679 * misc/fstab.c: Likewise.
680 * misc/getpass.c: Likewise.
681 * misc/mntent.c: Likewise.
682 * misc/syslog.c: Likewise.
683 * nis/nis_call.c: Likewise.
684 * nis/nis_callback.c: Likewise.
685 * nis/nss-default.c: Likewise.
686 * nis/nss_compat/compat-grp.c: Likewise.
687 * nis/nss_compat/compat-initgroups.c: Likewise.
688 * nis/nss_compat/compat-pwd.c: Likewise.
689 * nis/nss_compat/compat-spwd.c: Likewise.
690 * nis/nss_nis/nis-alias.c: Likewise.
691 * nis/nss_nis/nis-ethers.c: Likewise.
692 * nis/nss_nis/nis-grp.c: Likewise.
693 * nis/nss_nis/nis-hosts.c: Likewise.
694 * nis/nss_nis/nis-network.c: Likewise.
695 * nis/nss_nis/nis-proto.c: Likewise.
696 * nis/nss_nis/nis-pwd.c: Likewise.
697 * nis/nss_nis/nis-rpc.c: Likewise.
698 * nis/nss_nis/nis-service.c: Likewise.
699 * nis/nss_nis/nis-spwd.c: Likewise.
700 * nis/nss_nisplus/nisplus-alias.c: Likewise.
701 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
702 * nis/nss_nisplus/nisplus-grp.c: Likewise.
703 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
704 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
705 * nis/nss_nisplus/nisplus-network.c: Likewise.
706 * nis/nss_nisplus/nisplus-proto.c: Likewise.
707 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
708 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
709 * nis/nss_nisplus/nisplus-service.c: Likewise.
710 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
711 * nis/ypclnt.c: Likewise.
712 * nptl/libc_pthread_init.c: Likewise.
713 * nss/getXXbyYY.c: Likewise.
714 * nss/getXXent.c: Likewise.
715 * nss/getXXent_r.c: Likewise.
716 * nss/nss_db/db-XXX.c: Likewise.
717 * nss/nss_db/db-netgrp.c: Likewise.
718 * nss/nss_db/nss_db.h: Likewise.
719 * nss/nss_files/files-XXX.c: Likewise.
720 * nss/nss_files/files-alias.c: Likewise.
721 * nss/nsswitch.c: Likewise.
722 * posix/regex_internal.h: Likewise.
723 * posix/wordexp.c: Likewise.
724 * pwd/fgetpwent.c: Likewise.
725 * resolv/res_hconf.c: Likewise.
726 * resolv/res_libc.c: Likewise.
727 * shadow/fgetspent.c: Likewise.
728 * shadow/lckpwdf.c: Likewise.
729 * shadow/sgetspent.c: Likewise.
730 * socket/opensock.c: Likewise.
731 * stdio-common/reg-modifier.c: Likewise.
732 * stdio-common/reg-printf.c: Likewise.
733 * stdio-common/reg-type.c: Likewise.
734 * stdio-common/vfprintf.c: Likewise.
735 * stdio-common/vfscanf.c: Likewise.
736 * stdlib/abort.c: Likewise.
737 * stdlib/cxa_atexit.c: Likewise.
738 * stdlib/fmtmsg.c: Likewise.
739 * stdlib/random.c: Likewise.
740 * stdlib/setenv.c: Likewise.
741 * string/strsignal.c: Likewise.
742 * sunrpc/auth_none.c: Likewise.
743 * sunrpc/bindrsvprt.c: Likewise.
744 * sunrpc/create_xid.c: Likewise.
745 * sunrpc/key_call.c: Likewise.
746 * sunrpc/rpc_thread.c: Likewise.
747 * sysdeps/arm/backtrace.c: Likewise.
748 * sysdeps/generic/ldsodefs.h: Likewise.
749 * sysdeps/generic/stdio-lock.h: Likewise.
750 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
751 * sysdeps/i386/backtrace.c: Likewise.
752 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
753 * sysdeps/m68k/backtrace.c: Likewise.
754 * sysdeps/mach/hurd/cthreads.c: Likewise.
755 * sysdeps/mach/hurd/dirstream.h: Likewise.
756 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
757 * sysdeps/nptl/malloc-machine.h: Likewise.
758 * sysdeps/nptl/stdio-lock.h: Likewise.
759 * sysdeps/posix/dirstream.h: Likewise.
760 * sysdeps/posix/getaddrinfo.c: Likewise.
761 * sysdeps/posix/system.c: Likewise.
762 * sysdeps/pthread/aio_suspend.c: Likewise.
763 * sysdeps/s390/s390-32/backtrace.c: Likewise.
764 * sysdeps/s390/s390-64/backtrace.c: Likewise.
765 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
766 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
767 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
768 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
769 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
770 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
771 * sysdeps/unix/sysv/linux/system.c: Likewise.
772 * sysdeps/x86_64/backtrace.c: Likewise.
773 * time/alt_digit.c: Likewise.
774 * time/era.c: Likewise.
775 * time/tzset.c: Likewise.
776 * wcsmbs/wcsmbsload.c: Likewise.
777 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
778 instead of <bits/libc-lock.h> in comment.
779
780 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
781
782 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
783 Only use .set mips2 if the current ISA is below mips2.
784 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
785 Likewise.
786 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
787 mips32r2 if the current ISA is below mips32r2.
788 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
789 (TLS_IE): Updated to use the TLD_RDHWR macro.
790 (TLS_LE): Likewise.
791 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
792 __ASSEMBLER__ condition.
793
794 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
795
796 Fix parallel build of before-compile targets.
797
798 * sysdeps/mach/Makefile ($(patsubst
799 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
800 mach-before-compile target.
801 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
802 io fs process)): Move rule to dedicated hurd-before-compile target.
803
804 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
805
806 Fix rules generating headers in hurd/ and mach/ when initial make call
807 has subdir= explicitly set.
808
809 * sysdeps/mach/Makefile ($(patsubst
810 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
811 calling $(MAKE).
812 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
813 io fs process)): Force subdir to hurd when calling $(MAKE).
814 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
815 subdir to mach when calling $(MAKE).
816
817 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
818
819 Check sysheaders when looking for Mach and Hurd headers
820
821 * sysdeps/mach/configure.ac: Add sysheaders check.
822 * sysdeps/mach/configure: Regenerate.
823 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
824 * sysdeps/mach/hurd/configure: Regenerate.
825
826 2015-09-04 Roland McGrath <roland@hack.frob.com>
827
828 [BZ #18921]
829 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
830 Fix inverted sense of test of 'o_directory_works' value.
831 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
832 Bernhard Voelker <mail@bernhard-voelker.de>.
833
834 2015-09-04 Joseph Myers <joseph@codesourcery.com>
835
836 [BZ #14912]
837 * bits/linkmap.h: Move to ...
838 * sysdeps/generic/linkmap.h: ...here.
839 * sysdeps/aarch64/bits/linkmap.h: Move to ...
840 * sysdeps/aarch64/linkmap.h: ...here.
841 * sysdeps/arm/bits/linkmap.h: Move to ...
842 * sysdeps/arm/linkmap.h: ...here.
843 * sysdeps/hppa/bits/linkmap.h: Move to ...
844 * sysdeps/hppa/linkmap.h: ...here.
845 * sysdeps/ia64/bits/linkmap.h: Move to ...
846 * sysdeps/ia64/linkmap.h: ...here.
847 * sysdeps/mips/bits/linkmap.h: Move to ...
848 * sysdeps/mips/linkmap.h: ...here.
849 * sysdeps/s390/bits/linkmap.h: Move to ...
850 * sysdeps/s390/linkmap.h: ...here.
851 * sysdeps/sh/bits/linkmap.h: Move to ...
852 * sysdeps/sh/linkmap.h: ...here.
853 * sysdeps/x86/bits/linkmap.h: Move to ...
854 * sysdeps/x86/linkmap.h: ...here.
855 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
856
857 2015-09-04 Andreas Schwab <schwab@suse.de>
858
859 [BZ #18635]
860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
861 (__makecontext): Terminate FDE before return label.
862 (__novec_makecontext): Likewise.
863
864 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
865
866 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
867 first member of struct sv in syscall macro.
868
869 2015-09-04 Joseph Myers <joseph@codesourcery.com>
870
871 [BZ #14912]
872 * bits/stdio-lock.h: Move to ...
873 * sysdeps/generic/stdio-lock.h: ...here.
874 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
875 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
876 * sysdeps/nptl/stdio-lock.h: ...here.
877 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
878 * include/libio.h: Include <stdio-lock.h> instead of
879 <bits/stdio-lock.h>.
880 * sysdeps/nptl/fork.c: Likewise.
881 * sysdeps/pthread/flockfile.c: Likewise.
882 * sysdeps/pthread/ftrylockfile.c: Likewise.
883 * sysdeps/pthread/funlockfile.c: Likewise.
884
885 [BZ #14912]
886 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
887 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
888 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
889 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
890 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
891 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
892 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
893
894 2015-09-03 Roland McGrath <roland@hack.frob.com>
895
896 * elf/Makefile (test-xfail-tst-protected1a): New variable.
897 (test-xfail-tst-protected1b): New variable.
898
899 2015-09-03 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #14912]
902 * bits/libc-tsd.h: Move to ...
903 * sysdeps/generic/libc-tsd.h: ...here.
904 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
905 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
906 * sysdeps/mach/hurd/libc-tsd.h: ...here.
907 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
908 * include/ctype.h: Include <libc-tsd.h> instead of
909 <bits/libc-tsd.h>.
910 * include/rpc/rpc.h: Likewise.
911 * locale/localeinfo.h: Likewise.
912 * sunrpc/rpc_thread.c: Likewise.
913 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
914 * sysdeps/nptl/malloc-machine.h: Likewise.
915
916 * Makefile (headers): Remove bits/libc-lock.h.
917 * libio/Makefile (headers): Remove bits/stdio-lock.h.
918
919 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
920 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
921 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
922 <bits/stdio-lock.h>.
923 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
924 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
925
926 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
927
928 [BZ #18757]
929 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
930 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
931 BZ #18757.
932
933 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
934
935 * malloc/mtrace.pl: Filter out NULL entries.
936
937 2015-09-01 Joseph Myers <joseph@codesourcery.com>
938
939 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
940 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
941 macro.
942
943 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
944 (TCP_CC_INFO): Likewise.
945 (TCP_SAVE_SYN): Likewise.
946 (TCP_SAVED_SYN): Likewise.
947
948 2015-08-31 Brett Neumeier <brett@neumeier.us>
949
950 [BZ #18870]
951 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
952
953 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
954
955 [BZ #18873]
956 Fix broken overflow check in posix_fallocate
957 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
958 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
959 Fix parenthesization typo.
960
961 2015-08-28 Mike Frysinger <vapier@gentoo.org>
962
963 [BZ #18887]
964 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
965 tst-mntent-blank-passno.
966 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
967 * misc/tst-mntent-blank-corrupt.c: New test.
968 * misc/tst-mntent-blank-passno.c: New test ripped from ...
969 * misc/tst-mntent.c (do_test): ... here.
970
971 2015-08-29 Mike Frysinger <vapier@gentoo.org>
972
973 [BZ #4404]
974 * po/de.po: Fix SIGALRM typo.
975
976 2015-08-28 James Perkins <james@loowit.net>
977
978 * time/tst-strptime2.c (tests): Replace short list of test
979 strings for strptime %z specifier with code which exhaustively
980 tests every combination of sign and 0 to 5 digits. Tests for
981 rejection of invalid strings.
982
983 2015-08-28 James Perkins <james@loowit.net>
984
985 [BZ #16141]
986 * time/strptime_l.c (__strptime_internal): Fix %z minutes
987 calculation, removing incorrect decimal time rounding, so that
988 all minute values result in a valid seconds value.
989 * time/strptime_l.c (__strptime_internal): Extend %z time zone
990 offset range limits to UTC-99:59 through UTC+99:59 to parse
991 current and historical use cases.
992 * time/tst-strptime2.c (tests): Modify and add tests for the
993 strptime %z input field descriptor, specifically conversion of
994 minutes to seconds and validating an offset range of -9959 to
995 +9959.
996
997 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
998 Dmitry V. Levin <ldv@altlinux.org>
999
1000 [BZ #18877]
1001 * posix/Makefile (tests): Add tst-mmap-offset.
1002 * posix/tst-mmap.c: New file.
1003 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1004 offset calculation for negative values.
1005
1006 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 * sysdeps/i386/init-arch.h: New file.
1009 * sysdeps/i386/i586/init-arch.h: Likewise.
1010 * sysdeps/i386/i686/init-arch.h: Likewise.
1011 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1012 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1013 * sysdeps/x86/cpu-features.h (bit_I586): New.
1014 (bit_I686): Likewise.
1015 (bit_CX8): Likewise.
1016 (bit_CMOV): Likewise.
1017 (index_CX8): Likewise.
1018 (index_CMOV): Likewise.
1019 (index_I586): Likewise.
1020 (index_I686): Likewise.
1021 (reg_CX8): Likewise.
1022 (reg_CMOV): Likewise.
1023 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1024 available at compile-time.
1025 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1026 available at compile-time.
1027 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1028 (USE_I686): Likewise.
1029
1030 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1031
1032 * sysdeps/i386/bcopy.S: New file.
1033 * sysdeps/i386/bzero.S: Likewise.
1034 * sysdeps/i386/memcpy.S: Likewise.
1035 * sysdeps/i386/memmove.S: Likewise.
1036 * sysdeps/i386/mempcpy.S: Likewise.
1037 * sysdeps/i386/memset.S: Likewise.
1038 * sysdeps/i386/bzero.c: Removed.
1039 * sysdeps/i386/memset.c: Likewise.
1040 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1041 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1042 * sysdeps/i386/i586/memset_chk.S: Likewise.
1043 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1044 * sysdeps/i386/memcpy_chk.S: Here.
1045 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1046 * sysdeps/i386/memmove_chk.S: Here.
1047 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1048 * sysdeps/i386/mempcpy_chk.S: Likewise.
1049 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1050 * sysdeps/i386/memset_chk.S: Likewise.
1051
1052 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1053
1054 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1055 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1056 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1057 * soft-fp/fmadf4.c: Ditto.
1058 * soft-fp/fmatf4.c: Ditto.
1059
1060 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1061
1062 * sysdeps/i386/i586/Implies: Removed.
1063 * sysdeps/i386/i686/Implies: Likewise.
1064
1065 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * sysdeps/i386/i486/strlen.S: Moved to ...
1068 * sysdeps/i386/strlen.S: Here.
1069
1070 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 * sysdeps/i386/i486/strcat.S: Moved to ...
1073 * sysdeps/i386/strcat.S: Here.
1074
1075 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1078 * sysdeps/i386/pthread_spin_trylock.S: Here.
1079 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1080 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1081
1082 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1085 * sysdeps/i386/string-inlines.c: Here.
1086
1087 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 * sysdeps/i386/i486/htonl.S: Moved ...
1090 * sysdeps/i386/htonl.S: here.
1091
1092 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1095 * sysdeps/i386/bits/atomic.h: Here.
1096
1097 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 * sysdeps/i386/i486/Versions: Removed.
1100
1101 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1102
1103 [BZ #2898]
1104 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1105 Based on patch by Aurelien Jarno.
1106
1107 2015-08-26 Stan Shebs <stanshebs@google.com>
1108
1109 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1110 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1111
1112 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1113
1114 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1115 * sysdeps/powerpc/dl-procinfo.c:
1116 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1117 feature so it shows when LD_SHOW_AUXV=1.
1118
1119 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1120
1121 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1122 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1123 definition. ISA 2.07B no longer requires full sync.
1124
1125 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1126
1127 [BZ #18863]
1128 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1129 (si_call_addr): Define.
1130 (si_syscall): Define.
1131 (si_arch): Define.
1132
1133 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1136 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1137 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1138 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1139 (__memset_zero_constant_len_parameter): New.
1140 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1141 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1142 (__memset_zero_constant_len_parameter): Don't define if
1143 __memset_chk or USE_AS_BZERO are defined.
1144
1145 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1146 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1147 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1148
1149 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1150 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1151 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1152 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1153 comments.
1154 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1155 -mno-mmx for $(all-rtld-routines).
1156 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1157 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1158 i386.
1159
1160 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1161
1162 * sysdeps/generic/unwind.h
1163 (_Unwind_Word): Use __mode__(__unwind_word__)
1164 instead of __mode__(__word__).
1165 (_Unwind_Sword): Likewise.
1166
1167 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1168 (MAX_NEEDED_INPUT): New define.
1169 (MAX_NEEDED_OUTPUT): New define.
1170
1171 * NEWS: New item for IBM z13 string optimizations.
1172
1173 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1174 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1175 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1176 * sysdeps/s390/multiarch/Makefile
1177 (sysdep_routines): Add memrchr functions.
1178 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1179 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1180
1181 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1182 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1183 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1184 * sysdeps/s390/multiarch/Makefile
1185 (sysdep_routines): Add wmemcmp functions.
1186 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1187 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1188 * benchtests/bench-wmemcmp.c: New File.
1189 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1190
1191 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1192 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1193 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1194 * sysdeps/s390/multiarch/Makefile
1195 (sysdep_routines): Add wmemset functions.
1196 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1197 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1198 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1199 * string/test-memset.c: Add wmemset support.
1200 * wcsmbs/test-wmemset.c: New File.
1201 * wcsmbs/Makefile (strop-tests): Add wmemset.
1202 * benchtests/bench-memset.c: Add wmemset support.
1203 * benchtests/bench-wmemset.c: New File.
1204 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1205
1206 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1207 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1208 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1209 * sysdeps/s390/multiarch/Makefile
1210 (sysdep_routines): Add memccpy functions.
1211 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1212 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1213 * string/memccpy.c: Use MEMCCPY if defined.
1214
1215 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1216 * sysdeps/s390/multiarch/memchr.c: Likewise.
1217 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1218 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1219 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1220 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1221 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1222 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1223 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1224 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1225 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1226 and rawmemchr functions.
1227 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1228 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1229 and wmemchr.
1230 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1231 * string/test-memchr.c: Add wmemchr support.
1232 * wcsmbs/test-wmemchr.c: New File.
1233 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1234 * benchtests/bench-memchr.c: Add wmemchr support.
1235 * benchtests/bench-wmemchr.c: New File.
1236 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1237
1238 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1239 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1240 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1241 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1242 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1243 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1244 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1245 wcscspn functions.
1246 * sysdeps/s390/multiarch/ifunc-impl-list.c
1247 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1248 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1249 * string/test-strcspn.c: Add wcscspn support.
1250 * wcsmbs/test-wcscspn.c: New File.
1251 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1252 * benchtests/bench-strcspn.c: Add wcscspn support.
1253 * benchtests/bench-wcscspn.c: New File.
1254 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1255
1256 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1257 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1258 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1259 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1260 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1261 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1262 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1263 wcspbrk functions.
1264 * sysdeps/s390/multiarch/ifunc-impl-list.c
1265 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1266 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1267 * string/test-strpbrk.c: Add wcspbrk support.
1268 * wcsmbs/test-wcspbrk.c: New File.
1269 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1270 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1271 * benchtests/bench-wcspbrk.c: New File.
1272 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1273
1274 * sysdeps/s390/multiarch/strspn-c.c: New File.
1275 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1276 * sysdeps/s390/multiarch/strspn.c: Likewise.
1277 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1278 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1279 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1280 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1281 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1282 wcsspn functions.
1283 * sysdeps/s390/multiarch/ifunc-impl-list.c
1284 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1285 * string/test-strspn.c: Add wcsspn support.
1286 * wcsmbs/test-wcsspn.c: New File.
1287 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1288 * benchtests/bench-strspn.c: Add wcsspn support.
1289 * benchtests/bench-wcsspn.c: New File.
1290 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1291
1292 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1293 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1294 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1295 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1296 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1297 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1298 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1299 wcsrchr functions.
1300 * sysdeps/s390/multiarch/ifunc-impl-list.c
1301 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1302 * benchtests/bench-wcsrchr.c: New File.
1303 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1304
1305 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1306 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1307 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1308 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1309 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1310 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1312 wcschrnul functions.
1313 * sysdeps/s390/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1315 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1316 * string/test-strchr.c: Add wcschrnul support.
1317 * wcsmbs/test-wcschrnul.c: New File.
1318 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1319 * benchtests/bench-strchr.c: Add wcschrnul support.
1320 * benchtests/bench-wcschrnul.c: New File.
1321 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1322
1323 * sysdeps/s390/multiarch/strchr-c.c: New File.
1324 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1325 * sysdeps/s390/multiarch/strchr.c: Likewise.
1326 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1327 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1328 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1329 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1330 wcschr functions.
1331 * sysdeps/s390/multiarch/ifunc-impl-list.c
1332 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1333 * string/strchr.c (STRCHR): Define and use macro.
1334 * benchtests/bench-wcschr.c: New File.
1335 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1336
1337 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1338 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1339 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1340 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1341 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1342 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1343 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1344 wcsncmp functions.
1345 * sysdeps/s390/multiarch/ifunc-impl-list.c
1346 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1347 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1348 * benchtests/bench-strncmp.c: Add wcsncmp support.
1349 * benchtests/bench-wcsncmp.c: New File.
1350 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1351
1352 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1353 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1354 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1355 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1356 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1357 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1358 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1359 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1360 wcscmp functions.
1361 * sysdeps/s390/multiarch/ifunc-impl-list.c
1362 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1363 * string/strcmp.c (STRCMP): Define and use macro.
1364 * benchtests/bench-wcscmp.c: New File.
1365 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1366 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1367 instead of _HAVE_STRING_ARCH_memchr.
1368
1369 * sysdeps/s390/multiarch/strncat-c.c: New File.
1370 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1371 * sysdeps/s390/multiarch/strncat.c: Likewise.
1372 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1373 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1374 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1375 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1376 wcsncat functions.
1377 * sysdeps/s390/multiarch/ifunc-impl-list.c
1378 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1379 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1380 * string/test-strncat.c: Add wcsncat support.
1381 * wcsmbs/test-wcsncat.c: New File.
1382 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1383 * benchtests/bench-strncat.c: Add wcsncat support.
1384 * benchtests/bench-wcsncat.c: New File.
1385 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1386
1387 * sysdeps/s390/multiarch/strcat-c.c: New File.
1388 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1389 * sysdeps/s390/multiarch/strcat.c: Likewise.
1390 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1391 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1392 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1393 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1394 wcscat functions.
1395 * sysdeps/s390/multiarch/ifunc-impl-list.c
1396 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1397 * string/strcat.c (STRCAT): Define and use macro.
1398 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1399 * string/test-strcat.c: Add wcscat support.
1400 * wcsmbs/test-wcscat.c: New File.
1401 * wcsmbs/Makefile (strop-tests): Add wcscat.
1402 * benchtests/bench-strcat.c: Add wcscat support.
1403 * benchtests/bench-wcscat.c: New File.
1404 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1405
1406 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1407 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1408 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1409 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1410 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1411 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1412 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1413 wcpncpy functions.
1414 * sysdeps/s390/multiarch/ifunc-impl-list.c
1415 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1416 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1417 * string/test-stpncpy.c: Add wcpncpy support.
1418 * wcsmbs/test-wcpncpy.c: New File.
1419 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1420 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1421 * benchtests/bench-wcpncpy.c: New File.
1422 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1423
1424 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1425 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1426 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1427 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1428 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1429 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1430 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1431 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1432 wcsncpy functions.
1433 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1434 * sysdeps/s390/multiarch/ifunc-impl-list.c
1435 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1436 * string/test-strncpy.c: Add wcsncpy support.
1437 * wcsmbs/test-wcsncpy.c: New File.
1438 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1439 * benchtests/bench-strncpy.c: Add wcsncpy support.
1440 * benchtests/bench-wcsncpy.c: New File.
1441 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1442
1443 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1444 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1445 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1446 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1447 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1448 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1449 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1450 wcpcpy functions.
1451 * string/stpcpy.c: Use STPCPY if defined.
1452 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1453 * sysdeps/s390/multiarch/ifunc-impl-list.c
1454 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1455 * string/test-stpcpy.c: Add wcpcpy support.
1456 * wcsmbs/test-wcpcpy.c: New File.
1457 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1458 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1459 * benchtests/bench-wcpcpy.c: New File.
1460 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1461
1462 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1463 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1464 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1465 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1466 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1467 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1468 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1469 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1470 wcscpy functions.
1471 * sysdeps/s390/multiarch/ifunc-impl-list.c
1472 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1473 * benchtests/bench-wcscpy.c: New File.
1474 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1475
1476 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1477 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1478 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1479 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1480 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1481 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1482 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1483 wcsnlen functions.
1484 * sysdeps/s390/multiarch/ifunc-impl-list.c
1485 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1486 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1487 * string/test-strnlen.c: Add wcsnlen support.
1488 * wcsmbs/test-wcsnlen.c: New File.
1489 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1490 * benchtests/bench-strnlen.c: Add wcsnlen support.
1491 * benchtests/bench-wcsnlen.c: New File.
1492 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1493
1494 * sysdeps/s390/multiarch/Makefile: New File.
1495 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1496 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1497 * sysdeps/s390/multiarch/strlen.c: Likewise.
1498 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1499 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1500 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1501 * string/strlen.c (STRLEN): Define and use macro.
1502 * sysdeps/s390/multiarch/ifunc-impl-list.c
1503 (IFUNC_VX_IMPL): New macro function.
1504 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1505 * benchtests/Makefile (wcsmbs-bench): New variable.
1506 (string-bench-all): Added wcsmbs-bench.
1507 * benchtests/bench-wcslen.c: New File.
1508
1509 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1510 s390_vx_libc_ifunc2): New macro function.
1511
1512 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1513 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1514 assembler support.
1515 * sysdeps/s390/configure: Regenerated.
1516
1517 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1518 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1519
1520 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1521 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1522 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1523
1524 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1525 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1526 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1527 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1528 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1529 (memcmp, bcmp): Use __memcmp_default as alias source.
1530 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1531 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1532 Rename to __memcmp_default.
1533 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1534 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1535 (memcpy): Use __memcpy_default as alias source.
1536 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1537 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1538 Rename to __memcpy_default.
1539 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1540 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1541 (memset): Use __memset_default as alias source.
1542 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1543 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1544 Rename to __memset_default.
1545 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1546 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1547 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1548 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1549 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1550 (memcmp, bcmp): Use __memcmp_default as alias source.
1551 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1552 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1553 Rename to __memcmp_default.
1554 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1555 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1556 (memcpy): Use __memcpy_default as alias source.
1557 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1558 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1559 Rename to __memcpy_default.
1560 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1561 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1562 (memset): Use __memset_default as alias source.
1563 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1564 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1565 Rename to __memset_default.
1566 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1567 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1568
1569 [BZ #18610]
1570 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1571 __ieee_instruction_pointer to __unused.
1572 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1573 __ieee_instruction_pointer.
1574 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1575 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1576 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1577 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1578 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1579 Mark dxc-field as reserved.
1580
1581 2015-08-25 Roland McGrath <roland@hack.frob.com>
1582
1583 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1584 if the weak reference is not null.
1585
1586 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1589
1590 [BZ #11214]
1591 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1592
1593 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1594
1595 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1596 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1597 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1598 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1599 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1600 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1601 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1602 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1603 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1604 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1605 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1606 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1607 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1608 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1609 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1610 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1611 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1612 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1613
1614 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1617 register other than r0 for tabort, it has special meaning.
1618 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1619 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1620 transaction before starting syscall.
1621
1622 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1623
1624 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1625
1626 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1629
1630 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1631 * sysdeps/x86_64/rtld-memset.S: Likewise.
1632 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1633 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1634 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1635 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1636
1637 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1638
1639 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1640
1641 * debug/strcpy_chk.c: Improve performance.
1642 * debug/stpcpy_chk.c: Likewise.
1643 * sysdeps/x86_64/strcpy_chk.S: Remove.
1644 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1645
1646 [BZ #18240]
1647 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1648
1649 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1650
1651 [BZ #15128]
1652 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1653 ifuncmain8.
1654 (modules-names): Add ifuncmod8.
1655 ($(objpfx)ifuncmain8): New rule.
1656 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1657 <cpuid.h>.
1658 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1659 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1660 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1661 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1662 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1663 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1664 * sysdeps/x86_64/ifuncmain8.c: New file.
1665 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1666 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1667 Removed.
1668 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1669 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1670 Change rtld_savespace_sse to __glibc_unused2.
1671 (RTLD_CHECK_FOREIGN_CALL): Removed.
1672 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1673 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1674 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1675
1676 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1677
1678 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1679
1680 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1681
1682 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1683 Unconditionally set __fpcr to avoid uninialized warning.
1684 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1685
1686 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1687
1688 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1689 is corrupt.
1690
1691 * malloc/arena.c (arena_get2): Drop unused argument.
1692 (arena_lock): Adjust.
1693 (arena_get_retry): Likewise.
1694
1695 2015-08-24 Andreas Schwab <schwab@suse.de>
1696
1697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1698 Don't define.
1699 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1700 (__ASSUME_IPC64): Don't undef.
1701 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1702 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1703 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1704 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1705 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1706 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1707 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1708 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1709 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1710 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1711 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1713 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1714 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1715 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1716 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1719 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1720 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1721 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1722
1723 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1724
1725 * manual/Makefile (install): Only build manual when perl is available.
1726
1727 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1728
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1730 '#undef memcpy' by '#undef memchr'.
1731
1732 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1733
1734 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1735 memchr not point to the internal __GI_memchr implementation.
1736
1737 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1738
1739 * timezone/Makefile (CFLAGS-zdump.c): Remove
1740 -Wno-strict-prototypes.
1741 (CFLAGS-zic.c): Likewise.
1742 (CFLAGS-ialloc.c): Likewise.
1743 (CFLAGS-scheck.c): Likewise.
1744
1745 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1746 -Wno-error=undef.
1747
1748 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 * i386/i686/multiarch/strcasestr-c.c: Removed.
1751 * x86_64/multiarch/strcasestr.c: Likewise.
1752 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1753 Remove strcasestr.
1754
1755 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1756
1757 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1758
1759 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1760 variables for high and low parts before possibly modifying them.
1761
1762 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1765 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1766 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1767 of "multiarch/init-arch.h".
1768 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1769 * sysdeps/x86/init-arch.h: This.
1770
1771 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1772
1773 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1774 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1775
1776 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1777
1778 [BZ #17787]
1779 * manual/macros.texi: Add twoexp macro.
1780 * manual/filesys.texi: Fix exponents.
1781 * manual/llio.texi: Likewise.
1782 * manual/stdio.texi: Likewise.
1783
1784 2015-08-20 Florian Weimer <fweimer@redhat.com>
1785
1786 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1787 incorrect use.
1788
1789 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #18370]
1792 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1793 whose real or imaginary part has small absolute value.
1794 * math/s_csqrtf.c (__csqrtf): Likewise.
1795 * math/s_csqrtl.c (__csqrtl): Likewise.
1796 * math/auto-libm-test-in: Add more tests of csqrt.
1797 * math/auto-libm-test-out: Regenerated.
1798 * sysdeps/i386/fpu/libm-test-ulps: Update.
1799
1800 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1801
1802 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1803 __ppc_set_ppr_very_low): New functions.
1804 * manual/platform.texi: Add documentation about
1805 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1806
1807 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1808
1809 * string/stpncpy.c (stpncpy): Improve performance using
1810 __strnlen/memcpy/memset.
1811
1812 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1813
1814 [BZ #18796]
1815 * scripts/test-installation.pl: Don't add -lmvec to build options if
1816 libmvec wasn't built.
1817
1818 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1819
1820 [BZ #14341]
1821 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1822 case when there is a gap between DT_REL and DT_JMPREL sections.
1823 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1824 (LDFLAGS-tst-split-dynreloc): New.
1825 (tst-split-dynreloc-ENV): Likewise.
1826 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1827 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1828
1829 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1830
1831 [BZ #18822]
1832 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1833 attribute_hidden.
1834 (__xstat64_conv): Likewise.
1835 (__xstat32_conv): Likewise.
1836
1837 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1838
1839 [BZ #18822]
1840 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1841 Don't load %ebx when calling __setcontext. Call __setcontext
1842 with HIDDEN_JUMPTARGET.
1843 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1844 libc_hidden_def.
1845
1846 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1847
1848 * sysdeps/i386/i686/Makefile
1849 [$(subdir) == string] (sysdep_routines): Moved to ...
1850 * sysdeps/i386/Makefile: Here.
1851 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1852 * sysdeps/i386/cacheinfo.c: Here.
1853 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1854 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1855 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1856 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1857
1858 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1859
1860 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1861 __i586__ is defined.
1862 (HAS_I686): Defined to 1 if __i686__ is defined.
1863
1864 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1865
1866 * elf/Makefile [$(have-z-execstack) = yes]
1867 (CPPFLAGS-tst-execstack.c): New variable.
1868
1869 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1870 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1871 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1872 UTMPX || _HAVE_UT_TV].
1873 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1874 UTMPX || _HAVE_UT_TV - 0].
1875
1876 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1877
1878 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1879 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1880 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1881
1882 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/dl-procinfo.c:
1885 (_dl_powerpc_cap_flags): Added missing strings for some
1886 hwcap features.
1887 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1888
1889 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1890
1891 Port the 0x7efe...feff pattern to GCC 6.
1892 See Steve Ellcey's bug report in:
1893 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1894 * string/memrchr.c (MEMRCHR):
1895 * string/rawmemchr.c (RAWMEMCHR):
1896 * string/strchr.c (strchr):
1897 * string/strchrnul.c (STRCHRNUL):
1898 Rewrite code to avoid issues with signed shift overflow.
1899
1900 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1903 whether cpuid is available only if HAS_CPUID is 0.
1904 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1905 (HAS_I586): Likewise.
1906 (HAS_I686): Likewise.
1907
1908 2015-08-18 Zack Weinberg <zackw@panix.com>
1909
1910 * misc/Versions (libc): Add GLIBC_2.23.
1911
1912 2015-08-18 Alan Modra <amodra@gmail.com>
1913
1914 [BZ #18421]
1915 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1916 .Lp__global.
1917 (_start): Load %dp via .Lp__global.
1918 [!SHARED]: Use .section .rodata.
1919
1920 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1921
1922 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1923 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1924
1925 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1926
1927 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1928 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1929
1930 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1931
1932 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1933 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1934
1935 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1936
1937 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1938 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1939
1940 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1941
1942 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1943 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1944
1945 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1946
1947 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1948 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1949
1950 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1951
1952 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1953
1954 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1955
1956 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1957 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1958 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1959 (__ASSUME_LWS_CAS): Delete.
1960
1961 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1962
1963 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1964 * sysdeps/hppa/configure: Regenerated.
1965 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1966 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1967 * sysdeps/hppa/nptl/tls.h: Likewise.
1968
1969 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1970
1971 [BZ #18823]
1972 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1973 for scaling up small arguments.
1974 * math/s_csqrtf.c (__csqrtf): Likewise.
1975 * math/s_csqrtl.c (__csqrtl): Likewise.
1976 * math/auto-libm-test-in: Add more tests of csqrt.
1977 * math/auto-libm-test-out: Regenerated.
1978
1979 2015-08-17 Andreas Schwab <schwab@suse.de>
1980
1981 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1982 version set GLIBC_2.19.
1983
1984 2015-08-16 Zack Weinberg <zackw@panix.com>
1985
1986 [BZ #18681]
1987 * misc/regexp.h: This interface is no longer supported.
1988 Remove all contents, leaving only an #error directive.
1989 * misc/regexp.c (loc1, loc2, locs, step, advance):
1990 Demote to compatibility symbols.
1991
1992 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1993
1994 [BZ #18084]
1995 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1996 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1997 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1998 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1999 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2000 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2001 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2002 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2003 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2004
2005 2015-08-15 Zack Weinberg <zackw@panix.com>
2006
2007 [BZ #18795]
2008 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2009 buffer length is known to be too large, not if it's known to be
2010 small enough.
2011 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2012 overflow at runtime, involving a length parameter, twice: once
2013 with a compile-time constant length parameter, once without.
2014
2015 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2016
2017 [BZ #18824]
2018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2019 scaling x * y up instead of down.
2020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2022 * math/auto-libm-test-in: Add more tests of fma.
2023 * math/auto-libm-test-out: Regenerated.
2024
2025 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2026
2027 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2028
2029 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2032 unnecessary movq.
2033 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2034 Likewise.
2035
2036 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2037
2038 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2039 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2040 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2041 and tgamma.
2042 * math/auto-libm-test-out: Regenerated.
2043 * sysdeps/i386/fpu/libm-test-ulps: Update.
2044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2045
2046 [BZ #16520]
2047 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2048 (__tanh): Force underflow exception for arguments with small
2049 absolute value.
2050 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2051 (__tanhf): Force underflow exception for arguments with small
2052 absolute value.
2053 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2054 (__tanhl): Force underflow exception for arguments with small
2055 absolute value.
2056 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2057 (__tanhl): Force underflow exception for arguments with small
2058 absolute value.
2059 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2060 (__tanhl): Force underflow exception for arguments with small
2061 absolute value.
2062 * math/auto-libm-test-in: Add more tests of tanh.
2063 * math/auto-libm-test-out: Regenerated.
2064 * sysdeps/i386/fpu/libm-test-ulps: Update.
2065
2066 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2069 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2070
2071 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2074 <cpuid.h>.
2075
2076 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2079 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2080
2081 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2084 Remove $(objpfx)init-arch.o.
2085 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2086 init-arch.
2087 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2088 (INIT_ARCH_EXT): Defined as empty.
2089 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2090 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2091 __init_cpu_features call. Replace HAS_XXX with
2092 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2093 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2094 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2096 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2098 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2099 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2100 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2101 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2103 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2104 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2105 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2107 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2108 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2109 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2110 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2111 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2112 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2113 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2114 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2115 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2116 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2117 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2118 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2119 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2120 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2121 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2122 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2123 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2124 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2125 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2126 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2127 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2128
2129 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2130
2131 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2132 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2133 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2134 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2135 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2136 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2137 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2138 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2139 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2140 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2141 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2142 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2143 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2144 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2145 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2146 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2147 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2150 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2151 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2154 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2155 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2156 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2160 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2161 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2163 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2168 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2169 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2170 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2171 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2172 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2173 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2174
2175 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2178 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2181 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2182 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2184 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2185 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2188 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2189 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2190 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2191 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2192 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2193 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2194 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2195 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2196 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2198 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2199 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2200 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2201 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2202 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2203 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2204 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2205 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2206 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2207 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2208 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2209 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2210 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2211 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2212 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2213 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2214 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2215 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2216 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2217 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2218 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2219 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2220
2221 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2224 (dl_platform_init): Call init_cpu_features.
2225 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2226 * sysdeps/i386/i686/cacheinfo.c
2227 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2228 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2229 * sysdeps/i386/i686/multiarch/Versions: Removed.
2230 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2231 Removed.
2232 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2233 * sysdeps/unix/sysv/linux/x86/Makefile
2234 (libpthread-sysdep_routines): Remove init-arch.
2235 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2236 <sysdeps/x86_64/dl-procinfo.c> instead of
2237 sysdeps/generic/dl-procinfo.c>.
2238 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2239 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2240 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2241 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2242 [$(subdir) == elf] (tests-static): Add
2243 tst-get-cpu-features-static.
2244 * sysdeps/x86/Versions: New file.
2245 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2246 * sysdeps/x86/cpu-features.c: Likewise.
2247 * sysdeps/x86/cpu-features.h: Likewise.
2248 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2249 * sysdeps/x86/libc-start.c: Likewise.
2250 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2251 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2252 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2253 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2254 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2255 Assume USE_MULTIARCH is defined and don't check it.
2256 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2257 (is_amd): Likewise.
2258 (max_cpuid): Likewise.
2259 (intel_check_word): Likewise.
2260 (__cache_sysconf): Don't call __init_cpu_features.
2261 (__x86_preferred_memory_instruction): Removed.
2262 (init_cacheinfo): Don't call __init_cpu_features. Replace
2263 __cpu_features with GLRO(dl_x86_cpu_features).
2264 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2265 (dl_platform_init): Call init_cpu_features.
2266 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2267 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2268 * sysdeps/x86_64/multiarch/Versions: Removed.
2269 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2270 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2271 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2272 Removed.
2273 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2274
2275 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2276
2277 [BZ #18820]
2278 * libio/Makefile (test-fmemopen-mem): New test.
2279 * libio/test-fmemopen.c (do_bz18820): New test.
2280 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2281 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2282
2283 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2284
2285 [BZ #16734]
2286 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2287 (FREE_BUF): Delete.
2288 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2289 * libio/genops.c (_IO_setb): Use malloc and free directly.
2290 (_IO_default_doallocate, _IO_default_finish): Likewise.
2291 ( _IO_unbuffer_all): Likewise.
2292 ( libc_freeres_fn): Likewise.
2293 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2294 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2295 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2296 (_IO_wdefault_doallocate): Likewise.
2297
2298 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2299
2300 [BZ #18086]
2301 * sysdeps/posix/nice.c (nice): Restore old errno.
2302 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2303
2304 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2305
2306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2307
2308 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2309
2310 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2311 __bcopy and add a weak_alias to bcopy.
2312 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2313 for static build.
2314
2315 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2316 cleanup macro usage.
2317 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2318 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2319 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2324 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2325 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2326 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2327 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2328 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2329 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2330 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2331 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2332 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2333 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2334 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2335 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2336
2337 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2338 libc_hidden_def.
2339 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2340
2341 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2342 (sysdep_routines): Add strstr-ppc64.
2343 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2344
2345 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2346
2347 [BZ #18778]
2348 * elf/Makefile (tests): Add Add tst-nodelete2.
2349 (modules-names): Add tst-nodelete2mod.
2350 (tst-nodelete2mod.so-no-z-defs): New.
2351 ($(objpfx)tst-nodelete2): Likewise.
2352 ($(objpfx)tst-nodelete2.out): Likewise.
2353 (LDFLAGS-tst-nodelete2): Likewise.
2354 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2355 out of loop through all loaded libraries.
2356 * elf/tst-nodelete2.c: New file.
2357 * elf/tst-nodelete2mod.c: Likewise.
2358 * elf/tst-znodelete-zlib.cc: Delete.
2359
2360 2015-08-11 Andreas Schwab <schwab@suse.de>
2361
2362 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2363 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2364 (__openat64_nocancel): Likewise.
2365
2366 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2367
2368 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2369 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2370 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2371 * math/auto-libm-test-out: Regenerated.
2372 * sysdeps/i386/fpu/libm-test-ulps: Update.
2373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2374
2375 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2376
2377 [BZ #18790]
2378 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2379 threshold for returning +/- 1.
2380 * math/auto-libm-test-in: Add more tests of tanh.
2381 * math/auto-libm-test-out: Regenerated.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383
2384 2015-08-10 Andreas Schwab <schwab@suse.de>
2385
2386 [BZ #18781]
2387 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2388 MORE_OFLAGS to oflag.
2389 * io/test-lfs.c (do_test): Test openat64.
2390
2391 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2392
2393 [BZ #18789]
2394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2395 smaller threshold for returning the argument.
2396 * math/auto-libm-test-in: Add more tests of sinh.
2397 * math/auto-libm-test-out: Regenerated.
2398 * sysdeps/i386/fpu/libm-test-ulps: Update.
2399
2400 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 [BZ #18674]
2403 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2404 break.
2405
2406 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2407
2408 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2409 (generated): Don't add $(addprefix z.,$(tzfiles)).
2410
2411 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2412
2413 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2414 * scripts/sysd-rules.awk: Likewise.
2415
2416 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2417
2418 * iconvdata/tst-tables.sh: Change echo -n to printf.
2419 * nss/db-Makefile: Likewise.
2420 * posix/tst-getconf.sh: Likewise.
2421 * stdio-common/tst-unbputc.sh: Likewise.
2422
2423 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2424
2425 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2426 MADV_*_PAGES defines behind this feature check.
2427
2428 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2429
2430 [BZ #18480]
2431 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2432 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2433 Define.
2434 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2435 LOAD_REGS_5, LOAD_REGS_6): Update.
2436 (INTERNAL_SYSCALL): Update using new LOAD defines.
2437 (INTERNAL_SYSCALL_NCS): Likewise.
2438 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2439
2440 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2441
2442 [BZ #16734]
2443 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2444
2445 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2446
2447 [BZ #17905]
2448 * catgets/Makefile (tst-catgets-mem): New test.
2449 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2450 * catgets/open_catalog.c (__open_catalog): Likewise.
2451 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2452
2453 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2454
2455 [BZ #18787]
2456 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2457 clobber registers.
2458 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2459 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2460 Cast return to __typeof (oldval).
2461
2462 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2463
2464 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2465 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2466 and delete sys/syscall.h include.
2467
2468 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2469
2470 [BZ #16517]
2471 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2472 (tan): Force underflow exception for arguments with small absolute
2473 value.
2474 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2475 (__kernel_tanf): Force underflow exception for arguments with
2476 small absolute value.
2477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2478 (__kernel_tanl): Force underflow exception for arguments with
2479 small absolute value.
2480 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2481 (__kernel_tanl): Force underflow exception for arguments with
2482 small absolute value.
2483 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2484 (__kernel_tanl): Force underflow exception for arguments with
2485 small absolute value.
2486 * math/auto-libm-test-in: Add more tests of tan.
2487 * math/auto-libm-test-out: Regenerated.
2488
2489 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2490
2491 Fix sysdeps/i386/fpu/s_scalbn.S build
2492
2493 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2494
2495 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2496
2497 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2498
2499 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2500
2501 Fix gcrt0.o compilation
2502
2503 When static-start-installed-name is different from
2504 start-installed-name, we must not use the shared objects.
2505
2506 * csu/Makefile
2507 (extra-objs): Add gmon-start.o when building shared library and
2508 $(static-start-installed-name) is different from
2509 $(start-installed-name).
2510 $(objpfx)g$(static-start-installed-name): When building shared
2511 library and $(static-start-installed-name) is different from
2512 $(static-start-installed-name), revert to non-shared rule,
2513 i.e. using $(objpfx)% and gmon-start.o.
2514
2515 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2516
2517 [BZ #16519]
2518 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2519 (__ieee754_sinh): Force underflow exception for arguments with
2520 small absolute value.
2521 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2522 (__ieee754_sinhf): Force underflow exception for arguments with
2523 small absolute value.
2524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2525 (__ieee754_sinhl): Force underflow exception for arguments with
2526 small absolute value.
2527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2528 (__ieee754_sinhl): Force underflow exception for arguments with
2529 small absolute value.
2530 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2531 (__ieee754_sinhl): Force underflow exception for arguments with
2532 small absolute value.
2533 * math/auto-libm-test-in: Add more tests of sinh.
2534 * math/auto-libm-test-out: Regenerated.
2535 * sysdeps/i386/fpu/libm-test-ulps: Update.
2536
2537 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2538
2539 * libio/oldfileops.c: Include unistd.h.
2540
2541 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2542
2543 * stdlib/isomac.c: Include ctype.h.
2544
2545 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2546
2547 * dirent/tst-seekdir.c (main): Converted to ...
2548 (do_test): ... this.
2549 (TEST_FUNCTION): New macro.
2550 Include test-skeleton.c.
2551 * elf/tst-dlmodcount.c (main): Converted to ...
2552 (do_test): ... this.
2553 (TEST_FUNCTION): New macro.
2554 Include test-skeleton.c.
2555 * elf/tst-order-main.c (main): Converted to ...
2556 (do_test): ... this.
2557 (TEST_FUNCTION): New macro.
2558 Include test-skeleton.c.
2559 * elf/tst-pie2.c (main): Converted to ...
2560 (do_test): ... this.
2561 (TEST_FUNCTION): New macro.
2562 Include test-skeleton.c.
2563 * inet/tst-ether_aton.c (main): Converted to ...
2564 (do_test): ... this.
2565 (TEST_FUNCTION): New macro.
2566 Include test-skeleton.c.
2567 * misc/tst-mntent.c (main): Converted to ...
2568 (do_test): ... this.
2569 (TEST_FUNCTION): New macro.
2570 Include test-skeleton.c.
2571 * misc/tst-tsearch.c (main): Converted to ...
2572 (do_test): ... this.
2573 (TEST_FUNCTION): New macro.
2574 Include test-skeleton.c.
2575 * posix/tst-regexloc.c (main): Converted to ...
2576 (do_test): ... this.
2577 (TEST_FUNCTION): New macro.
2578 Include test-skeleton.c.
2579 * resolv/tst-aton.c (main): Converted to ...
2580 (do_test): ... this.
2581 (TEST_FUNCTION): New macro.
2582 Include test-skeleton.c.
2583 * stdio-common/test-fwrite.c (main): Converted to ...
2584 (do_test): ... this.
2585 (TEST_FUNCTION): New macro.
2586 Include test-skeleton.c.
2587 * stdio-common/tst-ferror.c (main): Converted to ...
2588 (do_test): ... this.
2589 (TEST_FUNCTION): New macro.
2590 Include test-skeleton.c.
2591 * stdio-common/tst-printf.c (main): Converted to ...
2592 (do_test): ... this.
2593 (TEST_FUNCTION): New macro.
2594 Include test-skeleton.c.
2595 * stdio-common/tst-printfsz.c (main): Converted to ...
2596 (do_test): ... this.
2597 (TEST_FUNCTION): New macro.
2598 Include test-skeleton.c.
2599 * stdlib/tst-strtod.c (main): Converted to ...
2600 (do_test): ... this.
2601 (TEST_FUNCTION): New macro.
2602 Include test-skeleton.c.
2603 * string/tst-strlen.c (main): Converted to ...
2604 (do_test): ... this.
2605 (TEST_FUNCTION): New macro.
2606 Include test-skeleton.c.
2607 * string/tst-svc.c (main): Converted to ...
2608 (do_test): ... this.
2609 (TEST_FUNCTION): New macro.
2610 Include test-skeleton.c.
2611 * time/tst-strptime.c (main): Converted to ...
2612 (do_test): ... this.
2613 (TEST_FUNCTION): New macro.
2614 Include test-skeleton.c.
2615 * timezone/tst-timezone.c (main): Converted to ...
2616 (do_test): ... this.
2617 (TEST_FUNCTION): New macro.
2618 Include test-skeleton.c.
2619
2620 2015-08-05 Zack Weinberg <zackw@panix.com>
2621
2622 * misc/regexp.h: Update comments.
2623
2624 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2625
2626 [BZ #18635]
2627 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2628 before return label.
2629
2630 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 [BZ #18661]
2633 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2634 when calling __errno_location.
2635 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2636 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2637
2638 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 [BZ #18661]
2641 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2642 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2643 __gettimeofday.
2644
2645 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 [BZ #18661]
2648 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2649 (__start_context): Don't use pop to restore %rdi so that stack
2650 is aligned to 16 bytes when calling __setcontext.
2651
2652 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2655 only for libc.
2656 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2657
2658 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2659
2660 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2661 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2662 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2663
2664 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2665
2666 * string/memccpy.c (memccpy):
2667 Improve performance by using memchr/memcpy/__mempcpy.
2668
2669 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2670
2671 * string/strncpy.c (strncpy):
2672 Improve performance by using __strnlen/memcpy.
2673
2674 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2675
2676 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2677 Optimize to avoid an unnecessary FPCR read.
2678
2679 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2680
2681 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2682 Optimize to reduce FPCR/FPSR accesses.
2683
2684 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2687 dead->data[category] != NULL.
2688
2689 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2690
2691 [BZ #18647]
2692 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2693 and |x| close to 1, use absolute value of x when computing log.
2694 * math/auto-libm-test-in: Add more tests of pow.
2695 * math/auto-libm-test-out: Regenerated.
2696
2697 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2698
2699 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2700 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2701 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2702
2703 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2704
2705 [BZ #18525]
2706 * locales/km_KH: Remove timezone definition.
2707 * locales/lo_LA: Likewise.
2708 * locales/my_MM: Likewise.
2709 * locales/nan_TW@latin: Likewise.
2710 * locales/th_TH: Likewise.
2711 * locales/uk_UA: Likewise.
2712
2713 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2714
2715 [BZ #18265]
2716 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2717 (wcsncat): Likewise.
2718 (wcscmp): Likewise.
2719 (wcsncmp): Likewise.
2720
2721 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2722
2723 * test-skeleton.c (usage): New function.
2724 (main): Call usage when opt is '?'.
2725
2726 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2727
2728 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2729 before first use.
2730
2731 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2732
2733 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2734 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2735 in there too.
2736
2737 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2738
2739 * version.h (RELEASE): Set to "development".
2740 (VERSION): Set to "2.22.90"
2741
2742 * version.h (RELEASE): Set to "stable".
2743 (VERSION): Set to "2.22"
2744 * include/features.h (__GLIBC_MINOR__): Set to 22.
2745
2746 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2747
2748 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2749 Restructure macro to avoid "value computed is not used" warning.
2750 (atomic_compare_and_exchange_val_acq): Likewise.
2751
2752 2015-08-04 Andreas Schwab <schwab@suse.de>
2753
2754 [BZ #18635]
2755 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2756 ret.
2757 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2758
2759 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2760
2761 * po/pl.po: Updated translation.
2762 * po/uk.po: Likewise.
2763 * po/fi.po: Likewise.
2764 * po/ko.po: Likewise.
2765 * po/ru.po: Likewise.
2766 * po/vi.po: Likewise.
2767
2768 2015-07-31 Zack Weinberg <zackw@panix.com>
2769
2770 [BZ #18681]
2771 * regexp.h: Add unconditional #warning stating that this header
2772 will be removed soon. Revise banner comment to match.
2773 (compile): Consistently use ERROR instead of RETURN to report
2774 errors (partial fix for bz#18681).
2775 * regexp.c: Don't include regexp.h. Remove some unnecessary
2776 declarations.
2777
2778 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2779
2780 * po/libc.pot: Regenerated.
2781
2782 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2783
2784 [BZ #18740]
2785 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2786 float-vlen4-arch-ext-cflags): Removed.
2787 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2788 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2789
2790 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2791
2792 [BZ #14113]
2793 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2794 aligned to __aligned__.
2795 (pthread_cond_t, pthread_rwlock_t): Likewise.
2796
2797 2015-07-30 Torvald Riegel <triegel@redhat.com>
2798
2799 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2800
2801 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2802
2803 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2804 (struct sigaction): Change sa_flags from a long to an int, and add
2805 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2806
2807 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2808
2809 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2810 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2811 sysdeps/generic/sysdep.h include.
2812 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2813 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2814 sysdeps/hppa/sysdep.h.
2815 (ENTRY, PSEUDO): Undefine before defining.
2816
2817 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2818
2819 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2820 from scratch to use INTERNAL_SYSCALL.
2821
2822 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 [BZ #18078]
2825 * scripts/check-localplt.awk: Support alternate relocations.
2826 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2827 sections.
2828 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2829 malloc entries with + REL R_386_GLOB_DAT.
2830 * sysdeps/x86_64/localplt.data: New file.
2831
2832 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2833
2834 [BZ #18731]
2835 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2836 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2837 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2838
2839 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2840
2841 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2842
2843 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2844
2845 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2846 directly in terms of __sync_fetch_and_add and delete (int) cast.
2847
2848 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2849
2850 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2851 the -D_ASM_IA64_CURRENT_H flag.
2852
2853 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2854
2855 [BZ #18641]
2856 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2857
2858 2015-07-27 Andreas Schwab <schwab@suse.de>
2859
2860 * conform/conformtest.pl (checknamespace): Filter out string
2861 literals while tokenizing.
2862
2863 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2864
2865 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2866 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2867 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2868
2869 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2870
2871 * nptl/tst-join7mod.c: Add #include <string.h>.
2872
2873 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2874
2875 * sysdeps/nios2/libm-test-ulps: Update.
2876
2877 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2878
2879 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2880 Fix order of arguments to the rt_sigprocmask syscall.
2881 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2882 Likewise.
2883
2884 2015-07-24 Roland McGrath <roland@hack.frob.com>
2885
2886 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2887
2888 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2889
2890 [BZ #18457]
2891 * nptl/Makefile (tests): New test case tst-join7.
2892 (modules-names): New test case module tst-join7mod.
2893 * nptl/tst-join7.c: New file.
2894 * nptl/tst-join7mod.c: New file.
2895 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2896 all translation units in libc.so, libpthread.so and rtld.
2897
2898 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2899
2900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2901
2902 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2903
2904 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2905 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2906 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2907 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2908 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2909 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2910 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2911 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2912 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2913 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2914 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2915 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2916 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2917 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2918 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2919 implementation.
2920
2921 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2922
2923 [BZ #17711]
2924 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2925 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2926 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2927 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2928 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2929 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2930
2931 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2932
2933 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2934 instead of just saying load lock in the comments.
2935
2936 2015-07-23 Roland McGrath <roland@hack.frob.com>
2937
2938 * sysdeps/unix/Subdirs: Moved ...
2939 * sysdeps/posix/Subdirs: ... here.
2940 * login/pty.h (struct termios, struct winsize): Add forward decls.
2941 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2942 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2943 * sysdeps/arm/nacl/libc.abilist: Updated.
2944 * sysdeps/nacl/libutil.abilist: New file.
2945
2946 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2947 (SIGWINCH): New macro.
2948
2949 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2950 * sysdeps/arm/nacl/libc.abilist: Add it.
2951
2952 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2953
2954 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2955
2956 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2957
2958 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2959 Swap __glibc_reserved0 and sa_flags order.
2960
2961 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2962
2963 [BZ #18657]
2964 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2965 are pending TLS destructor calls.
2966 * include/link.h (struct link_map): Add concurrency note for
2967 L_TLS_DTOR_COUNT.
2968 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2969 Don't touch the link map flag. Atomically increment
2970 l_tls_dtor_count.
2971 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2972 Avoid taking the load lock and don't touch the link map flag.
2973 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2974 * stdlib/Makefile (tests): Use it.
2975 * stdlib/tst-tls-atexit.c (do_test): dlopen
2976 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2977 to allow tst-tls-atexit-nodelete test case to use it.
2978
2979 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2980
2981 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2982 to bits/types.h.
2983 (msgqnum_t): New typedef.
2984 (msglen_t): Likewise.
2985 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2986 and msg_qbytes type to msglen_t.
2987
2988 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2989
2990 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2991 pad0 to __glibc_reserved0.
2992 (struct stat64): Likewise.
2993
2994 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2995
2996 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2997 Change sa_flags from a long to an int and add __glibc_reserved0 before
2998 it for padding.
2999
3000 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3001
3002 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3003 anonymous by deleting "siginfo" name.
3004
3005 2015-07-21 Roland McGrath <roland@hack.frob.com>
3006
3007 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3008 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3009 rather than __nacl_irt_filename.
3010 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3011
3012 * NEWS: New item for arm-nacl port.
3013 * sysdeps/arm/nacl/libc.abilist: New file.
3014 * sysdeps/nacl/ld.abilist: New file.
3015 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3016 * sysdeps/nacl/libanl.abilist: New file.
3017 * sysdeps/nacl/libcrypt.abilist: New file.
3018 * sysdeps/nacl/libdl.abilist: New file.
3019 * sysdeps/nacl/libm.abilist: New file.
3020 * sysdeps/nacl/libpthread.abilist: New file.
3021 * sysdeps/nacl/libresolv.abilist: New file.
3022 * sysdeps/nacl/librt.abilist: New file.
3023
3024 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3025
3026 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3027 __startcontext to initialize the new context.
3028 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3029 up CFI directive to forbid further backtracing.
3030
3031 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3032
3033 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3034 reference.
3035 * charmaps/ANSI_X3.4-1968: Likewise.
3036 * charmaps/BS_4730: Likewise.
3037 * charmaps/BS_VIEWDATA: Likewise.
3038 * charmaps/CP1250: Likewise.
3039 * charmaps/CP1251: Likewise.
3040 * charmaps/CP1252: Likewise.
3041 * charmaps/CP1253: Likewise.
3042 * charmaps/CP1254: Likewise.
3043 * charmaps/CP1255: Likewise.
3044 * charmaps/CP1256: Likewise.
3045 * charmaps/CSN_369103: Likewise.
3046 * charmaps/EBCDIC-DK-NO: Likewise.
3047 * charmaps/GB_1988-80: Likewise.
3048 * charmaps/GREEK-CCITT: Likewise.
3049 * charmaps/GREEK7: Likewise.
3050 * charmaps/INIS-8: Likewise.
3051 * charmaps/ISIRI-3342: Likewise.
3052 * charmaps/ISO_2033-1983: Likewise.
3053 * charmaps/ISO_5427-EXT: Likewise.
3054 * locales/POSIX: Likewise.
3055 * locales/ar_SA: Likewise.
3056 * locales/be_BY: Likewise.
3057 * locales/be_BY@latin: Likewise.
3058 * locales/ca_ES: Likewise.
3059 * locales/cs_CZ: Likewise.
3060 * locales/da_DK: Likewise.
3061 * locales/de_BE: Likewise.
3062 * locales/de_CH: Likewise.
3063 * locales/de_LU: Likewise.
3064 * locales/en_AU: Likewise.
3065 * locales/en_BW: Likewise.
3066 * locales/en_CA: Likewise.
3067 * locales/en_DK: Likewise.
3068 * locales/en_GB: Likewise.
3069 * locales/en_IE: Likewise.
3070 * locales/en_NZ: Likewise.
3071 * locales/en_ZA: Likewise.
3072 * locales/en_ZW: Likewise.
3073 * locales/es_AR: Likewise.
3074 * locales/es_BO: Likewise.
3075 * locales/es_CL: Likewise.
3076 * locales/es_CO: Likewise.
3077 * locales/es_DO: Likewise.
3078 * locales/es_EC: Likewise.
3079 * locales/es_ES: Likewise.
3080 * locales/es_HN: Likewise.
3081 * locales/es_MX: Likewise.
3082 * locales/es_PA: Likewise.
3083 * locales/es_PE: Likewise.
3084 * locales/es_PY: Likewise.
3085 * locales/es_SV: Likewise.
3086 * locales/es_US: Likewise.
3087 * locales/es_UY: Likewise.
3088 * locales/es_VE: Likewise.
3089 * locales/et_EE: Likewise.
3090 * locales/fa_IR: Likewise.
3091 * locales/fo_FO: Likewise.
3092 * locales/fr_CA: Likewise.
3093 * locales/fr_CH: Likewise.
3094 * locales/gv_GB: Likewise.
3095 * locales/he_IL: Likewise.
3096 * locales/hr_HR: Likewise.
3097 * locales/id_ID: Likewise.
3098 * locales/is_IS: Likewise.
3099 * locales/it_CH: Likewise.
3100 * locales/iw_IL: Likewise.
3101 * locales/kl_GL: Likewise.
3102 * locales/ko_KR: Likewise.
3103 * locales/kw_GB: Likewise.
3104 * locales/lg_UG: Likewise.
3105 * locales/lt_LT: Likewise.
3106 * locales/lv_LV: Likewise.
3107 * locales/mi_NZ: Likewise.
3108 * locales/nhn_MX: Likewise.
3109 * locales/nl_BE: Likewise.
3110 * locales/pl_PL: Likewise.
3111 * locales/sk_SK: Likewise.
3112 * locales/sl_SI: Likewise.
3113 * locales/sv_FI: Likewise.
3114 * locales/tl_PH: Likewise.
3115 * locales/tr_TR: Likewise.
3116 * locales/vi_VN: Likewise.
3117
3118 2015-07-21 Khem Raj <raj.khem@gmail.com>
3119
3120 [BZ #17475]
3121 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3122 of tu_IN and bh_IN.
3123
3124 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3125
3126 [BZ #18694]
3127 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3128 bits/wordsize.h.
3129 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3130
3131 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3132
3133 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3134 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3135 (spawn_thread): New function.
3136 (load): Rename to reg_dtor_and_close. Move dlopen to...
3137 (do_test): ... here. Use IS_LOADED to test for its
3138 availability.
3139
3140 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3141
3142 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3143
3144 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 [BZ #18696]
3147 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3148 si_addr_bnd.
3149 (si_lower): New.
3150 (si_upper): Likewise.
3151
3152 2015-07-16 David S. Miller <davem@davemloft.net>
3153
3154 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3155
3156 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3157
3158 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3159 buffer.
3160 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3161 fail output information.
3162
3163 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3164
3165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3166 and strstr-ppc64..
3167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3168 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3169 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3170 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3171 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3172
3173 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3174
3175 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3176 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3177 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3178 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3179
3180 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3181
3182 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3183 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3184 rtld_hidden_proto.
3185 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3186
3187 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3188
3189 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3190 the test can fail.
3191
3192 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3193
3194 [BZ #18676]
3195 * elf/tst-nodelete-opened.c: New test case.
3196 * elf/tst-nodelete-opened-lib.c: New test case module.
3197 * elf/Makefile (tests, modules-names): Use them.
3198 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3199 early.
3200
3201 2015-07-15 David S. Miller <davem@davemloft.net>
3202
3203 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3204 futex-intenal.h
3205 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3206 * sysdeps/sparc/sparc64/Makefile: Likewise.
3207 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3208 Remove space from macro define.
3209 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3210
3211 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3212
3213 [BZ #17475]
3214 * locale/iso-639.def: Update Bhili and Tulu language codes as
3215 per iso639-3.
3216
3217 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3218
3219 * elf/tst-leaks1.c (main): Converted to ...
3220 (do_test): ... this.
3221 (TEST_FUNCTION): New macro.
3222 Include test-skeleton.c.
3223 * localedata/tst-langinfo.c (main): Converted to ...
3224 (do_test): ... this.
3225 (TEST_FUNCTION): New macro.
3226 Include test-skeleton.c.
3227 * math/test-fpucw.c (main): Converted to ...
3228 (do_test): ... this.
3229 (TEST_FUNCTION): New macro.
3230 Include test-skeleton.c.
3231 * math/test-tgmath.c (main): Converted to ...
3232 (do_test): ... this.
3233 (TEST_FUNCTION): New macro.
3234 Include test-skeleton.c.
3235 * math/test-tgmath2.c (main): Converted to ...
3236 (do_test): ... this.
3237 (TEST_FUNCTION): New macro.
3238 Include test-skeleton.c.
3239 * setjmp/tst-setjmp.c (main): Converted to ...
3240 (do_test): ... this.
3241 (TEST_FUNCTION): New macro.
3242 Include test-skeleton.c.
3243 * stdio-common/tst-sscanf.c (main): Converted to ...
3244 (do_test): ... this.
3245 (TEST_FUNCTION): New macro.
3246 Include test-skeleton.c.
3247 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3248 (do_test): ... this.
3249 (TEST_FUNCTION): New macro.
3250 Include test-skeleton.c.
3251
3252 * elf/tst-audit9.c (main): Converted to ...
3253 (do_test): ... this.
3254 (TEST_FUNCTION): New macro.
3255 Include test-skeleton.c.
3256
3257 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3258
3259 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3260
3261 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3262
3263 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3264 New variable.
3265
3266 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3267
3268 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3269
3270 2015-07-14 Roland McGrath <roland@hack.frob.com>
3271
3272 * sysdeps/generic/dl-fileid.h: New file.
3273 * sysdeps/posix/dl-fileid.h: New file.
3274 * sysdeps/nacl/dl-fileid.h: New file.
3275 * include/link.h: Include <dl-fileid.h>.
3276 (struct link_map): Replace l_dev and l_ino with l_file_id.
3277 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3278 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3279 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3280
3281 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
3283 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3284
3285 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3286
3287 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3288 Add iff $CXX is set.
3289 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3290 Likewise.
3291 (tst-nodelete-zmodiff): Likewise.
3292 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3293
3294 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3295
3296 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3297
3298 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3299
3300 * sysdeps/aarch64/fpu/math_private.h
3301 (define math_opt_barrier): Add AArch64 version.
3302 (math_force_eval): Likewise.
3303
3304 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3305
3306 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3307
3308 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3311 %ld with %jd and cast to intmax_t.
3312 (do_test_length_zero): Likewise.
3313
3314 2015-07-10 Roland McGrath <roland@hack.frob.com>
3315
3316 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3317
3318 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3319
3320 * sysdeps/tile/libm-test-ulps: Regenerated.
3321
3322 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3323 Comment out the whole function, not just its body.
3324
3325 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3326
3327 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3328 locks.
3329
3330 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3331
3332 2015-07-10 Torvald Riegel <triegel@redhat.com>
3333
3334 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3335 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3336
3337 2015-07-10 Torvald Riegel <triegel@redhat.com>
3338
3339 * sysdeps/nptl/futex-internal.h: New file.
3340 * sysdeps/nacl/futex-internal.h: New file.
3341 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3342 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3343 error checking.
3344 (setxid_unmark_thread): Likewise.
3345 (__nptl_setxid): Likewise.
3346 (__wait_lookup_done): Likewise.
3347 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3348 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3349 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3350 * nptl/pthread_once.c (clear_once_control): Likewise.
3351 (__pthread_once_slow): Likewise.
3352 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3353 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3354 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3355 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3356 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3357 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3358 Likewise.
3359 (__pthread_rwlock_rdlock): Likewise.
3360 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3361 Likewise.
3362 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3363 Likewise.
3364 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3365 Likewise.
3366 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3367 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3368 Likewise.
3369 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3370 __ASSUME_PRIVATE_FUTEX check.
3371 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3372 Check that shared futexes are supported.
3373 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3374 wrappers with error checking.
3375 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3376 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3377 * nptl/pthread_barrierattr_setpshared.c
3378 (pthread_barrierattr_setpshared): Check that shared futexes are
3379 supported.
3380 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3381 Likewise.
3382 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3383 Likewise.
3384 * nptl/sem_init.c (futex_private_if_supported): Remove.
3385 (__new_sem_init): Adapt and check that shared futexes are supported.
3386 * nptl/sem_open.c (sem_open): Likewise.
3387 * nptl/sem_post.c (futex_wake): Remove.
3388 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3389 (do_futex_wait): Use futex wrappers with error checking.
3390 * nptl/sem_wait.c: Include lowlevellock.h.
3391 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3392 Use futex_supports_pshared.
3393 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3394 Use futex wrappers with error checking.
3395 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3396 Likewise.
3397 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3398 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3399 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3400 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3401 (futex_wake): Likewise.
3402 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3403 (do_futex_wait): Use futex wrappers with error checking.
3404 (__new_sem_wait_slow): Update EINTR handling.
3405 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3406
3407 2015-07-09 Martin Sebor <msebor@redhat.com>
3408
3409 [BZ #18435]
3410 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3411 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3412 * nptl/Makefile (test-xfail-tst-once5): Define.
3413
3414 2015-07-09 Roland McGrath <roland@hack.frob.com>
3415
3416 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3417 * elf/dl-minimal.c: For readability, reorder some definitions and
3418 introduce more page breaks. Include <stdio.h>.
3419 (__libc_fatal): New function.
3420
3421 * include/unistd.h: Add rtld_hidden_proto for _exit.
3422 * posix/_exit.c: Add rtld_hidden_def.
3423 * sysdeps/mach/hurd/_exit.c: Likewise.
3424 * sysdeps/nacl/_exit.c: Likewise.
3425 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3426 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3427
3428 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3431 bndmov encoding with zero displacement.
3432
3433 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3434 H.J. Lu <hongjiu.lu@intel.com>
3435
3436 [BZ #18134]
3437 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3438 * sysdeps/i386/configure: Regenerated.
3439 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3440 (_dl_runtime_profile): Save and restore Intel MPX return bound
3441 registers when calling _dl_call_pltexit. Add
3442 PRESERVE_BND_REGS_PREFIX before return.
3443 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3444 (LRV_BND1_OFFSET): Likewise.
3445 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3446 lrv_bnd1.
3447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3448 typo in bndmov encoding.
3449 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3450 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3451 branch instructions to preserve bounds.
3452
3453 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3454
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3456 [GLIBC_2.22]: Add fmemopen.
3457
3458 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3459
3460 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3461 returns an error, also try to use host port from __mach_host_self for
3462 the __vm_wire call.
3463 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3464
3465 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3466
3467 [BZ #18400]
3468 [BZ #18648]
3469 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3470 Fix pr_uid and pr_gid members.
3471 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3472 definition to elf_greg_t.
3473
3474 2015-07-08 Roland McGrath <roland@hack.frob.com>
3475
3476 [BZ #18383]
3477 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3478 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3479 * sysdeps/arm/configure: Regenerated.
3480 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3481 (test-xfail-tst-tlsalign-static): Variable removed.
3482
3483 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3484 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3485 rather than explicit 'ln -s'.
3486
3487 * resolv/rpc/netdb.h: New file.
3488 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3489
3490 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3491
3492 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3493 length buffers.
3494 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3495 test-skeleton.c.
3496
3497 [BZ #6544]
3498 [BZ #11216]
3499 [BZ #12836]
3500 [BZ #13151]
3501 [BZ #13152]
3502 [BZ #14292]
3503 * include/stdio.h (fmemopen): Remove hidden prototype.
3504 (__fmemopen): Add new hidden prototype.
3505 * libio/Makefile: Add oldfmemopen object.
3506 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3507 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3508 compliance.
3509 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3510 symbol compatibility.
3511 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3512 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3513 fmemopen.
3514 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3515 on append and read mode.
3516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3517 fmemopen.
3518 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3519 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3520 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3521 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3522 Likewise.
3523 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3524 [GLIBC_2.22]: Likewise.
3525 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3526 Likewise.
3527 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3528 Likewise.
3529 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3530 [GLIBC_2.22]: Likewise.
3531 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3532 [GLIBC_2.22]: Likewise.
3533 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3534 [GLIBC_2.22]: Likewise.
3535 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3536 [GLIBC_2.22]: Likewise.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3538 [GLIBC_2.22]: Likewise.
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3540 [GLIBC_2.22]: Likewise.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3542 [GLIBC_2.22]: Likewise.
3543 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3544 Likewise.
3545 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3546 Likewise.
3547 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3548 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3549 [GLIBC_2.22]: Likewise.
3550 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3551 [GLIBC_2.22]: Likewise.
3552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3553 [GLIBC_2.22]: Likewise.
3554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3555 [GLIBC_2.22]: Likewise.
3556 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3557 Likewise.
3558 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3559 Likewise.
3560 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3561 Likewise.
3562 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3563 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3564
3565 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3566
3567 [BZ #18643]
3568 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3569 IPV6_PATHMTU, and IPV6_DONTFRAG.
3570
3571 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3572
3573 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3574 and _IO_UNBUFFERED.
3575 * libio/oldfileops.c: Likewise.
3576 * libio/wfileops.c: Likewise.
3577
3578 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3579
3580 * nscd/selinux.c: Delete selinux/flask.h include.
3581
3582 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3583
3584 [BZ #18641]
3585 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3586 (putpwent): Likewise.
3587 (getpwnam): Likewise.
3588 (getpwent_r): Likewise.
3589 (getpwuid_r): Likewise.
3590 (getpwnam_r): Likewise.
3591 (fgetpwent_r): Likewise.
3592
3593 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3594
3595 [BZ #18557]
3596 * inet/rcmd.c (__validuser2_sa): Check user first to
3597 short-circuit host check.
3598
3599 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3600 Mikhail Ilin <m.ilin@samsung.com>
3601
3602 [BZ #17833]
3603 * elf/Makefile (tests): Add tst-nodelete.
3604 (modules-names): Add tst-nodelete-uniquemod.
3605 (tst-nodelete-uniquemod.so-no-z-defs): New.
3606 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3607 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3608 ($(objpfx)tst-nodelete): Likewise.
3609 ($(objpfx)tst-nodelete.out): Likewise.
3610 (LDFLAGS-tst-nodelete): Likewise.
3611 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3612 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3613 implement forced object deletion.
3614 (_dl_close): Pass false to _dl_close_worker.
3615 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3616 * elf/tst-nodelete.cc: New file.
3617 * elf/tst-nodeletelib.cc: Likewise.
3618 * elf/tst-znodeletelib.cc: Likewise.
3619 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3620
3621 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3622
3623 [BZ #18508]
3624 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3625 Depend on $(libdl).
3626 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3627 is not called infinitely times.
3628 (backtrace_helper): New function.
3629 (trace_arg): New struct.
3630 (st1): Enlarge stack size.
3631 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3632 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3633 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3634 Likewise.
3635
3636 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3637
3638 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3639
3640 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3641
3642 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3643 Include sys/types.h instead of bits/types.h.
3644 Remove inclusion of bits/wordsize.h.
3645
3646 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3647
3648 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3649 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3650 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3651 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3652 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3653 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3654
3655 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3658 link-defines.sym.
3659 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3660 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3661 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3662 and LR_SIZE.
3663 * sysdeps/i386/link-defines.sym: New file.
3664
3665 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3668 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3669 ($(objpfx)tst-audit3): New rule.
3670 ($(objpfx)tst-audit3.out): Likewise.
3671 * sysdeps/i386/tst-audit3.c: New file.
3672 * sysdeps/i386/tst-audit3.h: Likewise.
3673 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3674 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3675
3676 2015-07-07 Torvald Riegel <triegel@redhat.com>
3677
3678 [BZ #18633]
3679 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3680 pointer in C code.
3681 (__strcat_c): Likewise.
3682 (__strcat_g): Likewise.
3683
3684 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3685
3686 [BZ #18592]
3687 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3688
3689 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3690
3691 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3692 New function. (__ieee754_sqrtf): New function.
3693 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3694 New function.
3695 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3696 New function.
3697
3698 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3699
3700 * sysdeps/ieee754/support.c: Remove unused file.
3701
3702 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3703
3704 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3705 registers instead of d ones so the layout is kernel abi compatible.
3706 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3707 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3708 Likewise.
3709
3710 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3711
3712 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3713
3714 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3715
3716 [BZ #18619]
3717 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3718 and return argument in case of subnormal argument.
3719
3720 2015-07-01 Martin Sebor <msebor@redhat.com>
3721
3722 [BZ #18435]
3723 * nptl/Makefile: Add tst-once5.cc.
3724 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3725 Remove macro redefinitions.
3726 * nptl/tst-once5.cc: New test.
3727
3728 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3729
3730 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3731
3732 * sysdeps/arm/libm-test-ulps: Regenerated.
3733
3734 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3735 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3736
3737 2015-06-30 Torvald Riegel <triegel@redhat.com>
3738
3739 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3740 lll_lock_wait_private and lll_futex_wake probes.
3741
3742 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3744 Likewise.
3745 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3746 atomic_spin_nop.
3747 * sysdeps/x86_64/bits/atomic.h: Likewise.
3748 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3749 to atomic_spin_nop and move ...
3750 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3751 ... here and ...
3752 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3753 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3754 atomic_spin_nop instead of BUSY_WAIT_NOP.
3755 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3756 Likewise.
3757 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3758 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3759 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3760 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3761 instead of atomic_delay.
3762
3763 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3764
3765 [BZ #18613]
3766 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3767 X_ADJ not X when adjusting exponent.
3768 (__ieee754_gamma_r): Do intermediate computations in
3769 round-to-nearest then adjust overflowing and underflowing results
3770 as needed.
3771 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3772 of X_ADJ not X when adjusting exponent.
3773 (__ieee754_gammaf_r): Do intermediate computations in
3774 round-to-nearest then adjust overflowing and underflowing results
3775 as needed.
3776 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3777 log of X_ADJ not X when adjusting exponent.
3778 (__ieee754_gammal_r): Do intermediate computations in
3779 round-to-nearest then adjust overflowing and underflowing results
3780 as needed. Use 1.0L not 1.0f as numerator of division.
3781 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3782 log of X_ADJ not X when adjusting exponent.
3783 (__ieee754_gammal_r): Do intermediate computations in
3784 round-to-nearest then adjust overflowing and underflowing results
3785 as needed. Use 1.0L not 1.0f as numerator of division.
3786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3787 of X_ADJ not X when adjusting exponent.
3788 (__ieee754_gammal_r): Do intermediate computations in
3789 round-to-nearest then adjust overflowing and underflowing results
3790 as needed. Use 1.0L not 1.0f as numerator of division.
3791 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3792 to auto-libm-test-in.
3793 (tgamma_test): Use ALL_RM_TEST.
3794 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3795 tests of tgamma with spurious-overflow.
3796 * math/auto-libm-test-out: Regenerated.
3797 * math/gen-libm-have-vector-test.sh: Do not check for START.
3798 * sysdeps/i386/fpu/libm-test-ulps: Update.
3799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800
3801 [BZ #18612]
3802 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3803 arguments, just return 0.5 times the argument, with underflow
3804 forced as needed.
3805 * math/auto-libm-test-in: Add more tests of j1.
3806 * math/auto-libm-test-out: Regenerated.
3807
3808 [BZ #16559]
3809 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3810 (__ieee754_j1): Force underflow exception for small results.
3811 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3812 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3813 (__ieee754_j1f): Force underflow exception for small results.
3814 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3815 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3817 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3818 (__ieee754_j1l): Force underflow exception for small results.
3819 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3820 * math/auto-libm-test-in: Add more tests of j1 and jn.
3821 * math/auto-libm-test-out: Regenerated.
3822
3823 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3824 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3825 (PF_MPLS): Likewise.
3826 (AF_IB): Likewise.
3827 (AF_MPLS): Likewise.
3828 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3829 value and macro.
3830 (MS_RMT_MASK): Include MS_LAZYTIME.
3831
3832 2015-06-26 Mel Gorman <mgorman@suse.de>
3833
3834 [BZ #18502]
3835 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3836 already minimal.
3837
3838 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3839
3840 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3841 (DT_MIPS_NUM): Update.
3842 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3843 DT_MIPS_RLD_MAP_REL.
3844
3845 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3846
3847 [BZ #16559]
3848 [BZ #18602]
3849 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3850 round-to-nearest internally then recompute results that
3851 underflowed to zero in the original rounding mode.
3852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3853 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3855 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3856 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3857 * sysdeps/i386/fpu/libm-test-ulps: Update.
3858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3859
3860 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3861
3862 * NEWS: Fixed description of link with vector math library.
3863
3864 2015-06-25 Andreas Schwab <schwab@suse.de>
3865
3866 [BZ #18549]
3867 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3868 * libio/test-fmemopen.c (do_test): Add test for it.
3869
3870 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 [BZ #17841]
3873 * Makeconfig (no-pie-ldflag): New.
3874 (+link): Set to $(+link-pie) if default to PIE.
3875 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3876 * config.make.in (build-pie-default): New.
3877 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3878 is default. AC_SUBST.
3879 * configure: Regenerated.
3880 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3881
3882 2015-06-24 Roland McGrath <roland@hack.frob.com>
3883
3884 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3885 to 'unsigned int'.
3886
3887 * resolv/gai_misc.h (struct waitlist): Change type of field
3888 counterp to 'volatile unsigned int *'.
3889 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3890 FUTEXADDR and OLDVAL.
3891 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3892 Give local variable TOTAL type 'volatile unsigned int'.
3893 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3894 * resolv/gai_suspend.c (gai_suspend):
3895 Give local variable CNTR type 'unsigned int'.
3896
3897 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3898 counterp to 'volatile unsigned int *'.
3899 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3900 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3901 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3902 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3903 Give local variable TOTAL type 'volatile unsigned int'.
3904 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3905
3906 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 [BZ #18383]
3909 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3910 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3911 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3912 comment for i386/x86-64.
3913 (test-xfail-tst-tlsalign-extern-static): Removed.
3914
3915 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3916
3917 * math/test-double.h: New file.
3918 * math/test-float.h: Likewise.
3919 * math/test-ldouble.h: Likewise.
3920 * math/test-math-inline.h: Likewise.
3921 * math/test-math-no-inline.h: Likewise.
3922 * math/test-math-scalar.h: Likewise.
3923 * math/test-math-vector.h: Likewise.
3924 * math/test-vec-loop.h: Remove file. Contents moved into
3925 test-math-vector.h.
3926 * math/libm-test.inc (MATHCONST): Do not document macro.
3927 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3928 and test-math-scalar.h.
3929 (FUNC): Remove macro.
3930 (FUNC_TEST): Likewise.
3931 (FLOAT): Likewise.
3932 (MATHCONST): Likewise.
3933 (PRINTF_EXPR): Likewise.
3934 (PRINTF_XEXPR): Likewise.
3935 (PRINTF_NEXPR): Likewise.
3936 (TEST_DOUBLE): Likewise.
3937 (TEST_MATHVEC): Likewise.
3938 (__NO_MATH_INLINES): Likewise.
3939 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3940 and test-math-scalar.h.
3941 (FUNC): Remove macro.
3942 (FUNC_TEST): Likewise.
3943 (FLOAT): Likewise.
3944 (MATHCONST): Likewise.
3945 (PRINTF_EXPR): Likewise.
3946 (PRINTF_XEXPR): Likewise.
3947 (PRINTF_NEXPR): Likewise.
3948 (TEST_FLOAT): Likewise.
3949 (TEST_MATHVEC): Likewise.
3950 (__NO_MATH_INLINES): Likewise.
3951 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3952 and test-math-scalar.h.
3953 (FUNC): Remove macro.
3954 (FUNC_TEST): Likewise.
3955 (FLOAT): Likewise.
3956 (MATHCONST): Likewise.
3957 (PRINTF_EXPR): Likewise.
3958 (PRINTF_XEXPR): Likewise.
3959 (PRINTF_NEXPR): Likewise.
3960 (TEST_DOUBLE): Likewise.
3961 (TEST_MATHVEC): Likewise.
3962 (TEST_INLINE): Likewise.
3963 (__NO_MATH_INLINES): Likewise.
3964 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3965 test-math-scalar.h.
3966 (FUNC): Remove macro.
3967 (FUNC_TEST): Likewise.
3968 (FLOAT): Likewise.
3969 (MATHCONST): Likewise.
3970 (PRINTF_EXPR): Likewise.
3971 (PRINTF_XEXPR): Likewise.
3972 (PRINTF_NEXPR): Likewise.
3973 (TEST_FLOAT): Likewise.
3974 (TEST_MATHVEC): Likewise.
3975 (TEST_INLINE): Likewise.
3976 (__NO_MATH_INLINES): Likewise.
3977 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3978 and test-math-scalar.h.
3979 (FUNC): Remove macro.
3980 (FUNC_TEST): Likewise.
3981 (FLOAT): Likewise.
3982 (MATHCONST): Likewise.
3983 (PRINTF_EXPR): Likewise.
3984 (PRINTF_XEXPR): Likewise.
3985 (PRINTF_NEXPR): Likewise.
3986 (TEST_LDOUBLE): Likewise.
3987 (TEST_MATHVEC): Likewise.
3988 (TEST_INLINE): Likewise.
3989 (__NO_MATH_INLINES): Likewise.
3990 * math/test-ldouble.c: Include test-ldouble.h,
3991 test-math-no-inline.h and test-math-scalar.h.
3992 (FUNC): Remove macro.
3993 (FUNC_TEST): Likewise.
3994 (FLOAT): Likewise.
3995 (MATHCONST): Likewise.
3996 (PRINTF_EXPR): Likewise.
3997 (PRINTF_XEXPR): Likewise.
3998 (PRINTF_NEXPR): Likewise.
3999 (TEST_LDOUBLE): Likewise.
4000 (TEST_MATHVEC): Likewise.
4001 (__NO_MATH_INLINES): Likewise.
4002 * math/test-double-vlen2.h: Include test-double.h,
4003 test-math-no-inline.h and test-math-vector.h.
4004 (FLOAT): Remove macro.
4005 (FUNC): Likewise.
4006 (MATHCONST): Likewise.
4007 (PRINTF_EXPR): Likewise.
4008 (PRINTF_XEXPR): Likewise.
4009 (PRINTF_NEXPR): Likewise.
4010 (TEST_DOUBLE): Likewise.
4011 (TEST_MATHVEC): Likewise.
4012 (__NO_MATH_INLINES): Likewise.
4013 (CNCT): Likewise.
4014 (CONCAT): Likewise.
4015 (WRAPPER_NAME): Likewise.
4016 (WRAPPER_DECL): Likewise.
4017 (WRAPPER_DECL_ff): Likewise.
4018 (WRAPPER_DECL_fFF): Likewise.
4019 (VECTOR_WRAPPER): Likewise.
4020 (VECTOR_WRAPPER_ff): Likewise.
4021 (VECTOR_WRAPPER_fFF): Likewise.
4022 (VEC_LEN): New macro.
4023 * math/test-double-vlen4.h: Include test-double.h,
4024 test-math-no-inline.h and test-math-vector.h.
4025 (FLOAT): Remove macro.
4026 (FUNC): Likewise.
4027 (MATHCONST): Likewise.
4028 (PRINTF_EXPR): Likewise.
4029 (PRINTF_XEXPR): Likewise.
4030 (PRINTF_NEXPR): Likewise.
4031 (TEST_DOUBLE): Likewise.
4032 (TEST_MATHVEC): Likewise.
4033 (__NO_MATH_INLINES): Likewise.
4034 (CNCT): Likewise.
4035 (CONCAT): Likewise.
4036 (WRAPPER_NAME): Likewise.
4037 (WRAPPER_DECL): Likewise.
4038 (WRAPPER_DECL_ff): Likewise.
4039 (WRAPPER_DECL_fFF): Likewise.
4040 (VECTOR_WRAPPER): Likewise.
4041 (VECTOR_WRAPPER_ff): Likewise.
4042 (VECTOR_WRAPPER_fFF): Likewise.
4043 (VEC_LEN): New macro.
4044 * math/test-double-vlen8.h: Include test-double.h,
4045 test-math-no-inline.h and test-math-vector.h.
4046 (FLOAT): Remove macro.
4047 (FUNC): Likewise.
4048 (MATHCONST): Likewise.
4049 (PRINTF_EXPR): Likewise.
4050 (PRINTF_XEXPR): Likewise.
4051 (PRINTF_NEXPR): Likewise.
4052 (TEST_DOUBLE): Likewise.
4053 (TEST_MATHVEC): Likewise.
4054 (__NO_MATH_INLINES): Likewise.
4055 (CNCT): Likewise.
4056 (CONCAT): Likewise.
4057 (WRAPPER_NAME): Likewise.
4058 (WRAPPER_DECL): Likewise.
4059 (WRAPPER_DECL_ff): Likewise.
4060 (WRAPPER_DECL_fFF): Likewise.
4061 (VECTOR_WRAPPER): Likewise.
4062 (VECTOR_WRAPPER_ff): Likewise.
4063 (VECTOR_WRAPPER_fFF): Likewise.
4064 (VEC_LEN): New macro.
4065 * math/test-float-vlen4.h: Include test-float.h,
4066 test-math-no-inline.h and test-math-vector.h.
4067 (FLOAT): Remove macro.
4068 (FUNC): Likewise.
4069 (MATHCONST): Likewise.
4070 (PRINTF_EXPR): Likewise.
4071 (PRINTF_XEXPR): Likewise.
4072 (PRINTF_NEXPR): Likewise.
4073 (TEST_FLOAT): Likewise.
4074 (TEST_MATHVEC): Likewise.
4075 (__NO_MATH_INLINES): Likewise.
4076 (CNCT): Likewise.
4077 (CONCAT): Likewise.
4078 (WRAPPER_NAME): Likewise.
4079 (WRAPPER_DECL): Likewise.
4080 (WRAPPER_DECL_ff): Likewise.
4081 (WRAPPER_DECL_fFF): Likewise.
4082 (VECTOR_WRAPPER): Likewise.
4083 (VECTOR_WRAPPER_ff): Likewise.
4084 (VECTOR_WRAPPER_fFF): Likewise.
4085 (VEC_LEN): New macro.
4086 * math/test-float-vlen8.h: Include test-float.h,
4087 test-math-no-inline.h and test-math-vector.h.
4088 (FLOAT): Remove macro.
4089 (FUNC): Likewise.
4090 (MATHCONST): Likewise.
4091 (PRINTF_EXPR): Likewise.
4092 (PRINTF_XEXPR): Likewise.
4093 (PRINTF_NEXPR): Likewise.
4094 (TEST_FLOAT): Likewise.
4095 (TEST_MATHVEC): Likewise.
4096 (__NO_MATH_INLINES): Likewise.
4097 (CNCT): Likewise.
4098 (CONCAT): Likewise.
4099 (WRAPPER_NAME): Likewise.
4100 (WRAPPER_DECL): Likewise.
4101 (WRAPPER_DECL_ff): Likewise.
4102 (WRAPPER_DECL_fFF): Likewise.
4103 (VECTOR_WRAPPER): Likewise.
4104 (VECTOR_WRAPPER_ff): Likewise.
4105 (VECTOR_WRAPPER_fFF): Likewise.
4106 (VEC_LEN): New macro.
4107 * math/test-float-vlen16.h: Include test-float.h,
4108 test-math-no-inline.h and test-math-vector.h.
4109 (FLOAT): Remove macro.
4110 (FUNC): Likewise.
4111 (MATHCONST): Likewise.
4112 (PRINTF_EXPR): Likewise.
4113 (PRINTF_XEXPR): Likewise.
4114 (PRINTF_NEXPR): Likewise.
4115 (TEST_FLOAT): Likewise.
4116 (TEST_MATHVEC): Likewise.
4117 (__NO_MATH_INLINES): Likewise.
4118 (CNCT): Likewise.
4119 (CONCAT): Likewise.
4120 (WRAPPER_NAME): Likewise.
4121 (WRAPPER_DECL): Likewise.
4122 (WRAPPER_DECL_ff): Likewise.
4123 (WRAPPER_DECL_fFF): Likewise.
4124 (VECTOR_WRAPPER): Likewise.
4125 (VECTOR_WRAPPER_ff): Likewise.
4126 (VECTOR_WRAPPER_fFF): Likewise.
4127 (VEC_LEN): New macro.
4128 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4129 test-vec-loop.h.
4130 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4131 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4132 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4133 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4134 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4135 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4136 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4137
4138 2015-06-24 Roland McGrath <roland@hack.frob.com>
4139
4140 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4141 (__getlogin_r): ... this.
4142
4143 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4144
4145 [BZ #18594]
4146 * math/s_ccosh.c (__ccosh): Compare with least normal value
4147 instead of comparing class with FP_SUBNORMAL.
4148 * math/s_ccoshf.c (__ccoshf): Likewise.
4149 * math/s_ccoshl.c (__ccoshl): Likewise.
4150 * math/s_cexp.c (__cexp): Likewise.
4151 * math/s_cexpf.c (__cexpf): Likewise.
4152 * math/s_cexpl.c (__cexpl): Likewise.
4153 * math/s_csin.c (__csin): Likewise.
4154 * math/s_csinf.c (__csinf): Likewise.
4155 * math/s_csinh.c (__csinh): Likewise.
4156 * math/s_csinhf.c (__csinhf): Likewise.
4157 * math/s_csinhl.c (__csinhl): Likewise.
4158 * math/s_csinl.c (__csinl): Likewise.
4159 * math/s_ctan.c (__ctan): Likewise.
4160 * math/s_ctanf.c (__ctanf): Likewise.
4161 * math/s_ctanh.c (__ctanh): Likewise.
4162 * math/s_ctanhf.c (__ctanhf): Likewise.
4163 * math/s_ctanhl.c (__ctanhl): Likewise.
4164 * math/s_ctanl.c (__ctanl): Likewise.
4165 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4166 csin, csinh, ctan and ctanh.
4167 * math/auto-libm-test-out: Regenerated.
4168 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4169 * sysdeps/i386/fpu/libm-test-ulps: Update.
4170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4171
4172 2015-06-24 Roland McGrath <roland@hack.frob.com>
4173
4174 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4175 return value is wrong, print the expected value too.
4176
4177 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 [BZ #18585]
4180 * elf/readlib.c (is_gdb_python_file): New.
4181 (process_file): Don't issue errors on filenames with -gdb.py
4182 suffix.
4183
4184 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4185
4186 * math/auto-libm-test-in: Add more tests of csin and csinh.
4187 * math/auto-libm-test-out: Regenerated.
4188 * math/libm-test.inc (csin_test_data): Remove tests moved to
4189 auto-libm-test-in.
4190 (csinh_test_data): Likewise.
4191
4192 [BZ #18593]
4193 * math/s_csin.c (__csin): Negate before rather than after possibly
4194 overflowing multiplication.
4195 * math/s_csinf.c (__csinf): Likewise.
4196 * math/s_csinh.c (__csinh): Likewise.
4197 * math/s_csinhf.c (__csinhf): Likewise.
4198 * math/s_csinhl.c (__csinhl): Likewise.
4199 * math/s_csinl.c (__csinl): Likewise.
4200 * math/auto-libm-test-in: Add some tests of csin and csinh.
4201 * math/auto-libm-test-out: Regenerated.
4202 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4203 (csinh_test_data): Likewise.
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4205
4206 [BZ #18586]
4207 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4208 underflow exception for small results.
4209
4210 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4211
4212 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4213 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4214 variable and included header.
4215 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4216 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4217 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4218 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4219 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4220 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4221 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4222 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4223 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4224 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4225 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4226 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4227 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4228 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4229 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4230 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4231
4232 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4233
4234 [BZ #16526]
4235 [BZ #16538]
4236 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4237 (__sin): Force underflow exception for arguments with small
4238 absolute value.
4239 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4240 (__kernel_sinf): Force underflow exception for arguments with
4241 small absolute value.
4242 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4243 (__kernel_sincosl): Force underflow exception for arguments with
4244 small absolute value.
4245 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4246 (__kernel_sinl): Force underflow exception for arguments with
4247 small absolute value.
4248 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4249 (__kernel_sincosl): Force underflow exception for arguments with
4250 small absolute value.
4251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4252 (__kernel_sinl): Force underflow exception for arguments with
4253 small absolute value.
4254 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4255 (__kernel_sinl): Force underflow exception for arguments with
4256 small absolute value.
4257 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4258 (__kernel_sinf): Force underflow exception for arguments with
4259 small absolute value.
4260 * math/auto-libm-test-in: Add more tests of sin and sincos.
4261 * math/auto-libm-test-out: Regenerated.
4262
4263 [BZ #18245]
4264 [BZ #18583]
4265 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4266 (__kernel_standard_l): Use feholdexcept and fesetenv around
4267 conversion to double instead of special-casing overflow and
4268 underflow.
4269 * math/libm-test.inc (fmod_test_data): Add more tests.
4270 (remainder_test_data): Likewise.
4271 (sqrt_test_data): Likewise.
4272
4273 2015-06-23 Torvald Riegel <triegel@redhat.com>
4274
4275 [BZ #17403]
4276 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4277 atomic_read_barrier, atomic_write_barrier): Define.
4278 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4279 atomic_read_barrier, atomic_write_barrier): Define.
4280
4281 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4282
4283 * math/Makefile [$(PERL) != no]
4284 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4285 dependency on libm-test.stmp below the inclusion of Rules.
4286
4287 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4288
4289 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4290 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4291 and included header.
4292 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4293 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4294 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4295 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4296 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4297 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4299 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4300 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4301 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4302 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4303 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4304 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4305 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4306 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4307 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4308 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4309 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4310 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4311
4312 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4313
4314 [BZ #18371]
4315 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4316 intermediate but not final result might underflow.
4317 * math/s_csqrtf.c (__csqrtf): Likewise.
4318 * math/s_csqrtl.c (__csqrtl): Likewise.
4319 * math/auto-libm-test-in: Add more tests of csqrt.
4320 * math/auto-libm-test-out: Regenerated.
4321 * sysdeps/i386/fpu/libm-test-ulps: Update.
4322
4323 [BZ #18219]
4324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4325 threshold on absolute value of exponent for which scaling is used.
4326 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4327 * math/auto-libm-test-in: Add more tests of exp2.
4328 * math/auto-libm-test-out: Regenerated.
4329
4330 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4331
4332 [BZ #17977]
4333 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4334 when initializing interface list, based on the bug analysis
4335 and the patch proposed by Eric Newton.
4336 * resolv/tst-res_hconf_reorder.c: New test.
4337 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4338 tst-res_hconf_reorder.
4339 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4340 and $(shared-thread-library).
4341 (tst-res_hconf_reorder-ENV): New variable.
4342
4343 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4344 in comment.
4345
4346 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4347
4348 [BZ #16353]
4349 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4350 (__expm1): Force underflow exception for arguments with small
4351 absolute value.
4352 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4353 (__expm1f): Force underflow exception for arguments with small
4354 absolute value.
4355 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4356 (__expm1): Force underflow exception for arguments with small
4357 absolute value.
4358 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4359 (__expm1f): Force underflow exception for arguments with small
4360 absolute value.
4361 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4362 Check for small arguments before calling __expm1.
4363 * math/auto-libm-test-in: Do not mark underflow exceptions as
4364 possibly missing for bug 16353.
4365 * math/auto-libm-test-out: Regenerated.
4366
4367 2015-06-22 Andreas Schwab <schwab@suse.de>
4368
4369 [BZ #18513]
4370 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4371 PTR queries.
4372
4373 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4374
4375 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4376
4377 * string/strcoll_l.c: Remove unused struct element idxnow.
4378
4379 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #18569]
4382 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4383 underflow and return argument in case of subnormal argument.
4384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4385 Likewise.
4386 * math/auto-libm-test-in: Add more tests of expm1.
4387 * math/auto-libm-test-out: Regenerated.
4388
4389 [BZ #16361]
4390 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4391 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4392 tiny results.
4393 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4394 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4395 tiny results.
4396 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4397 mark underflow exceptions as possibly missing for bug 16361.
4398 * math/auto-libm-test-out: Regenerated.
4399
4400 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4401
4402 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4403 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4404 Remove variable.
4405 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4406 (test-xfail-XOPEN2K8/utmpx.h/conform).
4407
4408 * conform/conformtest.pl ($xerrors): New variable.
4409 (note_error): New function.
4410 (compiletest): New argument $xfail. Use not_error.
4411 (runtest): Likewise.
4412 (top level): Handle xfail- lines. Update calls to compiletest and
4413 runtest. Handle xfail- and optional- in headers listed with
4414 allow-header.
4415 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4416 (O_EXEC): Likewise.
4417 (O_SEARCH): Likewise.
4418 * conform/data/stropts.h-data (ioctl): Likewise.
4419 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4420 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4421 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4422 (msghdr.msg_controllen): Likewise.
4423 (cmsghdr.cmsg_len): Likewise.
4424 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4425 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4426 variable.
4427 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4428 (test-xfail-XPG4/stropts.h/conform): Likewise.
4429 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4430 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4431 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4432 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4433 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4434 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4435 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4436 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4437 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4438 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4439 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4440 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4441 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4442 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4443 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4444 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4445 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4446 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4447 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4448
4449 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4450
4451 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4452 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4453 definitions for proper unfolding of __MATHDECL_VEC.
4454
4455 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4456
4457 * benchtests/bench-strcoll.c:
4458 Include string.h.
4459 (main): Remove unused variable res.
4460
4461 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4462
4463 * timezone/Makefile (%/UTC %/Universal):
4464 Generate test-result files for UTC and Universal.
4465
4466 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4467
4468 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4469
4470 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4471
4472 [BZ #16350]
4473 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4474 for arguments with small absolute value.
4475 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4476 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4477 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4478 (__asinh): Force underflow exception for arguments with small
4479 absolute value.
4480 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4481 (__asinhf): Force underflow exception for arguments with small
4482 absolute value.
4483 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4484 (__asinhl): Force underflow exception for arguments with small
4485 absolute value.
4486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4487 (__asinhl): Force underflow exception for arguments with small
4488 absolute value.
4489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4490 (__asinhl): Force underflow exception for arguments with small
4491 absolute value.
4492 * math/auto-libm-test-in: Do not mark underflow exceptions as
4493 possibly missing for bug 16350.
4494 * math/auto-libm-test-out: Regenerated.
4495
4496 * include/bits/ipc.h: Remove file.
4497 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4498 variable.
4499 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4500 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4501 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4502 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4503 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4504 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4505 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4506 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4507 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4508
4509 * math/auto-libm-test-in: Remove spurious underflow allowance for
4510 tests of cexp.
4511 * math/auto-libm-test-out: Regenerated.
4512
4513 [BZ #18558]
4514 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4515 unconditional definition.
4516 (MCAST_BLOCK_SOURCE): Likewise.
4517 (MCAST_UNBLOCK_SOURCE): Likewise.
4518 (MCAST_LEAVE_GROUP): Likewise.
4519 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4520 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4521 (MCAST_MSFILTER): Likewise.
4522 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4523 Remove variable.
4524 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4525 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4526 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4527 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4528 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4529
4530 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4531
4532 * NEWS: Mention addition of x86_64 vector sincosf.
4533 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4534 * math/test-float-vlen4.h: Likewise.
4535 * math/test-float-vlen8.h: Likewise.
4536 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4537 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4538 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4539 * sysdeps/x86_64/fpu/Versions: New versions added.
4540 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4541 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4542 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4543 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4544 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4545 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4546 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4547 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4548 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4549 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4550 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4551 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4552 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4553 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4554 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4555 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4556 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4557 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4558 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4559 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4560 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4561 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4562 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4563 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4564
4565 * NEWS: Mention addition of x86_64 vector sincos.
4566 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4567 * math/math.h (__MATHDECL_VEC): New macro.
4568 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4569 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4570 declaration under condition.
4571 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4572 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4573 TEST_VEC_LOOP change.
4574 * math/test-double-vlen4.h: Likewise.
4575 * math/test-double-vlen8.h: Likewise.
4576 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4577 * math/test-float-vlen4.h: Likewise.
4578 * math/test-float-vlen8.h: Likewise.
4579 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4580 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4581 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4582 * sysdeps/x86_64/fpu/Versions: New versions added.
4583 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4584 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4585 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4587 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4588 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4589 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4590 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4591 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4592 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4593 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4594 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4595 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4596 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4597 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4598 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4599 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4600 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4601 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4602 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4603 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4604 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4605 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4606 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4607
4608 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4609 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4610 redirections for powf.
4611 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4612 * sysdeps/x86_64/fpu/Versions: New versions added.
4613 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4614 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4615 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4616 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4617 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4618 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4619 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4620 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4621 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4622 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4623 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4624 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4625 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4626 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4627 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4628 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4629 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4630 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4631 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4632 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4633 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4634 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4635 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4636 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4637 * math/test-float-vlen16.h: Fixed 2 argument macro.
4638 * math/test-float-vlen4.h: Likewise.
4639 * math/test-float-vlen8.h: Likewise.
4640 * NEWS: Mention addition of x86_64 vector powf.
4641
4642 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4643
4644 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4645 and redefine.
4646 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4647 and redefine.
4648 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4651
4652 [BZ #18553]
4653 * resource/getpriority.c (getpriority): Rename to __getpriority
4654 and define as weak alias of __getpriority.
4655 * resource/setpriority.c (setpriority): Rename to __setpriority
4656 and define as weak alias of __setpriority.
4657 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4658 __getpriority and define as weak alias of __getpriority.
4659 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4660 __setpriority and define as weak alias of __setpriority.
4661 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4662 strong name.
4663 (setpriority): Use __setpriority as strong name.
4664 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4665 __getpriority and define as weak alias of __getpriority.
4666 * include/sys/resource.h (__getpriority): Declare. Use
4667 libc_hidden_proto.
4668 (__setpriority): Likewise.
4669 (getpriority): Don't use libc_hidden_proto.
4670 (setpriority): Likewise.
4671 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4672 getpriority. Call __setpriority instead of setpriority.
4673 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4674 Remove variable.
4675
4676 [BZ #18547]
4677 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4678 as weak alias of __getttynam. Use prototype function definition.
4679 Call __setttyent, __getttyent and __endttyent instead of
4680 setttyent, getttyent and endttyent.
4681 (getttyent): Rename to __getttyent and define as weak alias of
4682 __getttyent. Call __setttyent instead of setttyent. Call
4683 __fgets_unlocked instead of fgets_unlocked.
4684 (setttyent): Rename to __setttyent and define as weak alias of
4685 __setttyent.
4686 (endttyent): Rename to __endttyent and define as weak alias of
4687 __endttyent.
4688 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4689 (__setttyent): Likewise.
4690 (__endttyent): Likewise.
4691 (getttyent): Don't use libc_hidden_proto.
4692 (setttyent): Likewise.
4693 (endttyent): Likewise.
4694 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4695 __endttyent instead of setttyent, getttyent and endttyent.
4696 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4697 Remove variable.
4698
4699 [BZ #18546]
4700 * socket/recv.c (__recv): Use libc_hidden_def.
4701 * socket/socket.c (__socket): Likewise.
4702 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4703 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4704 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4705 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4706 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4707 libc_hidden_def.
4708 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4709 libc_hidden_weak.
4710 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4711 Use libc_hidden_proto.
4712 (__recv): Likewise.
4713 * socket/Versions (libc): Export __recv and __socket at version
4714 GLIBC_PRIVATE.
4715 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4716 instead of recv.
4717 (init_mq_netlink): Call __socket instead of socket.
4718 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4719 Remove variable.
4720
4721 [BZ #18545]
4722 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4723 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4724 hidden_weak.
4725 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4726 define as alias of __mq_timedsend. Use hidden_weak.
4727 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4728 __mq_timedsend as strong name.
4729 (mq_timedreceive): Use __mq_timedreceive as strong name.
4730 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4731 (__mq_timedreceive): Likewise.
4732 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4733 __mq_timedreceive instead of mq_timedreceive.
4734 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4735 instead of mq_timedsend.
4736 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4737 Remove variable.
4738
4739 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4740 hidden_def and hidden_weak instead of libc_hidden_def and
4741 libc_hidden_weak.
4742 (top level): Refer to hidden_def in comment.
4743 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4744 macro. Use it instead of libc_hidden_def.
4745 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4746 specify __GI_* name explicitly.
4747 (mq_timedreceive): Likewise.
4748 (mq_setattr): Likewise.
4749
4750 [BZ #18544]
4751 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4752 __pthread_barrier_init and define as weak alias of
4753 __pthread_barrier_init.
4754 * sysdeps/sparc/nptl/pthread_barrier_init.c
4755 (pthread_barrier_init): Likewise.
4756 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4757 __pthread_barrier_wait and define as weak alias of
4758 __pthread_barrier_wait.
4759 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4760 (pthread_barrier_wait): Likewise.
4761 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4762 (pthread_barrier_wait): Likewise.
4763 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4764 (pthread_barrier_wait): Likewise.
4765 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4766 (pthread_barrier_wait): Likewise.
4767 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4768 __pthread_barrier_wait at version GLIBC_PRIVATE.
4769 * include/pthread.h (__pthread_barrier_init): Declare.
4770 (__pthread_barrier_wait): Likewise.
4771 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4772 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4773 (helper_thread): Likewise.
4774 (init_mq_netlink): Call __pthread_barrier_init instead of
4775 pthread_barrier_init.
4776
4777 [BZ #18542]
4778 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4779 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4780 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4781 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4782 vswscanf.
4783 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4784 Remove variable.
4785
4786 [BZ #18540]
4787 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4788 strong alias of _IO_fflush. Use libc_hidden_def.
4789 * libio/iofflush_u.c (fflush_unlocked): Rename to
4790 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4791 Use libc_hidden_weak.
4792 * include/stdio.h (__fflush_unlocked): Declare. Use
4793 libc_hidden_proto.
4794 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4795 fflush_unlocked.
4796 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4797 Remove variable.
4798
4799 [BZ #18539]
4800 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4801 define as weak alias of __addseverity.
4802 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4803 Remove variable.
4804 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4805 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4806 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4807
4808 [BZ #18536]
4809 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4810 (__tfind): Likewise.
4811 (__tdelete): Likewise.
4812 (__twalk): Likewise.
4813 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4814 __twalk to GLIBC_PRIVATE.
4815 * include/search.h (__tsearch): Use libc_hidden_proto.
4816 (__tfind): Likewise.
4817 (__tdelete): Likewise.
4818 (__twalk): Likewise.
4819 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4820 Call __tdelete instead of tdelete.
4821 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4822 tfind. Call __tsearch instead of tsearch.
4823 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4824 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4825 Remove variable.
4826 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4827
4828 [BZ #18534]
4829 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4830 (dprintf): Define as a weak alias of __dprintf, not a strong
4831 alias.
4832 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4833 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4834 dprintf.
4835 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4836 Remove variable.
4837 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4838 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4839
4840 [BZ #18533]
4841 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4842 not a strong alias.
4843 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4844 Remove variable.
4845
4846 [BZ #18532]
4847 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4848 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4849 (in6addr_loopback): Rename to __in6addr_loopback and define as
4850 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4851 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4852 libc_hidden_proto.
4853 (__in6addr_any): Likewise.
4854 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4855 in6addr_any.
4856 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4857 variable.
4858 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4859
4860 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4861
4862 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4863 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4864 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4865 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4866 redirections for pow.
4867 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4868 * sysdeps/x86_64/fpu/Versions: New versions added.
4869 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4870 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4871 build of SSE, AVX2 and AVX512 IFUNC versions.
4872 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4873 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4874 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4875 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4876 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4877 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4878 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4879 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4880 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4881 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4882 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4883 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4884 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4885 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4886 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4887 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4888 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4889 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4890 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4891 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4892 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4893 * NEWS: Mention addition of x86_64 vector pow.
4894
4895 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4896 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4897 redirections for expf.
4898 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4899 * sysdeps/x86_64/fpu/Versions: New versions added.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4901 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4902 build of SSE, AVX2 and AVX512 IFUNC versions.
4903 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4904 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4905 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4906 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4907 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4908 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4909 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4910 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4911 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4912 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4913 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4914 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4915 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4916 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4917 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4918 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4919 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4920 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4921 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4922 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4923 * NEWS: Mention addition of x86_64 vector expf.
4924
4925 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4926 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4927 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4928 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4929 redirections for exp.
4930 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4931 * sysdeps/x86_64/fpu/Versions: New versions added.
4932 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4933 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4934 build of SSE, AVX2 and AVX512 IFUNC versions.
4935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4936 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4938 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4939 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4941 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4942 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4943 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4944 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4945 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4946 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4947 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4948 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4949 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4950 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4951 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4952 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4953 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4954 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4955 * NEWS: Mention addition of x86_64 vector exp.
4956
4957 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4958 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4959 redirections for logf.
4960 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4961 * sysdeps/x86_64/fpu/Versions: New versions added.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4963 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4964 build of SSE, AVX2 and AVX512 IFUNC versions.
4965 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4966 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4967 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4968 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4969 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4970 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4971 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4972 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4973 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4974 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4975 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4976 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4977 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4978 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4979 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4980 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4981 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4982 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4983 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4984 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4985 * NEWS: Mention addition of x86_64 vector logf.
4986
4987 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4988 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4989 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4990 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4991 redirections for log.
4992 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4993 * sysdeps/x86_64/fpu/Versions: New versions added.
4994 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4995 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4996 build of SSE, AVX2 and AVX512 IFUNC versions.
4997 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4998 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4999 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5000 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5001 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5002 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5003 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5004 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5005 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5006 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5007 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5008 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5009 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5010 test.
5011 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5012 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5013 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5014 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5015 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5016 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5017 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5018 * NEWS: Mention addition of x86_64 vector log.
5019
5020 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5021
5022 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5023 cfi_adjust_cfa_offset argument.
5024 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5025 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5026
5027 [BZ #18034]
5028 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5029 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5030 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5031 ordering using ldar.
5032 (_dl_tlsdesc_dynamic): Likewise.
5033 (_dl_tlsdesc_return_lazy): Likewise.
5034 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5035 relaxed atomics instead of volatile and synchronize with release store.
5036 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5037 volatile.
5038 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5039
5040 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5041
5042 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5043 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5044 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5045 * sysdeps/x86_64/fpu/Versions: New versions added.
5046 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5047 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5048 build of SSE, AVX2 and AVX512 IFUNC versions.
5049 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5050 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5051 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5052 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5053 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5054 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5055 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5056 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5057 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5058 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5059 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5060 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5061 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5062 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5063 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5064 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5065 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5066 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5067 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5068 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5069 * NEWS: Mention addition of x86_64 vector sinf.
5070
5071 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5072
5073 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5074 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5075 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5076 Remove variable.
5077 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5078 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5079
5080 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5081
5082 [BZ #18530]
5083 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5084 strong alias of _IO_fputs. Use libc_hidden_def.
5085 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5086 and define as weak alias of __fputs_unlocked. Use
5087 libc_hidden_weak.
5088 * include/stdio.h (__fputs_unlocked): Declare. Use
5089 libc_hidden_proto.
5090 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5091 fputs_unlocked.
5092
5093 [BZ #18529]
5094 * resolv/netdb.h [__USE_POSIX]: Change condition to
5095 [__USE_XOPEN2K].
5096 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5097 not expect.
5098 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5099 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5100 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5101 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5102 [XPG4 || UNIX98] (AI_ALL): Likewise.
5103 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5104 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5105 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5106 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5107 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5108 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5109 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5110 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5111 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5112 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5113 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5114 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5115 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5116 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5117 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5118 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5119 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5120 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5121 [XPG4 || UNIX98] (gai_strerror): Likewise.
5122 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5123 [XPG4 || UNIX98] (getnameinfo): Likewise.
5124
5125 [BZ #18528]
5126 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5127 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5128 __USE_XOPEN2K8].
5129 (getgrent): Likewise.
5130 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5131 expect.
5132 [XPG3 || POSIX2008] (endgrent): Likewise.
5133 [XPG3] (setgrent): Likewise.
5134 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5135 variable.
5136 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5137
5138 [BZ #18527]
5139 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5140 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5141 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5142 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5143 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5144 * include/unistd.h (__getlogin_r): Declare. Use
5145 libc_hidden_proto.
5146 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5147 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5148 variable.
5149 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5150 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5151 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5152
5153 2015-06-12 Martin Sebor <msebor@redhat.com>
5154
5155 [BZ #18512]
5156 * Makerules (check-install-supported): New target.
5157 (install): Add check-install-supported as a dependency.
5158 * manual/install.texi (Installing the C Library): Document
5159 that overriding prefix and exec_prefix is not supported.
5160 Mention DESTDIR.
5161 * INSTALL: Regenerate from the above.
5162
5163 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5164
5165 [BZ #18519]
5166 * posix/Versions (libc): Export __libc_pread at version
5167 GLIBC_PRIVATE.
5168 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5169 instead of pread.
5170 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5171 variable.
5172
5173 [BZ #18522]
5174 * misc/efgcvt_r.c
5175 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5176 (cvt_symbol): Use weak_alias instead of strong_alias.
5177 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5178 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5179 Remove variable.
5180 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5181 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5182
5183 [BZ #18520]
5184 * inet/herrno.c (h_errno): Rename to __h_errno.
5185 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5186 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5187 to __h_errno instead of h_errno.
5188 * nptl/herrno.c (h_errno): Rename to __h_errno.
5189 (__h_errno_location): Refer to __h_errno not h_errno.
5190 * resolv/Versions (h_errno): Rename to __h_errno.
5191 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5192 Remove variable.
5193 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5194
5195 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5196
5197 * configure.ac: More strict check for AVX512 assembler support.
5198 * configure: Regenerated.
5199
5200 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5201 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5202 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5203 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5204 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5205 * sysdeps/x86_64/fpu/Versions: New versions added.
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5207 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5208 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5209 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5210 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5211 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5212 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5213 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5214 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5215 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5216 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5217 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5218 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5219 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5220 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5221 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5222 test.
5223 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5224 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5225 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5226 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5227 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5228 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5229 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5230 * NEWS: Mention addition of x86_64 vector sin.
5231
5232 2015-06-11 Florian Weimer <fweimer@redhat.com>
5233
5234 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5235 comment.
5236
5237 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5238
5239 [BZ #18479]
5240 * nptl/pt-interp.c: New file.
5241 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5242 Add pt-interp.
5243 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5244 $(common-objpfx)runtime-linker.h.
5245
5246 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5247
5248 * Makeconfig (+interp): Remove unused variable.
5249 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5250 only. Depend on $(common-objpfx)runtime-linker.h instead of
5251 $(elf-objpfx)runtime-linker.h.
5252 ($(elf-objpfx)runtime-linker.h): Rename to
5253 $(common-objpfx)runtime-linker.h and move ...
5254 * Makerules [$(build-shared) = yes]: ... here.
5255 * elf/interp.c: Include <runtime-linker.h> instead of
5256 <elf/runtime-linker.h>.
5257
5258 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5259
5260 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5261 (__gettimeofday_syscall): Remove vsyscall fallback.
5262 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5263 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5264 Add syscall fallback function.
5265 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5266 if vDSO is not present.
5267 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5268 fallback function.
5269 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5270 present.
5271 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5272 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5273
5274 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5275
5276 [BZ #18497]
5277 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5278 of wcscmp.
5279 (wcscmp): Define as weak alias of WCSCMP.
5280 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5281 wcscoll.
5282 (USE_HIDDEN_DEF): Define.
5283 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5284 __wcscoll. Don't use libc_hidden_weak.
5285 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5286 wcscmp.
5287 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5288 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5289 __GI_wcscmp.
5290 (weak_alias): Undefine and redefine.
5291 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5292 __wcscmp and define as weak alias of __wcscmp.
5293 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5294 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5295 (__wcscoll): Likewise.
5296 (wcscmp): Don't use libc_hidden_proto.
5297 (wcscoll): Likewise.
5298 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5299 wcscoll.
5300 * posix/regexec.c (check_node_accept_bytes): Likewise.
5301 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5302 variable.
5303 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5304 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5305
5306 [BZ #18507]
5307 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5308 __fstatvfs and define as weak alias of __fstatvfs. Use
5309 libc_hidden_weak.
5310 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5311 and define as weak alias of __statvfs. Use libc_hidden_weak.
5312 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5313 Define as alias of __fstatvfs, not fstatvfs.
5314 (fstatvfs64): Likewise.
5315 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5316 Define as alias of __statvfs, not statvfs.
5317 (statvfs64): Likewise.
5318 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5319 Remove variable.
5320
5321 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5322
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5324 (HAVE_GETCPU_VSYSCALL): Define.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5326 (HAVE_GETCPU_VSYSCALL): Likewise.
5327 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5328 * sysdeps/unix/sysv/linux/sched_getcpu.c
5329 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5330 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5331 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5332 prototype.
5333 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5334 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5337 Define.
5338 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5342
5343 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5344
5345 * sysdeps/x86_64/fpu/Makefile: New file.
5346 * sysdeps/x86_64/fpu/Versions: New file.
5347 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5348 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5349 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5350 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5351 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5352 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5353 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5354 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5355 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5356 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5357 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5358 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5359 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5360 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5361 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5362 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5363 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5364 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5365 * sysdeps/x86_64/configure: Regenerated.
5366 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5367 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5368 * manual/install.texi (Configuring and compiling): Document
5369 --disable-mathvec.
5370 * INSTALL: Regenerated.
5371 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5372
5373 * math/Makefile: Added rules for vector tests.
5374 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5375 declaration under condition.
5376 * math/test-double-vlen2.h: New file.
5377 * math/test-double-vlen4.h: New file.
5378 * math/test-double-vlen8.h: New file.
5379 * math/test-vec-loop.h: Added initialization macro.
5380 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5381 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5382 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5383 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5384 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5385 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5386 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5387 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5388 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5389 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5390 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5391
5392 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5393 * sysdeps/x86_64/fpu/Versions: New versions added.
5394 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5395 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5396 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5397 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5398 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5399 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5400 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5401 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5402 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5403 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5404 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5405 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5406 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5407 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5408 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5409 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5410 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5411 * NEWS: Mention addition of x86_64 vector cosf.
5412
5413 * math/Makefile: Added CFLAGS for new tests.
5414 * math/test-float-vlen16.h: New file.
5415 * math/test-float-vlen4.h: New file.
5416 * math/test-float-vlen8.h: New file.
5417 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5418 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5419 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5420 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5421 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5422 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5423 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5424 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5425 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5426 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5427 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5428
5429 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5430
5431 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5432 * locale/programs/ld-ctype.c: Likewise.
5433
5434 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5435
5436 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5437 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5438 bit_ZMM16_31_state): New macro.
5439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5440 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5441
5442 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5443
5444 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5445
5446 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5447
5448 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5449
5450 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5451
5452 [BZ #18498]
5453 * libio/memstream.c (open_memstream): Rename to __open_memstream
5454 and define as weak alias of __open_memstream.
5455 * include/stdio.h (__open_memstream): Declare. Use
5456 libc_hidden_proto.
5457 (open_memstream): Don't use libc_hidden_proto.
5458 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5459 open_memstream.
5460 * posix/getopt.c (_getopt_internal_r): Likewise.
5461 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5462 variable.
5463 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5464 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5465 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5466
5467 [BZ #18496]
5468 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5469 instead of wcrtomb.
5470
5471 [BZ #18483]
5472 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5473 [__USE_XOPEN2K8]. Remove redundant #endif.
5474 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5475 Remove redundant #if.
5476 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5477 Remove variable.
5478 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5479 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5480
5481 [BZ #18495]
5482 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5483 (__iswlower): Likewise.
5484 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5485 (__iswlower): Likewise.
5486 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5487 instead of towlower.
5488 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5489 instead of iswlower. Call __towupper instead of towupper.
5490 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5491 instead of iswalnum.
5492
5493 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5494
5495 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5496 errors to stderr.
5497
5498 2015-06-05 Florian Weimer <fweimer@redhat.com>
5499
5500 [BZ #15661]
5501 [BZ #17322]
5502 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5503 Check for overflow properly. Check for O_APPEND. Ignore large
5504 file system block sizes. Add comments about problems.
5505 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5506 * manual/filesys.texi (Storage Allocation): New node.
5507
5508 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5509
5510 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5511 cancellable syscalls.
5512 (SYS_ify): Add guard to no redefine it.
5513 (INLINE_SYSCALL): Likewise.
5514 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5515 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5516 SYSCALL_CANCEL instead.
5517 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5518 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5519 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5520 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5521 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5522 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5523 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5524 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5525 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5526 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5527 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5528 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5529 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5530 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5531 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5533 Likewise.
5534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5535 (__libc_pread64): Likewise.
5536 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5537 (__libc_preadv): Likewise.
5538 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5539 (__libc_readv64): Likewise.
5540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5541 (__libc_pwrite): Likewise.
5542 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5543 (__libc_pwrite64): Likewise.
5544 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5545 (__libc_pwritev): Likewise.
5546 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5547 (__libc_pwritev64): Likewise.
5548 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5549 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5550 (sync_file_range): Likewise.
5551 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5552 Likewise.
5553 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5554 Likewise.
5555 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5556 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5557 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5558 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5559 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5560 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5561 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5562 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5564 Likewise.
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5566 (__libc_read64): Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5568 Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5570 Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5572 Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5574 Likewise.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5576 (__libc_pread64): Likewise.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5578 Likewise.
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5580 (__libc_pwrite64): Likewise.
5581 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5582 (sync_file_range): Likewise.
5583 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5584 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5585 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5586 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5587 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5588 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5589 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5590 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5591 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5592 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5593 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5594 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5595 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5596 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5597 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5598 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5599 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5600 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5601 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5602 Likewise.
5603 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5604 Likewise.
5605 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5606 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5607 Likewise.
5608 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5609 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5610 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5611 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5612 Likewise.
5613 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5614 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5615 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5616 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5617 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5618
5619 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5620
5621 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5622 Include dl-vdso.
5623 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5624 Use VDSO routines for gettimeofday, clock_gettime if
5625 available.
5626 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5627 Declare VDSO symbols.
5628 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5629 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5630 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5631 * sysdeps/unix/sysv/linux/arm/Versions: Add
5632 __vdso_clock_gettime.
5633
5634 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5635
5636 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5637 be an inline implementation regardless of library is built within.
5638 (open_not_cancel_2): Likewise.
5639 (__read_nocancel): Likewise.
5640 (__write_nocancel): Likewise.
5641 (openat_not_cancel): Likewise.
5642 (openat_not_cancel_3): Likewise.
5643 (openat64_not_cancel): Likewise.
5644 (openat64_not_cancel_3): Likewise.
5645 (__close_nocancel): Likewise.
5646 (pause_not_cancel): Likewise.
5647 (nanosleep_not_cancel): Likewise.
5648 (sigsuspend_not_cancel): Likewise.
5649
5650 2015-06-04 Torvald Riegel <triegel@redhat.com>
5651
5652 [BZ #14958]
5653 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5654 wake-up.
5655 (__pthread_rwlock_rdlock_slow): Likewise.
5656 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5657 Likewise.
5658 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5659 Likewise.
5660 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5661 * nptl/tst-rwlock16.c: New file.
5662 * nptl/Makefile (tests): Add new test.
5663
5664 2015-06-04 Torvald Riegel <triegel@redhat.com>
5665
5666 [BZ #18324]
5667 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5668 missing wake-up of readers.
5669 * nptl/tst-rwlock15.c: New file.
5670 * nptl/Makefile (tests): Add new test.
5671
5672 2015-06-03 Roland McGrath <roland@hack.frob.com>
5673
5674 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5675 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5676 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5677 and __nacl_supply_interface_rtld.
5678 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5679 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5680 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5681 Add __nacl_supply_interface_rtld.
5682 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5683
5684 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5685
5686 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5687 isfinite.
5688 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5689 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5690
5691 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5692
5693 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5694 __signbit* with standard C99 macros.
5695 * math/e_exp10l.c: Likewise.
5696 * math/e_exp2l.c: Likewise.
5697 * math/e_scalb.c: Likewise.
5698 * math/e_scalbf.c: Likewise.
5699 * math/e_scalbl.c: Likewise.
5700 * math/s_ldexp.c: Likewise.
5701 * math/s_ldexpf.c: Likewise.
5702 * math/s_ldexpl.c: Likewise.
5703 * math/w_atan2.c: Likewise.
5704 * math/w_atan2f.c: Likewise.
5705 * math/w_atan2l.c: Likewise.
5706 * math/w_cosh.c: Likewise.
5707 * math/w_coshf.c: Likewise.
5708 * math/w_coshl.c: Likewise.
5709 * math/w_exp10.c: Likewise.
5710 * math/w_exp10f.c: Likewise.
5711 * math/w_exp10l.c: Likewise.
5712 * math/w_exp2.c: Likewise.
5713 * math/w_exp2f.c: Likewise.
5714 * math/w_exp2l.c: Likewise.
5715 * math/w_fmod.c: Likewise.
5716 * math/w_fmodf.c: Likewise.
5717 * math/w_fmodl.c: Likewise.
5718 * math/w_hypot.c: Likewise.
5719 * math/w_hypotf.c: Likewise.
5720 * math/w_hypotl.c: Likewise.
5721 * math/w_jnl.c: Likewise.
5722 * math/w_lgamma.c: Likewise.
5723 * math/w_lgamma_r.c: Likewise.
5724 * math/w_lgammaf.c: Likewise.
5725 * math/w_lgammaf_r.c: Likewise.
5726 * math/w_lgammal.c: Likewise.
5727 * math/w_lgammal_r.c: Likewise.
5728 * math/w_pow.c: Likewise.
5729 * math/w_powf.c: Likewise.
5730 * math/w_powl.c: Likewise.
5731 * math/w_remainder.c: Likewise.
5732 * math/w_remainderf.c: Likewise.
5733 * math/w_remainderl.c: Likewise.
5734 * math/w_scalb.c: Likewise.
5735 * math/w_scalbf.c: Likewise.
5736 * math/w_scalbl.c: Likewise.
5737 * math/w_scalbln.c: Likewise.
5738 * math/w_scalblnf.c: Likewise.
5739 * math/w_scalblnl.c: Likewise.
5740 * math/w_sinh.c: Likewise.
5741 * math/w_sinhf.c: Likewise.
5742 * math/w_sinhl.c: Likewise.
5743 * math/w_tgamma.c: Likewise.
5744 * math/w_tgammaf.c: Likewise.
5745 * math/w_tgammal.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5753 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5754 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5756 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5777 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5778 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5779 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5780 * stdio-common/printf_fp.c: Likewise.
5781 * stdio-common/printf_fphex.c: Likewise.
5782 * stdio-common/printf_size.c: Likewise.
5783
5784 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #18470]
5787 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5788 strnlen.
5789 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5790 Remove variable.
5791 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5792 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5793 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5794 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5795 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5796 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5797 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5798 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5799 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5800 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5801
5802 [BZ #18468]
5803 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5804 weak alias of __wmemchr. Use libc_hidden_weak.
5805 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5806 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5807 instead of wmemchr.
5808
5809 2015-06-02 Roland McGrath <roland@hack.frob.com>
5810
5811 [BZ #18383]
5812 * elf/tst-tlsalign-extern.c: New file.
5813 * elf/tst-tlsalign-extern-static.c: New file.
5814 * elf/tst-tlsalign-vars.c: New file.
5815 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5816 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5817 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5818 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5819 (test-xfail-tst-tlsalign-extern-static): New variable.
5820
5821 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5822
5823 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5824 Use variable name _sc_err instead of err.
5825 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5826 instead of ret.
5827 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5828 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5829 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5830 (INLINE_SYSCALL): Likewise.
5831
5832 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5833 * include/string.h (__strnlen): Use libc_hidden_proto.
5834 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5835 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5836 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5837 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5838 (libc_hidden_def): Undefine and redefine.
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5840 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5841 __GI_strnlen.
5842 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5843 libc_hidden_def.
5844 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5845
5846 [BZ #18469]
5847 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5848 weak alias of __towlower. Use libc_hidden_weak.
5849 (towupper): Rename to __towupper and define as weak alias of
5850 __towupper. Use libc_hidden_weak.
5851 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5852 (__towupper): Likewise.
5853 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5854 __towlower instead of towlower.
5855
5856 2015-06-02 Roland McGrath <roland@hack.frob.com>
5857
5858 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5859 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5860
5861 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5862
5863 * sysdeps/aarch64/libm-test-ulps: Update.
5864
5865 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5866
5867 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5868 Define.
5869 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5871 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5872 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5873 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5874 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5875 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5876
5877 2015-06-01 Martin Sebor <msebor@redhat.com>
5878
5879 [BZ #18116]
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5881 (__setcontext): Use extended four-operand version of mtsf whenever
5882 possible.
5883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5884 (__novec_swapcontext): Likewise.
5885
5886 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5887
5888 * benchtests/scripts/compare_bench.py: New file.
5889 * benchtests/scripts/import_bench.py (mean): New function.
5890 (split_list): Likewise.
5891 (do_for_all_timings): Likewise.
5892 (compress_timings): Likewise.
5893
5894 * benchtests/scripts/import_bench.py: New file.
5895 * benchtests/scripts/validate_benchout.py: Import import_bench
5896 instead of jsonschema.
5897 (validate_bench): Remove function.
5898 (main): Use import_bench.
5899
5900 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5901
5902 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5903 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5904
5905 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5906
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5908
5909 2015-05-28 Roland McGrath <roland@hack.frob.com>
5910
5911 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5912 set THREAD_SELF->tid to a magic value and futex-wake it.
5913 Pass its address to the thread_exit system call.
5914 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5915 bit is clear.
5916 * sysdeps/nacl/lowlevellock.h: New file.
5917 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5918
5919 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5920 Add TIMEOUT to current time, don't subtract it.
5921
5922 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5923
5924 [BZ #2981]
5925 [BZ #18422]
5926 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5927 ($(objpfx)tst-audit2.out): Also depend on
5928 $(objpfx)tst-auditmod9b.so.
5929 * elf/tst-audit2.c: Include <dlfcn.h>.
5930 (calloc_called): New.
5931 (calloc): Allow to be called more than once.
5932 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5933
5934 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5935
5936 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5937 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5938
5939 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5940
5941 * stdlib/monetary.h: Fix comment.
5942
5943 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5944
5945 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5946 Avoid using variables in #defines that might cause shadowing.
5947 (INTERNAL_VSYSCALL_CALL): Likewise.
5948
5949 2015-05-26 Roland McGrath <roland@hack.frob.com>
5950
5951 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5952
5953 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5954 * nptl/lll_timedlock_wait.c: ... to this new file.
5955 * nptl/Makefile (libpthread-routines): Add it.
5956 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5957 * nptl/lll_timedwait_tid.c: ... to this new file.
5958 * nptl/Makefile (libpthread-routines): Add it.
5959 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5960 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5961 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5962 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5963 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5964 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5965 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5966 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5967 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5968 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5969
5970 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5971
5972 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5973 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5974 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5976 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5978 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5980 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5981 * sysdeps/unix/sysv/linux/tile/sysdep.h
5982 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5983 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5984 using vDSO syscall macro.
5985
5986 2015-05-26 Andriy Rysin <arysin@gmail.com>
5987
5988 [BZ #17293]
5989 * uk_UA: Fix sorting order for Ukrainian locale
5990
5991 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5992
5993 * stdlib/monetary.h: Fix comment.
5994
5995 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5996
5997 [BZ #18234]
5998 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5999 st_mtim and st_ctim members.
6000 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6001 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6002 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6003 (struct stat64): Likewise.
6004 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6005 (struct stat64): Likewise.
6006 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6007 (struct stat64): Likewise.
6008
6009 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6010
6011 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6012 Define and include sysdep-vdso.h.
6013 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6014 Likewise.
6015 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6016 Likewise.
6017 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6018 Define with VDSO_SYMBOL and use PTR_MANGLE.
6019 (__vdso_clock_gettime): Likewise.
6020 (__vdso_clock_getres): Likewise.
6021 (_libc_vdso_platform_setup): Likewise.
6022 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6023 Likewise.
6024 (_libc_vdso_platform_setup): Likewise.
6025 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6026 Likewise.
6027 (__vdso_clock_gettime): Likewise.
6028 (__vdso_clock_getres): Likewise.
6029 (__vdso_get_tbfreq): Likewise.
6030 (__vdso_getcpu): Likewise.
6031 (__vdso_time): Likewise.
6032 (__vdso_sigtramp_rt64): Likewise.
6033 (__vdso_signtramp32): Likewise.
6034 (__vdso_sigtramp_rt32): Likewise.
6035 (_libc_vdso_platform_setup): Likewise.
6036 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6037 Likewise.
6038 (__vdso_clock_gettime): Likewise.
6039 (__vdso_clock_getres): Likewise.
6040 (_libc_vdso_platform_setup): Likewise.
6041 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6042 Likewise.
6043 (__vdso_clock_gettime): Likewise.
6044 (_libc_vdso_platform_setup): Likewise.
6045 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6046 Likewise.
6047 (__vdso_getcpu): Likewise.
6048 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6049 Use VDSO_SYMBOL macro to define.
6050 (__vdso_clock_gettime): Likewise.
6051 (__vdso_clock_getres): Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6053 Likewise.
6054 (__vdso_clock_gettime): Likewise.
6055 (__vdso_clock_getres): Likewise.
6056 (__vdso_get_tbfreq): Likewise.
6057 (__vdso_getcpu): Likewise.
6058 (__vdso_time): Likewise.
6059 (__vdso_sigtramp_rt64): Likewise.
6060 (__vdso_signtramp32): Likewise.
6061 (__vdso_sigtramp_rt32): Likewise.
6062 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6063 Likewise.
6064 (__vdso_clock_gettime): Likewise.
6065 (__vdso_clock_getres): Likewise.
6066 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6067 Likewise.
6068 (__vdso_clock_gettime): Likewise.
6069 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6070 Likewise.
6071 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6072 macro.
6073 (INTERNAL_VSYSCALL): Likewise.
6074 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6075 Remove macro.
6076 (INTERNAL_VSYSCALL): Likewise.
6077 (INTERNAL_VSYSCALL_NCS): Likewise.
6078 (INTERNAL_VSYSCALL_CALL): New macro.
6079 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6081 Likewise.
6082 (INTERNAL_VSYSCALL): Likewise.
6083 (INTERNAL_VSYSCALL_NCS): Likewise.
6084 (INTERNAL_VSYSCALL_CALL): New macro.
6085 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6087 (INLINE_VSYSCALL): Remove macro.
6088 (INTERNAL_VSYSCALL): Remove macro.
6089 (INTERNAL_VSYSCALL_NCS): Remove macro.
6090 (INTERNAL_VSYSCALL_CALL): New macro.
6091 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6092 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6093 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6094 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6095 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6097 (INLINE_VSYSCALL): Remove macro.
6098 (INTERNAL_VSYSCALL): Likewise.
6099 (INTERNAL_VSYSCALL_NCS): Likewise.
6100 (INTERNAL_VSYSCALL_CALL): New macro.
6101 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6102 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6103 PTR_DEMANGLE on vDSO pointer.
6104 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6105 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6106 macro.
6107 (INTERNAL_SYSCALL): Likewise.
6108 (INTERNAL_VSYSCALL_NCS): Remove macro.
6109 (INTERNAL_VSYSCALL_CALL): New macro.
6110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6111 Remove macro.
6112 (INTERNAL_VSYSCALL): Likewise.
6113 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6114 sysdep-vdso.h instead of libc-vdso.h.
6115 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6116 definition.
6117 (INLINE_VSYSCALL): Likewise.
6118 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6119 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6120 definition.
6121 (INLINE_VSYSCALL): Likewise.
6122 (INTERNAL_VSYSCALL): Likewise.
6123 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6124 * sysdeps/unix/sysv/linux/timespec_get.c
6125 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6126 (timespec_get): Use ANSI prototype.
6127 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6128 and definition for Linux.
6129
6130 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6131
6132 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6133 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6134
6135 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6136
6137 [BZ #2981]
6138 [BZ #18410]
6139 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6140 for missing DT_PLTRELSZ.
6141
6142 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6143
6144 Remove obsolete aliases that broke 'locale -a'
6145 [BZ #18412]
6146 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6147 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6148 breaking some applications that use 'locale -a' output.
6149 Change the encoding of this file from Latin-1 to ASCII to avoid
6150 other potential problems with people grepping this file.
6151
6152 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6153
6154 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6155 -fasynchronous-unwind-tables.
6156 (CFLAGS-sendto.c): Likewise.
6157 (CFLAGS-sendmsg.c): Likewise.
6158 (CFLAGS-connect.c): Likewise.
6159 (CFLAGS-recvmsg.c): Likewise.
6160 (CFLAGS-recvfrom.c): Likewise.
6161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6162 (SOCKETCALL): New macro: non-cancellable socketcall.
6163 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6164 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6165 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6166 * sysdeps/unix/sysv/linux/accept.c: New file.
6167 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6168 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6169 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6170 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6171 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6172 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6173 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6174 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6175 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6176 * sysdeps/unix/sysv/linux/send.c: Likewise.
6177 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6178 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6179 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6180 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6181 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6182 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6183 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6184 prototype.
6185 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6186 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6187 instead of __internal_xxx function.
6188 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6189 prototype.
6190 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6191 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6192 instead of __internal_xxx function.
6193 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6194 prototype.
6195 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6196 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6197 instead of __internal_xxx function.
6198 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6199 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6200 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6201 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6202 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6203 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6204 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6205 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6206 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6207 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6208 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6209 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6210 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6211 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6212 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6213 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6214 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6215 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6216 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6217 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6220 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6221 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6222 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6223 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6224 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6225 * sysdeps/unix/sysv/linux/send.S: Likewise.
6226 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6227 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6228 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6229 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6230 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6231 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6232 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6234 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6235 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6236 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6237 socketcall is implemented in GLIBC.
6238
6239 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6240
6241 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6242 (__fma): Ignore uninitialized warnings around packing.
6243 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6244 (__fmaf): Ignore uninitialized warnings around packing.
6245 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6246 (__fmal): Ignore uninitialized warnings around packing.
6247
6248 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6249 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6250 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6251 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6252
6253 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6254 switch statement into default case.
6255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6256
6257 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6258 a conditional in forcing "inexact".
6259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6260 Likewise.
6261
6262 2015-05-22 Roland McGrath <roland@hack.frob.com>
6263
6264 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6265 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6266 for each INTERNAL_SYSCALL use.
6267
6268 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6269
6270 [BZ #438]
6271 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6272 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6273 variable.
6274
6275 [BZ #18444]
6276 * string/basename.c (basename): Rename to __basename and define as
6277 weak alias of __basename. Use libc_hidden_weak.
6278 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6279 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6280 __basename instead of basename.
6281 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6282 Remove variable.
6283 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6284
6285 2015-05-18 Florian Weimer <fweimer@redhat.com>
6286
6287 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6288 (_IO_JUMPS_FILE_plus): New.
6289 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6290 _IO_CAST_FIELD_ACCESS.
6291 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6292 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6293 * libio/freopen.c (freopen): Likewise.
6294 * libio/freopen64.c (freopen64): Likewise.
6295 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6296 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6297 * libio/iofwide.c (_IO_fwide): Likewise.
6298 * libio/memstream.c (open_memstream): Likewise.
6299 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6300 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6301 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6302
6303 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6304
6305 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6306 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6307 NADJ.
6308 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6309 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6310 NADJ.
6311 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6312 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6313 NADJ.
6314
6315 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6316 (p == 4) case.
6317
6318 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6319 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6320 Remove variable.
6321 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6322 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6323 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6324
6325 2015-05-21 Florian Weimer <fweimer@redhat.com>
6326
6327 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6328 Adjust jump table label generation macros.
6329
6330 2015-05-21 Florian Weimer <fweimer@redhat.com>
6331
6332 * stdio-common/vfprintf.c (vfprintf): Move local variables
6333 args_malloced, specs, specs_malloced, and the code after
6334 do_positional to the printf_positional function.
6335 (printf_positional): New function.
6336
6337 2015-05-21 Florian Weimer <fweimer@redhat.com>
6338
6339 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6340 function.
6341 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6342 STEP4_TABLE, process_arg): Move macro definitions
6343 out of the vfprintf function. (Cosmetic change only.)
6344
6345 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6346
6347 * benchtests/Makefile (stdio-common-bench): Define.
6348 (benchset): Add stdio-common-bench.
6349 * sprintf-inputs: New file.
6350 * sprintf-source.c: New file.
6351
6352 2015-05-21 Andreas Schwab <schwab@suse.de>
6353
6354 [BZ #13028]
6355 [BZ #17053]
6356 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6357 of struct __res_state.
6358 * resolv/res_send.c (__libc_res_nsend): Likewise.
6359 (get_nsaddr): New function.
6360 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6361 statp directly.
6362
6363 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6364
6365 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6366 -D_POSIX_C_SOURCE=199506L.
6367
6368 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6369
6370 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6371 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6372 Do not mention otherwise.
6373 [POSIX] (_XOPEN_VERSION): Do not expect.
6374 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6375 [POSIX] (_POSIX2_C_BIND): Likewise.
6376 [POSIX] (_POSIX2_VERSION): Likewise.
6377 [POSIX] (_XOPEN_XPG2): Likewise.
6378 [POSIX] (_XOPEN_XPG3): Likewise.
6379 [POSIX] (_XOPEN_XPG4): Likewise.
6380 [POSIX] (_XOPEN_UNIX): Likewise.
6381 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6382 [POSIX] (_POSIX_BARRIERS): Likewise.
6383 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6384 [POSIX] (_POSIX_CPUTIME): Likewise.
6385 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6386 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6387 [POSIX] (_POSIX_SHELL): Likewise.
6388 [POSIX] (_POSIX_SPAWN): Likewise.
6389 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6390 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6391 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6392 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6393 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6394 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6395 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6396 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6397 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6398 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6399 [POSIX] (_POSIX2_PBS): Likewise.
6400 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6401 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6402 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6403 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6404 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6405 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6406 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6407 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6408 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6409 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6410 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6411 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6412 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6413 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6414 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6415 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6416 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6417 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6418 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6419 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6420 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6421 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6422 [POSIX] (_SC_2_C_BIND): Likewise.
6423 [POSIX] (_SC_2_C_VERSION): Likewise.
6424 [POSIX] (_SC_2_PBS): Likewise.
6425 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6426 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6427 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6428 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6429 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6430 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6431 [POSIX] (_SC_BARRIERS): Likewise.
6432 [POSIX] (_SC_BASE): Likewise.
6433 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6434 [POSIX] (_SC_DEVICE_IO): Likewise.
6435 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6436 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6437 [POSIX] (_SC_FD_MGMT): Likewise.
6438 [POSIX] (_SC_FIFO): Likewise.
6439 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6440 [POSIX] (_SC_FILE_LOCKING): Likewise.
6441 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6442 [POSIX] (_SC_IOV_MAX): Likewise.
6443 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6444 [POSIX] (_SC_NETWORKING): Likewise.
6445 [POSIX] (_SC_PAGE_SIZE): Likewise.
6446 [POSIX] (_SC_PASS_MAX): Likewise.
6447 [POSIX] (_SC_PIPE): Likewise.
6448 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6449 [POSIX] (_SC_REGEXP): Likewise.
6450 [POSIX] (_SC_SHELL): Likewise.
6451 [POSIX] (_SC_SIGNALS): Likewise.
6452 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6453 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6454 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6455 [POSIX] (_SC_USER_GROUPS): Likewise.
6456 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6457 [POSIX] (_SC_STREAMS): Likewise.
6458 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6459 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6460 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6461 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6462 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6463 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6464 [POSIX] (_PC_FILESIZEBITS): Likewise.
6465 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6466 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6467 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6468 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6469 [POSIX] (uid_t): Likewise.
6470 [POSIX] (gid_t): Likewise.
6471 [POSIX] (off_t): Likewise.
6472 [POSIX] (pid_t): Likewise.
6473 [POSIX] (cuserid): Allow.
6474 (_SC_2_CHAR_TERM): Require constant.
6475 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6476 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6477 variable.
6478
6479 2015-05-20 Roland McGrath <roland@hack.frob.com>
6480
6481 * sysdeps/nacl/pthread-pids.h: New file.
6482 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6483 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6484
6485 * nptl/pthread-pids.h: New file.
6486 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6487 * nptl/nptl-init.c: Include <pthread-pids.h>.
6488 (__pthread_initialize_minimal_internal):
6489 Call __pthread_initialize_pids instead of set_tid_address syscall.
6490
6491 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6492 * sysdeps/posix/usleep.c: ... here.
6493
6494 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6495
6496 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6497 call_pselect6 object.
6498 [$(subdir) = io]: Remove call_sync_file_range object.
6499 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6500 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6501 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6502 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6503
6504 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6505
6506 * math/s_cproj.c: Add include "math_private.h".
6507 * math/s_cprojf.c: Likewise.
6508 * math/s_cprojl.c: Likewise.
6509
6510 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6511
6512 [BZ #18244]
6513 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6514 high mantissa bit when testing whether P is a NaN.
6515 * math/libm-test.inc (remainder_test_data): Add more tests.
6516 (remquo_test_data): Likewise.
6517
6518 [BZ #18049]
6519 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6520 below -32, return the argument, with underflow if subnormal.
6521 * math/auto-libm-test-in: Add more tests of atanh.
6522 * math/auto-libm-test-out: Regenerated.
6523
6524 2015-05-19 Roland McGrath <roland@hack.frob.com>
6525
6526 [BZ #18434]
6527 * nptl/tst-sem15.c: New file.
6528 * nptl/Makefile (tests): Add it.
6529 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6530 s/<</>>/ to fix typo in EOVERFLOW check.
6531 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6532
6533 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6534
6535 * manual/strings.texi (envz_remove): Fix typo in safety
6536 annotations.
6537
6538 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6539 Steve Ellcey <sellcey@imgtec.com>
6540
6541 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6542 in order to avoid strict alias warnings.
6543 (iruserok_af): Ditto for ra.
6544
6545 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6546
6547 [BZ #17581]
6548 * malloc/hooks.c
6549 (magicbyte): Convert to a function and avoid returning 0x01.
6550 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6551 (mem2chunk_check): Fix unsigned comparisons to zero.
6552 Hoist defs of sz and magic.
6553
6554 2015-05-19 Richard Henderson <rth@redhat.com>
6555
6556 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6557
6558 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6559
6560 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6561
6562 [BZ #16159]
6563 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6564 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6565 (reused_arena): Find a non-corrupt arena.
6566 (heap_trim): Pass arena to unlink.
6567 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6568 malloc_printerr.
6569 (top_check): Likewise.
6570 (free_check): Likewise.
6571 (realloc_check): Likewise.
6572 * malloc/malloc.c (malloc_printerr): Add arena argument.
6573 (unlink): Likewise.
6574 (munmap_chunk): Adjust.
6575 (ARENA_CORRUPTION_BIT): New macro.
6576 (arena_is_corrupt): Likewise.
6577 (set_arena_corrupt): Likewise.
6578 (sysmalloc): Use mmap if there are no usable arenas.
6579 (_int_malloc): Likewise.
6580 (__libc_malloc): Don't fail if arena_get returns NULL.
6581 (_mid_memalign): Likewise.
6582 (__libc_calloc): Likewise.
6583 (__libc_realloc): Adjust for additional argument to
6584 malloc_printerr.
6585 (_int_free): Likewise.
6586 (malloc_consolidate): Likewise.
6587 (_int_realloc): Likewise.
6588 (_int_memalign): Don't touch corrupt arenas.
6589 * malloc/tst-malloc-backtrace.c: New test case.
6590
6591 * Makefile (summarize-tests): Fix return value on success.
6592
6593 * manual/string.texi (Envz Functions): Add envz_remove.
6594
6595 2015-05-18 Roland McGrath <roland@hack.frob.com>
6596
6597 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6598 (invalid_name): New function, broken out of ...
6599 (__opendirat): ... here. Call it.
6600 (need_isdir_precheck): New function, broken out of ...
6601 (__opendirat): ... here. Call it.
6602 Use __fxstatat64, not __xstatat64.
6603 (opendir_oflags): New function, broken out of ...
6604 (__opendirat): ... here. Call it.
6605 (opendir_tail): New function, broken out of ...
6606 (__opendirat): ... here. Call it.
6607 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6608 opendir_tail, rather than punting to __opendirat.
6609 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6610
6611 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6612
6613 * .gitignore: Ignore generated *.pyc.
6614
6615 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6616
6617 * include/stdio.h: Define __need_wint_t.
6618 * test-skeleton.c: Avoid `for' loop initial declaration.
6619 * nptl/tst-initializers1.c: Use test-skeleton.c.
6620
6621 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6622
6623 [BZ #18418]
6624 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6625
6626 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6627
6628 [BZ #16352]
6629 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6630 (__ieee754_atanh): Force underflow exception for results with
6631 small absolute value.
6632 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6633 (__ieee754_atanhf): Force underflow exception for results with
6634 small absolute value.
6635 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6636 (__ieee754_atanh): Force underflow exception for results with
6637 small absolute value.
6638 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6639 (__ieee754_atanhf): Force underflow exception for results with
6640 small absolute value.
6641 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6642 (__ieee754_atanhl): Force underflow exception for results with
6643 small absolute value.
6644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6645 (__ieee754_atanhl): Force underflow exception for results with
6646 small absolute value.
6647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6648 (__ieee754_atanhl): Force underflow exception for results with
6649 small absolute value.
6650 * math/auto-libm-test-in: Do not allow missing underflow
6651 exceptions from atanh.
6652 * math/auto-libm-test-out: Regenerated.
6653
6654 [BZ #18221]
6655 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6656 2**-28 as threshold for returning x or +/- 1/x.
6657 * math/auto-libm-test-in: Add more tests of tan.
6658 * math/auto-libm-test-out: Regenerated.
6659
6660 [BZ #18220]
6661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6662 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6663 * math/auto-libm-test-in: Add another test of lgamma.
6664 * math/auto-libm-test-out: Regenerated.
6665
6666 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6667
6668 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6669 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6670 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6671 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6672 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6673 (ADD2A): Use fabs. (SUB2A): Use fabs.
6674 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6677 (log1): Use fabs. (my_log2): Use fabs.
6678 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6679 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6681 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6683 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6684 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6685 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6686 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6687 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6688 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6689
6690 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6691
6692 [BZ #18217]
6693 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6694 as threshold for returning 1 - x.
6695 * math/auto-libm-test-in: Add more tests of erfc.
6696 * math/auto-libm-test-out: Regenerated.
6697
6698 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6699
6700 [BZ #18196]
6701 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6702 threshold for large arguments.
6703 * math/auto-libm-test-in: Add another test of atan.
6704 * math/auto-libm-test-out: Regenerated.
6705
6706 [BZ #16339]
6707 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6708 (__log1p): Force underflow exception for results with small
6709 absolute value.
6710 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6711 (__log1pf): Force underflow exception for results with small
6712 absolute value.
6713 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6714 (__log1p): Force underflow exception for results with small
6715 absolute value.
6716 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6717 (__log1pf): Force underflow exception for results with small
6718 absolute value.
6719 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6720 (__log1pl): Force underflow exception for results with small
6721 absolute value.
6722 * math/auto-libm-test-in: Do not allow missing underflow
6723 exceptions from log1p.
6724 * math/auto-libm-test-out: Regenerated.
6725
6726 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6727 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6728
6729 [BZ #16704]
6730 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6731
6732 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6733
6734 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6735 (libmvec): New variable.
6736 * configure.ac: Added option for mathvec build.
6737 * configure: Regenerated.
6738 * mathvec/Depend: New file.
6739 * mathvec/Makefile: New file.
6740 * shlib-versions: Added libmvec.
6741 * math/Makefile: Added rule for libm.so installation.
6742
6743 * bits/math-vector.h: New file.
6744 * bits/libm-simd-decl-stubs.h: New header.
6745 * math/Makefile (headers): Added new header
6746 libm-simd-decl-stubs.h.
6747 * math/math.h (__MATHCALL_VEC): New macro.
6748
6749 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6750 for conditions in testing functions.
6751 * math/Makefile: Added call of libm-have-vector-test.sh.
6752 * math/libm-test.inc (HAVE_VECTOR): New macros.
6753
6754 * math/libm-test.inc: START refactored.
6755 * math/test-double.c (TEST_MATHVEC): Add define.
6756 * math/test-float.c: Likewise.
6757 * math/test-idouble.c: Likewise.
6758 * math/test-ifloat.c: Likewise.
6759 * math/test-ildoubl.c: Likewise.
6760 * math/test-ldouble.c: Likewise.
6761 * sysdeps/generic/math-tests-arch.h
6762 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6763 architecture check.
6764
6765 * math/test-double.c (FUNC_TEST): New macro.
6766 * math/test-float.c: Likewise.
6767 * math/test-idouble.c: Likewise.
6768 * math/test-ifloat.c: Likewise.
6769 * math/test-ildoubl.c: Likewise.
6770 * math/test-ldouble.c: Likewise.
6771 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6772
6773 2015-05-13 Roland McGrath <roland@hack.frob.com>
6774
6775 * sysdeps/nacl/fdopendir.c: New file.
6776
6777 * dirent/scandir-tail.c: New file.
6778 * dirent/scandir64-tail.c: New file.
6779 * dirent/Makefile (routines): Add them.
6780 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6781 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6782 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6783 [!SCANDIR] (SCANDIR_TAIL): New macro.
6784 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6785 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6786 (SCANDIRAT): Macro removed.
6787 (SCANDIR_TAIL): New macro.
6788 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6789 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6790 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6791 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6792 (READDIR): Macro removed.
6793 (SCANDIR_TAIL): New macro.
6794 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6795 (SCANDIR_TAIL): New macro.
6796
6797 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6798 * dirent/scandir-cancel.c: ... to this new file.
6799 * dirent/Makefile (routines): Add it.
6800 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6801 * sysdeps/unix/sysv/linux/i386/scandir64.c
6802 (SKIP_SCANDIR_CANCEL): Macro removed.
6803 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6804
6805 * dirent/tst-scandir.c: New file.
6806 * dirent/tst-scandir64.c: New file.
6807 * dirent/Makefile (tests): Add them.
6808
6809 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6810
6811 [BZ #18409]
6812 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6813
6814 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6815
6816 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6817 list.
6818
6819 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6820
6821 * benchtests/bench-strcoll.c: New benchmark.
6822 * benchtests/Makefile: Generate locales and run benchmark.
6823 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6824 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6825 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6826 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6827 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6828 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6829 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6830 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6831 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6832 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6833 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6834 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6835 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6836 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6837 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6838 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6839 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6840 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6841 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6842 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6843 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6844 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6845 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6846 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6847
6848 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6849
6850 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6851 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6852
6853 2015-05-12 Roland McGrath <roland@hack.frob.com>
6854
6855 * posix/uname-values.h: New file.
6856 * posix/uname.c: Include that instead of <config-name.h>.
6857 * sysdeps/nacl/uname-values.h: New file.
6858 * sysdeps/arm/nacl/uname-values.h: New file.
6859
6860 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6861
6862 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6863 splitting into fields.
6864
6865 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6866
6867 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6868 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6869 * locale/localeinfo.h: Add enum collation_encoding_type.
6870 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6871 * programs/ld-collate.c (collate_output): Add encoding type info.
6872 * string/strcoll_l.c (STRDIFF): New function.
6873 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6874 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6875
6876 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6877
6878 [BZ #18397]
6879 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6880 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6881 <fpu_control.h> instead of <math/fpu_control.c>.
6882 * sysdeps/mips/mips32/fpu/Makefile: New file.
6883
6884 2015-05-11 Andreas Schwab <schwab@suse.de>
6885
6886 [BZ #18007]
6887 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6888 nss_endgrent.
6889 (_nss_compat_endgrent): Call nss_endgrent.
6890 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6891 nss_endpwent.
6892 (_nss_compat_endpwent): Call nss_endpwent.
6893 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6894 needent, call nss_setspent only if non-zero.
6895 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6896 (internal_endspent): Don't call nss_endspent.
6897 (_nss_compat_endspent): Call nss_endspent.
6898 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6899 Remove. All uses removed.
6900 (internal_setent): Remove parameter stayopen, add parameter
6901 stream. Use it instead of global variable.
6902 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6903 (internal_endent, internal_getent): Add parameter stream. Use it
6904 instead of global variable.
6905 (CONCAT(_nss_files_end,ENTNAME))
6906 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6907 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6908 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6909 uses removed.
6910 (internal_setent, internal_endent): Add parameter stream. Use it
6911 instead of global variable.
6912 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6913 stream.
6914 (get_next_alias): Add parameter stream.
6915 (_nss_files_getaliasent_r): Pass global stream.
6916 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6917 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6918 (_nss_files_gethostbyname4_r): Pass local stream to
6919 internal_setent, internal_getent and internal_endent. Remove
6920 locking.
6921
6922 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6923
6924 * tst-strfmon1.c (tests): Update expected currency symbol.
6925
6926 2015-05-08 Roland McGrath <roland@hack.frob.com>
6927
6928 * sysdeps/nacl/gethostname.c: New file.
6929
6930 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6931
6932 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6933 and sinh.
6934 * math/auto-libm-test-out: Regenerated.
6935 * sysdeps/i386/fpu/libm-test-ulps: Update.
6936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6937
6938 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6939
6940 [BZ #18125]
6941 * stdlib/tst-setcontext3.c: New file.
6942 * stdlib/tst-setcontext3.sh: New file.
6943 * stdlib/Makefile (tests): Add tst-setcontext3.
6944 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6945 to verify test program created output file.
6946 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6947 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6948 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6949 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6950
6951 2015-05-06 Roland McGrath <roland@hack.frob.com>
6952
6953 [BZ #18383]
6954 * elf/tst-tlsalign.c: New file.
6955 * elf/tst-tlsalign-static.c: New file.
6956 * elf/tst-tlsalign-lib.c: New file.
6957 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6958 (tests-static): Add tst-tlsalign-static.
6959 (modules-names): Add tst-tlsalign-lib.
6960 (test-xfail-tst-tlsalign): New variable.
6961 (test-xfail-tst-tlsalign-static): New variable.
6962
6963 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6964 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6965
6966 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6967
6968 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6969 csqrt, erfc, sin and sincos.
6970 * math/auto-libm-test-out: Regenerated.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973
6974 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6975
6976 * sysdeps/aarch64/libm-test-ulps: Update.
6977
6978 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6979
6980 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6981 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6982 * math/auto-libm-test-out: Regenerated.
6983 * sysdeps/i386/fpu/libm-test-ulps: Update.
6984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6985
6986 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6987
6988 [BZ #18265]
6989 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6990 (wcsncpy): Likewise.
6991
6992 2015-05-05 Florian Weimer <fweimer@redhat.com>
6993
6994 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6995 Assume __ASSUME_FALLOCATE is always true.
6996 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6997 (__posix_fallocate64_l64): Likweise.
6998 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6999 (posix_fallocate): Likewise.
7000 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7001 (__posix_fallocate64_l64): Likewise.
7002 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7003 [!__ASSUME_FALLOCATE]: Add comment.
7004
7005 2015-05-05 Florian Weimer <fweimer@redhat.com>
7006
7007 * sysdeps/unix/sysv/linux/i386/Makefile
7008 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7009 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7010 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7011 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7012 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7013 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7014 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7015
7016 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7017
7018 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7019 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7020 tgamma.
7021 * math/auto-libm-test-out: Regenerated.
7022 * sysdeps/i386/fpu/libm-test-ulps: Update.
7023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7024
7025 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7026
7027 * math/auto-libm-test-in: Add more tests of tgamma.
7028 * math/auto-libm-test-out: Regenerated.
7029 * sysdeps/i386/fpu/libm-test-ulps: Update.
7030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7031
7032 * math/auto-libm-test-in: Add more tests of tanh.
7033 * math/auto-libm-test-out: Regenerated.
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7036
7037 * math/auto-libm-test-in: Add more tests of tan.
7038 * math/auto-libm-test-out: Regenerated.
7039 * sysdeps/i386/fpu/libm-test-ulps: Update.
7040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7041
7042 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7043 * math/auto-libm-test-out: Regenerated.
7044 * sysdeps/i386/fpu/libm-test-ulps: Update.
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7046
7047 * math/auto-libm-test-in: Add another test of pow.
7048 * math/auto-libm-test-out: Regenerated.
7049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7050
7051 * math/auto-libm-test-in: Add more tests of lgamma.
7052 * math/auto-libm-test-out: Regenerated.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055
7056 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7057 log1p.
7058 * math/auto-libm-test-out: Regenerated.
7059 * sysdeps/i386/fpu/libm-test-ulps: Update.
7060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7061
7062 2015-05-01 Mark Wielaard <mjw@redhat.com>
7063
7064 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7065 Elf64_Chdr structs and ELFCOMPRESS constants.
7066
7067 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7068
7069 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7070 expm1.
7071 * math/auto-libm-test-out: Regenerated.
7072 * sysdeps/i386/fpu/libm-test-ulps: Update.
7073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7074
7075 * math/auto-libm-test-in: Add more tests of erf and erfc.
7076 * math/auto-libm-test-out: Regenerated.
7077 * sysdeps/i386/fpu/libm-test-ulps: Update.
7078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7079
7080 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7081
7082 * config.h.in (HAVE_AARCH64_BE): Add.
7083
7084 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7085
7086 * math/auto-libm-test-in: Add more tests of csqrt.
7087 * math/auto-libm-test-out: Regenerated.
7088 * sysdeps/i386/fpu/libm-test-ulps: Update.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7090
7091 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7092 * math/auto-libm-test-out: Regenerated.
7093 * sysdeps/i386/fpu/libm-test-ulps: Update.
7094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7095
7096 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7097
7098 2015-04-29 Roland McGrath <roland@hack.frob.com>
7099
7100 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7101 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7102
7103 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7104 (euidaccess, eaccess): Define as weak aliases.
7105
7106 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7107 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7108 but __suseconds_t is often 'long int' so some sources assume that
7109 type is being used (e.g. they use %ld to print tv_usec).
7110
7111 2015-04-29 Florian Weimer <fweimer@redhat.com>
7112
7113 [BZ #18007]
7114 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7115 (CVE-2014-8121)
7116 * nss/tst-nss-getpwent.c: New file.
7117 * nss/Makefile (tests): Add new test.
7118
7119 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7120
7121 [BZ #18346]
7122 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7123 exponents less than 48 as cases where high part of mantissa needs
7124 examining to determine whether argument is integral.
7125 * math/libm-test.inc (round_test_data): Add more tests.
7126
7127 2015-04-28 Mark Wielaard <mjw@redhat.com>
7128
7129 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7130
7131 2015-04-27 David S. Miller <davem@davemloft.net>
7132
7133 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7134 __tls_get_addr.
7135 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7136
7137 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7138
7139 [BZ#18333]
7140 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7141
7142 2015-04-27 Florian Weimer <fweimer@redhat.com>
7143
7144 [BZ#18333]
7145 * time/tzset.c (parse_tzname): Return error on memory allocation
7146 failure.
7147 * test-skeleton.c (struct temp_name_list): Change type of name
7148 member to non-const.
7149 (add_temp_file): Create a copy of the file name.
7150 (delete_temp_files): Deallocate memory.
7151 (create_temp_file): Add comment.
7152
7153 2015-04-24 Florian Weimer <fweimer@redhat.com>
7154
7155 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7156 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7157
7158 2015-04-24 Roland McGrath <roland@hack.frob.com>
7159
7160 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7161 * sysdeps/arm/configure: Regenerated.
7162
7163 2015-04-24 Florian Weimer <fweimer@redhat.com>
7164
7165 [BZ #17715]
7166 * time/tzfile.c (__tzfile_read): Check for large values of
7167 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7168 * time/tzset.c (__tzstring_len): New function, based on the old
7169 __tzstring function.
7170 (__tzstring): Call __tzstring_len.
7171 (parse_tzname): New helper function extracted from
7172 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7173 the input string.
7174 (parse_offset): New helper function extracted from
7175 __tzset_parse_tz. Replace switch with fallthrough with
7176 initialization before sscanf.
7177 (parse_rule): Likewise.
7178 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7179 new-style function definition.
7180 * timezone/Makefile (tests): Add tst-tzset.
7181 (tst-tzset.out): Dependencies on time zone files.
7182 (tst-tzset-ENV): Set TZDIR.
7183 (testdata/XT%): Copy crafted time zone files.
7184 * timezone/README: Mention crafted time zone files.
7185 * timezone/testdata/XT1, timezone/testdata/XT2,
7186 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7187 files.
7188 * timezone/tst-tzset.c: New test.
7189
7190 2015-04-24 Florian Weimer <fweimer@redhat.com>
7191
7192 * Makeconfig (+gccwarn): Remove -Winline.
7193
7194 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7195
7196 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7197
7198 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7199
7200 * NEWS: Mention sysconf() cache information support for s390.
7201 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7202
7203 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7204
7205 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7207 (__nearbyint): Likewise.
7208 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7209 (copysignl): Likewise.
7210
7211 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7212
7213 [BZ #18287]
7214 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7215 based on padding. (CVE-2015-1781)
7216
7217 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7218
7219 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7220 libc-vdso.h.
7221 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7222 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7223 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7224 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7225 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7226 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7227 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7229 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7230 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7232 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7233 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7234 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7235 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7236 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7237 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7239 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7240 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7241 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7242 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7243 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7244
7245 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 * stdlib/setenv.c (__add_to_environ):
7248 Dump core quickly if setenv (..., NULL, ...) is called.
7249 This time, do it the right way, and pacify GCC with a pragma.
7250
7251 2015-04-17 Roland McGrath <roland@hack.frob.com>
7252
7253 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7254 IMAP->l_prev cannot be null, and #if out the code for the contrary
7255 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7256 believe that NS (&_dl_ns[NSID]) could point outside the array.
7257
7258 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7259 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7260 before using NSID as an index.
7261
7262 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7263
7264 [BZ #17825]
7265 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7266 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7267 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7268
7269 2015-04-17 Roland McGrath <roland@hack.frob.com>
7270
7271 Add preliminary port to Google Native Client on ARM.
7272 * abi-tags (.*-.*-nacl.*): New entry.
7273 * sysdeps/arm/nacl: New directory.
7274 * sysdeps/nacl: New directory.
7275
7276 2015-04-16 David S. Miller <davem@davemloft.net>
7277
7278 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7279 lowlevellock-futex.h
7280
7281 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7282
7283 * sysdeps/tile/configure.ac: New file.
7284 * sysdeps/tile/configure: Regenerated.
7285
7286 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7287
7288 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7289 conditionals for weak_alias and libc_hidden_weak.
7290 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7291 libc_hidden_weak and weak_alias.
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7293 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7294 and weak_alias for static one.
7295
7296 2015-04-15 David S. Miller <davem@davemloft.net>
7297
7298 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7299
7300 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7301
7302 [BZ #18206]
7303 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7304 Use signed comparision instead of substraction to avoid
7305 overflow bug.
7306 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7307 Take the sign of ret.
7308 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7309 Do not expect precise return values. Only the sign matters.
7310 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7311 * wcsmbs/test-wcsncmp.c: New File.
7312 * string/test-strncmp.c: Add wcsncmp support.
7313
7314 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7315
7316 [BZ #6792]
7317 * math/w_log1p.c: New file.
7318 * math/w_log1pf.c: Likewise.
7319 * math/w_log1pl.c: Likewise.
7320 * math/Makefile (libm-calls): Add w_log1p.
7321 * math/s_log1pl.c (log1pl): Remove weak_alias.
7322 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7323 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7324 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7325 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7326 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7327 [NO_LONG_DOUBLE] (log1pl): Likewise.
7328 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7330 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7331 (log1p): Remove long_double_symbol.
7332 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7333 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7334 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7335 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7336 remove weak_alias for corresponding log1p function.
7337 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7338 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7339 * sysdeps/ia64/fpu/w_log1p.c: New file.
7340 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7341 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7342 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7343
7344 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #18247]
7347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7348 decimal exponent by 1.
7349 * stdlib/tst-strtod-round-data: Add more tests.
7350 * stdlib/tst-strtod-round.c (tests): Regenerated.
7351
7352 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7353
7354 * math/auto-libm-test-in: Add more tests of clog and clog10.
7355 * math/auto-libm-test-out: Regenerated.
7356 * sysdeps/i386/fpu/libm-test-ulps: Update.
7357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7358
7359 2015-04-09 Roland McGrath <roland@hack.frob.com>
7360
7361 * Makeconfig (module-cppflags): Exclude all .v.i files.
7362 (skip-module-cppflags): Variable removed.
7363
7364 * configure.ac (libc_config_ok): Initialize before reading
7365 preconfigure scripts, not after.
7366 * configure: Regenerated.
7367
7368 * test-skeleton.c (TIMEOUT): Move #define to top level.
7369 (main): Grok environment variable TEST_DIRECT. If set, print
7370 test expectation details into that file and then behave as if
7371 given --direct.
7372
7373 2015-04-09 Florian Weimer <fweimer@redhat.com>
7374
7375 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7376 warning on 32-bit.
7377
7378 2015-04-08 David S. Miller <davem@davemloft.net>
7379
7380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7381
7382 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7383
7384 * math/auto-libm-test-in: Add more tests of atanh.
7385 * math/auto-libm-test-out: Regenerated.
7386 * sysdeps/i386/fpu/libm-test-ulps: Update.
7387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7388
7389 * math/auto-libm-test-in: Add more tests of atan.
7390 * math/auto-libm-test-out: Regenerated.
7391 * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7393
7394 2015-04-08 Florian Weimer <fweimer@redhat.com>
7395
7396 * elf/pldd.c (main): Rewrite to use struct
7397 scratch_buffer instead of extend_alloca.
7398 * elf/pldd-xx.c (find_maps): Likewise.
7399 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7400 <alloca.h>.
7401 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7402 scratch_buffer instead of extend_alloca.
7403 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7404 grp/compat-initgroups.c.
7405 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7406 Rewrite to use struct scratch_buffer instead of extend_alloca.
7407 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7408 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7409
7410 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7411
7412 * math/auto-libm-test-in: Add more tests of cbrt.
7413 * math/auto-libm-test-out: Regenerated.
7414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7415
7416 * math/auto-libm-test-in: Add more tests of cabs.
7417 * math/auto-libm-test-out: Regenerated.
7418 * sysdeps/i386/fpu/libm-test-ulps: Update.
7419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420
7421 [BZ #18210]
7422 [BZ #18211]
7423 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7424 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7425 computations.
7426 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7427 clog10.
7428 * math/auto-libm-test-out: Regenerated.
7429 * sysdeps/i386/fpu/libm-test-ulps: Update.
7430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7431
7432 [BZ #18197]
7433 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7434 (atan): Set FE_TONEAREST mode for internal computations.
7435 * math/auto-libm-test-in: Add more tests of atan.
7436 * math/auto-libm-test-out: Regenerated.
7437
7438 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7439
7440 [BZ #17930]
7441 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7442
7443 2015-04-07 Florian Weimer <fweimer@redhat.com>
7444
7445 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7446
7447 2015-04-07 Florian Weimer <fweimer@redhat.com>
7448
7449 * include/scratch_buffer.h: New file.
7450 * malloc/scratch_buffer_grow.c: Likewise.
7451 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7452 * malloc/scratch_buffer_set_array_size.c: Likewise.
7453 * malloc/tst-scratch_buffer.c: Likewise.
7454 * malloc/Makefile (routines): Add scratch_buffer_grow.
7455 (tests): Add test case.
7456 * malloc/Versions (GLIBC_PRIVATE): Export
7457 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7458 __libc_scratch_buffer_set_array_size.
7459
7460 2015-04-06 Richard Henderson <rth@redhat.com>
7461
7462 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7463 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7464
7465 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7466 unsigned int before printing.
7467
7468 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7469
7470 [BZ #17596]
7471 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7472 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7473
7474 2015-04-02 Florian Weimer <fweimer@redhat.com>
7475
7476 * include/libc-internal.h (libc_max_align_t): Define.
7477
7478 2015-04-02 Andreas Schwab <schwab@suse.de>
7479
7480 [BZ #16850]
7481 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7482
7483 2015-04-02 Mel Gorman <mgorman@suse.de>
7484
7485 [BZ #17195]
7486 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7487 as well as the main arena.
7488
7489 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 [BZ #18185]
7492 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7493 sharing L2 cache to 2 for Silvermont/Knights Landing.
7494
7495 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7496
7497 [BZ #17711]
7498 * config.make.in (have-protected-data): New.
7499 * configure.ac: Check linker support for protected data symbol.
7500 * configure: Regenerated.
7501 * elf/Makefile (modules-names): Add tst-protected1moda and
7502 tst-protected1modb if $(have-protected-data) is yes.
7503 (tests): Add tst-protected1a and tst-protected1b if
7504 $(have-protected-data) is yes.
7505 ($(objpfx)tst-protected1a): New.
7506 ($(objpfx)tst-protected1b): Likewise.
7507 (tst-protected1modb.so-no-z-defs): Likewise.
7508 * elf/tst-protected1a.c: New file.
7509 * elf/tst-protected1b.c: Likewise.
7510 * elf/tst-protected1mod.h: Likewise.
7511 * elf/tst-protected1moda.c: Likewise.
7512 * elf/tst-protected1modb.c: Likewise.
7513
7514 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 [BZ #17711]
7517 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7518 indicates it is called from do_lookup_x on relocation against
7519 protected data, skip the data definion in the executable from
7520 copy reloc.
7521 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7522 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7523 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7524 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7525 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7526 otherwise to 0.
7527 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7528 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7529 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7530 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7531 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7532 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7533
7534 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7535
7536 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7537 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7538
7539 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7540
7541 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7542 THREAD_SETMEM_NC.
7543 * sysdeps/x86_64/nptl/tls.h: Ditto.
7544
7545 2015-03-27 Roland McGrath <roland@hack.frob.com>
7546
7547 * dlfcn/tststatic.c (main): Converted to ...
7548 (do_test): ... this.
7549 (TEST_FUNCTION): New macro.
7550 Include test-skeleton.c.
7551
7552 2015-03-26 Alan Modra <amodra@gmail.com>
7553
7554 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7555 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7556 zero for undefined weak.
7557 (elf_machine_plt_conflict): Similarly.
7558
7559 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7560
7561 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7562 atanh.
7563 * math/auto-libm-test-out: Regenerated.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
7567 * math/auto-libm-test-in: Add another test of asin.
7568 * math/auto-libm-test-out: Regenerated.
7569 * sysdeps/i386/fpu/libm-test-ulps: Update.
7570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571
7572 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7573 Remove macro.
7574 (LLL_EBX_REG): Likewise.
7575 (LLL_ENTER_KERNEL): Likewise.
7576
7577 * math/auto-libm-test-in: Add more tests of asin.
7578 * math/auto-libm-test-out: Regenerated.
7579 * sysdeps/i386/fpu/libm-test-ulps: Update.
7580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7581
7582 [BZ #18138]
7583 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7584 libc_do_syscall_args): New structure.
7585 (INTERNAL_SYSCALL_MAIN_0): New macro.
7586 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7587 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7588 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7589 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7590 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7591 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7592 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7593 Replace conditional definitions by conditional definitions of ....
7594 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7595 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7596 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7597 (libpthread-sysdep_routines): Add libc-do-syscall.
7598 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7599 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7600 to __NR_futex not 240.
7601
7602 2015-03-25 Alan Modra <amodra@gmail.com>
7603
7604 * NEWS: Advertise TLS optimization.
7605 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7606 (DT_PPC_NUM): Increment.
7607 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7608 (CHECK_STATIC_TLS): Use here.
7609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7610 TLS descriptors.
7611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7612 * sysdeps/powerpc/dl-tls.c: New file.
7613 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7614 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7615 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7616 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7620
7621 2015-03-25 Alan Modra <amodra@gmail.com>
7622
7623 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7624 for overlapping .opd entries" to "support...".
7625 * sysdeps/powerpc/powerpc64/configure: Regenerate
7626
7627 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7628
7629 * math/auto-libm-test-in: Add more tests of acos.
7630 * math/auto-libm-test-out: Regenerated.
7631 * sysdeps/i386/fpu/libm-test-ulps: Update.
7632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633
7634 * math/auto-libm-test-in: Add more tests of expm1.
7635 * math/auto-libm-test-out: Regenerated.
7636 * sysdeps/i386/fpu/libm-test-ulps: Update.
7637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7638
7639 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7640
7641 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7642 * math/auto-libm-test-out: Regenerated.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645
7646 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7648
7649 * math/auto-libm-test-in: Add more tests of log2.
7650 * math/auto-libm-test-out: Regenerated.
7651 * sysdeps/i386/fpu/libm-test-ulps: Update.
7652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7653
7654 2015-03-23 Roland McGrath <roland@hack.frob.com>
7655
7656 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7657 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7658 _IO_IS_APPENDING bit in READ_WRITE instead.
7659
7660 2015-03-23 Florian Weimer <fweimer@redhat.com>
7661
7662 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7663 (__determine_cpumask_size): Replace extend_alloca with a
7664 variable-length array. Do not treat res == 0 as an error.
7665
7666 2015-03-23 Florian Weimer <fweimer@redhat.com>
7667
7668 [BZ #18100]
7669 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7670 and integer overflow.
7671 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7672 (main): Add integer overflow tests.
7673 * manual/pattern.texi (Calling Wordexp): Document additional use
7674 for WRDE_SYNTAX.
7675
7676 2015-03-23 Alan Modra <amodra@gmail.com>
7677
7678 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7679 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7680 and false branch of conditional.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7682 Likewise.
7683
7684 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7685
7686 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7687 libc-modules.h
7688 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7689 unused declaration of _hurd_intr_rpc_msg_in_trap.
7690 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7691 defined instead of whether it is non-zero.
7692 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7693 input constraint instead of both input and output constraint. Use ecx
7694 clobber instead of %ecx.
7695 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7696 mutex_unlock): Use a statement expression instead of an expression list.
7697 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7698 type to vm_size_t instead of vm_address_t.
7699 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7700 defined instead of whether it is non-zero.
7701 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7702 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7703 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7704 comparisons with mapaddr.
7705 * nscd/nscd-client.h: Include <time.h>.
7706 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7707 9th parameter to __vm_region instead of int.
7708 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7709 * scripts/check-local-headers.sh (exclude): Add device/,
7710 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7711 cthreads.h.
7712
7713 2015-03-19 Roland McGrath <roland@hack.frob.com>
7714
7715 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7716 to account for alignment padding.
7717 * sysdeps/arm/memmove.S: Likewise.
7718
7719 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7720
7721 * sysdeps/unix/sysv/linux/generic/README: New file.
7722
7723 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7724
7725 [BZ #18138]
7726 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7727 (futex_abstimed_wait)
7728 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7729 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7730 of lll_futex_timed_wait.
7731
7732 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7733
7734 [BZ #17542]
7735 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7736
7737 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7738
7739 [BZ #17090]
7740 [BZ #17620]
7741 [BZ #17621]
7742 [BZ #17628]
7743 * NEWS: Update.
7744 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7745 entries with Static TLS too. Skip entries past the end of the
7746 allocated DTV, from Alan Modra.
7747 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7748 Static TLS DTV entry set up from...
7749 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7750 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7751 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7752 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7753 for Static TLS.
7754 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7755 that the slot we find is associated with the given map before
7756 using its generation count.
7757 * nptl_db/db_info.c: Include ldsodefs.h.
7758 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7759 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7760 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7761 (link_map::l_tls_offset): New struct field.
7762 (dtv_t::counter): Likewise.
7763 (rtld_global): New struct.
7764 (_rtld_global): New rtld variable.
7765 (dl_tls_dtv_slotinfo_list): New rtld global field.
7766 (dtv_slotinfo_list): New struct.
7767 (dtv_slotinfo): Likewise.
7768 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7769 (td_lookup): Rename to...
7770 (td_mod_lookup): ... this. Use new mod parameter instead of
7771 LIBPTHREAD_SO.
7772 * nptl_db/td_thr_tlsbase.c: Include link.h.
7773 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7774 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7775 addresses even if the DTV is out of date or missing them.
7776 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7777 index zero-length arrays.
7778 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7779 (td_lookup): Make it a macro implemented in terms of...
7780 (td_mod_lookup): ... this declaration.
7781 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7782 (DB_MAIN_VARIABLE): Likewise.
7783
7784 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 [BZ #18134]
7787 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7788
7789 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7790
7791 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7792
7793 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7794
7795 [BZ #18128]
7796 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7797 (atomic_add, atomic_increment_and_test)
7798 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7799
7800 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7801
7802 * stdlib/setenv.c (__add_to_environ):
7803 Dump core quickly if setenv (..., NULL, ...) is called.
7804
7805 2015-03-13 Roland McGrath <roland@hack.frob.com>
7806
7807 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7808 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7809 all the necessary asm magic in one place.
7810 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7811 using those.
7812
7813 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7814
7815 [BZ #14906]
7816 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7817 traced file mtime. Use consistent log message.
7818 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7819 (register_traced_file): Call install_watches. Always set mtime.
7820 (invalidate_cache): Iterate over all trace files. Call install_watches.
7821 (inotify_check_files): Don't inline. Handle watching parent
7822 directories and configuration file movement in and out.
7823 (handle_inotify_events): New function.
7824 (main_loop_poll): Call handle_inotify_events.
7825 (main_loop_epoll): Likewise.
7826 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7827 (struct traced_file): Use array of inotify fds. Add parent directory,
7828 and basename.
7829 (struct database_dyn): Remove unused file_mtime.
7830 (init_traced_file): New inline function.
7831 (define_traced_file): New macro.
7832 * nss/nss_db/db-init.c: Use define_traced_file.
7833 (_nss_db_init): Use init_traced_file.
7834 * nss/nss_files/files-init.c: Use define_traced_file.
7835 (_nss_files_init): Use init_traced_file.
7836
7837 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7838
7839 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7840 [_LIBC]: Do not include <stdlib.h>.
7841 [!_LIBC] (abort): Remove declaration.
7842 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7843 _FP_STATIC_ASSERT instead of conditionally calling abort.
7844 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7845 (_FP_EXTEND_CNAN): Likewise.
7846 (FP_TRUNC): Likewise.
7847 (__FP_CLZ): Likewise.
7848 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7849
7850 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7851
7852 * manual/string.texi (XPG basename): Fix prototype.
7853
7854 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7855
7856 [BZ #18080]
7857 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7858 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7859 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7860 (__setcontext): Likewise.
7861 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7862 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7863 Call rt_sigprocmask syscall one time to set new signal mask
7864 and retrieve the current signal mask instead of two calls.
7865 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7866 (__swapcontext): Likewise.
7867 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7868 * stdlib/tst-setcontext2.c: New file.
7869
7870 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7871
7872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7873
7874 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7875
7876 [BZ #18093]
7877 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7878 the wrong size.
7879
7880 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7881
7882 [BZ #18043]
7883 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7884
7885 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7886
7887 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7888 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7889 Remove define.
7890 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7891 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7892 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7893 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7894 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7895 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7896 define.
7897 * nptl_db/td_symbol_list.c (td_lookup): Remove
7898 HAVE_ASM_GLOBAL_DOT_NAME code.
7899 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7900 HAVE_ASM_GLOBAL_DOT_NAME check.
7901 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7902 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7903 (DOT_LABEL): Remove define.
7904 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7905 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7906 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7907 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7908 (__TLS_GET_ADDR): Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7910 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7911
7912 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7913
7914 [BZ #18111]
7915 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7916 (_FPU_SETCW): Initialize cw from fpsr before storing.
7917 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7918 (fesetexceptflag): Rewrite using fpu_control.h.
7919 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7920
7921 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7922
7923 [BZ #18110]
7924 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7925 asms.
7926 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7927
7928 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7929
7930 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7931 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7932 abort.
7933 (_FP_FMA): Likewise.
7934 (_FP_DIV): Likewise.
7935
7936 2015-03-10 Roland McGrath <roland@hack.frob.com>
7937
7938 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7939 with 0 in that case.
7940 * Makefile (summarize-tests): New canned sequence, factored out of
7941 commands for targets tests and xtests. Display summary lines that
7942 don't start with PASS: or XFAIL: rather than ones that do start with
7943 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7944 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7945 do start with ERROR: or FAIL:.
7946 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7947 (except for [$(build-shared) = yes]).
7948 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7949 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7950 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7951 * nptl/Makefile: Revert 2015-03-04 changes.
7952 [$(CXX) empty] (tests-unsupported): New variable.
7953 * debug/Makefile: Likewise.
7954
7955 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7956 gnulib file. Replace __attribute with __attribute__ throughout.
7957
7958 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7959
7960 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7961
7962 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7963
7964 [BZ #18104]
7965 * math/auto-libm-test-in: Add another test of pow.
7966 * math/auto-libm-test-out: Regenerated.
7967
7968 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7969
7970 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7971 $(config-cflags-nofma).
7972
7973 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7974
7975 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7976 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7977 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7978 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7979 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7980 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7981 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7982 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7983 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7984 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7985 Add comment on closing #endif.
7986
7987 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7988
7989 * posix/wordexp.c (CHAR_IN_SET): New macro.
7990 (parse_param): Use it.
7991
7992 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7993
7994 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7995
7996 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7997
7998 [BZ #18043]
7999 * posix/wordexp.c (parse_param): Fix buffer overflow.
8000 * posix/wordexp-test.c (test_case): Add test case.
8001
8002 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8003
8004 [BZ #18042]
8005 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8006 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8007
8008 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8009
8010 [BZ #18043]
8011 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8012 (do_bz18043): Delete.
8013 (at_page_end): New.
8014 (testit): Refactor to have words at the edge of unreadable page.
8015
8016 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8017
8018 [BZ #16734]
8019 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8020 Cleanup read-only streams as well.
8021 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8022
8023 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8024
8025 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8026 <bits/libc-lockP.h>
8027
8028 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8029
8030 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8031 on [__KERNEL__].
8032 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8033 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8034 * soft-fp/op-common.h (_FP_DECL): Likewise.
8035
8036 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 * elf/ifuncdep2.c (global): Replace
8039 __attribute__((visibility("protected"))) with
8040 asm (".protected global").
8041 * elf/ifuncmod1.c (global): Likewise.
8042 * elf/ifuncmod5.c (global): Likewise.
8043
8044 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8045
8046 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8047 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8048
8049 2015-03-06 Roland McGrath <roland@hack.frob.com>
8050
8051 * manual/install.texi (Configuring and compiling):
8052 Document test-wrapper-env-only.
8053 * INSTALL: Regenerated.
8054
8055 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8056
8057 [BZ #18043]
8058 * posix/wordexp.c (parse_param): Fix buffer overflow.
8059 * posix/wordexp-test.c (do_bz18043): Add test case.
8060
8061 2015-03-06 Vincent Bernat <vincent@bernat.im>
8062
8063 * time/tst-strptime2.c (do_test): Ensure failing tests are
8064 reported correctly.
8065 * time/tst-strptime3.c (do_test): Likewise.
8066
8067 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8068
8069 Fix aio_error thread-safety.
8070 * sysdeps/pthread/aio_error.c: New file
8071 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8072 synchronization.
8073
8074 2015-03-06 Florian Weimer <fweimer@redhat.com>
8075
8076 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8077 (group_number, vfprintf): Use it.
8078 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8079 (JUMP, REF): Use it.
8080 (WORK_BUFFER_SIZE): New enum constant.
8081 (process_arg, vfprintf): Use it.
8082
8083 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8084
8085 * manual/errno.texi (Error Messages): Complete example function
8086 by adding missing #define.
8087 (program_invocation_name): Add statement indicating GNU
8088 extension and reference which header file declares the variable.
8089 (program_invocation_short_name): Likewise.
8090
8091 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8092
8093 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8094 compatibility note.
8095
8096 2015-03-05 Roland McGrath <roland@hack.frob.com>
8097
8098 * Makeconfig (test-wrapper-env-only): New variable.
8099 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8100 then use that with $(test-wrapper-env-only) rather than using
8101 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8102
8103 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 [BZ #18082]
8106 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8107 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8108 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8109 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8110 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8111 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8112 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8113 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8114 Likewise.
8115 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8117 Likewise.
8118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8119 Likewise.
8120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8121 Likewise.
8122 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8123 Likewise.
8124 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8126 Likewise.
8127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8128 Likewise.
8129 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8130 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8131
8132 2015-03-04 Roland McGrath <roland@hack.frob.com>
8133
8134 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8135 (ETH_ALEN): New macro.
8136 (struct ether_addr): Use it for length of ether_addr_octet.
8137
8138 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8139 (setdb): Don't call __nss_configure_lookup for "rpc".
8140 (do_test): Don't call test_rpc.
8141 (output_rpcent, test_rpc): Functions moved ...
8142 * sunrpc/test-rpcent.c: ... to this new file.
8143 * sunrpc/Makefile (tests): Add it.
8144
8145 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8146 __xpg_sigpause.
8147 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8148 * nptl/tst-signal6.c: Likewise.
8149 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8150 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8151
8152 * configure.ac (libc_cv_cxx_link_ok): New check.
8153 Reset CXX to empty if it fails to link.
8154 * configure: Regenerated.
8155 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8156 bug-atexit3-lib only if $(CXX) is nonempty.
8157 * nptl/Makefile (tests): Likewise for tst-cancel24.
8158 (tests, tests-static): Likewise for tst-cancel24-static.
8159 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8160 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8161 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8162 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8163
8164 2015-03-04 Andreas Schwab <schwab@suse.de>
8165
8166 [BZ #17631]
8167 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8168 for non-GCC compilers.
8169 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8170 Likewise.
8171
8172 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8173
8174 [BZ #17776]
8175 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8176 integer before bitwise and assembly operations.
8177 (feclearexcept): Likewise.
8178 * math/test-fenvinline.c: New file.
8179 * math/Makefile: Add test-fenvinline test.
8180
8181 2015-03-03 Alan Modra <amodra@gmail.com>
8182
8183 [BZ #16512]
8184 * scripts/localplt.awk: Strip off symbol version.
8185 * NEWS: Mention bug fix.
8186
8187 2015-03-02 Roland McGrath <roland@hack.frob.com>
8188
8189 * sysdeps/pthread/timer_routines.c
8190 (timer_free_list, thread_free_list, thread_active_list): Make static.
8191
8192 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8193
8194 [BZ #17779]
8195 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8196 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8197 Undefine.
8198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8199 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8200 Likewise.
8201 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8202 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8203 Likewise.
8204
8205 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8206
8207 [BZ #18036]
8208 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8209 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8210
8211 2015-03-02 Andreas Schwab <schwab@suse.de>
8212
8213 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8214 variable name.
8215
8216 2015-03-02 Florian Weimer <fweimer@redhat.com>
8217
8218 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8219 Return error status.
8220
8221 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8222
8223 [BZ #15969]
8224 * locale/findlocale.c (_nl_find_locale): Introduce const
8225 version of loc_name and drop unsafe type casts.
8226
8227 2015-02-27 Roland McGrath <roland@hack.frob.com>
8228
8229 * dlfcn/tststatic2.c (main): Converted to ...
8230 (do_test): ... this.
8231 (TEST_FUNCTION): New macro.
8232 Include test-skeleton.c.
8233
8234 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8235
8236 [BZ #17711]
8237 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8238 (tests-pie): Add vismain.
8239 (CFLAGS-vismain.c): New.
8240 * elf/vismain.c: Add comments for PIE requirement.
8241
8242 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8243
8244 [BZ #18046]
8245 [BZ #18047]
8246 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8247 0x1p-56L as threshold for just returning the argument.
8248 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8249 0x1p-32L as threshold for just returning the argument.
8250 * math/auto-libm-test-in: Add more tests of atanh.
8251 * math/auto-libm-test-out: Regenerated.
8252 * sysdeps/i386/fpu/libm-test-ulps: Update.
8253 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8254
8255 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8256
8257 * string/bcopy.c (bcopy): Call memmove for performance.
8258
8259 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8260
8261 * string/bzero.c (__bzero): Call memset for performance.
8262
8263 2015-02-27 John David Anglin <dave.anglin@bell.net>
8264
8265 [BZ #18068]
8266 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8267 to 00100000.
8268
8269 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8270
8271 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8272
8273 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8274
8275 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8276 (__kernel_standard): Use CSTR macro when setting exc.name.
8277 * sysdeps/ieee754/Makefile [$(subdir) = math]
8278 (CFLAGS-k_standard.c): Remove variable.
8279
8280 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8281 setting p and q from "else if" to "else".
8282 (qzero): Likewise.
8283 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8284 (qone): Likewise.
8285 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8286 (qzerof): Likewise.
8287 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8288 (qonef): Likewise.
8289 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8290 (qzero): Likewise.
8291 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8292 (qone): Likewise.
8293
8294 [BZ #18038]
8295 [BZ #18039]
8296 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8297 return pi/2 for arguments below 0x1p-113L.
8298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8299 return pi/2 for arguments below 0x1p-106L.
8300 * math/auto-libm-test-in: Add more tests of acos.
8301 * math/auto-libm-test-out: Regenerated.
8302
8303 [BZ #16351]
8304 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8305 (MO): New macro.
8306 (__ieee754_asin): Force underflow exception for results with small
8307 absolute value.
8308 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8309 (MO): New macro.
8310 (__ieee754_asinf): Force underflow exception for results with
8311 small absolute value.
8312 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8313 (__ieee754_asin): Force underflow exception for results with small
8314 absolute value.
8315 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8316 (__ieee754_asinf): Force underflow exception for results with
8317 small absolute value.
8318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8319 (__ieee754_asinl): Force underflow exception for results with
8320 small absolute value.
8321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8322 (__ieee754_asinl): Force underflow exception for results with
8323 small absolute value.
8324 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8325 (__ieee754_asinl): Force underflow exception for results with
8326 small absolute value.
8327 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8328 Include <math.h>.
8329 * math/auto-libm-test-in: Do not mark underflow exceptions as
8330 possibly missing for bug 16351.
8331 * math/auto-libm-test-out: Regenerated.
8332
8333 [BZ #18030]
8334 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8335 of power of 2 down when low part has opposite sign.
8336 * math/libm-test.inc (logb_test_data): Add more tests.
8337
8338 2015-02-26 Andreas Schwab <schwab@suse.de>
8339
8340 [BZ #18032]
8341 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8342 over collating symbol inside a bracket expression. Minor cleanup.
8343 * posix/tst-fnmatch3.c (do_test): Add test case.
8344
8345 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8346
8347 [BZ #18029]
8348 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8349 Adjust exponent of power of 2 down when low part has opposite
8350 sign.
8351 * math/libm-test.inc (ilogb_test_data): Add more tests.
8352
8353 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8354
8355 [BZ #15969]
8356 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8357 the previous change.
8358
8359 [BZ #15969]
8360 * locale/findlocale.c (_nl_find_locale): Retry archive search
8361 after alias expansion.
8362
8363 2015-02-25 Roland McGrath <roland@hack.frob.com>
8364
8365 * iconv/tst-iconv3.c (main): Converted to ...
8366 (do_test): ... this.
8367 (TEST_FUNCTION): New macro.
8368 Include test-skeleton.c.
8369
8370 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8371 (convert): Make function static.
8372 (test_unalign): Likewise. Add const to argument pointee types.
8373 (main): Replace with static function do_test.
8374 Print "Succeeded." only if RET is zero.
8375 (TEST_FUNCTION): New macro.
8376 Include test-skeleton.c.
8377
8378 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8379 returns a null pointer.
8380
8381 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382
8383 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8384 to __memcpy_ppc only for static builds.
8385
8386 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8387
8388 [BZ #18020]
8389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8390 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8391 * math/auto-libm-test-in: Add more tests of asinh.
8392 * math/auto-libm-test-out: Regenerated.
8393 * sysdeps/i386/fpu/libm-test-ulps: Update.
8394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8395
8396 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8397
8398 [BZ #15850]
8399 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8400 and ip6_mtuinfo definitions here.
8401 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8402 in this define too. Update comment.
8403
8404 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8405
8406 * elf/sprof.c (load_shobj): Tweak error message to match others.
8407
8408 2015-02-24 Kevin Easton <kevin@guarana.org>
8409
8410 [BZ #16145] (partial fix)
8411 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8412 to reduce lock contention.
8413
8414 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8415
8416 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8417 (struct timex): Update time comment.
8418 (ADJ_SETOFFSET): Define.
8419
8420 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8421
8422 [BZ #18019]
8423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8424 2**56 not 2**28 as threshold for log (2x) formula.
8425 * math/auto-libm-test-in: Add more tests of acosh.
8426 * math/auto-libm-test-out: Regenerated.
8427 * sysdeps/i386/fpu/libm-test-ulps: Update.
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8429
8430 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8431
8432 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8433 parenthesis around the buf assignment.
8434 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8435
8436 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8437
8438 [BZ #16783]
8439 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8440 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8441 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8442 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8443 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8444 * math/libm-test.inc (scalb_test_data): Add more tests.
8445
8446 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8447
8448 [BZ #17916]
8449 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8450 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8451
8452 2015-02-24 Eric Rannaud <e@nanocritical.com>
8453
8454 [BZ #17523]
8455 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8456 * io/bits/fcntl2.h (open): Use it.
8457 (openat): Likewise.
8458 * io/open.c (__libc_open): Likewise.
8459 * io/open64.c (__libc_open64): Likewise.
8460 * io/open64_2.c (__open64_2): Likewise.
8461 * io/open_2.c (__open_2): Likewise.
8462 * io/openat.c (__openat): Likewise.
8463 * io/openat64.c (__openat64): Likewise.
8464 * io/openat64_2.c (__openat64_2): Likewise.
8465 * io/openat_2.c (__openat_2): Likewise.
8466 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8467 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8468 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8469 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8470 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8471 (__open_nocancel): Likewise.
8472 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8473 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8474 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8475
8476 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8477
8478 [BZ #14841]
8479 * resolv/gethnamaddr.c (getanswer): Skip logging if
8480 RES_USE_DNSSEC is set.
8481 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8482
8483 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8484
8485 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8486
8487 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8488
8489 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8490 201304L, for Unicode 7.
8491
8492 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 [BZ #17836]
8495 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8496 shared library. Add gmon-start.os otherwise.
8497 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8498 $(objpfx)gmon-start.os if builing shared library.
8499 ($(objpfx)g$(static-start-installed-name)): Likewise.
8500
8501 2015-02-23 Andreas Schwab <schwab@suse.de>
8502
8503 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8504
8505 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8506
8507 [BZ #17269]
8508 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8509 (enlarge_userbuf): Likewise.
8510
8511 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8512
8513 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8514 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8515 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8516 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8517
8518 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8519
8520 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8521 expression inside statement expression.
8522
8523 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8524
8525 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8526 <sysdeps/nptl/lowlevellock.h> and remove macros and
8527 functions that are now defined there.
8528 (SYS_futex): Remove.
8529 (lll_compare_and_swap): Remove.
8530 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8531
8532 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8533
8534 [BZ #17999]
8535 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8536 instead of scandirat.
8537 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8538 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8539 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8540 __scandirat.
8541 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8542 (__scandirat): Declare. Use libc_hidden_proto.
8543 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8544 Remove variable.
8545 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8546
8547 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8548
8549 [BZ #15319]
8550 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8551 (MO): New macro.
8552 (__ieee754_atan2): For results with small absolute value, force
8553 underflow exception and remove excess range and precision from
8554 return value.
8555 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8556 (MO): New macro.
8557 (__ieee754_atan2f): For results with small absolute value, force
8558 underflow exception and remove excess range and precision from
8559 return value.
8560 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8561 (MO): New macro.
8562 (__atan): For results with small absolute value, force underflow
8563 exception and remove excess range and precision from return value.
8564 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8565 (MO): New macro.
8566 (__atanf): For results with small absolute value, force underflow
8567 exception and remove excess range and precision from return value.
8568 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8569 <math.h>.
8570 (__ieee754_atan2): Force underflow exception for results with
8571 small absolute value.
8572 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8573 <math_private.h>.
8574 (atan): Force underflow exception for results with small absolute
8575 value.
8576 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8577 (__atanf): Force underflow exception for results with small
8578 absolute value.
8579 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8580 <math.h>.
8581 (__atanl): Force underflow exception for results with small
8582 absolute value.
8583 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8584 (__atanl): Force underflow exception for results with small
8585 absolute value.
8586 * sysdeps/x86/fpu/bits/mathinline.h
8587 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8588 (__ieee754_atan2): Only define inline for long double.
8589 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8590 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8591 * math/auto-libm-test-in: Do not mark underflow exceptions as
8592 possibly missing for bug 15319. Add more tests of atan2.
8593 * math/auto-libm-test-out: Regenerated.
8594 * math/libm-test.inc (casin_test_data): Do not mark underflow
8595 exceptions as possibly missing for bug 15319.
8596 (casinh_test_data): Likewise.
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598
8599 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8600
8601 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8602 * sysdeps/mips/bits/endian.h: Fix comments.
8603
8604 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8605
8606 [BZ #17996]
8607 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8608 (hdestroy_r): Likewise.
8609 (hsearch_r): Likewise.
8610 (__hcreate_r): Declare and use libc_hidden_proto.
8611 (__hdestroy_r): Likewise.
8612 (__hsearch_r): Likewise.
8613 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8614 (hcreate): Call __hcreate_r instead of hcreate_r.
8615 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8616 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8617 as weak alias of __hcreate_r.
8618 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8619 __hdestroy_r.
8620 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8621 __hsearch_r.
8622 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8623 Remove variable.
8624 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8625 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8626 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8627 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8628
8629 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8630
8631 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8632 arena_lock into a single arena_get.
8633
8634 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8635
8636 * dl-reloc.c: Inlucde libc-internal.h.
8637 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8638 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8639 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8640 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8641 (grow_heap): Likewise.
8642 * malloc/malloc.c: Include libc-internal.h.
8643 (do_check_malloc): Call powerof2.
8644 (sysmalloc): Use pagesize. Call ALIGN_UP.
8645 (systrim): Use pagesize.
8646 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8647 (__libc_valloc): Use pagesize.
8648 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8649
8650 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #17991]
8653 * include/sys/resource.h (__getrlimit64): Declare. Use
8654 libc_hidden_proto.
8655 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8656 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8657 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8658 getrlimit64.
8659 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8660 __getrlimit64.
8661 [!getrlimit64] (getrlimit64): Define as weak alias of
8662 __getrlimit64. Use libc_hidden_weak.
8663 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8664 using __getrlimit64 not __new_getrlimit64.
8665 (__GI_getrlimit64): Likewise.
8666 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8667 Likewise.
8668 (__GI_getrlimit64): Likewise.
8669 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8671 (getrlimit): Add __getrlimit64 alias.
8672 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8673 Likewise.
8674 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8675 Remove variable.
8676 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8677 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8678
8679 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8680
8681 * libio/fileops.c: Add missing sys/mman.h
8682 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8683
8684 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8685
8686 * manual/math.texi (Errors in Math Functions): Clarify goals
8687 regarding inexact and underflow exceptions.
8688
8689 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8690
8691 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8692 * sysdeps/mips/memset.S: Ditto.
8693
8694 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8695
8696 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8697
8698 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8699
8700 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8701 (__v1longjmp): Remove versioned symbol.
8702 (__v1siglongjmp): Remove alias and versioned symbol.
8703 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8704 (__v2siglongjmp): Likewise.
8705
8706 2015-02-16 Torvald Riegel <triegel@redhat.com>
8707
8708 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8709
8710 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8711
8712 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8713
8714 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8715
8716 [BZ #17987]
8717 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8718 zero result does not depend on the sign resulting from
8719 subtraction.
8720 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8721 Likewise.
8722 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8726 * math/libm-test.inc (remquo_test_data): Add more tests.
8727
8728 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8729
8730 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8731 Problem reported by J William Piggott.
8732
8733 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8734
8735 [BZ #17978]
8736 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8737 products 4 * y and 2 * y where those would overflow.
8738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8739 Likewise.
8740 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8741 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8743 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8744 * math/libm-test.inc (remquo_test_data): Add more tests.
8745
8746 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8747
8748 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8749 [defined _COMPILING_NEWLIB].
8750 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8751 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8752
8753 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8754 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8755
8756 2015-02-16 Torvald Riegel <triegel@redhat.com>
8757
8758 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8759 acquired.
8760
8761 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8762
8763 [BZ #17792]
8764 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8765 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8766 HOST_STACK_END_ADDR): Likewise.
8767
8768 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8769
8770 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8771 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8772 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8773
8774 2015-02-13 Roland McGrath <roland@hack.frob.com>
8775
8776 * sysdeps/generic/c++-types.data: New file.
8777 * sysdeps/generic/ld.abilist: New file.
8778 * sysdeps/generic/libBrokenLocale.abilist: New file.
8779 * sysdeps/generic/libanl.abilist: New file.
8780 * sysdeps/generic/libc.abilist: New file.
8781 * sysdeps/generic/libcrypt.abilist: New file.
8782 * sysdeps/generic/libdl.abilist: New file.
8783 * sysdeps/generic/libm.abilist: New file.
8784 * sysdeps/generic/libpthread.abilist: New file.
8785 * sysdeps/generic/libresolv.abilist: New file.
8786 * sysdeps/generic/librt.abilist: New file.
8787
8788 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8789
8790 [BZ #17569]
8791 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8792 Compute absolute value of x as modified by fmod, not original
8793 value of x.
8794 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8795 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8796 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8797 RUN_TEST_ffI_f1_mod8.
8798 (remquo_test_data): Add more tests.
8799
8800 2015-02-13 Roland McGrath <roland@hack.frob.com>
8801
8802 * sysdeps/init_array/pt-crti.S: New file.
8803
8804 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #17967]
8807 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8808 __builtin_fmaf instead of relying on contraction of a * b + c.
8809
8810 2015-02-12 J William Piggott <elseifthen@gmx.com>
8811
8812 [BZ #17969]
8813 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8814 node.
8815
8816 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8817
8818 [BZ #17964]
8819 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8820 __builtin_fma instead of relying on contraction of a * b + c.
8821
8822 2015-02-12 Roland McGrath <roland@hack.frob.com>
8823
8824 * Makeconfig (ASFLAGS): Add -Werror=undef.
8825 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8826 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8827 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8828
8829 * Makeconfig (after-link): New variable.
8830 (+link-pie, +link-pie-tests): Use it.
8831 (+link-static, +link-static-tests): Likewise.
8832 (+link, +link-tests): Likewise.
8833 * Makerules (build-module, build-module-asneeded): Likewise.
8834 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8835 Likewise.
8836 * elf/Makefile ($(objpfx)ld.so): Likewise.
8837
8838 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8839
8840 [BZ #17965]
8841 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8842 both struct timeval and struct timespec.
8843
8844 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8845
8846 [BZ #16560]
8847 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8848 and redefine.
8849 (__ieee754_exp2l): Do not multiply small fractional parts by
8850 M_LN2l.
8851 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8852 small argument.
8853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8854 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8855 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8856 * math/auto-libm-test-in: Add more tests of exp2.
8857 * math/auto-libm-test-out: Regenerated.
8858
8859 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8860
8861 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8862 unaligned path.
8863
8864 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8865
8866 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8867 little endian.
8868
8869 2015-02-12 Andreas Schwab <schwab@suse.de>
8870
8871 [BZ #15790]
8872 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8873 Filter out elision flags from value returned in kind.
8874 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8875 * nptl/tst-pthread-mutexattr.c: New file.
8876
8877 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8878
8879 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8880 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8881 into gnu-gnu, and update comment to refer to abi-tags.
8882
8883 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8884
8885 [BZ #15467]
8886 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8887 (__sincos): Set errno to EDOM for infinite argument.
8888 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8889 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8890 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8891 (__sincosl): Set errno to EDOM for infinite argument.
8892 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8893 (__sincosl): Set errno to EDOM for infinite argument.
8894 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8895 (__sincosl): Set errno to EDOM for infinite argument.
8896 * math/libm-test.inc (sincos_test_data): Test errno setting.
8897
8898 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8899
8900 * string/strxfrm_l.c: Remove #define STRCMP.
8901 * string/strcoll_l.c: Remove #define STRLEN.
8902 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8903 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8904
8905 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8906
8907 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8908 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8909 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8910 * sysdeps/mips/mips64/Makefile: ... here.
8911 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8912 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8913 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8914 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8915 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8916 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8917 * sysdeps/mips/mips64/n64/Implies: Likewise.
8918
8919 2015-02-10 Roland McGrath <roland@hack.frob.com>
8920
8921 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8922 <sys/time.h>, <string.h>, and <errno.h>.
8923 (dest_offset, dest_address, value, zero): Remove unused variables.
8924 (ldouble): Remove typedef.
8925 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8926 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8927 1). Fix code style.
8928 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8929 (check): Function removed.
8930 (CHECK): New macro.
8931 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8932 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8933 Don't call set_sigaction_FP and remove_sigaction_FP here.
8934 (ldouble_test): Just use 'long double' as macro argument, no need for
8935 the 'ldouble' typedef.
8936 (do_test): Set up SIGFPE handler at start, using plain signal rather
8937 than sigaction. Fix code style.
8938
8939 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8940
8941 [BZ #17949]
8942 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8943 jump label.
8944
8945 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8946
8947 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8948 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8949
8950 * sysdeps/powerpc/configure.ac: Remove file.
8951 * sysdeps/powerpc/configure: Likewise.
8952
8953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8954 [sysdep_routines]: Remove wordcopy-power6 object.
8955 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8956 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8957 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8958 (__memmove_ppc32): Likewise.
8959 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8960 file.
8961 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8962 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8963 Remove preprocessor.
8964
8965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8966 [sysdep_routines]: Remove wide chars objects.
8967 [wcsmbs]: New rule for wide char objects.
8968
8969 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8970 Remove wordcopy-power6 obejct.
8971 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8972 Use local call for wordcopy and memcpy symbols.
8973 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8974 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8975 implementation for loader.
8976 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8977
8978 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8979 Remove wordcopy-power7 object.
8980 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8981 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8982 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8983 (_wordcopy_fwd_dest_aligned): Likewise.
8984 (_wordcopy_bwd_aligned): Likewise.
8985 (_wordcopy_bwd_dest_aligned): Likewise.
8986
8987 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8988 Rewrite to call __memmove_ppc instead of include default
8989 implementation.
8990
8991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8992 Remove wide chars objects.
8993 [wcsmbs]: New rule for wide char objects.
8994
8995 2015-02-09 Andreas Schwab <schwab@suse.de>
8996
8997 [BZ #17912]
8998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8999 in terms of __O_DIRECTORY.
9000
9001 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9002
9003 * time/getdate.c: Include <stdbool.h>.
9004 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9005 call PTR_MANGLE.
9006 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9007 PTR_DEMANGLE.
9008
9009 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9010
9011 Add ersatz _Static_assert on older C hosts
9012 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9013 pre-C11 C platform that is not known to support _Static_assert.
9014
9015 2015-02-07 Richard Braun <rbraun@sceen.net>
9016
9017 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9018 sigstate.
9019 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9020
9021 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9022
9023 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9024 priority against unexistent AIO_PRIO_DELTA_MAX.
9025 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9026 instead of int.
9027 * misc/fchflags.c (fchflags): Likewise.
9028 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9029 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9030 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9031 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9032 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9033 Declare macros.
9034 [__USE_MISC] (chflags, fchflags): Declare functions.
9035 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9036 EINVAL when nfds is greater than FD_SETSIZE.
9037 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9038 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9039 45.
9040 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9041 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9042 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9043 MACH_RCV_TIMED_OUT.
9044 * hurd/hurd/signal.h (_hurd_self_sigstate,
9045 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9046 Explicit casts from void *.
9047 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9048 * abi-tags: Rename gnu-gnu os into gnu.
9049
9050 [BZ #4719]
9051 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9052 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9053 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9054 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9055 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9056 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9057
9058 [BZ #17944]
9059 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9060 duplicates ADDR->sun_path with sockaddr LEN limitation.
9061 * sysdeps/mach/hurd/connect.c: Include <string.h>
9062 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9063 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9064 * sysdeps/mach/hurd/sendto.c: Likewise.
9065 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9066 implementing it by hand.
9067
9068 2015-02-06 Roland McGrath <roland@hack.frob.com>
9069
9070 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9071 Use sfi_breg on ldr.
9072 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9073 Likewise.
9074
9075 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9076 it's defined.
9077 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9078 Test SIGSETXID only if it's defined.
9079
9080 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9081
9082 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9083 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9084
9085 * nptl/tst-align2.c: Moved ...
9086 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9087 * nptl/Makefile (tests): Remove tst-align2.
9088 * sysdeps/unix/sysv/linux/Makefile
9089 [$(subdir) = nptl] (tests): Add tst-align-clone.
9090 * nptl/tst-getpid1.c: Moved ...
9091 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9092 * nptl/tst-getpid2.c: Moved ...
9093 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9094 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9095 * sysdeps/unix/sysv/linux/Makefile
9096 [$(subdir) = nptl] (tests): ... here.
9097 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9098 * sysdeps/unix/sysv/linux/Makefile
9099 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9100
9101 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9102 Drop trailing \n from perror argument. Use return rather than exit.
9103
9104 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9105 on [SA_SIGINFO].
9106 * nptl/tst-cancel21.c (do_test): Likewise.
9107 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9108 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9109 [!SA_SIGINFO]: Make it a stub test.
9110
9111 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9112 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9113
9114 * posix/tst-getlogin.c: Move to ...
9115 * login/tst-getlogin.c: ... here.
9116 * posix/Makefile (tests): Move tst-getlogin to ...
9117 * login/Makefile (tests): ... here.
9118
9119 * libio/tst-atime.c (do_test): Move local variables SV and E
9120 inside [ST_NOATIME] conditional.
9121
9122 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9123
9124 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9125
9126 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9127 (wait_code): New function replaces macro.
9128 Call nanosleep rather than syscall.
9129
9130 * nptl/pt-system.c: Rewritten. Put everything under
9131 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9132 Use IFUNC to redirect when possible.
9133
9134 * nptl/pt-longjmp.c: Rewritten. Put everything under
9135 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9136 Use IFUNC to redirect when possible.
9137
9138 * nptl/pt-fork.c: Rewritten. Put everything under
9139 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9140 Use IFUNC to redirect when possible.
9141 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9142
9143 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9144 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9145 unconditionally nowadays. This included the only reference to
9146 __vdso_clock_gettime that appears outside libc proper.
9147 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9148 Remove version set (containing only __vdso_clock_gettime).
9149 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9150 Add attribute_hidden.
9151 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9152 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9153 libc_hidden_data_def.
9154 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9155 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9156
9157 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9158 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9159 setrpcent, and getrpcport to ...
9160 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9161 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9162 getrpcbynumber_r, and getrpcent_r to ...
9163 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9164 * inet/getrpcbyname.c: Moved ...
9165 * sunrpc/getrpcbyname.c: ... here.
9166 * inet/getrpcbyname_r.c: Moved ...
9167 * sunrpc/getrpcbyname_r.c: ... here.
9168 * inet/getrpcbynumber.c: Moved ...
9169 * sunrpc/getrpcbynumber.c: ... here.
9170 * inet/getrpcbynumber_r.c: Moved ...
9171 * sunrpc/getrpcbynumber_r.c: ... here.
9172 * inet/getrpcent.c: Moved ...
9173 * sunrpc/getrpcent.c: ... here.
9174 * inet/getrpcent_r.c: Moved ...
9175 * sunrpc/getrpcent_r.c: ... here.
9176 * inet/Makefile (routines): Move those to ...
9177 * sunrpc/Makefile (routines): ... here.
9178 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9179 the $(subdirs) list.
9180 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9181 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9182 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9183 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9184
9185 * elf/Makefile (routines): Include $(all-dl-routines), not just
9186 $(dl-routines).
9187 (rtld-routines): Likewise. Use = rather than :=.
9188 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9189 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9190 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9191 * sysdeps/arm/Makefile: Likewise.
9192 * sysdeps/i386/Makefile: Likewise.
9193 * sysdeps/x86_64/Makefile: Likewise.
9194 * sysdeps/hppa/Makefile [$(subdir) = elf]
9195 (sysdep_routines, sysdep-rtld-routines): Don't add
9196 $(sysdep-dl-routines) to these.
9197 * sysdeps/ia64/Makefile: Likewise.
9198 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9199 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9200 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9201 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9202 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9203 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9205 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9206 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9207 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9208 these; sysdep-dl-routines alone is enough.
9209
9210 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9211
9212 [BZ #17932]
9213 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9214 where multiplication results in zero and third argument is finite
9215 and nonzero.
9216 * math/auto-libm-test-in: Add more tests of fma.
9217 * math/auto-libm-test-out: Regenerated.
9218
9219 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9220 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9221 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9222 (_FP_CMP_EQ): Likewise.
9223 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9224
9225 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9226 extra argument CHECK_NAN. Redefine as wrapper around
9227 _FP_EXTEND_CNAN.
9228
9229 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9230
9231 * version.h (RELEASE): Set to "stable".
9232 (VERSION): Set to "2.21"
9233 * include/features.h (__GLIBC_MINOR__): Set to 21.
9234
9235 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9236
9237 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9238 Paul Eggert <eggert@cs.ucla.edu>
9239
9240 [BZ #16618]
9241 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9243 size in bytes. Store needed elements in wpmax. Use needed size
9244 in bytes for extend_alloca.
9245
9246 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9247
9248 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9249 binutls 2.25, and texinfo 5.2.
9250 * INSTALL: Regenerate.
9251 * sysdeps/nios2/configure: Regenerate.
9252 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9253 * manual/contrib.texi: Update.
9254 * po/be.po: Update.
9255 * po/bg.po: Update.
9256 * po/ca.po: Update.
9257 * po/cs.po: Update.
9258 * po/da.po: Update.
9259 * po/de.po: Update.
9260 * po/el.po: Update.
9261 * po/eo.po: Update.
9262 * po/es.po: Update.
9263 * po/fi.po: Update.
9264 * po/fr.po: Update.
9265 * po/gl.po: Update.
9266 * po/hr.po: Update.
9267 * po/hu.po: Update.
9268 * po/ia.po: Update.
9269 * po/id.po: Update.
9270 * po/it.po: Update.
9271 * po/ja.po: Update.
9272 * po/ko.po: Update.
9273 * po/lt.po: Update.
9274 * po/nb.po: Update.
9275 * po/nl.po: Update.
9276 * po/pl.po: Update.
9277 * po/pt_BR.po: Update.
9278 * po/ru.po: Update.
9279 * po/rw.po: Update.
9280 * po/sk.po: Update.
9281 * po/sl.po: Update.
9282 * po/sv.po: Update.
9283 * po/tr.po: Update.
9284 * po/uk.po: Update.
9285 * po/vi.po: Update.
9286 * po/zh_CN.po: Update.
9287 * po/zh_TW.po: Update.
9288
9289 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9290 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9291 * sysdeps/hppa/dl-irel.h: Remove #warning.
9292 * sysdeps/hppa/entry.h: Provide prototype for
9293 __canonicalize_funcptr_for_compare and cast argument.
9294 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9295 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9296 * sysdeps/hppa/sotruss-lib.c: New file.
9297 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9298 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9299 (atomic_compare_and_exchange_bool_acq): Likewise.
9300 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9301 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9302
9303 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9304 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9305 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9306
9307 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9308
9309 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9310 called function in non-PIC case.
9311
9312 2015-01-31 David S. Miller <davem@davemloft.net>
9313
9314 * sysdeps/sparc/sparc32/bits/atomic.h
9315 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9316 unlock not after it.
9317 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9318 volatile register usage warnings from the compiler.
9319
9320 * sysdeps/sparc/nptl/sem_init.c: Delete.
9321 * sysdeps/sparc/nptl/sem_post.c: Delete.
9322 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9323 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9324 * sysdeps/sparc/sparc32/sem_init.c: New file.
9325 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9326 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9327 padding explicitly initialized.
9328 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9329 padding for in-semaphore spinlock.
9330 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9331 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9332 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9333 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9334 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9335 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9336 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9337 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9338 version.
9339 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9340 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9341
9342 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9343
9344 [BZ #17801]
9345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9346 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9347 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9348 New.
9349 (index_AVX_Fast_Unaligned_Load): Likewise.
9350 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9351 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9352 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9353 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9354 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9355 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9356 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9357 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9358 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9359
9360 2015-01-29 Andreas Schwab <schwab@suse.de>
9361
9362 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9363
9364 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
9366 [BZ #17892]
9367 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9368
9369 2015-01-28 Martin Sebor <msebor@redhat.com>
9370
9371 * math/README.libm-test: Clarify. Add "How to read the test output."
9372
9373 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9374
9375 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9376 Define to 0.
9377
9378 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9379
9380 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9381 (__HAVE_64B_ATOMICS): Define to 0.
9382
9383 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9384
9385 [BZ #17885]
9386 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9387 value to set as new flag.
9388
9389 [BZ #16576]
9390 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9391 and use _ARCH_PPCSQ instead.
9392 (__ieee754_sqrt): Likewise.
9393 (__ieee754_sqrtf): Likewise.
9394 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9395 _ARCH_PPCSQ is defined.
9396 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9397 fsqrt instruction.
9398 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9399 _ARCH_PPCSQ is defined.
9400 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9401 fsqrts instruction.
9402 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9403
9404 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9405
9406 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9407 bug (GCC BZ #64739).
9408
9409 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9410
9411 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9412 Mark _retval as used.
9413 (lll_futex_wake_unlock): Likewise.
9414 (lll_futex_timed_wait_requeue_pi): Likewise.
9415
9416 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9417 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9418 register variables.
9419
9420 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9421 libm_hidden_def.
9422
9423 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9424 (__bswap_64): Mark as __always_inline.
9425
9426 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9427
9428 [BZ #15378]
9429 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9430 when none of the search directories exist.
9431
9432 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9433
9434 [BZ #17869]
9435 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9436 power8 in .machine directive.
9437
9438 [BZ #17868]
9439 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9440 set dependency from opd value.
9441
9442 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9443
9444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9445 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9446 architecture.
9447
9448 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9449
9450 [BZ #17870]
9451 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9452 with uint64_t.
9453 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9454 (uint64_t) 1.
9455 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9456 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9457 Replace 1UL with (uint64_t) 1.
9458 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9459 int with uint64_t.
9460
9461 2015-01-23 Roland McGrath <roland@hack.frob.com>
9462
9463 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9464 (if_freenameindex): Likewise.
9465
9466 * resource/getrlimit64.c: Add missing libc_hidden_def.
9467
9468 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9469
9470 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9471 __label__.
9472 (_FP_FMA): Likewise.
9473 (_FP_TO_INT_ROUND): Likewise.
9474 (_FP_FROM_INT): Likewise.
9475
9476 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9477
9478 [BZ #16418]
9479 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9480 Make code racy and cancel safe.
9481
9482 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9483
9484 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9485 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9486 attribution.
9487
9488 * pwd/tst-getpw.c: Rewrite.
9489
9490 [BZ #17702]
9491 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9492 (modules-names): Add moddummy1 and moddummy2.
9493 ($(objpfx)tst-rec-dlopen): Define.
9494 * dlfcn/moddummy1.c: New file.
9495 * dlfcn/moddummy2.c: New file.
9496 * dlfcn/tst-rec-dlopen.c: New file.
9497 * elf/dl-cache.c (_dl_load_cache_lookup):
9498 Return char*. Copy result with alloca/strcpy/strdup.
9499 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9500 returns char*. Free cached. If not saving realname
9501 free cached.
9502 * elf/dl-open.c (dl_open_worker): Do not assert that
9503 _r_debug->r_state is RT_CONSISTENT.
9504 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9505 returns char*.
9506
9507 2015-01-21 Torvald Riegel <triegel@redhat.com>
9508 Carlos O'Donell <carlos@redhat.com>
9509
9510 [BZ #12674]
9511 * nptl/sem_waitcommon.c: New file.
9512 * nptl/sem_wait.c: Include sem_waitcommon.c.
9513 (__sem_wait_cleanup, do_futex_wait): Remove.
9514 (__new_sem_wait): Adapt.
9515 (__new_sem_trywait): New function.
9516 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9517 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9518 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9519 (sem_timedwait): Adapt.
9520 * nptl/sem_post.c (__new_sem_post): Adapt.
9521 (futex_wake): New function.
9522 (__old_sem_post): Add release MO fence.
9523 * nptl/sem_open.c (sem_open): Adapt.
9524 * nptl/sem_init.c (__new_sem_init): Adapt.
9525 (futex_private_if_supported): New function.
9526 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9527 (__old_sem_getvalue): Add using previous code.
9528 * sysdeps/nptl/internaltypes.h: Adapt.
9529 * nptl/tst-sem13.c (do_test): Adapt.
9530 * nptl/tst-sem11.c (main): Adapt.
9531 * nptl/sem_trywait.c: Remove.
9532 * nptl/DESIGN-sem.txt: Remove.
9533 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9534 (gen-as-const-headers): Remove structsem.sym.
9535 * nptl/structsem.sym: Remove.
9536 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9537 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9538 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9539 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9540 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9541 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9542 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9543 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9544 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9545 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9546 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9547 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9548 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9549 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9550 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9551 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9552 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9553 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9554 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9555 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9556 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9557 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9558
9559 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9560
9561 * INSTALL: Regenerated.
9562
9563 * po/libc.pot: Regenerated.
9564
9565 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9566 Sandra Loosemore <sandra@codesourcery.com>
9567 Andrew Jenner <andrew@codesourcery.com>
9568 Joseph Myers <joseph@codesourcery.com>
9569 Nathan Sidwell <nathan@codesourcery.com>
9570
9571 * NEWS: Mention new Nios II port.
9572 * sysdeps/nios2/Implies: New file.
9573 * sysdeps/nios2/Makefile: New file.
9574 * sysdeps/nios2/Subdirs: New file.
9575 * sysdeps/nios2/Versions: New file.
9576 * sysdeps/nios2/__longjmp.S: New file.
9577 * sysdeps/nios2/abort-instr.h: New file.
9578 * sysdeps/nios2/backtrace.c: New file.
9579 * sysdeps/nios2/bits/endian.h: New file.
9580 * sysdeps/nios2/bits/fenv.h: New file.
9581 * sysdeps/nios2/bits/link.h: New file.
9582 * sysdeps/nios2/bits/setjmp.h: New file.
9583 * sysdeps/nios2/bsd-_setjmp.S: New file.
9584 * sysdeps/nios2/bsd-setjmp.S: New file.
9585 * sysdeps/nios2/configure: New generated file.
9586 * sysdeps/nios2/configure.ac: New file.
9587 * sysdeps/nios2/crti.S: New file.
9588 * sysdeps/nios2/crtn.S: New file.
9589 * sysdeps/nios2/dl-init.c: New file.
9590 * sysdeps/nios2/dl-machine.h: New file.
9591 * sysdeps/nios2/dl-sysdep.h: New file.
9592 * sysdeps/nios2/dl-tls.h: New file.
9593 * sysdeps/nios2/dl-trampoline.S: New file.
9594 * sysdeps/nios2/gccframe.h: New file.
9595 * sysdeps/nios2/gmp-mparam.h: New file.
9596 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9597 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9598 * sysdeps/nios2/ldsodefs.h: New file.
9599 * sysdeps/nios2/libc-tls.c: New file.
9600 * sysdeps/nios2/libm-test-ulps: New file.
9601 * sysdeps/nios2/machine-gmon.h: New file.
9602 * sysdeps/nios2/math-tests.h: New file.
9603 * sysdeps/nios2/math_private.h: New file.
9604 * sysdeps/nios2/memusage.h: New file.
9605 * sysdeps/nios2/nptl/Makefile: New file.
9606 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9607 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9608 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9609 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9610 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9611 * sysdeps/nios2/nptl/tls.h: New file.
9612 * sysdeps/nios2/preconfigure: New file.
9613 * sysdeps/nios2/s_fma.c: New file.
9614 * sysdeps/nios2/s_fmaf.c: New file.
9615 * sysdeps/nios2/setjmp.S: New file.
9616 * sysdeps/nios2/sfp-machine.h: New file.
9617 * sysdeps/nios2/sotruss-lib.c: New file.
9618 * sysdeps/nios2/stackguard-macros.h: New file.
9619 * sysdeps/nios2/stackinfo.h: New file.
9620 * sysdeps/nios2/start.S: New file.
9621 * sysdeps/nios2/sysdep.h: New file.
9622 * sysdeps/nios2/tls-macros.h: New file.
9623 * sysdeps/nios2/tst-audit.h: New file.
9624 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9625 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9626 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9627 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9628 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9629 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9630 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9631 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9632 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9633 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9634 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9635 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9636 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9637 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9638 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9639 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9640 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9641 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9642 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9643 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9644 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9645 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9646 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9647 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9648 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9649 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9650 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9651 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9652 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9653 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9654 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9655 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9656 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9657 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9658 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9659 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9660 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9661 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9662 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9663 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9664 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9665 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9666 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9667 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9668
9669 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9670
9671 [BZ #17844]
9672 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9673 (getutent): Use weak_alias in non SHARED case
9674 and default_symbol_version in SHARED case.
9675 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9676 (getutent_r, pututline): Likewise.
9677 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9678 (getutid): Likewise.
9679 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9680 (getutid_r): Likewise.
9681 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9682 (getutline): Likewise.
9683 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9684 (getutline_r): Likewise.
9685 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9686 (updwtmp): Likewise.
9687
9688 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9689
9690 [BZ #17848]
9691 * sysdeps/s390/s390-32/memcmp.S
9692 (memcmp_g5): Rename to __memcmp_g5.
9693 * sysdeps/s390/s390-32/memcpy.S
9694 (memcpy_g5): Rename to __memcpy_g5.
9695 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9696 (memcpy_mvcle) Rename to __memcpy_mvcle.
9697 * sysdeps/s390/s390-32/memset.S
9698 (memset_g5): Rename to __memset_g5.
9699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9700 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9701 and use prefixed functions.
9702 * sysdeps/s390/s390-32/multiarch/memcmp.S
9703 (memcmp_z196): Rename to __memcmp_z196.
9704 (memcmp_z10): Rename to __memcmp_z10.
9705 (memcmp): Set alias to __memcmp_g5.
9706 (bcmp): Set alias to __memcmp_g5.
9707 * sysdeps/s390/s390-32/multiarch/memcpy.S
9708 (memcpy_z196): Rename to __memcpy_z196.
9709 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9710 (memcpy_z10): Rename to __memcpy_z10.
9711 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9712 (memcpy): Set alias to __memcpy_g5.
9713 * sysdeps/s390/s390-32/multiarch/memset.S
9714 (memset_z196): Rename to __memset_z196.
9715 Jump to __memset_mvcle instead of memset_mvcle.
9716 (memset_z10): Rename to __memset_z10.
9717 Jump to __memset_mvcle instead of memset_mvcle.
9718 (memset_mvcle) Rename to __memset_mvcle.
9719 (memset): Set alias to __memset_g5.
9720 * sysdeps/s390/s390-64/memcmp.S
9721 (memcmp_z900): Rename to __memcmp_z900.
9722 * sysdeps/s390/s390-64/memcpy.S
9723 (memcpy_z900): Rename to __memcpy_z900.
9724 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9725 (memcpy_mvcle) Rename to __memcpy_mvcle.
9726 * sysdeps/s390/s390-64/memset.S
9727 (memset_z900): Rename to __memset_z900.
9728 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9729 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9730 and use prefixed functions.
9731 * sysdeps/s390/s390-64/multiarch/memcmp.S
9732 (memcmp_z196): Rename to __memcmp_z196.
9733 (memcmp_z10): Rename to __memcmp_z10.
9734 (memcmp): Set alias to __memcmp_z900.
9735 (bcmp): Set alias to __memcmp_z900.
9736 * sysdeps/s390/s390-64/multiarch/memcpy.S
9737 (memcpy_z196): Rename to __memcpy_z196.
9738 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9739 (memcpy_z10): Rename to __memcpy_z10.
9740 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9741 (memcpy): Set alias to __memcpy_z900.
9742 * sysdeps/s390/s390-64/multiarch/memset.S
9743 (memset_z196): Rename to __memset_z196.
9744 Jump to __memset_mvcle instead of memset_mvcle.
9745 (memset_z10): Rename to __memset_z10.
9746 Jump to __memset_mvcle instead of memset_mvcle.
9747 (memset_mvcle) Rename to __memset_mvcle.
9748 (memset): Set alias to __memset_z900.
9749
9750 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9751
9752 [BZ #17748]
9753 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9754 __fesetenv instead of fesetenv.
9755
9756 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9757
9758 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9759 macro.
9760
9761 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9762
9763 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9764 regression on LE.
9765
9766 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9767 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9768 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9769 strncmp-power8 object.
9770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9771 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9772 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9773 * NEWS: Update.
9774
9775 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9776 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9777
9778 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9779 trailing byte check.
9780
9781 2015-01-13 David S. Miller <davem@davemloft.net>
9782
9783 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9784
9785 2015-01-13 Roland McGrath <roland@hack.frob.com>
9786
9787 * login/logout.c (logout): Use memset rather than bzero.
9788 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9789 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9790 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9791 (_gethtbyaddr): Likewise.
9792 * locale/programs/simple-hash.c (bcopy): Macro removed.
9793
9794 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9795
9796 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9797 Add strcmp-power8 object.
9798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9799 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9801 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9802 __strcmp_power8 implementation.
9803 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9804 * NEWS: Update.
9805
9806 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9807 Add strncpy-power8 and stpncpy-power8 objects.
9808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9809 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9810 implementations.
9811 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9812 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9813 __stpncpy_power8 implementation.
9814 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9815 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9816 __strncpy_power8 implementation.
9817 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9818 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9819 * NEWS: Update.
9820
9821 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9822 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9823 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9824
9825 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9826 strncat-power8 object.
9827 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9828 __strcat_power8 implementation.
9829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9830 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9831 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9832 optimized strcat for power8.
9833
9834 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9835 strcpy-power8 and stpcpy-power8 objects.
9836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9837 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9838 implementations.
9839 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9840 multiarch stpcpy implementation for POWER8.
9841 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9842 multiarch strcpy implementation for POWER8.
9843 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9844 __strcpy_power8 function.
9845 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9846 stpcpy for POWER8.
9847 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9848 strcpy for POWER8.
9849 * NEWS: Update.
9850
9851 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9852
9853 [BZ #16009]
9854 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9855 weights and rules. Use do_xfrm_cached if data fits in cache,
9856 do_xfrm otherwise. Moved former main loop to...
9857 * (do_xfrm_cached): New function.
9858 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9859 find_idx, find_position and stack_push.
9860 * (find_idx): New function.
9861 * (find_position): Likewise.
9862 * localedata/sort-test.sh: Added test run for do_xfrm.
9863 * localedata/xfrm-test.c (main): Added command line option
9864 -nocache to run the test with strings that are too large for
9865 the STRXFRM cache.
9866
9867 2015-01-13 Torvald Riegel <triegel@redhat.com>
9868
9869 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9870 variable to lll_futex_wake call, not the value itself.
9871
9872 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9873
9874 [BZ #17803]
9875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9876 twom64. Adjust value to 0x1p-64L.
9877 (__scalblnl): Only return standard underflowing result for K <=
9878 -64 not K <= -63; adjust exponent for underflowing result by 64
9879 not 63.
9880 * math/libm-test.inc (scalbn_test_data): Add more tests.
9881 (scalbln_test_data): Likewise.
9882
9883 [BZ #17834]
9884 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9885 0x1p63L.
9886 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9887 not HX.
9888 * math/libm-test.inc (scalbn_test_data): Add more tests.
9889 (scalbln_test_data): Likewise.
9890
9891 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9892 Stefani Seibold <stefani@seibold.net>
9893
9894 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9895 (sysdep_routines): Add dl-vdso here, ...
9896 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9897 (sysdep_routines): ... not here.
9898 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9899 fallback when vDSO is not presented.
9900 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9901 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9902 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9903 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9904 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9905 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9906 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9908 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9910 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9911 fallback configurable symbol when vDSO is not available.
9912 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9913 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9914 be able to redefine fallback symbol when vDSO is not available.
9915 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9916 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9917
9918 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919
9920 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9921 (TLS_INIT_TP): Add tm_capable initialization.
9922 (TLS_DEFINE_INIT_TP): Likewise.
9923 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9924 TCB.
9925 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9926 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9927 calculation.
9928 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9929 transactoion is lock elision is built and TCB tm_capable is set.
9930 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9932 (INTERNAL_SYSCALL_NCS): Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9934 (INTERNAL_SYSCALL_NCS): Likewise.
9935 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9936
9937 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9938 for powerpc.
9939 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9940 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9941 and remove it for 32 bits case.
9942 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9944 initialization.
9945 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9946 Disable lock elision with rdlocks if elision is not available.
9947
9948 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9949 (sysdep_routines): Add lock elision objects.
9950 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9951 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9952 [pthread_mutex_t] (__elision): Add field.
9953 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9954 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9955 elision definitions for powerpc.
9956 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9957 implementation of lock elision for powerpc.
9958 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9959 implementation of timed lock elision for powerpc.
9960 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9961 implementation of trylock with lock elision for powerpc.
9962 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9963 implementaion of unlock for lock elision for powerpc.
9964 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9965 automatic enable lock elision for mutexes.
9966 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9967 transaction execution definitions for powerpc.
9968 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9969 definitions.
9970 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9971 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9972 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9973 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9974 * NEWS: Update.
9975
9976 2015-01-09 Roland McGrath <roland@hack.frob.com>
9977
9978 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9979 for #include of <shm-directory.h>.
9980
9981 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9982
9983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9984 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9985
9986 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9987
9988 [BZ #17791]
9989 * NEWS: Mention bug fix.
9990 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9991 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9992 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9993
9994 2015-01-09 Torvald Riegel <triegel@redhat.com>
9995
9996 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9997
9998 2015-01-09 Torvald Riegel <triegel@redhat.com>
9999
10000 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10001
10002 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10003
10004 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10005 pointer and cast to uintptr_t.
10006
10007 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10008
10009 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10010 removed.
10011 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10012
10013 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10014
10015 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10016 of 0.
10017
10018 2015-01-08 Roland McGrath <roland@hack.frob.com>
10019
10020 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10021 <nptl/pthreadP.h> instead.
10022 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10023
10024 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10025 already defined.
10026 [__SIGRTMIN] (init): Function removed.
10027 [__SIGRTMIN] (initialized): Variable removed.
10028 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10029 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10030 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10031 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10032 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10033 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10034 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10035 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10036 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10037 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10038 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10039 * sysdeps/nptl/allocrtsig.c: New file.
10040 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10041 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10042 * sysdeps/generic/testrtsig.h: File removed.
10043
10044 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10045 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10046
10047 * nptl/nptl-init.c (pthread_functions): Conditionalize
10048 .ptr__nptl_setxid initialization on [SIGSETXID].
10049
10050 * sysdeps/nptl/sys/procfs.h: New file.
10051 * nptl_db/Makefile (headers): Add it.
10052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10053
10054 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10055 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10056 * nptl/pthread_attr_setaffinity.c: Include it.
10057 * nptl/pthread_setattr_default_np.c: Likewise.
10058 * nptl/check-cpuset.h: New file.
10059
10060 2015-01-08 Richard Henderson <rth@redhat.com>
10061
10062 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10063 (CFLAGS-tst-execstack-prog.c): Likewise.
10064 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10065
10066 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10067 Sandra Loosemore <sandra@codesourcery.com>
10068 Andrew Jenner <andrew@codesourcery.com>
10069 Joseph Myers <joseph@codesourcery.com>
10070 Nathan Sidwell <nathan@codesourcery.com>
10071
10072 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10073 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10074 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10075 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10076 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10077 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10078 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10079 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10080 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10081 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10082 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10083 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10084 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10085 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10086 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10087 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10088 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10089
10090 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091
10092 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10093 timespec struct member in syscall macro.
10094 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10095 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10096 first timeval struct member in syscall macro.
10097 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10098
10099 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10100
10101 [BZ #17748]
10102 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10103 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10104 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10105 __feupdateenv and define as weak alias of __feupdateenv. Use
10106 libm_hidden_weak.
10107 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10108 libm_hidden_def.
10109 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10110 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10111 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10112 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10113 libm_hidden_def.
10114 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10115 __feupdateenv and define as weak alias of __feupdateenv. Use
10116 libm_hidden_weak.
10117 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10118 libm_hidden_def.
10119 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10120 __feupdateenv and define as weak alias of __feupdateenv. Use
10121 libm_hidden_weak.
10122 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10123 libm_hidden_def.
10124 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10125 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10126 (__feupdateenv): Likewise.
10127 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10128 __feupdateenv and define as weak alias of __feupdateenv. Use
10129 libm_hidden_weak.
10130 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10131 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10132 libm_hidden_def.
10133 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10134 function.
10135 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10136 libm_hidden_def.
10137 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10138 __feupdateenv instead of feupdateenv.
10139 (default_libc_feupdateenv_test): Likewise.
10140 (libc_feresetround_ctx): Likewise.
10141
10142 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
10144 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10145 prototype.
10146
10147 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10148
10149 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10150 COLL_SYM in a couple of places to avoid uninitialized variable
10151 wanings on tilegx gcc 4.8.2.
10152
10153 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10154
10155 * sysdeps/aarch64/strcpy.S: New file.
10156 * sysdeps/aarch64/stpcpy.S: New file.
10157 * NEWS: Updated.
10158
10159 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10160
10161 * sysdeps/aarch64/strrchr.S: New file.
10162 * NEWS: Updated.
10163
10164 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10165
10166 [BZ #17658]
10167 * stdlib/setenv.c: Fix memory leak when setting large,
10168 duplicate string.
10169
10170 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10171
10172 [BZ #17273]
10173 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10174 and tabs from buffer before parsing fstab entry.
10175 * misc/tst-mntent.c (main): Add test for mount entry with
10176 trailing spaces and tabs.
10177
10178 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10179
10180 [BZ #17748]
10181 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10182 * math/fesetround.c (fesetround): Rename to __fesetround and
10183 define as weak alias of __fesetround. Use libm_hidden_weak.
10184 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10185 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10186 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10187 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10188 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10189 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10190 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10191 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10192 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10193 __fesetround_inline.
10194 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10195 __fesetround_inline instead of __fesetround.
10196 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10197 __fesetround and define as weak alias of __fesetround. Use
10198 libm_hidden_weak. Call __fesetround_inline instead of
10199 __fesetround.
10200 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10201 __fesetround and define as weak alias of __fesetround. Use
10202 libm_hidden_weak.
10203 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10204 Likewise.
10205 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10206 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10207 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10208 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10209 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10210 __fesetround and define as weak alias of __fesetround. Use
10211 libm_hidden_weak.
10212 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10213 __fesetround instead of fesetround.
10214 (default_libc_feholdexcept_setround): Likewise.
10215 (libc_feholdsetround_ctx): Likewise.
10216 (libc_feholdsetround_noex_ctx): Likewise.
10217
10218 [BZ #17748]
10219 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10220 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10221 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10222 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10223 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10224 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10225 define as weak alias of __fesetenv. Use libm_hidden_weak.
10226 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10227 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10228 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10229 define as weak alias of __fesetenv. Use libm_hidden_weak.
10230 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10231 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10232 define as weak alias of __fesetenv. Use libm_hidden_weak.
10233 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10234 libm_hidden_def.
10235 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10236 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10237 Likewise.
10238 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10239 define as weak alias of __fesetenv. Use libm_hidden_weak.
10240 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10241 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10242 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10243 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10244 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10245 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10246 __fesetenv instead of fesetenv.
10247 (libc_feresetround_noex_ctx): Likewise.
10248 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10249 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10250 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10251 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10252 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10253 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10254 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10255 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10256 (__feupdateenv): Likewise.
10257 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10258 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10259 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10260 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10261
10262 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10263
10264 [BZ #17806]
10265 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10266 addresses have been freed.
10267
10268 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10269
10270 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10271 and nservall.
10272
10273 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10274
10275 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10276 Clean up check_pf allocation pattern. addresses
10277
10278 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10279
10280 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10281 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10282 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10283 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10284 * nptl/pthread_join.c (pthread_join): Likewise.
10285 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10286 * sysdeps/posix/waitid.c (__waitid): Likewise.
10287 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10288 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10289 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10290 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10291 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10292 Likewise.
10293 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10294 (__libc_pread64): Likewise.
10295 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10296 (__libc_pwrite): Likewise.
10297 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10298 (__libc_pwrite64): Likewsie.
10299 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10300 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10301 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10302 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10303 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10304 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10305 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10307 Likewise.
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10309 (__libc_pread64): Likewise.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10311 Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10313 (__libc_pwrite64): Likewise.
10314 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10315 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10316 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10317 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10318 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10319 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10320 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10321 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10322 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10323 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10324 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10325 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10326 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10327 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10328 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10329 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10330 Likewise.
10331
10332 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10333
10334 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10335 (CFLAGS-test-double.c): Likewise.
10336 (CFLAGS-test-ldouble.c): Likewise.
10337 (CPPFLAGS-test-ifloat.c): Likewise.
10338 (CPPFLAGS-test-idouble.c): Likewise.
10339 (CPPFLAGS-test-ildoubl.c): Likewise.
10340 (CFLAGS-test-test-fenv.c): Remove variable.
10341 (CFLAGS-test-misc.c): Likewise.
10342
10343 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10344
10345 [BZ #17797]
10346 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10347 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10348 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10349 CLOCKS_PER_SEC == 1000000.
10350 * time/clocktest.c (main): Replace %ld with %jd and cast to
10351 intmax_t.
10352
10353 2015-01-05 Roland McGrath <roland@hack.frob.com>
10354
10355 * sysdeps/generic/unwind-resume.h: New file.
10356 * sysdeps/gnu/unwind-resume.c: Include it.
10357 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10358 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10359 argument list.
10360 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10361 global rather than static.
10362 (_Unwind_Resume): Update user.
10363 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10364 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10365 rather than static. Add __attribute__ ((cold)).
10366 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10367 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10368 * sysdeps/arm/arm-unwind-resume.S: New file.
10369 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10370 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10371 * sysdeps/arm/Makefile [$(subdir) = csu]
10372 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10373 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10374 Add rt-arm-unwind-resume.
10375 [$(subdir) = nptl]
10376 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10377 Add pt-arm-unwind-resume.
10378 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10379 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10380
10381 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10382
10383 [BZ #17748]
10384 * include/fenv.h (__feholdexcept): Declare. Use
10385 libm_hidden_proto.
10386 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10387 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10388 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10389 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10390 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10391 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10392 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10393 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10394 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10395 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10396 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10397 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10398 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10399 (feholdexcept): Likewise.
10400 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10401 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10402 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10403 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10404 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10405 __feholdexcept instead of feholdexcept.
10406 (default_libc_feholdexcept_setround): Likewise.
10407
10408 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10409
10410 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10411 to avoid using stl/str to align destination.
10412
10413 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10414
10415 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10416
10417 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10418
10419 [BZ #17796]
10420 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10421 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10422 Define as weak alias not strong alias.
10423
10424 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10425
10426 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10427 bltzal with addiupc.
10428 (RTLD_START): Ditto.
10429
10430 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10431
10432 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10433 for __vdso_* functions in declarations.
10434 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10435 definitions.
10436 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10437 INTERNAL_VSYSCALL): Use struct return types to check for error.
10438
10439 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10440 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10441 function with cast from llround().
10442 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10443 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10444 Define.
10445
10446 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10447
10448 [BZ #17793]
10449 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10450 Define as weak alias not strong alias.
10451
10452 [BZ #17635]
10453 * ctype/ctype-c99.c: New file. isblank implementation moved from
10454 ...
10455 * ctype/ctype-extn.c: ... here.
10456 (__isblank_l): Move to ...
10457 * ctype/ctype-c99_l.c: ... here. New file.
10458 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10459 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10460 Remove variable.
10461 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10462 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10463 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10464 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10465 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10466
10467 [BZ #17777]
10468 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10469 (posix_fadvise64): Define as weak alias not strong alias.
10470 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10471 (posix_fallocate64): Likewise.
10472 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10473 Remove variable.
10474 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10475 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10476 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10477 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10478 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10479
10480 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10481
10482 [BZ #16191]
10483 * NEWS: Mention bug fix.
10484 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10485 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10486 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10487 (HOST_STACK_END_ADDR): Likewise.
10488
10489 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10490
10491 [BZ #17748]
10492 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10493 * math/fegetround.c (fegetround): Rename to __fegetround and
10494 define as weak alias of __fegetround. Use libm_hidden_weak.
10495 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10496 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10497 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10498 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10499 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10500 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10501 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10502 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10503 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10504 Undefine after rather than before function definition; use
10505 parentheses around function name in definition.
10506 (__fegetround): Also undefine macro after function definition.
10507 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10508 __fegetround and define as weak alias of __fegetround. Use
10509 libm_hidden_weak. Do not undefine as macro.
10510 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10511 Likewise.
10512 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10513 __fegetround and define as weak alias of __fegetround. Use
10514 libm_hidden_weak.
10515 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10516 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10517 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10518 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10519 __fegetround and define as weak alias of __fegetround. Use
10520 libm_hidden_weak.
10521 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10522 __fegetround instead of fegetround.
10523
10524 [BZ #17782]
10525 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10526 Condition macro definition on [__USE_MISC].
10527
10528 [BZ #17781]
10529 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10530 (struct sigaction): Change type of sa_flags field to int.
10531
10532 [BZ #17780]
10533 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10534 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10535 __glibc_reserved0.
10536
10537 * nptl/version.c (banner): Use single year in copyright notice.
10538
10539 * NEWS: Update copyright dates.
10540 * catgets/gencat.c (print_version): Likewise.
10541 * csu/version.c (banner): Likewise.
10542 * debug/catchsegv.sh: Likewise.
10543 * debug/pcprofiledump.c (print_version): Likewise.
10544 * debug/xtrace.sh (do_version): Likewise.
10545 * elf/ldconfig.c (print_version): Likewise.
10546 * elf/ldd.bash.in: Likewise.
10547 * elf/pldd.c (print_version): Likewise.
10548 * elf/sotruss.sh: Likewise.
10549 * elf/sprof.c (print_version): Likewise.
10550 * iconv/iconv_prog.c (print_version): Likewise.
10551 * iconv/iconvconfig.c (print_version): Likewise.
10552 * locale/programs/locale.c (print_version): Likewise.
10553 * locale/programs/localedef.c (print_version): Likewise.
10554 * login/programs/pt_chown.c (print_version): Likewise.
10555 * malloc/memusage.sh (do_version): Likewise.
10556 * malloc/memusagestat.c (print_version): Likewise.
10557 * malloc/mtrace.pl: Likewise.
10558 * manual/libc.texinfo: Likewise.
10559 * nptl/version.c (banner): Likewise.
10560 * nscd/nscd.c (print_version): Likewise.
10561 * nss/getent.c (print_version): Likewise.
10562 * nss/makedb.c (print_version): Likewise.
10563 * posix/getconf.c (main): Likewise.
10564 * scripts/test-installation.pl: Likewise.
10565 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10566
10567 2015-01-02 Will Newton <will.newton@linaro.org>
10568
10569 * sysdeps/arm/armv7/configure: Removed.
10570 * sysdeps/arm/armv7/configure.ac: Likewise.
10571
10572 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10573
10574 * All files with FSF copyright notices: Update copyright dates
10575 using scripts/update-copyrights.
10576 * intl/plural.c: Regenerated.
10577 * locale/programs/charmap-kw.h: Likewise.
10578 * locale/programs/locfile-kw.h: Likewise.
10579
10580 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10581
10582 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10583
10584 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10585
10586 [BZ #17748]
10587 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10588 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10589 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10590 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10591 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10592 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10593 define as weak alias of __fegetenv. Use libm_hidden_weak.
10594 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10595 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10596 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10597 define as weak alias of __fegetenv. Use libm_hidden_weak.
10598 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10599 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10600 define as weak alias of __fegetenv. Use libm_hidden_weak.
10601 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10602 libm_hidden_def.
10603 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10604 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10605 Likewise.
10606 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10607 define as weak alias of __fegetenv. Use libm_hidden_weak.
10608 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10609 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10610 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10611 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10612 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10613 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10614 __fegetenv instead of fegetenv.
10615 (libc_feholdsetround_noex_ctx): Likewise.
10616
10617 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10618
10619 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10620 (Elf_MIPS_ABIFlags_v0): New structure.
10621 (EF_MIPS_FP64): Define.
10622 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10623 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10624 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10625 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10626 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10627 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10628 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10629 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10630 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10631 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10632 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10633 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10634 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10635 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10636 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10637 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10638 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10639 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10640 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10641 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10642 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10643 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10644 field.
10645 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10646 EF_MIPS_FP64.
10647 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10648 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10649 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10650 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10651 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10652 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10653 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10654 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10655 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10656 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10657 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10658 record the current FP ABI extension.
10659 (mips-mode-switch): Define to show if kernel headers support mode
10660 switching.
10661 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10662 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10663 supported SYSV ABI version to 3.
10664 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10665 feature.
10666
10667 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10668 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10669
10670 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10671 path.
10672 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10673
10674 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10675
10676 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10677 __fegetround and redefine to call __fegetround. Remove condition
10678 on [!__NO_MATH_INLINES].
10679 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10680 function.
10681 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10682 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10683 Remove macro.
10684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10685 instead of <fenv_libc.h>.
10686 (__llrintl): Call fegetround instead of __fegetround.
10687 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10688 instead of <fenv_libc.h>.
10689 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10690 (__lrintl): Call fegetround instead of __fegetround.
10691 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10692 instead of <fenv_libc.h>.
10693 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10694 (__rintl): Call fegetround instead of __fegetround.
10695
10696 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10697
10698 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10699 arrays.
10700
10701 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 [BZ #17775]
10704 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10705 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10706 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10707
10708 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10709
10710 * sysdeps/i386/tls-macros.h: Include <features.h>.
10711 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10712 (TLS_IE): Likewise.
10713 (TLS_LD): Likewise.
10714 (TLS_GD): Likewise.
10715 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10716 define for GCC >= 5.0.
10717
10718 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10719
10720 * math/test-fenv.c (test_single_exception, set_single_exc,
10721 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10722 feexcp_mask_test, feenable_test, fe_single_test): Add
10723 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10724 case where they are not used.
10725 * math/libm-test.inc: Likewise.
10726 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10727 unused in the absence of FP rounding/exception support.
10728 * stdio-common/tst-printf-round.c: Likewise.
10729 * stdlib/tst-strtod-round.c: Likewise.
10730 * stdlib/tst-strtod-underflow.c: Likewise.
10731
10732 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10733
10734 [BZ #17723]
10735 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10736 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10737 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10738 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10739 libm_hidden_weak.
10740 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10741 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10742 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10743 libm_hidden_def.
10744 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10745 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10746 libm_hidden_weak.
10747 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10748 Likewise.
10749 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10750 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10751 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10752 libm_hidden_weak.
10753 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10754 libm_hidden_def.
10755 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10756 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10757 (__feraiseexcept): Likewise.
10758 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10759 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10760 libm_hidden_weak.
10761 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10762 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10763 libm_hidden_def.
10764 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10765 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10766 Use libm_hidden_def.
10767 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10768 libm_hidden_def.
10769 (feraiseexcept): Define as weak not strong alias. Use
10770 libm_hidden_weak.
10771 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10772 New inline function. Factored out of ...
10773 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10774 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10775 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10776 feraiseexcept.
10777 * math/w_acos.c (__acos): Likewise.
10778 * math/w_asin.c (__asin): Likewise.
10779 * math/w_ilogb.c (__ilogb): Likewise.
10780 * math/w_j0.c (y0): Likewise.
10781 * math/w_j1.c (y1): Likewise.
10782 * math/w_jn.c (yn): Likewise.
10783 * math/w_log.c (__log): Likewise.
10784 * math/w_log10.c (__log10): Likewise.
10785 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10786 * sysdeps/aarch64/fpu/math_private.h
10787 (libc_feupdateenv_test_aarch64): Likewise.
10788 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10789 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10790 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10791 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10792 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10793 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10794 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10795 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10796 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10797 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10798
10799 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10800
10801 [BZ #17732]
10802 * io/test-utime.c (main): Replace %ld with %jd and cast to
10803 intmax_t.
10804 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10805 * nptl/tst-mutex5.c: Include <stdint.h>.
10806 (do_test): Replace %ld with %jd and cast to intmax_t.
10807 * posix/tst-regex.c (run_test): Likewise.
10808 (run_test_backwards): Likewise.
10809 * rt/tst-clock.c: Include <stdint.h>.
10810 (clock_test): Replace %ld with %jd and cast to intmax_t.
10811 * rt/tst-cpuclock1.c: Include <stdint.h>.
10812 (do_test): Replace %lu with %ju and cast to uintmax_t.
10813 * rt/tst-cpuclock2.c: Include <stdint.h>.
10814 (do_test): Replace %lu with %ju and cast to uintmax_t.
10815 * rt/tst-mqueue1.c: Include <stdint.h>.
10816 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10817 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10818 intmax_t.
10819 * rt/tst-mqueue4.c (do_test): Likewise.
10820 * rt/tst-timer4.c: Include <stdint.h>.
10821 (check_ts): Replace %ld with %jd and cast to intmax_t.
10822 (do_test): Likewise.
10823 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10824 and cast to intmax_t.
10825 * sysdeps/pthread/tst-timer.c (main): Likewise.
10826 * time/clocktest.c (main): Likewise.
10827 * time/tst-posixtz.c (do_test): Likewise.
10828 * timezone/tst-timezone.c (main): Likewise.
10829
10830 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10831 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10834 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10835 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10836 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10837 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10838 version if bit_Fast_Unaligned_Load is set.
10839 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10840 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10841 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10842 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10843 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10844 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10846 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10847 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10848 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10849 to 4.
10850 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10851 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10852 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10853 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10854
10855 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10856
10857 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10858 instead of #if to avoid a Wundef warning.
10859 * stdlib/tst-limits.c (do_test): Likewise.
10860
10861 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10862 parallel other exception macros.
10863 (fegetenv): Convert from macro to extern inline so that it applies
10864 retroactively to inline functions already seen by the compiler.
10865 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10866
10867 * posix/Makefile (before-compile): Use $(objpfx) for
10868 posix-conf-vars-def.h.
10869
10870 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10871
10872 * posix/getconf.c (main): Use size_t for type of I.
10873 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10874 NSPEC.
10875
10876 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10877 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10878 * posix/posix-envs.def: Likewise.
10879 * sysdeps/posix/sysconf.c: Likewise.
10880 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10881 (specs): Remove array.
10882 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10883 array.
10884
10885 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10886 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10887 (__sysconf): Use CONF_IS_* macros.
10888
10889 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10890 ($(objpfx)posix-conf-vars-def.h): New target.
10891 * posix/posix-conf-vars.list: New file.
10892 * posix/posix-conf-vars.h: New file.
10893 * posix/confstr.c: Include posix-conf-vars.h.
10894 (confstr): Use CONF_IS_* macros.
10895 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10896 CONF_IS_* macros.
10897 * scripts/gen-posix-conf-vars.awk: New file.
10898
10899 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10900
10901 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10902 fegetround): Add no-op macros to avoid linknamespace issues.
10903
10904 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10905 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10906
10907 * sysdeps/unix/sysv/linux/tile/sysdep.h
10908 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10909 assembly-specific section to avoid a redefinition warning.
10910
10911 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10912 long before casting to pointer to avoid a cast warning.
10913
10914 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10915
10916 * sysdeps/tile/tilegx/Implies: New file.
10917
10918 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10919
10920 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10921
10922 2014-12-23 Florian Weimer <fweimer@redhat.com>
10923
10924 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10925
10926 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10927
10928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10929 not define.
10930 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10931 <kernel-features.h>.
10932 (__utimes) [__NR_utimes]: Make code unconditional.
10933 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10934 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10935 (__ASSUME_UTIMES): Do not undefine.
10936 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10937 (__ASSUME_UTIMES): Likewise.
10938 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10939 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10940 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10941 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10942
10943 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10944
10945 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10946
10947 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10948
10949 [BZ #17747]
10950 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10951 alias to weak alias for j0l, y0l.
10952 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10953 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10954
10955 [BZ #17746]
10956 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10957 conversion.
10958
10959 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10960
10961 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10962 to zero if not already defined.
10963
10964 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10965
10966 [BZ #17724]
10967 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10968 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10969 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10970 (char *) casts added.
10971 * sysdeps/ieee754/k_standardf.c: New file.
10972 * sysdeps/ieee754/k_standardl.c: Likewise.
10973 * math/Makefile (libm-support): Remove k_standard.
10974 (libm-calls): Add k_standard.
10975
10976 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10977
10978 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10979 Optimize to avoid an unnecessary FPCR read.
10980
10981 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10982
10983 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10984 Optimize to reduce FPCR/FPSR accesses.
10985
10986 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10987
10988 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10989 Call libc_fetestexcept_aarch64.
10990
10991 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10992
10993 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10994 Call libc_fesetround_aarch64.
10995
10996 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10997
10998 [BZ #17733]
10999 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11000 (__bind): Do not define as weak alias.
11001 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11002 define.
11003 (__getsockname): Do not define as weak alias.
11004
11005 2014-12-22 Will Newton <will.newton@linaro.org>
11006
11007 * manual/install.texi: Document that we require bison 2.7
11008 or above.
11009 * INSTALL: Regenerate.
11010 * configure.ac: Use AC_CHECK_PROG_VER instead of
11011 AC_PATH_PROG when checking for bison and check for
11012 version 2.7 or above.
11013 * configure: Regenerate.
11014
11015 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11016
11017 [BZ #17745]
11018 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11019 * sysdeps/tile/ffsll.c (ffsll): To here.
11020
11021 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11022
11023 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11024
11025 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11026 if not defined.
11027 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11028 definition.
11029 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11030 hidden ___tls_get_addr.
11031 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11032 hidden __tls_get_addr.
11033 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11034 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11035 Likewise.
11036
11037 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11038
11039 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11040 _dl_init call.
11041
11042 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11045 from "call _dl_init@PLT".
11046 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11047
11048 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11049
11050 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11051 guarantees.
11052
11053 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11054
11055 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11056
11057 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11058
11059 [BZ #17744]
11060 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11061 strnlen.
11062
11063 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11064
11065 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11066 of multu on MIPSr6.
11067 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11068 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11069 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11070 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11071 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11072
11073 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11074
11075 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11076 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11077 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11078 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11079 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11080 mips32r6/mips64r6.
11081 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11082
11083 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11084
11085 * string/strncat.c (STRNCAT): Simplify implementation.
11086
11087 2014-12-19 David S. Miller <davem@davemloft.net>
11088
11089 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11090 access the quad as both a long double and as a series of 4 words.
11091
11092 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11093 link_map->l_info array access.
11094
11095 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11096
11097 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11098
11099 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11100 * math/atest-exp2.c (TIMEOUT): Likewise.
11101 * math/atest-sincos.c (TIMEOUT): Likewise.
11102
11103 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11106 -Wno-error with -fno-builtin-lround.
11107
11108 2014-12-19 Torvald Riegel <triegel@redhat.com>
11109
11110 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11111 Contains futex constants and functions moved over from ...
11112 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11113 <lowlevellock-futex.h>.
11114 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11115 (lll_timedwait_tid): Add comments and parentheses around macro
11116 arguments.
11117
11118 2014-12-19 Torvald Riegel <triegel@redhat.com>
11119
11120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11121 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11122 (__lll_private_flag): Remove.
11123 (lll_futex_wait): Likewise.
11124 (lll_futex_timed_wait): Likewise.
11125 (lll_futex_wake): Likewise.
11126 (lll_futex_requeue): Likewise.
11127 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11128 (__lll_timedwait_tid): Spell out argument names.
11129 (lll_timedwait_tid): Add comments and parentheses around macro
11130 arguments.
11131 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11132 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11133
11134 2014-12-19 Torvald Riegel <triegel@redhat.com>
11135
11136 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11137 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11138 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11139 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11140 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11141 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11142 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11143 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11144 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11145 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11146 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11147 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11148 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11149 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11150 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11151 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11152 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11153 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11154 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11155
11156 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11157
11158 * sysdeps/x86_64/x32/Makefile: New file.
11159
11160 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11161
11162 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11163 1L with (mp_limb_t) 1.
11164
11165 2014-12-17 Roland McGrath <roland@hack.frob.com>
11166
11167 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11168 * nptl/libc_pthread_init.c: ... here.
11169 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11170 * nptl/register-atfork.c: ... here.
11171
11172 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11173 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11174 Use assert_perror to check its return value.
11175 (__gai_create_helper_thread): Likewise.
11176
11177 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11178
11179 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11180
11181 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11182
11183 [BZ #17725]
11184 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11185 __profil_counter.
11186 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11187 Likewise.
11188 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11189 Likewise.
11190 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11191 Likewise.
11192 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11193 (profil_counter): Likewise.
11194 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11195 (profil_counter): Likewise.
11196 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11197 Likewise.
11198 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11199 Likewise.
11200 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11201 (profil_counter): Likewise.
11202 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11203 Likewise.
11204 [!__profil_counter] (profil_counter): Define as weak alias of
11205 __profil_counter.
11206 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11207 (profil_counter): Rename to __profil_counter.
11208 [!__profil_counter] (profil_counter): Define as weak alias of
11209 __profil_counter.
11210 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11211 (profil_counter): Rename to __profil_counter.
11212 [!__profil_counter] (profil_counter): Define as weak alias of
11213 __profil_counter.
11214 * sysdeps/posix/profil.c: Update comment referring to
11215 profil_counter.
11216 (__profil): Use __profil_counter instead of profil_counter.
11217 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11218 __profil_counter. Use __profil_counter_ushort and
11219 __profil_counter_uint in definitions.
11220 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11221 instead of profil_counter_uint and profil_counter_ushort.
11222
11223 [BZ #17722]
11224 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11225 define as weak alias of __inet_makeaddr.
11226 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11227 as weak alias of __inet_addr.
11228 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11229 as weak alias of __inet_pton. Use libc_hidden_weak.
11230 * include/arpa/inet.h (__inet_pton): Declare. Use
11231 libc_hidden_proto.
11232 (inet_makeaddr): Don't use libc_hidden_proto.
11233 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11234 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11235 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11236 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11237 Remove variable.
11238 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11239 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11240
11241 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11242
11243 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11244
11245 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11246
11247 * stdio-common/bug-vfprintf-nargs.c (do_test):
11248 Cast value to intptr_t to avoid format warning
11249 for usage with PRIdPTR printing macro.
11250
11251 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11252
11253 * libio/tst-widetext.c (do_test):
11254 Use format type %td instead of %Zd for ptrdiff_t
11255 in order to avoid format warning.
11256
11257 2014-12-17 Andreas Schwab <schwab@suse.de>
11258
11259 * nscd/mem.c (gc): Add size_t cast to match printf format.
11260
11261 2014-12-16 Roland McGrath <roland@hack.frob.com>
11262
11263 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11264 (init): Apply PTR_MANGLE to pointers before storing them.
11265 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11266 before using them.
11267
11268 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11269
11270 [BZ #17719]
11271 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11272 define as weak alias of __memrchr.
11273 (__memrchr): Do not define as strong alias of memrchr.
11274 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11275 Remove variable.
11276 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11277 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11278 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11279
11280 [BZ #17717]
11281 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11282 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11283 (if_indextoname): Rename to __if_indextoname and define as weak
11284 alias of __if_indextoname. Use libc_hidden_weak.
11285 (if_freenameindex): Rename to __if_freenameindex and define as
11286 weak alias of __if_freenameindex.
11287 (if_nameindex): Rename to __if_nameindex and define as weak alias
11288 of __if_nameindex.
11289 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11290 __if_nametoindex and define as weak alias of __if_nametoindex.
11291 Use libc_hidden_weak.
11292 (if_freenameindex): Rename to __if_freenameindex and define as
11293 weak alias of __if_freenameindex.
11294 (if_nameindex): Rename to __if_nameindex and define as weak alias
11295 of __if_nameindex.
11296 (if_indextoname): Rename to __if_indextoname and define as weak
11297 alias of __if_indextoname. Use libc_hidden_weak.
11298 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11299 __if_nametoindex and define as weak alias of __if_nametoindex.
11300 Use libc_hidden_weak.
11301 (if_freenameindex): Rename to __if_freenameindex and define as
11302 weak alias of __if_freenameindex. Use libc_hidden_weak.
11303 (if_nameindex_netlink): Use __if_freenameindex instead of
11304 if_freenameindex.
11305 (if_nameindex): Rename to __if_nameindex and define as weak alias
11306 of __if_nameindex. Use libc_hidden_weak.
11307 (if_indextoname): Rename to __if_indextoname and define as weak
11308 alias of __if_indextoname. Use libc_hidden_weak.
11309 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11310 libc_hidden_proto.
11311 [!_ISOMAC] (__if_freenameindex): Likewise.
11312 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11313 if_nametoindex.
11314 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11315 variable.
11316 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11317 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11318 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11319 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11320 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11321 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11322 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11323
11324 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11325 Remove variable.
11326 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11327 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11328
11329 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11330
11331 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11332 subscript above bounds'
11333
11334 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11335 bounds.
11336
11337 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11338
11339 * libio/tst-fopenloc.c: Use test-skeleton.c.
11340
11341 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11342 (entry): Rename to ITEM.
11343 (do_test, comp): Adjust.
11344
11345 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11346
11347 2014-12-16 Torvald Riegel <triegel@redhat.com>
11348
11349 * string/tester.c: Include <libc-internal.h>.
11350 (test_memset): Ignore -Wmemset-transposed-args.
11351
11352 2014-12-16 Torvald Riegel <triegel@redhat.com>
11353
11354 * misc/tst-mntent2.c (do_test): Fix warning.
11355
11356 2014-12-16 Torvald Riegel <triegel@redhat.com>
11357
11358 * elf/tst-unique4lib.cc(a): Mark as used.
11359
11360 2014-12-16 Florian Weimer <fweimer@redhat.com>
11361
11362 [BZ #17630]
11363 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11364 names.
11365
11366 2014-12-16 Allan McRae <allan@archlinux.org>
11367
11368 * stdio-common/Makefile (tests): Re-add bug26.
11369
11370 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11371
11372 [BZ #17657]
11373 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11374 static array.
11375
11376 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11377
11378 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11379 (__lll_lock_wait): Likewise.
11380 (__lll_timedlock_wait): Likewise.
11381 (__lll_timedwait_tid): Likewise.
11382 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11383 (__lll_robust_timedlock_wait): Likewise.
11384 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11385 (lll_cond_trylock): Likewise.
11386 (__lll_lock): Likewise.
11387 (__lll_robust_lock): Likewise.
11388 (__lll_cond_lock): Likewise.
11389 (lll_robust_cond_lock): Likewise.
11390 (__lll_timedlock): Likewise.
11391 (__lll_robust_timedlock): Likewise.
11392 (__lll_unlock): Likewise.
11393 (__lll_robust_unlock): Likewise.
11394 (lll_wait_tid): Likewise.
11395 (lll_timedwait_tid): Likewise.
11396
11397 2014-12-15 Torvald Riegel <triegel@redhat.com>
11398
11399 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11400
11401 2014-12-15 Torvald Riegel <triegel@redhat.com>
11402
11403 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11404
11405 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11406
11407 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11408 * stdio-common/tst-sprintf.c: Likewise.
11409
11410 2014-12-15 Torvald Riegel <triegel@redhat.com>
11411
11412 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11413
11414 2014-12-15 Jeff Law <law@redhat.com>
11415
11416 [BZ #16617]
11417 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11418 on the heap. (CVE-2012-3406)
11419 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11420 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11421 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11422
11423 2014-12-15 Will Newton <will.newton@linaro.org>
11424
11425 * manual/install.texi: Bump required version of texinfo
11426 to 4.7 from 4.5.
11427 * INSTALL: Regenerated.
11428 * configure.ac: Check for makeinfo version 4.7 and above.
11429 * configure: Regenerated.
11430
11431 2014-12-12 Roland McGrath <roland@hack.frob.com>
11432
11433 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11434 PREFIX, string constant to insert between directory and name.
11435 * sysdeps/posix/shm_open.c: Update caller.
11436 * sysdeps/posix/shm_unlink.c: Likewise.
11437 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11438 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11439 (SEM_SHM_PREFIX): New macro.
11440 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11441 [$(have-thread-library) = no].
11442 * nptl/Makefile (libpthread-routines): Add shm-directory.
11443 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11444 * sysdeps/nptl/shm-directory.h: New file.
11445 * sysdeps/posix/shm-directory.c
11446 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11447 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11448 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11449 INTERNAL_SYSCALL.
11450 (__where_is_shmfs): Function removed.
11451 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11452 Variables removed.
11453 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11454 Use SHM_GET_NAME.
11455 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11456
11457 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11458 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11459 unconditional for use inside libpthread.
11460 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11461
11462 2014-12-12 Roland McGrath <roland@hack.frob.com>
11463
11464 * nptl/pthread_getaffinity.c: New file.
11465 * nptl/pthread_setaffinity.c: New file.
11466 * nptl/pthread_getname.c: New file.
11467 * nptl/pthread_setname.c: New file.
11468
11469 * nptl/pthread_create.c (START_THREAD_DEFN)
11470 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11471
11472 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11473 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11474
11475 * resolv/res_send.c (send_vc): Disable warning resplen may
11476 be used uninitialized.
11477
11478 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11479
11480 * nptl/tst-mutex6.c
11481 (ATTR_NULL): New define checks ATTR against NULL.
11482 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11483 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11484
11485 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11486
11487 [BZ #17581]
11488 * malloc/hooks.c
11489 (mem2mem_check): Revert my previous change.
11490 (malloc_check_get_size): Revert my previous change.
11491 (mem2chunk_check): Revert my previous change.
11492
11493 2014-12-11 Roland McGrath <roland@hack.frob.com>
11494
11495 * sysdeps/posix/shm-directory.c: New file.
11496 * sysdeps/posix/shm-directory.h: New file.
11497 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11498 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11499 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11500 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11501 Transmute EPERM to EACCES.
11502 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11503 from ...
11504 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11505 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11506
11507 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11508
11509 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11510 pointer and cast to uintptr_t.
11511 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11512 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11513 Add cast to avoid warning.
11514 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11515
11516 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11517
11518 * nptl/semaphore.h: Move to ...
11519 * sysdeps/pthread/semaphore.h: ... here.
11520 * Makefile (installed-headers): Change nptl/semaphore.h to
11521 sysdeps/pthread/semaphore.h.
11522
11523 2014-12-11 Roland McGrath <roland@hack.frob.com>
11524
11525 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11526 generated error format strings.
11527
11528 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11529 -Wformat-extra-args warnings for scanf formats.
11530 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11531 test of zero-length format (duh).
11532 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11533 corner-case scanf format test.
11534 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11535 generated fprintf format string.
11536 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11537 corner-case sprintf format tests.
11538 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11539 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11540 -Wformat-extra-args warnings throughout.
11541 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11542 (CFLAGS-scanf4.c): Likewise.
11543 (CFLAGS-scanf7.c): Likewise.
11544 (CFLAGS-tst-sprintf.c): Likewise.
11545 (CFLAGS-tst-printf.c): Likewise.
11546 (CFLAGS-tst-printfsz.c): Likewise.
11547
11548 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11549
11550 * include/cpio.h: New file.
11551 * include/fmtmsg.h: Likewise.
11552
11553 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11554 corresponding format argument to size_t.
11555 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11556 arguments.
11557 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11558 corresponding format argument to size_t.
11559 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11560 arguments.
11561 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11562 corresponding format argument to size_t.
11563 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11564 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11565 (CFLAGS-tst-mbswcs2.c): Likewise.
11566 (CFLAGS-tst-mbswcs3.c): Likewise.
11567 (CFLAGS-tst-mbswcs4.c): Likewise.
11568 (CFLAGS-tst-mbswcs5.c): Likewise.
11569 (CFLAGS-tst-trans.c): Likewise
11570
11571 2014-12-11 Roland McGrath <roland@hack.frob.com>
11572
11573 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11574 rather than assuming they won't contain any '%'s.
11575
11576 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11577
11578 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11579 inhibit_loop_to_libcall to avoid recursive calls.
11580 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11581 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11582
11583 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11584
11585 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11586 prototype.
11587
11588 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11589
11590 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11591 integer value instead of boolean.
11592
11593 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11594
11595 * malloc/malloc.c: Fix powerof2 check.
11596
11597 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11598
11599 * locale/programs/locfile.h (maybe_swap_uint32):
11600 Remove inline and add unused attribute.
11601
11602 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11603
11604 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11605 Truncating assembler expression to a .long expression.
11606
11607 2014-12-11 Andreas Schwab <schwab@suse.de>
11608
11609 * elf/rtld.c (struct map_args): Constify str member.
11610 (do_preload): Constify fname argument.
11611
11612 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11613
11614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11615 constants definition.
11616
11617 2014-12-11 Andreas Schwab <schwab@suse.de>
11618
11619 [BZ #16657]
11620 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11621 FORCE_ELISION instead of DO_ELISION.
11622 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11623 Remove.
11624 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11625 Likewise.
11626
11627 * iconvdata/gconv-modules: Remove duplicate entry.
11628
11629 2014-12-11 Will Newton <will.newton@linaro.org>
11630
11631 Merge gettext 0.19.3 into intl/.
11632
11633 This involves a number of cosmetic changes to comments
11634 and ANSI function definitions and prototypes throughout
11635 all the files. The gettext copyright header is used but
11636 with the date ranges taken from the glibc copy.
11637
11638 * NEWS: Add gettext merge to 2.21.
11639 * intl/bindtextdom.c: Switch to gettext copyright.
11640 Use ANSI definitions and prototypes.
11641 Use gl_* locking primitives rather than __libc_* ones.
11642 Use __builtin_expect rather than __glibc_likely/unlikely.
11643 * intl/dcgettext.c: Switch to gettext copyright.
11644 Use ANSI definitions and prototypes.
11645 * intl/dcigettext.c: Switch to gettext copyright.
11646 Use ANSI definitions and prototypes.
11647 (INTDIV0_RAISES_SIGFPE): New define.
11648 Use gl_* locking primitives rather than __libc_* ones.
11649 Include eval-plural.h instead of plural-eval.c.
11650 Use __builtin_expect rather than __glibc_likely/unlikely.
11651 * intl/dcngettext.c: Switch to gettext copyright.
11652 Use ANSI definitions and prototypes.
11653 * intl/dgettext.c: Likewise.
11654 * intl/dngettext.c: Likewise.
11655 * intl/plural-eval.c: Renamed to...
11656 * intl/eval-plural.h: ...this.
11657 * intl/explodename.c: Switch to gettext copyright.
11658 Use ANSI definitions and prototypes.
11659 (_nl_explode_name): Use strchr instead of __rawmemchr.
11660 * intl/finddomain.c: Switch to gettext copyright.
11661 Use ANSI definitions and prototypes.
11662 Use gl_* locking primitives rather than __libc_* ones.
11663 (_nl_find_domain): Use malloc rather than alloca for
11664 allocation of temporary locale name.
11665 * intl/gettext.c: Switch to gettext copyright.
11666 Use ANSI definitions and prototypes.
11667 * intl/gettextP.h: Switch to gettext copyright.
11668 Use ANSI definitions and prototypes.
11669 Use gl_* locking primitives rather than __libc_* ones.
11670 * intl/gmo.h: Switch to gettext copyright.
11671 (struct sysdep_string): Move struct segment_pair outside of
11672 struct definition.
11673 * intl/hash-string.c: Use ANSI definitions and prototypes.
11674 * intl/hash-string.h: Switch to gettext copyright.
11675 Use ANSI definitions and prototypes.
11676 * intl/l10nflist.c: Switch to gettext copyright.
11677 Use ANSI definitions and prototypes.
11678 (_nl_normalize_codeset): Avoid integer overflow.
11679 * intl/loadinfo.h: Switch to gettext copyright.
11680 Use ANSI definitions and prototypes.
11681 (LIBINTL_DLL_EXPORTED): New define.
11682 (PATH_SEPARATOR): New define.
11683 * intl/loadmsgcat.c: Switch to gettext copyright.
11684 * intl/localealias.c: Switch to gettext copyright.
11685 Use ANSI definitions and prototypes.
11686 (_nl_expand_alias): Use PATH_SEPARATOR.
11687 * intl/ngettext.c: Switch to gettext copyright.
11688 Use ANSI definitions and prototypes.
11689 * intl/plural-exp.c: Likewise.
11690 * intl/plural-exp.h: Switch to gettext copyright.
11691 Use ANSI definitions and prototypes.
11692 (struct expression): Move definition of enum operator outside
11693 of struct definition.
11694 * intl/plural.c: Regenerate.
11695 * intl/plural.y: Switch to gettext copyright.
11696 Use ANSI definitions and prototypes.
11697 Port to bison 3.0.
11698 * intl/textdomain.c: Switch to gettext copyright.
11699 Use ANSI definitions and prototypes.
11700 Use gl_* locking primitives rather than __libc_* ones.
11701
11702 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11703
11704 * debug/warning-nop.c: Add used atrribute.
11705
11706 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11707
11708 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11709
11710 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11711 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11712 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11713
11714 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11715 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11716
11717 [BZ #17634]
11718 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11719 Undefine after defining function. Define as weak alias of
11720 __wcschr. Use libc_hidden_weak.
11721 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11722 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11723 (libc_hidden_def): Also define __GI___wcschr alias.
11724 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11725 __wcschr and define as weak alias of __wcschr.
11726 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11727 __wcschr.
11728 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11729 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11730 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11731 libc_hidden_weak. Do not use libc_hidden_def.
11732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11733 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11734 __GI___wcschr alias.
11735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11736 [IS_IN (libc)] (wcschr): Define as macro expanding to
11737 __redirect_wcschr.
11738 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11739 [IS_IN (libc)] (__wcschr_power6): Likewise.
11740 [IS_IN (libc)] (__wcschr_power7): Likewise.
11741 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11742 instead of wcschr.
11743 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11744 __libc_wcschr.
11745 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11746 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11747 __wcschr and define as weak alias of __wcschr. Use
11748 libc_hidden_builtin_def.
11749 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11750 as weak alias of __wcschr. Use libc_hidden_weak.
11751 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11752 wcschr.
11753 * time/era.c (_nl_init_era_entries): Likewise.
11754 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11755 variable.
11756 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11757 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11758
11759 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11760
11761 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11762 format for long int variable.
11763
11764 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11765
11766 [BZ #10672]
11767 * manual/search.texi: (Array Sort Function): Remove claim how to make
11768 qsort stable.
11769
11770 2014-12-10 Andreas Schwab <schwab@suse.de>
11771
11772 [BZ #12847]
11773 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11774 user-controlled locks.
11775
11776 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11777
11778 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11779 register.
11780
11781 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11782
11783 * configure.ac (--disable-werror): New configure option.
11784 (enable_werror): New AC_SUBST.
11785 * configure: Regenerated.
11786 * config.make.in (enable-werror): New variable.
11787 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11788 -Wno-error=undef.
11789 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11790 * manual/install.texi (Configuring and compiling): Document
11791 --disable-werror.
11792 * INSTALL: Regenerated.
11793 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11794 (CFLAGS-tst-chk2.c): Likewise.
11795 (CFLAGS-tst-chk3.c): Likewise.
11796 (CFLAGS-tst-chk4.cc): Likewise.
11797 (CFLAGS-tst-chk5.cc): Likewise.
11798 (CFLAGS-tst-chk6.cc): Likewise.
11799 (CFLAGS-tst-lfschk1.c): Likewise.
11800 (CFLAGS-tst-lfschk2.c): Likewise.
11801 (CFLAGS-tst-lfschk3.c): Likewise.
11802 (CFLAGS-tst-lfschk4.cc): Likewise.
11803 (CFLAGS-tst-lfschk5.cc): Likewise.
11804 (CFLAGS-tst-lfschk6.cc): Likewise.
11805
11806 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11807 (main): Disable -Wdeprecated-declarations around calls to
11808 register_printf_function.
11809
11810 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11811 (do_test): Disable -Wdiv-by-zero around some calls to
11812 fwrite_unlocked and fread_unlocked.
11813
11814 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11815 (DIAG_POP_NEEDS_COMMENT): Likewise.
11816 (_DIAG_STR1): Likewise.
11817 (_DIAG_STR): Likewise.
11818 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11819 * stdio-common/bug21.c: Include <libc-internal.h>.
11820 (do_test): Disable -Wformat around call to sscanf.
11821 * stdio-common/scanf14.c: Include <libc-internal.h>.
11822 (main): Disable -Wformat around some calls to scanf functions.
11823
11824 2014-12-09 Torvald Riegel <triegel@redhat.com>
11825
11826 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11827
11828 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11829
11830 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11831 stack variable alignment.
11832
11833 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11834
11835 [BZ #17682]
11836 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11837 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11838 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11839 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11840 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11841 __getrlimit instead of getrlimit.
11842 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11843 __gettimeofday instead of gettimeofday.
11844 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11845 Likewise.
11846 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11847 Likewise.
11848 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11849 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11850 Remove variable.
11851 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11852 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11853
11854 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11855
11856 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11857 for wide-character tests.
11858
11859 2014-12-04 Roland McGrath <roland@hack.frob.com>
11860
11861 * io/openat64.c: #include <libc-internal.h>
11862 (__openat64): Prototypify. Use ignore_value on MODE.
11863 * io/openat.c: Likewise.
11864 * misc/reboot.c: #include <libc-internal.h>
11865 (reboot): Prototypify. Use ignore_value on HOWTO.
11866 * misc/ptrace.c: #include <libc-internal.h>
11867 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11868
11869 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11870
11871 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11872 XPG4, UNIX98 and XOPEN2K.
11873 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11874 Remove variable.
11875 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11876
11877 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11878
11879 * libio/fileops.c: Use ISO C style for function definitions.
11880 * libio/iofopen.c: Likewise.
11881 * libio/wfileops.c: Likewise.
11882
11883 [BZ #17653]
11884 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11885 offset on EOF.
11886 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11887 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11888 (fgets_func): Function pointer to fgets and fgetws.
11889 (do_ftell_test): Add test to verify ftell value after read
11890 EOF.
11891 (do_test): Set fgets_func.
11892
11893 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11894 O_TRUNC flag for w and w+ modes.
11895 (do_rewind_test): Likewise.
11896 (do_ftell_test): Likewise.
11897 (do_write_test): Likewise.
11898
11899 [BZ #17647]
11900 * libio/fileops.c (do_ftell): Seek only when there are
11901 unflushed writes.
11902 * libio/wfileops.c (do_ftell_wide): Likewise.
11903 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11904 test case.
11905 (do_one_test): Call it.
11906
11907 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11908
11909 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11910 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11911 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11912 Remove variable.
11913 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11914 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11915 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11916
11917 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11918
11919 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11920 Remove variable.
11921 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11922
11923 [BZ #17668]
11924 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11925 as weak alias of __getifaddrs. Use libc_hidden_weak.
11926 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11927 __freeifaddrs. Use libc_hidden_weak.
11928 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11929 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11930 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11931 __freeifaddrs. Use libc_hidden_weak.
11932 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11933 __getifaddrs and define as weak alias of __getifaddrs. Use
11934 libc_hidden_weak.
11935 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11936 __freeifaddrs. Use libc_hidden_weak.
11937 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11938 Remove variable.
11939 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11940 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11941
11942 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11943
11944 [BZ #17601]
11945 * sysdeps/mips/start.S (__start): Use indirect jump to call
11946 __libc_start_main.
11947
11948 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11949
11950 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11951
11952 * nptl/tst-mutex1.c: Include <stdbool.h>.
11953 [!ATTR] (ATTR_NULL): New macro.
11954 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11955 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11956 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11957
11958 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11959 to char *.
11960
11961 [BZ #17665]
11962 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11963 Change conditional to [__USE_MISC].
11964
11965 [BZ #17664]
11966 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11967 fgets_unlocked.
11968 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11969 __fgets_unlocked.
11970 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11971 fgets_unlocked.
11972 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11973 Remove variable.
11974 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11975 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11976 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11977 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11978 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11979 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11980 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11981 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11982 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11983
11984 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11985
11986 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987
11988 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11989 Remove strpbrk objects.
11990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11991 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11992 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11993 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11994 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11995 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11996
11997 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11998 Remove strcspn objects.
11999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12000 (__libc_ifunc_impl_list): Remove strcspn implementation.
12001 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12002 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12003 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12004 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12005
12006 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12007 Remove strspn objetcs.
12008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12009 (__libc_ifunc_impl_list): Remove strspn implementation.
12010 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12011 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12012 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12013 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12014
12015 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12016
12017 [BZ #17581]
12018 * malloc/hooks.c
12019 (mem2mem_check): Add a terminator to the chain of checking blocks.
12020 (malloc_check_get_size): Use it here.
12021 (mem2chunk_check): Ditto.
12022
12023 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12024
12025 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12026 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12027
12028 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12029
12030 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12031
12032 * nptl/nptl-init.c: Include libc-internal.h.
12033 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12034
12035 * elf/ldconfig.c (search_dir): Expand comment.
12036
12037 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12038
12039 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12040 variable.
12041 (linknamespace-symlist-stdlibs-tests): Likewise.
12042 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12043 instead of $(objpfx)symlist-stdlibs.
12044 (linknamespace-libs-isoc): New variable.
12045 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12046 (linknamespace-libs-ISO): New variable.
12047 (linknamespace-libs-ISO99): Likewise.
12048 (linknamespace-libs-ISO11): Likewise.
12049 (linknamespace-libs-XPG3): Likewise.
12050 (linknamespace-libs-XPG4): Likewise.
12051 (linknamespace-libs-POSIX): Likewise.
12052 (linknamespace-libs-UNIX98): Likewise.
12053 (linknamespace-libs-XOPEN2K): Likewise.
12054 (linknamespace-libs-POSIX2008): Likewise.
12055 (linknamespace-libs-XOPEN2K8): Likewise.
12056 ($(objpfx)symlist-stdlibs): Replace by
12057 $(linknamespace-symlist-stdlibs-tests). Use
12058 $(linknamespace-libs-$*) as set of libraries.
12059 ($(linknamespace-header-tests)): Update dependencies. Use
12060 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12061 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12062 * conform/linknamespace.pl: Remove comment about considering
12063 definitions of symbols from irrelevant libraries.
12064
12065 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12066
12067 [BZ #13862]
12068 * elf/dl-tls.c: Include <atomic.h>.
12069 (oom): Remove #ifdef SHARED/#endif.
12070 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12071 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12072 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12073 big enough.
12074 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12075 * nptl/Makefile (tests): Add tst-stack4.
12076 (modules-names): Add tst-stack4mod.
12077 ($(objpfx)tst-stack4): New.
12078 (tst-stack4mod.sos): Likewise.
12079 ($(objpfx)tst-stack4.out): Likewise.
12080 ($(tst-stack4mod.sos)): Likewise.
12081 (clean): Likewise.
12082 * nptl/tst-stack4.c: New file.
12083 * nptl/tst-stack4mod.c: Likewise.
12084
12085 2014-11-27 J. Brown <jb999@gmx.de>
12086
12087 * sysdeps/x86/bits/string.h: Add recent CPUs.
12088
12089 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12090
12091 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12092 sigblock.
12093
12094 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12095 feof.
12096
12097 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12098 variable.
12099
12100 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12101
12102 * nscd/connections.c: Include libc-internal.h because of macro
12103 usage ignore_value.
12104
12105 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12106
12107 * string/bits/string3.h (__warn_memset_zero_len): Don't
12108 declare for gcc newer than 5.0.
12109 (memset): Don't test for zero-length __LEN for gcc newer than
12110 5.0.
12111
12112 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12113
12114 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12115 size_t for %zu format.
12116
12117 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12118 difference, not %ju.
12119
12120 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12121
12122 * include/libc-internal.h (ignore_value): New macro.
12123 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12124 with ignore_value.
12125
12126 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12127 definition.
12128
12129 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12130 pthread_cleanup_push to void *.
12131
12132 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12133 Undefine.
12134
12135 [BZ #16619]
12136 [BZ #16740]
12137 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12138 instead of 1L << 52.
12139
12140 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12141 * libio/bug-rewind2.c (do_test): Likewise.
12142
12143 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12144 * debug/test-strcpy_chk-ifunc.c: Likewise.
12145 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12146 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12147 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12148 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12149 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12150 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12151 * Rules [$(multi-arch) = no] (tests): Do not filter out
12152 $(tests-ifunc).
12153 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12154 * debug/Makefile (tests-ifunc): Remove variable.
12155 (tests): Do not add $(tests-ifunc).
12156 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12157 (tests): Do not add $(tests-ifunc).
12158 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12159 [TEST_IFUNC]: Remove conditionals.
12160 * string/test-string.h (TEST_IFUNC): Remove macro.
12161 [TEST_IFUNC]: Remove conditionals.
12162
12163 * string/test-strchr.c [!WIDE] (L): New macro.
12164 [WIDE] (L): Likewise.
12165 (check1): Use CHAR instead of char. Use L on string and character
12166 constants.
12167
12168 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12169
12170 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12171 tests.
12172 * sysdeps/powerpc/bits/atomic.h
12173 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12174 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12175 (atomic_exchange_and_add_acq): Likewise.
12176 (atomic_exchange_and_add_rel): Likewise.
12177 * sysdeps/powerpc/powerpc32/bits/atomic.h
12178 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12179 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12180 * sysdeps/powerpc/powerpc64/bits/atomic.h
12181 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12182 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12183
12184 2014-11-26 Torvald Riegel <triegel@redhat.com>
12185
12186 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12187 Change synchronization of __sched_fifo_min_prio and
12188 __sched_fifo_max_prio.
12189 * nptl/pthread_mutexattr_getprioceiling.c
12190 (pthread_mutexattr_getprioceiling): Likewise.
12191 * nptl/pthread_mutexattr_setprioceiling.c
12192 (pthread_mutexattr_setprioceiling): Likewise.
12193 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12194 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12195 Likewise.
12196
12197 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12198
12199 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12200 void.
12201
12202 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12203
12204 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12205 third argument const.
12206
12207 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12208
12209 fnmatch: work around GCC compiler warning bug with uninit var
12210 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12211 This works around a bug with x86-64 GCC 4.9.2 and earlier
12212 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12213 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12214 used uninitialized in this function [-Wmaybe-uninitialized]".
12215
12216 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12217
12218 * posix/bug-regex31.c (main): Return RES not 0.
12219
12220 2014-11-25 Anton Blanchard <anton@samba.org>
12221
12222 * sysdeps/powerpc/bits/atomic.h
12223 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12224
12225 2014-11-24 Sterling Augustine <saugustine@google.com>
12226
12227 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12228
12229 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12230
12231 [BZ #17608]
12232 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12233
12234 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12235
12236 [BZ #17633]
12237 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12238 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12239 variable.
12240 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12241 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12242
12243 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12244
12245 * string/strncpy.c (strncpy): Improve performance by using memset.
12246
12247 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12248
12249 * string/strcpy.c (strcpy):
12250 Improve performance by using strlen and memcpy.
12251
12252 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12253
12254 * string/strcoll_l.c (get_next_seq): __always_inline.
12255 * string/strcoll_l.c (do_compare): __always_inline.
12256
12257 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12258
12259 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12260 defined.
12261 * include/mqueue.h: Likewise.
12262 * include/stdlib.h: Likewise.
12263
12264 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12265 (get_null_defines): Adjust.
12266 * sunrpc/Makefile: Adjust comment.
12267 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12268 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12269 (CFLAGS-interp.c): Likewise.
12270 (CFLAGS-ldconfig.c): Likewise.
12271 (CPPFLAGS-.os): Likewise.
12272 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12273 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12274 * extra-modules.mk (extra-modules.mk): Likewise.
12275 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12276 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12277 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12278 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12279 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12280 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12281 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12282 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12283 * iconvdata/Makefile (CPPFLAGS): Likewise.
12284 (cpp-srcs-left): Add libof for all iconvdata routines.
12285 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12286 * include/assert.h: Likewise.
12287 * include/ctype.h: Likewise.
12288 * include/errno.h: Likewise.
12289 * include/libc-symbols.h: Likewise.
12290 * include/math.h: Likewise.
12291 * include/netdb.h: Likewise.
12292 * include/resolv.h: Likewise.
12293 * include/stdio.h: Likewise.
12294 * include/stdlib.h: Likewise.
12295 * include/string.h: Likewise.
12296 * include/sys/stat.h: Likewise.
12297 * include/wctype.h: Likewise.
12298 * intl/l10nflist.c: Likewise.
12299 * libidn/idn-stub.c: Likewise.
12300 * libio/libioP.h: Likewise.
12301 * nptl/libc_multiple_threads.c: Likewise.
12302 * nptl/pthreadP.h: Likewise.
12303 * posix/regex_internal.h: Likewise.
12304 * resolv/res_hconf.c: Likewise.
12305 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12306 * sysdeps/arm/memmove.S: Likewise.
12307 * sysdeps/arm/sysdep.h: Likewise.
12308 * sysdeps/generic/_itoa.h: Likewise.
12309 * sysdeps/generic/symbol-hacks.h: Likewise.
12310 * sysdeps/gnu/errlist.awk: Likewise.
12311 * sysdeps/gnu/errlist.c: Likewise.
12312 * sysdeps/i386/i586/memcpy.S: Likewise.
12313 * sysdeps/i386/i586/memset.S: Likewise.
12314 * sysdeps/i386/i686/memcpy.S: Likewise.
12315 * sysdeps/i386/i686/memmove.S: Likewise.
12316 * sysdeps/i386/i686/mempcpy.S: Likewise.
12317 * sysdeps/i386/i686/memset.S: Likewise.
12318 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12319 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12320 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12321 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12322 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12323 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12324 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12325 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12335 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12344 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12345 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12347 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12348 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12352 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12353 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12356 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12359 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12360 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12361 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12362 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12363 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12364 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12365 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12366 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12367 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12368 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12369 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12371 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12373 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12375 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12376 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12377 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12379 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12380 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12381 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12382 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12383 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12384 * sysdeps/posix/closedir.c: Likewise.
12385 * sysdeps/posix/opendir.c: Likewise.
12386 * sysdeps/posix/readdir.c: Likewise.
12387 * sysdeps/posix/rewinddir.c: Likewise.
12388 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12389 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12390 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12392 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12393 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12397 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12399 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12402 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12403 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12404 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12405 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12407 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12408 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12409 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12411 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12412 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12413 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12414 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12416 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12424 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12426 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12427 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12428 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12429 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12430 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12432 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12433 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12434 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12435 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12436 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12437 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12439 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12440 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12442 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12443 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12444 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12445 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12446 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12447 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12448 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12449 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12450 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12451 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12452 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12453 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12455 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12456 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12457 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12458 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12459 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12460 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12461 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12462 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12463 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12464 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12465 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12466 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12467 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12468 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12470 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12471 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12472 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12473 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12474 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12475 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12476 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12478 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12479 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12480 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12484 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12486 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12487 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12489 * sysdeps/unix/alpha/sysdep.S: Likewise.
12490 * sysdeps/unix/alpha/sysdep.h: Likewise.
12491 * sysdeps/unix/make-syscalls.sh: Likewise.
12492 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12494 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12495 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12496 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12497 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12498 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12499 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12500 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12501 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12502 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12503 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12505 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12506 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12507 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12508 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12509 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12510 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12511 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12512 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12513 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12514 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12515 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12516 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12517 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12521 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12522 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12526 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12529 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12530 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12531 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12532 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12533 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12534 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12542 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12543 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12544 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12545 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12550 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12551 * sysdeps/x86_64/memcpy.S: Likewise.
12552 * sysdeps/x86_64/memmove.c: Likewise.
12553 * sysdeps/x86_64/memset.S: Likewise.
12554 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12556 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12557 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12558 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12559 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12561 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12562 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12563 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12564 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12566 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12567 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12568 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12569 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12570 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12571 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12572 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12573 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12574 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12575 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12578 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12579 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12580 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12581 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12582 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12583 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12584 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12585 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12586 * sysdeps/x86_64/strcmp.S: Likewise.
12587
12588 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12589
12590 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12591 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12592 * elf/rtld-Rules: Likewise.
12593 * elf/setup-vdso.h: Likewise.
12594 * include/assert.h: Likewise.
12595 * include/bits/stdlib-float.h: Likewise.
12596 * include/errno.h: Likewise.
12597 * include/sys/stat.h: Likewise.
12598 * include/unistd.h: Likewise.
12599 * sysdeps/aarch64/setjmp.S: Likewise.
12600 * sysdeps/alpha/setjmp.S: Likewise.
12601 * sysdeps/arm/__longjmp.S: Likewise.
12602 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12603 * sysdeps/arm/setjmp.S: Likewise.
12604 * sysdeps/arm/sysdep.h: Likewise.
12605 * sysdeps/generic/_itoa.h: Likewise.
12606 * sysdeps/generic/dl-sysdep.h: Likewise.
12607 * sysdeps/generic/ldsodefs.h: Likewise.
12608 * sysdeps/i386/dl-tls.h: Likewise.
12609 * sysdeps/i386/setjmp.S: Likewise.
12610 * sysdeps/m68k/setjmp.c: Likewise.
12611 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12612 * sysdeps/mach/hurd/opendir.c: Likewise.
12613 * sysdeps/posix/getcwd.c: Likewise.
12614 * sysdeps/posix/opendir.c: Likewise.
12615 * sysdeps/posix/profil.c: Likewise.
12616 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12617 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12618 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12619 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12620 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12622 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12623 * sysdeps/s390/dl-tls.h: Likewise.
12624 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12625 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12626 * sysdeps/sh/sh3/setjmp.S: Likewise.
12627 * sysdeps/sh/sh4/setjmp.S: Likewise.
12628 * sysdeps/unix/alpha/sysdep.h: Likewise.
12629 * sysdeps/unix/arm/sysdep.S: Likewise.
12630 * sysdeps/unix/i386/sysdep.S: Likewise.
12631 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12632 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12633 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12634 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12635 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12636 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12637 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12638 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12639 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12640 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12641 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12642 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12643 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12646 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12649 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12650 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12651 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12654 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12655 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12659 * sysdeps/x86_64/setjmp.S: Likewise.
12660
12661 * include/math.h: Use IS_IN instead of IS_IN_libm.
12662 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12674 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12682 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12683 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12684 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12685 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12686 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12687 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12689 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12690 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12691 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12692 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12693 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12694 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12696 Likewise.
12697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12698 Likewise.
12699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12700 Likewise.
12701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12702 Likewise.
12703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12704 Likewise.
12705 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12706 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12707 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12708 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12709 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12710 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12717 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12718 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12719 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12720 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12721 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12722 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12723 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12724 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12725 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12726 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12727 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12729 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12731 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12732
12733 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12734 * nptl/pthreadP.h: Likewise.
12735 * nptl_db/structs.def: Likewise.
12736 * sysdeps/arm/sysdep.h: Likewise.
12737 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12738 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12739 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12740 * sysdeps/unix/alpha/sysdep.h: Likewise.
12741 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12742 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12743 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12744 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12745 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12746 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12747 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12748 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12749 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12750 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12751 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12752 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12753 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12754 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12759 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12762 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12763 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12764 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12765 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12766 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12767
12768 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12769 * nptl/pthreadP.h: Likewise.
12770 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12771 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12772 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12773 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12774 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12775 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12776 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12777 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12778 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12779 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12780 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12781 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12783 Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12785 Likewise.
12786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12788 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12789 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12791 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12792 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12794
12795 * dlfcn/dladdr.c: Use IS_IN.
12796 * dlfcn/dladdr1.c: Likewise.
12797 * dlfcn/dlclose.c: Likewise.
12798 * dlfcn/dlerror.c: Likewise.
12799 * dlfcn/dlinfo.c: Likewise.
12800 * dlfcn/dlmopen.c: Likewise.
12801 * dlfcn/dlopen.c: Likewise.
12802 * dlfcn/dlsym.c: Likewise.
12803 * dlfcn/dlvsym.c: Likewise.
12804
12805 * include/ifaddrs.h: Use IS_IN.
12806 * inet/check_pf.c: Likewise.
12807 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12808 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12809
12810 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12811 IS_IN_ldconfig.
12812 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12813 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12814
12815 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12816 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12817 IS_IN (libc).
12818
12819 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12820
12821 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12822 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12823 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12824 * include/libc-symbols.h (IS_IN_LIB): New macro.
12825 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12826 * include/netdb.h: Likewise.
12827 * include/stap-probe.h: Remove all uses of IN_LIB.
12828
12829 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12830 instead of IN_MODULE.
12831 * include/libc-symbols.h (IN_MODULE): Define using
12832 MODULE_NAME.
12833 (PASTE_NAME, PASTE_NAME1): New macros.
12834 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12835 of IN_LIB.
12836 (STAP_PROBE_ASM): Likewise.
12837
12838 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12839
12840 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12841 __mach_init in dlopened libc.
12842
12843 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12844
12845 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12846 * sysdeps/arm/preconfigure: Regenerate.
12847
12848 2014-11-21 Roland McGrath <roland@hack.frob.com>
12849
12850 * nptl/pthread_create.c (__pthread_create_2_1): Set
12851 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12852 when copying values from IATTR into PD.
12853
12854 2014-11-21 Will Newton <will.newton@linaro.org>
12855 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12856
12857 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12858 Refactor inline-asm. Also add comment.
12859
12860 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12861 ElfW macro instead of hardcoded Elf64 types.
12862 (la_aarch64_gnu_pltenter): Likewise.
12863 * sysdeps/aarch64/dl-machine.h
12864 (elf_machine_runtime_setup): Use ElfW(Addr).
12865
12866 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12867 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12868 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12869 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12870 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12871 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12872 (R_AARCH64_TLS_DTPMOD): This.
12873 (R_AARCH64_TLS_DTPREL64): Rename to ...
12874 (R_AARCH64_TLS_DTPREL): This.
12875 (R_AARCH64_TLS_TPREL64): Rename to ...
12876 (R_AARCH64_TLS_TPREL): This.
12877 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12878 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12879 R_AARCH64_TLS_TPREL64.
12880 (elf_machine_rela): Likewise.
12881
12882 2014-11-21 Torvald Riegel <triegel@redhat.com>
12883
12884 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12885 by setting it to 0. 64b atomics are not supported currently.
12886
12887 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12888
12889 [BZ #16469]
12890 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12891 search domain names.
12892
12893 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12894
12895 [BZ #16469]
12896 * NEWS: Update.
12897 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12898 trailing dot.
12899 * posix/tst-getaddrinfo5.c: New.
12900 * posix/Makefile (tests): Add it.
12901
12902 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12903
12904 [BZ #14498]
12905 * NEWS: Fixed.
12906 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12907 after parsing line but before break_if_match.
12908 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12909 if there is a protocol mismatch.
12910
12911 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12912
12913 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12914 because the potential race is on the user-supplied stream.
12915
12916 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12917
12918 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12919 string literal if not passed a buffer.
12920 * manual/job.texi (ctermid): Update reasoning, note deviation
12921 from posix, suggest mtasurace when not passed a buffer, for
12922 future non-preliminary safety notes.
12923
12924 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12925
12926 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12927 of not passing it a buffer.
12928 Reported by Peng Haitao.
12929
12930 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12931
12932 * manual/Makefile ($(objpfx)stamp-summary): Require
12933 check-safety.sh to pass.
12934 * manual/check-safety.sh: Wish for verification that every
12935 @deftypefn and @deftypefun is followed by a @safety remark.
12936
12937 2014-11-20 Roland McGrath <roland@hack.frob.com>
12938
12939 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12940
12941 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12942 PTHREAD_CANCEL_ASYNCHRONOUS.
12943 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12944 send SIGCANCEL.
12945
12946 * nptl/default-sched.h: New file.
12947 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12948 * nptl/pthread_create.c: Include it.
12949 (__pthread_create_2_1): Use collect_default_sched instead of making
12950 Linux syscalls here directly.
12951
12952 2014-11-20 Torvald Riegel <triegel@redhat.com>
12953
12954 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12955 __pthread_once): Use C11 atomics.
12956
12957 2014-11-20 Torvald Riegel <triegel@redhat.com>
12958
12959 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12960
12961 2014-11-20 Torvald Riegel <triegel@redhat.com>
12962
12963 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12964 atomic_thread_fence_acquire, atomic_thread_fence_release,
12965 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12966 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12967 atomic_compare_exchange_weak_relaxed,
12968 atomic_compare_exchange_weak_acquire,
12969 atomic_compare_exchange_weak_release,
12970 atomic_exchange_acquire, atomic_exchange_release,
12971 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12972 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12973 atomic_fetch_and_acquire,
12974 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12975
12976 2014-11-20 Torvald Riegel <triegel@redhat.com>
12977
12978 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12979 USE_ATOMIC_COMPILER_BUILTINS): Define.
12980 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12981 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12982 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12983 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12984 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12985 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12986 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12987 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12988 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12989 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12990 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12991 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12992 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12993 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12994 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12995 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12996 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12997 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12998 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12999 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13000 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13001 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13002 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13003 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13004 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13005 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13006 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13007 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13008 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13009 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13010 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13011 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13012 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13013 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13014 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13015 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13016 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13017 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13018 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13019 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13020
13021 2014-11-19 Roland McGrath <roland@hack.frob.com>
13022
13023 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13024 the sched_priority value here. It was already checked when the user
13025 called pthread_attr_setschedparam.
13026
13027 * nptl/tst-bad-schedattr.c: New file.
13028 * nptl/Makefile (tests): Add it.
13029
13030 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13031 Florian Weimer <fweimer@redhat.com>
13032 Joseph Myers <joseph@codesourcery.com>
13033 Adam Conrad <adconrad@0c3.net>
13034 Andreas Schwab <schwab@suse.de>
13035 Brooks <bmoses@google.com>
13036
13037 [BZ #17625]
13038 * wordexp-test.c (__dso_handle): Add prototype.
13039 (__register_atfork): Likewise.
13040 (__app_register_atfork): New function.
13041 (registered_forks): New global.
13042 (register_fork): New function.
13043 (test_case): Add 3 new tests for WRDE_CMDSUB.
13044 (main): Call __app_register_atfork.
13045 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13046 fork count is non-zero fail the test.
13047 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13048 is set.
13049 (parse_dollars): Remove check for WRDE_NOCMD.
13050 (parse_dquote): Likewise.
13051
13052 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13053
13054 * Makeconfig (built-modules): List non-library modules to be
13055 built.
13056 (module-cppflags): Include libc-modules.h for
13057 everything except shlib-versions.v.i.
13058 (CPPFLAGS): Use it.
13059 (before-compile): Add libc-modules.h.
13060 ($(common-objpfx)libc-modules.h,
13061 $(common-objpfx)libc-modules.stmp): New targets.
13062 (common-generated): Add libc-modules.h and libc-modules.stmp.
13063 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13064 * include/libc-symbols.h: Don't include libc-modules.h.
13065 * include/libc-modules.h: Remove file.
13066 * scripts/gen-libc-modules.awk: New script to generate
13067 libc-modules.h.
13068 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13069 Depend on libc-modules.stmp.
13070
13071 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13072
13073 * Makeconfig (in-module): Get value of libof set for the
13074 translation unit.
13075 (CPPFLAGS): Use $(in-module).
13076 * Makerules: Don't suffix routine names for nonlib.
13077 * include/libc-modules.h: New file.
13078 * include/libc-symbols.h: Include libc-modules.h
13079 (IS_IN): New macro to replace IS_IN_* macros.
13080 * elf/Makefile: Set libof-* for each routine.
13081 * elf/rtld-Rules: Likewise.
13082 * extra-modules.mk: Likewise.
13083 * iconv/Makefile: Likewise.
13084 * iconvdata/Makefile: Likewise.
13085 * locale/Makefile: Likewise.
13086 * malloc/Makefile: Likewise.
13087 * nss/Makefile: Likewise.
13088 * sysdeps/gnu/Makefile: Likewise.
13089 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13090 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13091 * sysdeps/s390/s390-64/Makefile: Likewise.
13092 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13093 CPPFLAGS for nscd instead of nonlib.
13094
13095 2014-11-18 Roland McGrath <roland@hack.frob.com>
13096
13097 * nptl/createthread.c: New file.
13098
13099 * nptl/createthread.c: Moved ...
13100 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13101
13102 * nptl/createthread.c: Add proper top-line comment.
13103 (do_clone): Folded into ...
13104 (create_thread): ... here. Take new arguments STOPPED_START and
13105 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13106 increment __nptl_threads, do event-reporting logic, do
13107 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13108 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13109 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13110 just send SIGCANCEL.
13111 * nptl/pthread_create.c: Forward-declare create_thread before
13112 including createthread.c.
13113 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13114 declaration, and new macro START_THREAD_SELF to replace argument.
13115 Remove return statement.
13116 (report_thread_creation): New function.
13117 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13118 synchronization logic, and __nptl_nthreads increment here, around
13119 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13120 PD->parent_cancelhandling here, before create_thread. When
13121 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13122 __deallocate_stack, and ENOMEM translation here.
13123
13124 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13125
13126 [BZ #17616]
13127 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13128 (mptwo): Rename to __mptwo.
13129 (__inv): Use __mptwo instead of mptwo.
13130 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13131 (mptwo): Rename to __mptwo.
13132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13133 of mpone and __mptwo instead of mptwo.
13134 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13135 instead of mpone.
13136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13137 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13138 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13139 of mpone and __mptwo instead of mptwo.
13140 (__mpranred): Use __mpone instead of mpone.
13141 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13142 variable.
13143 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13144 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13145 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13146 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13147 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13148 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13149 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13150 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13151 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13152 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13153 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13154 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13155 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13156 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13157 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13158 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13159 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13160 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13161 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13162
13163 2014-11-18 Tom de Vries <tom@codesoucery.com>
13164
13165 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13166 replace BSD Handler xref with BSD Signal Handling.
13167
13168 2014-11-17 Richard Henderson <rth@redhat.com>
13169
13170 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13171 (_FP_PACK_RAW_2): Remove.
13172 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13173 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13174 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13175 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13176 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13177 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13178 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13179 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13180 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13181 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13182 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13183 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13184 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13185 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13186 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13187 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13188
13189 2014-11-14 Roland McGrath <roland@hack.frob.com>
13190
13191 * signal/signal.h [__USE_MISC]
13192 (struct sigvec): Remove type.
13193 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13194 (sigvec): Remove declaration.
13195 * sysdeps/posix/sigvec.c: Moved ...
13196 * signal/sigvec.c: ... here, replacing old file.
13197 (struct sigvec): New type, copied from old signal.h definition.
13198 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13199 (__sigvec): Convert definition to prototype.
13200 (sigvec): Replace weak_alias with compat_symbol.
13201 * signal/Versions (libc: GLIBC_2.21): New version set.
13202 * include/signal.h: Remove __sigvec declaration.
13203 * sysdeps/unix/bsd/sigvec.c: Remove file.
13204 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13205 * manual/signal.texi (BSD Handler): Remove subsection.
13206 Move siginterrupt up to ...
13207 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13208 (Blocking in BSD): Fold subsection into its parent.
13209 * NEWS: Mention sigvec removal.
13210
13211 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13212
13213 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13214 (DLA_FMS): Make definition conditional only on [__FMA4__].
13215 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13216 definition.
13217
13218 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13219 Make definition conditional only on [PROF].
13220 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13221 definition.
13222 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13223 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13224
13225 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13226 !__GNUC__].
13227 * include/signal.h (__sigpause): Move declaration above call to
13228 libc_hidden_proto.
13229 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13230 variable.
13231 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13232 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13233
13234 2014-11-14 David S. Miller <davem@davemloft.net>
13235
13236 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13237 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13238
13239 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13240
13241 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13242 * configure: Regenerated.
13243 * manual/install.texi (Tools for Compilation): Document a
13244 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13245 compiler verified to work.
13246 * INSTALL: Regenerated.
13247
13248 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13249 redeclare with asm name.
13250 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13251 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13252 including <string.h>.
13253 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13254 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13255 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13256 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13257 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13258 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13259 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13260
13261 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13262
13263 * stdlib/strtol.c (__strtol): Use prototype definition.
13264
13265 [BZ #17594]
13266 * stdlib/strtol.c (SYM__): New macro.
13267 (SYM__1): Likewise.
13268 (__strtol): Likewise.
13269 (strtol): Rename to __strtol and define as weak alias of
13270 __strtol. Use libc_hidden_weak.
13271
13272 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13273
13274 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13275 Use numbered labels in inline assembly.
13276
13277 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13278
13279 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13280 Add setjmp LIBC_PROBE.
13281 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13282 Likewise.
13283 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13284 Add longjmp, longjmp_target LIBC_PROBE.
13285 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13286 Likewise.
13287
13288 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13289
13290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13291 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13292 to get rid of unused variable warning.
13293
13294 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13295
13296 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13297 Check for unwind_backtrace == NULL only in SHARED case.
13298 (__backchain_backtrace): Compile only in SHARED case.
13299 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13300 Likewise.
13301 (__backchain_backtrace): Declare as static.
13302
13303 2014-11-12 Roland McGrath <roland@hack.frob.com>
13304
13305 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13306 (__libc_multiple_threads_ptr): Variable moved ...
13307 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13308
13309 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13310
13311 * conform/GlibcConform.pm: New file.
13312 * conform/conformtest.pl: Use GlibcConform module.
13313 * conform/linknamespace.pl: New file.
13314 * conform/list-header-symbols.pl: Likewise.
13315 * conform/Makefile (linknamespace-symlists-base): New variable.
13316 (linknamespace-symlists-tests): Likewise.
13317 (linknamespace-header-base): Likewise.
13318 (linknamespace-header-tests): Likewise.
13319 (tests-special): Add new tests.
13320 ($(linknamespace-symlists-tests)): New rule.
13321 (linknamespace-libs): New variable.
13322 ($(objpfx)symlist-stdlibs): New rule.
13323 ($(linknamespace-header-tests)): Likewise.
13324 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13325 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13326 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13327 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13328 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13329 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13330 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13331 (test-xfail-ISO/math.h/linknamespace): Likewise.
13332 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13333 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13334 (test-xfail-ISO/time.h/linknamespace): Likewise.
13335 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13336 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13337 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13338 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13339 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13340 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13341 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13342 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13343 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13344 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13345 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13346 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13347 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13348 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13349 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13350 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13351 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13352 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13353 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13354 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13355 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13356 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13357 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13358 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13359 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13360 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13361 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13362 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13363 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13364 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13365 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13366 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13367 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13368 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13369 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13370 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13371 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13372 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13373 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13374 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13375 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13376 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13377 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13378 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13379 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13380 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13381 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13382 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13383 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13384 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13385 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13386 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13387 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13388 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13389 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13390 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13391 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13392 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13393 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13394 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13395 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13396 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13397 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13398 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13399 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13400 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13401 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13402 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13403 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13404 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13405 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13406 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13407 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13408 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13409 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13410 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13411 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13412 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13413 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13414 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13415 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13416 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13417 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13418 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13419 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13420 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13421 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13422 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13423 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13424 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13425 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13426 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13427 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13428 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13429 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13430 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13431 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13432 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13433 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13434 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13435 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13436 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13437 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13438 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13439 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13440 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13441 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13442 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13443 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13444 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13445 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13446 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13447 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13448 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13449 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13450 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13451 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13452 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13453 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13454 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13455 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13456 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13457 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13458 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13459 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13460 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13461 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13462 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13463 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13464 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13465 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13466 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13467 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13468 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13469 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13470 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13471 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13472 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13473 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13474 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13475 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13476 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13477 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13478 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13479 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13480 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13481 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13482 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13483 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13484 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13485
13486 [BZ #17589]
13487 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13488 of fgets_unlocked.
13489
13490 [BZ #17585]
13491 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13492 (memmem): Rename to __memmem and define as weak alias of
13493 __memmem. Use libc_hidden_weak.
13494 (__memmem): Use libc_hidden_def.
13495 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13496 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13497 memmem.
13498
13499 [BZ #17582]
13500 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13501 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13502 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13503 and define as weak alias of __fgets_unlocked. Use
13504 libc_hidden_weak.
13505 (__fgets_unlocked): Use libc_hidden_def.
13506 * include/stdio.h (__fgets_unlocked): Declare. Use
13507 libc_hidden_proto.
13508 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13509 __fgets_unlocked instead of fgets_unlocked.
13510 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13511 (GET_NPROCS_CONF_PARSER): Likewise.
13512 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13513 (GET_NPROCS_CONF_PARSER): Likewise.
13514
13515 [BZ #17574]
13516 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13517 weak alias of __wmemset. Use libc_hidden_weak.
13518 (__wmemset): Use libc_hidden_def.
13519 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13520 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13521 of wmemset.
13522
13523 [BZ #17573]
13524 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13525 with asm name __mempcpy.
13526 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13527
13528 [BZ #17572]
13529 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13530 and define as weak alias of __rawmemchr.
13531 (__rawmemchr): Do not define as strong alias of rawmemchr.
13532
13533 [BZ #17571]
13534 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13535 alias of __qsort_r.
13536 (qsort): Call __qsort_r instead of qsort_r.
13537 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13538 (__qsort_r): Declare. Call libc_hidden_proto.
13539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13540 instead of qsort_r.
13541 * nscd/gai.c (__qsort_r): Define to qsort_r.
13542 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13543 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13544 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13545
13546 [BZ #17570]
13547 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13548 define as weak alias of __malloc_info.
13549
13550 [BZ #17584]
13551 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13552 as weak alias of __rewinddir. Don't use libc_hidden_def.
13553 (__rewinddir): Use libc_hidden_def.
13554 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13555 as weak alias of __rewinddir. Don't use libc_hidden_def.
13556 (__rewinddir): Use libc_hidden_def.
13557 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13558 weak alias of __rewinddir. Don't use libc_hidden_def.
13559 (__rewinddir): Use libc_hidden_def.
13560 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13561 (__rewinddir): Use libc_hidden_proto.
13562 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13563 rewinddir.
13564 (__getcwd): Use __rewinddir instead of rewinddir.
13565
13566 [BZ #17583]
13567 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13568 alias of __fileno. Use libc_hidden_weak.
13569 (__fileno): Use libc_hidden_def.
13570 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13571 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13572 alias of __ftello.
13573 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13574 __ftello.
13575 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13576 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13577 libc_hidden_def.
13578 (fread_unlocked): Don't use libc_hidden_ver.
13579 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13580 and define as weak alias of __fread_unlocked. Don't use
13581 libc_hidden_def.
13582 (__fread_unlocked): Use libc_hidden_def.
13583 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13584 (ftello): Don't use libc_hidden_proto.
13585 (__ftello): Declare. Use libc_hidden_proto.
13586 (fread_unlocked): Don't use libc_hidden_proto.
13587 (__fread_unlocked): Declare. Use libc_hidden_proto.
13588 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13589 and __ftello instead of fileno, fread_unlocked and ftello.
13590
13591 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13592
13593 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13594 GOT12.
13595 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13596 Likewise.
13597 (_dl_start_user): Likewise.
13598 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13599
13600 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13601 Siddhesh Poyarekar <siddhesh@redhat.com>
13602
13603 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13604 Move argv and envp down instead of moving argc up.
13605 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13606
13607 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13608
13609 [BZ #17506]
13610 * test-skeleton.c (main): Return successful if one of
13611 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13612 * string/tst-strcoll-overflow.c: Define expected status.
13613
13614 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13615
13616 [BZ #17475]
13617 * locale/iso-639.def: Define Bhili and Tulu language codes.
13618
13619 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13620
13621 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13622
13623 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13624
13625 [BZ #17555]
13626 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13627
13628 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13629
13630 * configure.ac: Updated check of minimal required version to
13631 2.22.
13632 * manual/install.texi (Tools for Compilation): Updated version
13633 number.
13634 * configure: Regenerated.
13635 * INSTALL: Likewise.
13636
13637 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13638
13639 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13640 __tls_get_addr.
13641
13642 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13643
13644 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13645 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13646 (__waitpid): Don't define as alias. Use libc_hidden_def not
13647 libc_hidden_weak.
13648 (waitpid): Define as alias of __waitpid.
13649 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13650 __waitpid.
13651 (__waitpid): Don't define as alias. Use libc_hidden_def not
13652 libc_hidden_weak.
13653 (waitpid): Define as alias of __waitpid.
13654 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13655 __libc_waitpid alias.
13656 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13657 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13658 Likewise.
13659 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13660 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13661 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13662 alias.
13663 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13664 __waitpid.
13665 (__waitpid): Don't define as alias. Use libc_hidden_def not
13666 libc_hidden_weak.
13667 (waitpid): Define as alias of __waitpid.
13668
13669 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13670
13671 * manual/llio.texi: Add comment that write safety has been
13672 fixed in Linux.
13673
13674 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13675 (localplt-build-dso): Add elf/ld.so.
13676 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13677 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13678 and free for ld.so.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13680 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13682 Likewise.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13684 Likewise.
13685 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13686 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13687 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13688 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13689 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13690 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13691 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13692 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13693 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13694 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13695 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13696
13697 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13698
13699 [BZ #14132]
13700 * include/libc-symbols.h (INTUSE): Remove macro.
13701 (INTDEF): Likewise.
13702 (INTVARDEF): Likewise.
13703 (_INTVARDEF): Likewise.
13704 (INTDEF2): Likewise.
13705 (INTVARDEF2): Likewise.
13706 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13707 rtld_hidden_def instead of INTVARDEF.
13708 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13709 (_dl_starting_up_internal): Remove declaration.
13710 (_dl_starting_up): Use rtld_hidden_proto.
13711 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13712 declaration.
13713 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13714 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13715 _dl_starting_up.
13716 * elf/dl-writev.h (_dl_writev): Likewise.
13717 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13718 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13719 _dl_starting_up_internal.
13720
13721 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13722
13723 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13724 test-skeleton.c.
13725
13726 2014-11-05 Will Newton <will.newton@linaro.org>
13727
13728 * benchtests/Makefile: (bench-malloc): Add malloc thread
13729 scalability benchmark.
13730 * benchtests/bench-malloc-threads.c: New file.
13731
13732 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13733
13734 * sysdeps/aarch64/strchrnul.S: New file.
13735
13736 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13737
13738 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13739 definition.
13740 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13741 Likwise.
13742 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13743 Likewise.
13744 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13745 Likewise.
13746 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13747 Likewise.
13748 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13749 Likewise.
13750
13751 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13752
13753 * catgets/test-gencat.c: Use test-skeleton.c.
13754 * catgets/tst-catgets.c: Likewise.
13755 * csu/tst-empty.c: Likewise.
13756 * elf/tst-audit2.c: Likewise.
13757 * elf/tst-global1.c: Likewise.
13758 * elf/tst-pathopt.c: Likewise.
13759 * elf/tst-piemod1.c: Likewise.
13760 * elf/tst-tls10.c: Likewise.
13761 * elf/tst-tls11.c: Likewise.
13762 * elf/tst-tls12.c: Likewise.
13763 * gnulib/tst-gcc.c: Likewise.
13764 * iconvdata/tst-e2big.c: Likewise.
13765 * iconvdata/tst-loading.c: Likewise.
13766 * iconv/tst-iconv1.c: Likewise.
13767 * iconv/tst-iconv2.c: Likewise.
13768 * inet/test-inet6_opt.c: Likewise.
13769 * inet/tst-gethnm.c: Likewise.
13770 * inet/tst-network.c: Likewise.
13771 * inet/tst-ntoa.c: Likewise.
13772 * intl/tst-codeset.c: Likewise.
13773 * intl/tst-gettext2.c: Likewise.
13774 * intl/tst-gettext3.c: Likewise.
13775 * intl/tst-ngettext.c: Likewise.
13776 * intl/tst-translit.c: Likewise.
13777 * io/test-stat.c: Likewise.
13778 * libio/test-fmemopen.c: Likewise.
13779 * libio/tst-freopen.c: Likewise.
13780 * libio/tst-sscanf.c: Likewise.
13781 * libio/tst-ungetwc1.c: Likewise.
13782 * libio/tst-ungetwc2.c: Likewise.
13783 * libio/tst-widetext.c: Likewise.
13784 * localedata/tst-ctype.c: Likewise.
13785 * localedata/tst-digits.c: Likewise.
13786 * localedata/tst-leaks.c: Likewise.
13787 * localedata/tst-mbswcs1.c: Likewise.
13788 * localedata/tst-mbswcs2.c: Likewise.
13789 * localedata/tst-mbswcs3.c: Likewise.
13790 * localedata/tst-mbswcs4.c: Likewise.
13791 * localedata/tst-mbswcs5.c: Likewise.
13792 * localedata/tst-setlocale.c: Likewise.
13793 * localedata/tst-trans.c: Likewise.
13794 * localedata/tst-wctype.c: Likewise.
13795 * localedata/tst-xlocale1.c: Likewise.
13796 * login/tst-grantpt.c: Likewise.
13797 * malloc/tst-calloc.c: Likewise.
13798 * malloc/tst-malloc.c: Likewise.
13799 * malloc/tst-mallocstate.c: Likewise.
13800 * malloc/tst-mcheck.c: Likewise.
13801 * malloc/tst-mtrace.c: Likewise.
13802 * malloc/tst-obstack.c: Likewise.
13803 * math/atest-exp2.c: Likewise.
13804 * math/atest-exp.c: Likewise.
13805 * math/atest-sincos.c: Likewise.
13806 * math/test-matherr.c: Likewise.
13807 * math/test-misc.c: Likewise.
13808 * math/test-powl.c: Likewise.
13809 * math/tst-definitions.c: Likewise.
13810 * misc/tst-dirname.c: Likewise.
13811 * misc/tst-efgcvt.c: Likewise.
13812 * misc/tst-fdset.c: Likewise.
13813 * misc/tst-hsearch.c: Likewise.
13814 * misc/tst-mntent2.c: Likewise.
13815 * nptl/tst-sem7.c: Likewise.
13816 * nptl/tst-sem8.c: Likewise.
13817 * nptl/tst-sem9.c: Likewise.
13818 * nss/test-netdb.c: Likewise.
13819 * posix/tst-fnmatch.c: Likewise.
13820 * posix/tst-getlogin.c: Likewise.
13821 * posix/tst-gnuglob.c: Likewise.
13822 * posix/tst-mmap.c: Likewise.
13823 * pwd/tst-getpw.c: Likewise.
13824 * resolv/tst-inet_ntop.c: Likewise.
13825 * rt/tst-timer.c: Likewise.
13826 * stdio-common/test-fseek.c: Likewise.
13827 * stdio-common/test-popen.c: Likewise.
13828 * stdio-common/test-vfprintf.c: Likewise.
13829 * stdio-common/tst-cookie.c: Likewise.
13830 * stdio-common/tst-fileno.c: Likewise.
13831 * stdio-common/tst-gets.c: Likewise.
13832 * stdio-common/tst-obprintf.c: Likewise.
13833 * stdio-common/tst-perror.c: Likewise.
13834 * stdio-common/tst-sprintf2.c: Likewise.
13835 * stdio-common/tst-sprintf3.c: Likewise.
13836 * stdio-common/tst-sprintf.c: Likewise.
13837 * stdio-common/tst-swprintf.c: Likewise.
13838 * stdio-common/tst-tmpnam.c: Likewise.
13839 * stdio-common/tst-unbputc.c: Likewise.
13840 * stdio-common/tst-wc-printf.c: Likewise.
13841 * stdlib/tst-environ.c: Likewise.
13842 * stdlib/tst-fmtmsg.c: Likewise.
13843 * stdlib/tst-limits.c: Likewise.
13844 * stdlib/tst-rand48-2.c: Likewise.
13845 * stdlib/tst-rand48.c: Likewise.
13846 * stdlib/tst-random2.c: Likewise.
13847 * stdlib/tst-random.c: Likewise.
13848 * stdlib/tst-strtol.c: Likewise.
13849 * stdlib/tst-strtoll.c: Likewise.
13850 * stdlib/tst-tls-atexit.c: Likewise.
13851 * stdlib/tst-xpg-basename.c: Likewise.
13852 * string/test-ffs.c: Likewise.
13853 * string/tst-bswap.c: Likewise.
13854 * string/tst-inlcall.c: Likewise.
13855 * string/tst-strtok.c: Likewise.
13856 * string/tst-strxfrm.c: Likewise.
13857 * sysdeps/x86_64/tst-audit10.c: Likewise.
13858 * sysdeps/x86_64/tst-audit3.c: Likewise.
13859 * sysdeps/x86_64/tst-audit4.c: Likewise.
13860 * sysdeps/x86_64/tst-audit5.c: Likewise.
13861 * time/tst-ftime_l.c: Likewise.
13862 * time/tst-getdate.c: Likewise.
13863 * time/tst-mktime3.c: Likewise.
13864 * time/tst-mktime.c: Likewise.
13865 * time/tst-posixtz.c: Likewise.
13866 * time/tst-strptime2.c: Likewise.
13867 * time/tst-strptime3.c: Likewise.
13868 * wcsmbs/tst-btowc.c: Likewise.
13869 * wcsmbs/tst-mbrtowc.c: Likewise.
13870 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13871 * wcsmbs/tst-wchar-h.c: Likewise.
13872 * wcsmbs/tst-wcpncpy.c: Likewise.
13873 * wcsmbs/tst-wcrtomb.c: Likewise.
13874 * wcsmbs/tst-wcsnlen.c: Likewise.
13875 * wcsmbs/tst-wcstof.c: Likewise.
13876
13877 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13878
13879 [BZ #14132]
13880 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13881 INTDEF.
13882 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13883 declaration.
13884 (_dl_mcount): Use rtld_hidden_proto.
13885 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13886 _dl_mcount.
13887 * elf/rtld.c (_rtld_global_ro): Likewise.
13888
13889 [BZ #14132]
13890 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13891 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13892 of _dl_init_internal.
13893 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13894 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13895 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13896 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13897 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13898 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13899 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13900 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13901 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13902 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13903 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13904 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13905 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13906 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13907 * sysdeps/tile/dl-start.S (_start): Likewise.
13908 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13909 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13910
13911 [BZ #14132]
13912 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13913 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13914 (rtld_progname): Make macro definition unconditional.
13915 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13916 INTDEF.
13917 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13918 (dl_main): Likewise.
13919 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13920 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13921 instead of _dl_argv_internal.
13922 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13923 __GI__dl_argv instead of INTUSE(_dl_argv).
13924 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13925 __GI__dl_argv instead of _dl_argv_internal.
13926
13927 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13928 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13929 macro.
13930 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13931 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13932 New macro.
13933 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13934 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13935 macro.
13936 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13937 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13938
13939 2014-11-04 Andreas Schwab <schwab@suse.de>
13940
13941 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13942
13943 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13944
13945 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13946 mtvsrd instruction in binary form.
13947
13948 2014-11-03 Andreas Schwab <schwab@suse.de>
13949
13950 [BZ #17522]
13951 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13952 for less than MB_LEN_MAX use a local buffer of that size.
13953 * libio/tst-fputws.c: New file.
13954 * libio/Makefile (tests): Add tst-fputws.
13955
13956 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13957
13958 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13959 the size of the fpu_fr.fpu_dregs[] array.
13960
13961 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13962
13963 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13964 (__nanosleep): Do not define as alias.
13965 (nanosleep): Define as alias of __nanosleep.
13966 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13967 __libc_nanosleep name.
13968
13969 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13970
13971 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13972 install.texi in comment.
13973
13974 2014-10-31 Torvald Riegel <triegel@redhat.com>
13975
13976 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13977 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13978 ... add here and use lwsync or sync ...
13979 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13980 ... and add here using lwsync.
13981
13982 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13983
13984 * elf/dl-machine-reject-phdr.h: New file.
13985 * elf/dl-load.c: #include that.
13986 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13987 if that returned true.
13988
13989 2014-10-31 Roland McGrath <roland@hack.frob.com>
13990
13991 [BZ #17496]
13992 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13993 gen-as-const-headers chunk. Add a big scare comment after the last
13994 safe place to touch before-compile.
13995
13996 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13997
13998 * manual/install.texi (Tools for Compilation): Update autoconf
13999 version requirements.
14000 * INSTALL: Regenerated.
14001
14002 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14003 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14004 (__libc_pselect): Likewise.
14005
14006 [BZ #14138]
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14011
14012 2014-10-31 Torvald Riegel <triegel@redhat.com>
14013
14014 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14015 correct barrier instruction.
14016 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14017 Likewise.
14018 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14019 Likewise.
14020
14021 2014-10-30 Roland McGrath <roland@hack.frob.com>
14022
14023 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14024 after defining inlines. Instead, just use parens to defeat macro
14025 expansion of __isctype in its declaration.
14026
14027 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14028
14029 * include/sys/uio.h (__libc_readv): Remove declaration.
14030 (__libc_writev): Likewise.
14031 * misc/readv.c (__libc_readv): Rename to __readv.
14032 (__readv): Do not define as alias.
14033 (readv): Define as alias of __readv.
14034 * misc/writev.c (__libc_writev): Rename to __writev.
14035 (__writev): Do not define as alias.
14036 (writev): Define as alias of __writev.
14037 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14038 (__readv): Do not define as alias.
14039 (readv): Define unconditionally as alias of __readv.
14040 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14041 (__writev): Do not define as alias.
14042 (writev): Define unconditionally as alias of __writev.
14043 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14044 name.
14045 (writev): Do not define __libc_writev name.
14046
14047 2014-10-30 Roland McGrath <roland@hack.frob.com>
14048
14049 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14050 (convert_charseq): New function, broken out of ...
14051 (use_from_charmap): ... here. Call it.
14052 (use_to_charmap): Use convert_charseq and free instead of duplicating
14053 its code with a variable-length stack struct.
14054
14055 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14056
14057 * include/fcntl.h (__libc_creat): Remove declaration.
14058 * io/creat.c (__libc_creat): Rename to creat.
14059 (creat): Do not define as alias.
14060 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14061 of creat instead of __libc_creat.
14062 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14063 to creat.
14064 (creat): Do not define as alias.
14065 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14066 __libc_creat.
14067 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14068 __libc_creat name.
14069 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14070 Likewise.
14071
14072 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14073
14074 * manual/llio.texi: Add comments discussing why write() may be
14075 considered MT-unsafe on Linux.
14076
14077 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14078
14079 * dl-load.c (local_strdup): Remove.
14080 (expand_dynamic_string_token): Use __strdup.
14081 (decompose_rpath): Likewise.
14082 (_dl_map_object): Likewise.
14083
14084 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14085
14086 [BZ #14132]
14087 * sysdeps/generic/unwind-dw2-fde.c
14088 (__register_frame_info_bases_internal): Do not declare.
14089 (__register_frame_info_table_bases_internal): Likewise.
14090 (__deregister_frame_info_bases_internal): Likewise.
14091 (__register_frame_info_bases): Declare and use hidden_proto before
14092 definition. Use hidden_def instead of INTDEF.
14093 (__register_frame_info_table_bases): Likewise.
14094 (__deregister_frame_info_bases): Likewise.
14095 (__register_frame_info): Do not use INTUSE.
14096 (__register_frame): Likewise.
14097 (__register_frame_info_table): Likewise.
14098 (__register_frame_table): Likewise.
14099 (__deregister_frame_info): Likewise.
14100 (__deregister_frame): Likewise.
14101
14102 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14103
14104 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14105 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14106 not undefine.
14107 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14108 Likewise.
14109 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14110 Likewise.
14111
14112 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14113
14114 [BZ #14138]
14115 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14116 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14117 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14118 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14119 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14120 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14122 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14123 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14124 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14125 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14127 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14128 syscall.
14129 (setfsuid): Likewise.
14130 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14131 (setfsuid): Likewise.
14132 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14133 (setfsuid): Likewise.
14134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14135 Likewise.
14136 (setfsuid): Likewise.
14137 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14138 (setfsuid): Likewise.
14139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14140 Likewise.
14141 (setfsuid): Likewise.
14142
14143 2014-10-27 Andreas Schwab <schwab@suse.de>
14144
14145 [BZ #17501]
14146 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14147 check for Slow_SSE4_2 feature bit.
14148 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14149 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14150 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14151 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14152
14153 2014-10-24 Roland McGrath <roland@hack.frob.com>
14154
14155 * configure.ac: Validate compiler version with a empirical test of
14156 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14157 $CC -v output.
14158 * configure: Regenerated.
14159
14160 * inet/htons.c (htons): Prototypify.
14161 * inet/htonl.c (htonl): Likewise.
14162
14163 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14164
14165 * string/strncat.c (strncat): Improve performance by using strlen.
14166
14167 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14168
14169 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14170
14171 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14172
14173 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14174 Call libc_fetestexcept_aarch64.
14175
14176 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14177
14178 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14179 Call libc_feholdexcept_aarch64.
14180
14181 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14182
14183 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14184 Call get_rounding_mode.
14185
14186 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14187
14188 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14189 Simplify logic.
14190
14191 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14192
14193 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14194 Simplify logic.
14195
14196 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14197
14198 [BZ #14138]
14199 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14200 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14201 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14202 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14203 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14204 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14205 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14206 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14207 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14208 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14209 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14210 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14211 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14212 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14213 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14214 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14215 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14216 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14217 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14218 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14219 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14220 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14221 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14222 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14223 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14224 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14225 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14226 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14227 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14228 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14229 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14230 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14231 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14232 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14233 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14235 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14236 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14239 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14240 syscall.
14241 (geteuid): Likewise.
14242 (getgid): Likewise.
14243 (getuid): Likewise.
14244 (getresgid): Likewise.
14245 (getresuid): Likewise.
14246 (getgroups): Likewise.
14247 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14248 (geteuid): Likewise.
14249 (getgid): Likewise.
14250 (getuid): Likewise.
14251 (getresgid): Likewise.
14252 (getresuid): Likewise.
14253 (getgroups): Likewise.
14254 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14255 (geteuid): Likewise.
14256 (getgid): Likewise.
14257 (getuid): Likewise.
14258 (getresgid): Likewise.
14259 (getresuid): Likewise.
14260 (getgroups): Likewise.
14261 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14262 Likewise.
14263 (geteuid): Likewise.
14264 (getgid): Likewise.
14265 (getuid): Likewise.
14266 (getresgid): Likewise.
14267 (getresuid): Likewise.
14268 (getgroups): Likewise.
14269 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14270 (geteuid): Likewise.
14271 (getgid): Likewise.
14272 (getuid): Likewise.
14273 (getresgid): Likewise.
14274 (getresuid): Likewise.
14275 (getgroups): Likewise.
14276 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14277 Likewise.
14278 (geteuid): Likewise.
14279 (getgid): Likewise.
14280 (getuid): Likewise.
14281 (getgroups): Likewise.
14282
14283 [BZ #14138]
14284 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14285 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14286 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14287 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14288 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14289 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14290 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14291 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14292 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14293 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14294 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14295 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14296 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14297 __chown.
14298 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14299 (lchown): Likewise.
14300 (fchown): Likewise.
14301 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14302 Likewise.
14303 (lchown): Likewise.
14304 (fchown): Likewise.
14305 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14306 (lchown): Likewise.
14307 (fchown): Likewise.
14308 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14309 Likewise.
14310 (lchown): Likewise.
14311 (fchown): Likewise.
14312
14313 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14314
14315 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14316 Simplify logic.
14317
14318 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14319
14320 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14321 Cleanup logic.
14322
14323 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14324
14325 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14326 Remove unused include.
14327
14328 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14329
14330 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14331 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14332 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14333 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14334
14335 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14336 Helge Deller <deller@gmx.de>
14337
14338 [BZ #17508]
14339 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14340 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14341 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14342
14343 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14344
14345 [BZ #14132]
14346 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14347 Remove macro definition.
14348 (__ashrdi3_v_glibc20): Likewise.
14349 (__lshrdi3_v_glibc20): Likewise.
14350 (__cmpdi2_v_glibc20): Likewise.
14351 (__ucmpdi2_v_glibc20): Likewise.
14352 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14353 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14354 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14355 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14356 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14357 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14358
14359 2014-10-22 Roland McGrath <roland@hack.frob.com>
14360
14361 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14362 old GNU extension [0] syntax.
14363 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14364 alloca rather than an array member with variable length.
14365 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14366 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14367 (parse_opt): ... here. Likewise use alloca there.
14368 Validate the -i argument before checking for rootness.
14369 (send_shutdown): New function, broken out of ...
14370 (parse_opt): ... here.
14371
14372 2014-10-22 Roland McGrath <roland@hack.frob.com>
14373
14374 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14375 macro to get at the _rt_local_ro field.
14376 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14377 ([PIC] case) or _dl_hwcap ([!PIC] case).
14378 * sysdeps/arm/setjmp.S: Likewise.
14379
14380 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14381 * sysdeps/arm/configure.ac: New check to define it.
14382 * sysdeps/arm/configure: Regenerated.
14383 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14384 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14385 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14386 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14387 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14388 Use move/movt pair instead of a load.
14389 (LDST_GLOBAL): Macro removed.
14390 (LDR_GLOBAL): New macro replaces it.
14391 (LDR_HIDDEN): New macro.
14392 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14393 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14394
14395 * setjmp/tst-setjmp-static.c: New file.
14396 * setjmp/Makefile (tests): Add it.
14397 (tests-static): New variable.
14398
14399 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14400
14401 [BZ #17485]
14402 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14403
14404 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14405
14406 [BZ #14132]
14407 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14408
14409 2014-10-21 Roland McGrath <roland@hack.frob.com>
14410
14411 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14412
14413 2014-10-20 Roland McGrath <roland@hack.frob.com>
14414
14415 * io/fts.c (dirent_not_directory): New function.
14416 (fts_build): Call it.
14417
14418 2014-10-20 Roland McGrath <roland@hack.frob.com>
14419
14420 * nptl/version.c (__nptl_main): Use normal __write rather than
14421 INTERNAL_SYSCALL.
14422 (banner): Update copyright years.
14423
14424 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14425 gettimeofday.
14426 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14427 * nptl/pthread_cond_timedwait.c: Likewise.
14428 * nptl/pthread_mutex_timedlock.c: Likewise.
14429 * nptl/sem_timedwait.c: Likewise.
14430
14431 * sysdeps/nptl/bits/libc-lock.h
14432 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14433 (__libc_lock_init_recursive): Return void, not 0.
14434 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14435 (__libc_rwlock_init): Likewise.
14436 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14437
14438 2014-10-20 Torvald Riegel <triegel@redhat.com>
14439
14440 [BZ #15215]
14441 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14442 (__pthread_once_slow): ... here.
14443 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14444 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14445
14446 2014-10-20 Torvald Riegel <triegel@redhat.com>
14447
14448 [BZ #15215]
14449 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14450 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14451 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14452 * nptl/pthread_once.c (__pthread_once): Likewise.
14453 Update comments.
14454
14455 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14456
14457 [BZ #14138]
14458 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14459 name.
14460 (writev): Use __libc_writev as strong name.
14461 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14462 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14463
14464 2014-10-17 Roland McGrath <roland@hack.frob.com>
14465
14466 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14467
14468 * sysdeps/i386/nptl/tls.h
14469 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14470 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14471 New macros.
14472 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14473 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14474 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14475 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14476 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14477 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14478
14479 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14480 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14481 on [__NR_futex].
14482 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14483 broken out of ...
14484 (__pthread_mutex_init): ... here. Call it.
14485 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14486 Conditionalize PI cases on [__NR_futex].
14487 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14488 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14489 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14490
14491 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14492 conditional on [SIGSETXID].
14493 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14494 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14495 is defined. Likewise for SIGSETXID.
14496 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14497 Conditionalize definitions on [SIGSETXID].
14498 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14499 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14500 unblocking on [SIGCANCEL].
14501
14502 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14503 [__NR_set_robust_list].
14504
14505 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14506
14507 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14508 (do_compare): Likewise.
14509
14510 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14511
14512 [BZ #15884]
14513 * string/strcoll_l.c: Don't include stdio.h.
14514 (coll_seq): Remove members idxarr and rulearr.
14515 (get_next_seq_cached): Remove function.
14516 (get_next_seq): Likewise.
14517 (get_next_seq_nocache): Rename to get_next_seq.
14518 (do_compare): Remove function.
14519 (do_compare_nocache): Rename to do_compare.
14520 (STRCOLL): Remove weight and rules cache.
14521
14522 2014-10-16 Roland McGrath <roland@hack.frob.com>
14523
14524 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14525 * sysdeps/arm/sfp-machine.h: ... to here.
14526 * sysdeps/arm/Implies: Remove arm/soft-fp.
14527
14528 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14529
14530 * conform/data/sys/utsname.h-data (*_t): Allow.
14531 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14532 [POSIX] (WEXITED): Do not expect constant.
14533 [POSIX] (WSTOPPED): Likewise.
14534 [POSIX] (WNOHANG): Likewise.
14535 [POSIX] (WNOWAIT): Likewise.
14536 [POSIX] (siginfo_t): Do not expect type or elements.
14537 [POSIX] (pid_t): Do not expect type.
14538 [POSIX] (signal.h): Do not allow header.
14539 [POSIX] (sys/resource.h): Likewise.
14540 [POSIX] (si_*): Do not allow pattern.
14541 [POSIX] (W*): Likewise.
14542 [POSIX] (P_*): Likewise.
14543 [POSIX] (BUS_*): Likewise.
14544 [POSIX] (CLD_*): Likewise.
14545 [POSIX] (FPE_*): Likewise.
14546 [POSIX] (ILL_*): Likewise.
14547 [POSIX] (POLL_*): Likewise.
14548 [POSIX] (SEGV_*): Likewise.
14549 [POSIX] (SI_*): Likewise.
14550 [POSIX] (TRAP_*): Likewise.
14551 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14552 variable.
14553
14554 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14555
14556 [BZ #12926]
14557 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14558 infinite loop when __recvmsg returns 0.
14559
14560 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14561
14562 * CANCEL-FCT-WAIVE: Remove file.
14563 * CANCEL-FILE-WAIVE: Likewise.
14564
14565 [BZ #14132]
14566 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14567 instead of INTVARDEF.
14568 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14569 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14570 rtld_hidden_data_def instead of INTVARDEF.
14571 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14572 * elf/dl-deps.c (expand_dst): Likewise.
14573 * elf/dl-load.c (_dl_dst_count): Likewise.
14574 (_dl_dst_substitute): Likewise.
14575 (decompose_rpath): Likewise.
14576 (_dl_init_paths): Likewise.
14577 (open_path): Likewise.
14578 (_dl_map_object): Likewise.
14579 * elf/rtld.c (dl_main): Likewise.
14580 (process_dl_audit): Likewise.
14581 (process_envvars): Likewise.
14582 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14583 Remove declaration.
14584 (__libc_enable_secure): Use rtld_hidden_proto.
14585
14586 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14587
14588 * elf/dl-load.c
14589 (add_path): New function broken out of _dl_rtld_di_serinfo.
14590 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14591
14592 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14593
14594 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14595 parentheses around macro arguments.
14596 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14597 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14599 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14600 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14601 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14602 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14603 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14604 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14605 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14606 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14607 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14608 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14609 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14610 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14611 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14612 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14613 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14614 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14615 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14616 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14617 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14618 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14619 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14620 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14621 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14622 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14623 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14625 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14626 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14627 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14628 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14629 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14630 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14631 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14632 Likewise.
14633 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14634 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14635 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14636 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14637 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14638 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14639 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14640 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14641 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14642 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14643 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14644 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14645 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14646 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14647 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14648 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14649 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14650 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14651 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14652 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14653 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14654 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14655 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14656 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14657 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14658 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14659 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14660 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14661 (_FP_FRAC_SRS_1): Likewise.
14662 (_FP_FRAC_CLZ_1): Likewise.
14663 (_FP_MUL_MEAT_1_imm): Likewise.
14664 (_FP_MUL_MEAT_1_wide): Likewise.
14665 (_FP_MUL_MEAT_1_hard): Likewise.
14666 (_FP_SQRT_MEAT_1): Likewise.
14667 (_FP_FRAC_ASSEMBLE_1): Likewise.
14668 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14669 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14670 (__FP_CLZ_2): Likewise.
14671 (_FP_MUL_MEAT_2_wide): Likewise.
14672 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14673 (_FP_MUL_MEAT_2_gmp): Likewise.
14674 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14675 (_FP_SQRT_MEAT_2): Likewise.
14676 (_FP_FRAC_ASSEMBLE_2): Likewise.
14677 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14678 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14679 (_FP_FRAC_CLZ_4): Likewise.
14680 (_FP_MUL_MEAT_4_wide): Likewise.
14681 (_FP_MUL_MEAT_4_gmp): Likewise.
14682 (_FP_SQRT_MEAT_4): Likewise.
14683 (_FP_FRAC_ASSEMBLE_4): Likewise.
14684 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14685 * soft-fp/op-common.h (_FP_CMP): Likewise.
14686 (_FP_CMP_EQ): Likewise.
14687 (_FP_CMP_UNORD): Likewise.
14688 (_FP_TO_INT): Likewise.
14689 (_FP_FROM_INT): Likewise.
14690 [!__FP_CLZ] (__FP_CLZ): Likewise.
14691 (_FP_DIV_HELP_imm): Likewise.
14692 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14693 Likewise.
14694 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14697 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14699 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14700 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14702 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14703 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14704 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14705 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14706 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14707 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14708 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14709 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14710 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14711 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14712 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14713 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14715 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14716 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14717 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14718 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14719 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14720 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14721 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14723 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14724 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14725 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14726 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14727 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14728 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14729 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14730 (FP_UNPACK_RAW_SP): Likewise.
14731 (FP_PACK_RAW_S): Likewise.
14732 (FP_PACK_RAW_SP): Likewise.
14733 (FP_UNPACK_S): Likewise.
14734 (FP_UNPACK_SP): Likewise.
14735 (FP_UNPACK_SEMIRAW_S): Likewise.
14736 (FP_UNPACK_SEMIRAW_SP): Likewise.
14737 (FP_PACK_S): Likewise.
14738 (FP_PACK_SP): Likewise.
14739 (FP_PACK_SEMIRAW_S): Likewise.
14740 (FP_PACK_SEMIRAW_SP): Likewise.
14741 (_FP_SQRT_MEAT_S): Likewise.
14742 (FP_CMP_S): Likewise.
14743 (FP_CMP_EQ_S): Likewise.
14744 (FP_CMP_UNORD_S): Likewise.
14745 (FP_TO_INT_S): Likewise.
14746 (FP_FROM_INT_S): Likewise.
14747
14748 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14749
14750 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14751 (FP_EX_INVALID_IMZ): Likewise.
14752 (FP_EX_INVALID_IMZ_FMA): Likewise.
14753 (FP_EX_INVALID_ISI): Likewise.
14754 (FP_EX_INVALID_ZDZ): Likewise.
14755 (FP_EX_INVALID_IDI): Likewise.
14756 (FP_EX_INVALID_SQRT): Likewise.
14757 (FP_EX_INVALID_CVI): Likewise.
14758 (FP_EX_INVALID_VC): Likewise.
14759 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14760 "invalid" exceptions.
14761 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14762 (_FP_ADD_INTERNAL): Likewise.
14763 (_FP_MUL): Likewise.
14764 (_FP_FMA): Likewise.
14765 (_FP_DIV): Likewise.
14766 (_FP_CMP_CHECK_NAN): Likewise.
14767 (_FP_SQRT): Likewise.
14768 (_FP_TO_INT): Likewise.
14769 (FP_EXTEND): Likewise.
14770
14771 2014-10-09 Allan McRae <allan@archlinux.org>
14772
14773 * po/fr.po: Update French translation from translation project.
14774
14775 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14776
14777 [BZ #14132]
14778 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14779 of INTDEF.
14780 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14781 (__cxa_atexit): Use libc_hidden_proto.
14782 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14783
14784 [BZ #14132]
14785 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14786 declaration.
14787 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14788 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14789 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14790 [!_ISOMAC] (__iswctype_internal): Likewise.
14791 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14792 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14793 alias.
14794 (fcntl): Remove __fcntl_internal alias.
14795 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14796 __connect_internal alias.
14797 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14798 Likewise.
14799
14800 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14801 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14802 FP_DENORM_ZERO.
14803 (_FP_CHECK_FLUSH_ZERO): New macro.
14804 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14805 (_FP_CMP): Likewise.
14806 (_FP_CMP_EQ): Likewise.
14807 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14808 FP_DENORM_ZERO.
14809 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14810 (FP_TRUNC): Likewise.
14811
14812 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14813 treated as invalid conversion, not as normal exponent.
14814
14815 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14816 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14817 (_FP_CMP_EQ): Likewise.
14818 (_FP_CMP_UNORD): Likewise.
14819 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14820 (FP_CMP_EQ_D): Likewise.
14821 (FP_CMP_UNORD_D): Likewise.
14822 * soft-fp/extended.h (FP_CMP_E): Likewise.
14823 (FP_CMP_EQ_E): Likewise.
14824 (FP_CMP_UNORD_E): Likewise.
14825 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14826 (FP_CMP_EQ_Q): Likewise.
14827 (FP_CMP_UNORD_Q): Likewise.
14828 * soft-fp/single.h (FP_CMP_S): Likewise.
14829 (FP_CMP_EQ_S): Likewise.
14830 (FP_CMP_UNORD_S): Likewise.
14831 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14832 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14833 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14834 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14835 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14836 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14837 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14838 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14839 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14840 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14841 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14842 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14843 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14844 to FP_CMP_Q.
14845 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14846 FP_CMP_Q.
14847 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14848 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14849 FP_CMP_EQ_Q.
14850 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14851 FP_CMP_Q.
14852 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14853 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14854 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14855 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14856 FP_CMP_EQ_Q.
14857 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14858 FP_CMP_Q.
14859 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14860 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14861 FP_CMP_EQ_Q.
14862 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14863 FP_CMP_Q.
14864 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14865 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14866 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14867 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14868 FP_CMP_EQ_Q.
14869
14870 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14871 a subnormal result, set the underflow exception if trapping on
14872 underflow is enabled.
14873 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14874 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14875 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14876 redefine to 0.
14877 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14878 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14879 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14880 * soft-fp/extendxftf2.c (__extendxftf2): Use
14881 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14882
14883 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14884 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14885 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14886 FP_HANDLE_EXCEPTIONS.
14887 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14888 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14889 FP_HANDLE_EXCEPTIONS.
14890 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14891 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14892 FP_HANDLE_EXCEPTIONS.
14893 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14894 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14895 FP_HANDLE_EXCEPTIONS.
14896
14897 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14898
14899 [BZ #14132]
14900 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14901 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14902 use INTUSE.
14903 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14904 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14905 Remove alias.
14906 (__adjtimex): Define using libc_hidden_ver.
14907 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14908 Remove declaration.
14909 (ntp_gettime): Call __adjtimex directly.
14910 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14911 Remove declaration.
14912 (ntp_gettimex): Call __adjtimex directly.
14913 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14914 __adjtimex_internal alias.
14915
14916 2014-10-08 Roland McGrath <roland@hack.frob.com>
14917
14918 [BZ #17460]
14919 * nscd/nscd.c (more_help): Rewrite list of tables collection
14920 using xstrdup and asprintf.
14921
14922 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14923
14924 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14925 Roland McGrath <roland@hack.frob.com>
14926
14927 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14928 (do_lookup_unique): ... local function 'enter' here; update callers.
14929
14930 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14931
14932 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14933 compat_symbol calls on [SHARED].
14934 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14935 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14936 Remove.
14937 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14938 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14939 (oldsetrlimit): Remove.
14940 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14942 (lchown): New syscall entry.
14943 (oldsetrlimit): Remove.
14944 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14945 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14946 (oldsetrlimit): Remove.
14947 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14948
14949 [BZ #14138]
14950 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14951 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14952 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14953 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14954 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14955 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14956 (fchown): Likewise.
14957 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14958 (fchown): Likewise.
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14960 Likewise.
14961
14962 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14963
14964 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14965 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14966 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14967 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14968 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14969 Likewise.
14970 (__old_sem_post): Likewise.
14971
14972 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14973
14974 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14975 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14976 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14977 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14978 Use INLINE_VSYSCALL macro.
14979 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14980 __vdso_clock_gettime.
14981 * sysdeps/unix/sysv/linux/tile/init-first.c
14982 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14983 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14984 __vdso_clock_gettime.
14985
14986 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14987 to set up frame more cleanly.
14988
14989 * sysdeps/tile/memcmp.c: New file.
14990
14991 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14992
14993 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14994 * sysdeps/tile/tilegx/strcasestr.c: New file.
14995 * sysdeps/tile/tilegx/strnlen.c: New file.
14996 * sysdeps/tile/tilegx/strstr.c: New file.
14997
14998 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14999
15000 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15001
15002 * nptl/tst-setuid3.c: Write errors to stdout.
15003
15004 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15005
15006 * elf/dl-deps.c
15007 (preload): New functions broken out of _dl_map_object_deps.
15008 (_dl_map_object_deps): Remove a nested function. Update call sites.
15009
15010 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15011
15012 [BZ #14138]
15013 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15014 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15015
15016 2014-10-01 Steve Ellcey <sellcey@mips.com>
15017
15018 * sysdeps/mips/strcmp.S: New.
15019
15020 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15021
15022 [BZ #14138]
15023 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15024 (linkat): Likewise.
15025 (mkdirat): Likewise.
15026 (readlinkat): Likewise.
15027 (renameat): Likewise.
15028 (symlinkat): Likewise.
15029 (unlinkat): Likewise.
15030 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15031 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15032 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15033 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15034 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15035 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15036 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15037
15038 2014-09-30 Will Newton <will.newton@linaro.org>
15039
15040 * math/math.h: Define long double math functions if
15041 _LIBC_TEST is defined.
15042 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15043
15044 * localedata/Makefile: Move assignment to tests-special
15045 into an ifdef testing run-built-tests.
15046 * timezone/Makefile: Likewise.
15047
15048 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15049
15050 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15051 with $(BASH) not $(SHELL).
15052
15053 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15054 Matthew LeGendre <legendre1@llnl.gov>
15055
15056 [BZ #17411]
15057 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15058 l_reloc_result.
15059
15060 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15061
15062 * stdio-common/printf_fp.c
15063 (hack_digit): New function, broken out of ...
15064 (__printf_fp): ... local function here. Update call sites.
15065 hack_digit now takes an additional parameter that is a pointer
15066 to a struct of the referenced locals. Those locals moved inside
15067 the struct and references updated.
15068
15069 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15070
15071 * aclocal.m4: Require autoconf 2.69.
15072 * configure: Regenerated.
15073 * sysdeps/aarch64/configure: Likewise.
15074 * sysdeps/alpha/configure: Likewise.
15075 * sysdeps/arm/armv7/configure: Likewise.
15076 * sysdeps/arm/configure: Likewise.
15077 * sysdeps/ia64/configure: Likewise.
15078 * sysdeps/mach/configure: Likewise.
15079 * sysdeps/mips/configure: Likewise.
15080 * sysdeps/s390/configure: Likewise.
15081 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15083
15084 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15085 file.
15086 * sysdeps/ia64/configure.ac: Likewise.
15087
15088 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15089
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15091 specify symbol version for ld.so. Do not include entry for
15092 libpthread.
15093 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15094 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15095 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15096
15097 [BZ #14171]
15098 * Makeconfig [$(build-shared) = yes]
15099 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15100 makefiles.
15101 [$(build-shared) = yes && $(soversions.mk-done) = t]
15102 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15103 [$(build-shared) = yes && $(soversions.mk-done) = t]
15104 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15105 to Makerules.
15106 [$(build-shared) = yes && $(soversions.mk-done) = t]
15107 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15108 here.
15109 [$(build-shared) = yes && $(soversions.mk-done) = t]
15110 (common-generated): Don't append gnu/lib-names.h and
15111 gnu/lib-names.stmp here.
15112 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15113 (lib-names-h-abi): New variable.
15114 [$(build-shared) = yes && $(soversions.mk-done) = t]
15115 (lib-names-stmp-abi): Likewise.
15116 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15117 abi-variants] (before-compile): Append
15118 $(common-objpfx)$(lib-names-h-abi).
15119 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15120 abi-variants] (common-generated): Append gnu/lib-names.h.
15121 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15122 abi-variants] (install-others-nosubdir): Depend on
15123 $(inst_includedir)/$(lib-names-h-abi).
15124 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15125 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15126 [$(build-shared) = yes && $(soversions.mk-done) = t]
15127 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15128 [$(build-shared) = yes && $(soversions.mk-done) = t]
15129 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15130 [$(build-shared) = yes && $(soversions.mk-done) = t]
15131 (common-generated): Append $(lib-names-h-abi) and
15132 $(lib-names-stmp-abi).
15133 * scripts/lib-names.awk: Do not handle multi being set.
15134 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15135 Remove variable.
15136 (abi-lp64_be-ld-soname): Likewise.
15137 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15138 Likewise.
15139 (abi-hard-ld-soname): Likewise.
15140 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15141 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15142 Remove variable.
15143 (abi-o32_hard-ld-soname): Likewise.
15144 (abi-o32_soft_2008-ld-soname): Likewise.
15145 (abi-o32_hard_2008-ld-soname): Likewise.
15146 (abi-n32_soft-ld-soname): Likewise.
15147 (abi-n32_hard-ld-soname): Likewise.
15148 (abi-n32_soft_2008-ld-soname): Likewise.
15149 (abi-n32_hard_2008-ld-soname): Likewise.
15150 (abi-n64_soft-ld-soname): Likewise.
15151 (abi-n64_hard-ld-soname): Likewise.
15152 (abi-n64_soft_2008-ld-soname): Likewise.
15153 (abi-n64_hard_2008-ld-soname): Likewise.
15154 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15155 Likewise.
15156 (abi-64-v2-ld-soname): Likewise.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15158 ld.so entries.
15159 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15160 variable.
15161 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15162 entry.
15163 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15164 variable.
15165 (abi-64-ld-soname): Likewise.
15166 (abi-x32-ld-soname): Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15168 entry.
15169 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15170
15171 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15172
15173 [BZ #14138]
15174 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15175 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15176 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15177 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15178 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15179 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15180 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15181 syscall entry for GLIBC_2.2 symbol version.
15182 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15183 Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15185 (setrlimit): Likewise.
15186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15187 Likewise.
15188
15189 2014-09-23 Will Newton <will.newton@linaro.org>
15190
15191 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15192 _LINUX_ARM_SYSDEP_H include guard too.
15193 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15194 define.
15195
15196 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15197
15198 * sysdeps/unix/sysv/linux/eventfd.c:
15199 Make first argument unsigned.
15200 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15201 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15202
15203 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15204
15205 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15206 * socket/sys/socket.h: Likewise
15207 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15208
15209 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15210
15211 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15212
15213 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15214
15215 * time/tst-ftime.c: New test.
15216 * time/Makefile (tests): Add tst-ftime.
15217
15218 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15219
15220 * soft-fp/extended.h: Fix comment formatting.
15221 * soft-fp/op-1.h: Likewise.
15222 * soft-fp/op-2.h: Likewise.
15223 * soft-fp/op-4.h: Likewise.
15224 * soft-fp/op-8.h: Likewise.
15225 * soft-fp/op-common.h: Likewise.
15226 * soft-fp/soft-fp.h: Likewise.
15227
15228 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15229
15230 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15231
15232 [BZ #6652]
15233 * Makeconfig (soversions-default-setname): Remove variable.
15234 ($(common-objpfx)soversions.i): Don't pass default_setname to
15235 soversions.awk.
15236 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15237 oldest_abi to abi-versions.awk.
15238 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15239 * config.make.in (oldest-abi): Remove variable.
15240 * configure.ac (--enable-oldest-abi): Remove configure option.
15241 * configure: Regenerated.
15242 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15243 text.
15244 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15245 * scripts/soversions.awk: Do not handle default_setname variable.
15246 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15247 variable.
15248 * sysdeps/mach/hurd/configure: Regenerated.
15249 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15250 variable.
15251 * sysdeps/unix/sysv/linux/configure: Regenerated.
15252
15253 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15254
15255 * elf/Makefile (CFLAGS-interp.c): Remove.
15256 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15257 path string.
15258 * elf/interp.c: Include generated runtime-linker.h
15259
15260 * Makerules (lib%.so): Don't include $(+interp) in
15261 prerequisites.
15262 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15263 * dlfcn/eval.c: Remove file.
15264
15265 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15266 macros.
15267
15268 [BZ #17266]
15269 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15270 4.2 and newer.
15271
15272 [BZ #17370]
15273 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15274
15275 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15276 Jakub Jelinek <jakub@redhat.com>
15277
15278 [BZ #17266]
15279 * libio/stdio.h: Check definition of __fortify_function
15280 instead of __extern_always_inline to include bits/stdio2.h.
15281 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15282 check if __extern_always_inline is defined.
15283 [__USE_MISC || __USE_XOPEN]: Likewise.
15284 [__USE_ISOC99] Likewise.
15285 * misc/sys/cdefs.h (__fortify_function): Define only if
15286 __extern_always_inline is defined.
15287 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15288 __extern_always_inline and __extern_inline only for g++-4.3
15289 and newer or a compatible gcc.
15290
15291 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15292
15293 [BZ #17371]
15294 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15295 last change to handle zero prefix length.
15296
15297 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15298
15299 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15300 _SC_REGEX_VERSION.
15301
15302 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15303 _POSIX_RAW_SOCKETS.
15304
15305 2014-09-13 Allan McRae <allan@archlinux.org>
15306
15307 * po/ru.po: Update Russian translation from translation project.
15308
15309 2014-09-12 Roland McGrath <roland@hack.frob.com>
15310
15311 * locale/programs/locale.c (show_locale_vars): Inline local function
15312 into its sole call site. Clean up some style nits.
15313 (print_item): New function, broken out of ...
15314 (show_info): ... local function here. Clean up style nits.
15315
15316 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15317 out of ...
15318 (set_class_defaults): ... local function set_default here.
15319 Define set_default as a macro locally to pass constant parameters.
15320 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15321 rather than a shared local.
15322
15323 * stdlib/rpmatch.c (try): New function, broken out of ...
15324 (rpmatch): ... local function here. Also, prototypify definition.
15325
15326 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15327
15328 * scripts/soversions.awk: Do not handle configuration names.
15329 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15330 vendor and os variables to soversions.awk.
15331 * configure.ac: Do not modify gnu-* host_os.
15332 * configure: Regenerated
15333 * shlib-versions: Remove first column with configuration names.
15334 * nptl/shlib-versions: Likewise.
15335 * nptl_db/shlib-versions: Likewise.
15336 * sysdeps/hppa/shlib-versions: Likewise.
15337 * sysdeps/m68k/shlib-versions: Likewise.
15338 * sysdeps/mach/hurd/shlib-versions: Likewise.
15339 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15340 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15341 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15342 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15343 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15344 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15345 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15346 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15348 Likewise.
15349 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15350 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15351 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15352 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15353 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15354 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15355 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15357
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15359 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15361 Regenerated.
15362 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15364 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15365
15366 * shlib-versions: Remove OS-specific entries. Moved to files in
15367 sysdeps.
15368 * sysdeps/mach/hurd/shlib-versions: New file.
15369 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15370
15371 * nptl/shlib-versions: Remove architecture-specific entries.
15372 Moved to files in sysdeps.
15373 * shlib-versions: Likewise.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15375 file.
15376 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15377 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15378 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15380
15381 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15382 (UDP_NO_CHECK6_RX): Likewise.
15383
15384 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15385
15386 * sysdeps/posix/sysconf.c (__sysconf): Spell
15387 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15388
15389 2014-08-12 Florian Weimer <fweimer@redhat.com>
15390
15391 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15392 loading.
15393 * iconv/Versions (__gconv_transliterate): Export for use from
15394 gconv modules.
15395 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15396 (struct __gconv_trans_data, __gconv_trans_fct,
15397 __gconv_trans_context_fct, __gconv_trans_query_fct,
15398 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15399 definitions.
15400 (struct __gconv_step_data): Remove __trans member.
15401 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15402 longer hidden. Remove unused trans_data argument.
15403 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15404 (__gconv_translit_find): Remove declaration.
15405 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15406 prototype.
15407 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15408 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15409 trans_data argument. Add hidden definition.
15410 (__gconv_translit_find): Remove.
15411 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15412 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15413 * iconv/skeleton.c: Remove transliteration initialization.
15414 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15415 __gconv_step_data initialization.
15416 * libio/iofwide.c (__libio_translit_): Remove.
15417 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15418 * wcsmbs/btowc.c (__btowc): Likewise.
15419 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15420 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15421 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15422 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15423 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15424 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15425 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15426 * wcsmbs/wctob.c (wctob): Likewise.
15427
15428 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15429
15430 [BZ #16194]
15431 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15432 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15433 register usage.
15434 * sysdeps/x86/Makefile: Adjust.
15435
15436 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15437 Roland McGrath <roland@hack.frob.com>
15438
15439 * locale/weight.h: Add include guard.
15440 (findidx): Make static rather than auto; take new parameters
15441 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15442 * locale/weightwc.h: Likewise.
15443 * posix/fnmatch_loop.c
15444 (FCT): Change type of EXTRA from int32_t to wint_t.
15445 Don't include either header inside the function.
15446 Call FINDIDX rather than findidx, and pass new arguments.
15447 #undef FINDIDX at the end of the file.
15448 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15449 FINDIDX before including fnmatch_loop.c for the non-wide version.
15450 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15451 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15452 for the wide version.
15453 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15454 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15455 Pass new arguments to findidx.
15456 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15457 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15458 Don't #include it inside the function. Pass new arguments to findidx.
15459 * posix/regex_internal.h
15460 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15461 (re_string_elem_size_at): Don't #include it inside the function.
15462 Pass new arguments to findidx.
15463 * string/strcoll_l.c: #include WEIGHT_H at top level.
15464 (get_next_seq): Don't #include it inside the function.
15465 Pass new arguments to findidx.
15466 (get_next_seq_nocache): Likewise.
15467 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15468 (STRXFRM): Don't #include it inside the function.
15469 Pass new arguments to findidx.
15470
15471 2014-09-11 Florian Weimer <fweimer@redhat.com>
15472
15473 [BZ #17344]
15474 * malloc/malloc.c (unlink): Turn asserts into a call to
15475 malloc_printerr.
15476
15477 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15478
15479 [BZ #17370]
15480 * libio/wfileops (do_ftell_wide): Free OUT.
15481
15482 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15483
15484 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15485
15486 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15487
15488 [BZ #17363]
15489 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15490 group if the current group is empty.
15491
15492 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15493
15494 * benchtests/bench-memset.c (test_main): Add more test from size
15495 from 32 to 512 bytes.
15496 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15497 Add POWER8 memset object.
15498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15499 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15500 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15501 implementation.
15502 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15503 Likewise.
15504 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15505 multiarch POWER8 memset optimization.
15506 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15507 POWER8 memset optimization.
15508
15509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15510 Remove bzero multiarch objects.
15511 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15512 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15513 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15514 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15515 Remove define.
15516 [__bzero]: Redefine to specific name.
15517 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15518 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15519 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15520 define.
15521 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15522 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15523
15524 2014-09-10 Florian Weimer <fweimer@redhat.com>
15525
15526 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15527 warnings into errors.
15528
15529 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15530 __cxa_thread_atexit_impl prototype.
15531
15532 2014-09-09 Steve Ellcey <sellcey@mips.com>
15533
15534 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15535 Fix capitalization of error message.
15536
15537 2014-09-09 Steve Ellcey <sellcey@mips.com>
15538
15539 * sysdeps/mips/preconfigure: Modify ABI tests.
15540
15541 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15542
15543 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15544
15545 2014-09-07 Roland McGrath <roland@hack.frob.com>
15546 Carlos O'Donell <carlos@systemhalted.org>
15547
15548 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15549 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15550 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15551 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15552 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15553 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15554 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15555 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15556 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15557 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15558 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15559 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15560 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15561 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15562 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15563 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15564 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15565 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15566 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15567 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15568 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15569 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15570 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15571 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15572 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15573 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15574 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15575 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15576 Deconditionalize the code that was previously under [RESET_PID].
15577 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15578 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15579 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15580 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15581 include sysdep.h.
15582
15583 2014-09-08 Allan McRae <allan@archlinux.org>
15584
15585 * version.h (RELEASE): Set to "development".
15586 (VERSION): Set to "2.20.90"
15587
15588 2014-09-07 Allan McRae <allan@archlinux.org
15589
15590 * version.h (RELEASE): Set to "stable".
15591 (VERSION): Set to "2.20"
15592 * include/features.h (__GLIBC_MINOR__): Set to 20.
15593
15594 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15595 Liebler.
15596
15597 * po/ko.po: Update Korean translation from translation project.
15598
15599 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15600
15601 [BZ #17354]
15602 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15603 macro for handling signed relocations.
15604
15605 2014-09-03 Florian Weimer <fweimer@redhat.com>
15606
15607 [BZ #17325]
15608 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15609 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15610 assert.
15611 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15612 * iconvdata/ibm935.c (BODY): Likewise.
15613 * iconvdata/ibm937.c (BODY): Likewise.
15614 * iconvdata/ibm939.c (BODY): Likewise.
15615 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15616 assert.
15617 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15618 script.
15619 * iconvdata/run-iconv-test.sh: New test loop for checking for
15620 decoder crashers.
15621
15622 2014-09-02 Khem Raj <raj.khem@gmail.com>
15623
15624 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15625 libm_hidden_ver.
15626
15627 2014-09-01 Allan McRae <allan@archlinux.org>
15628
15629 * po/eo.po: Update Esperanto translation from translation project.
15630
15631 * po/ca.po: Update Catalan translation from translation project.
15632
15633 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15634
15635 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15636 __proc_dostop call.
15637
15638 2014-08-27 Mark Wielaard <mjw@redhat.com>
15639
15640 [BZ #17319]
15641 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15642 to call set_thread_area instead of hand written asm.
15643 (__NR_set_thread_area): Removed define.
15644 (TLS_FLAG_WRITABLE): Likewise.
15645 (__ASSUME_SET_THREAD_AREA): Remove check.
15646 (TLS_EBX_ARG): Remove define.
15647 (TLS_LOAD_EBX): Likewise.
15648
15649 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15650
15651 Simplify atomicity of socket creation in bind.
15652
15653 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15654 looking up the name after linking the file.
15655
15656 2014-08-27 Allan McRae <allan@archlinux.org>
15657
15658 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15659
15660 2014-08-26 Florian Weimer <fweimer@redhat.com>
15661
15662 [BZ #17187]
15663 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15664 trans_compare, open_translit, __gconv_translit_find):
15665 Remove module loading code.
15666
15667 2014-08-26 Allan McRae <allan@archlinux.org>
15668
15669 * po/vi.po: Update Vietnamese translation from translation project.
15670
15671 * po/uk.po: Update Ukrainian translation from translation project.
15672
15673 * po/fr.po: Update French translation from translation project.
15674
15675 * po/ru.po: Update Russian translation from translation project.
15676
15677 * po/pl.po: Update Polish translation from translation project.
15678
15679 * po/cs.po: Update Czech translation from translation project.
15680
15681 * po/de.po: Update German translation from translation project.
15682
15683 * po/bg.po: Update Bulgarian translation from translation project.
15684
15685 * po/sv.po: Update Sweedish translation from translation project.
15686
15687 * po/nl.po: Update Dutch translation from translation project.
15688
15689 * po/es.po: Update Spanish translation from translation project.
15690
15691 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15692
15693 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15694
15695 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15696 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15697 (CPPFLAGS-iconvconfig): Likewise.
15698 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15699
15700 * include/libc-symbols.h: Remove unnecessary check for
15701 NOT_IN_libc.
15702 * nptl/pthreadP.h: Likewise.
15703 * sysdeps/aarch64/setjmp.S: Likewise.
15704 * sysdeps/alpha/setjmp.S: Likewise.
15705 * sysdeps/arm/sysdep.h: Likewise.
15706 * sysdeps/i386/setjmp.S: Likewise.
15707 * sysdeps/m68k/setjmp.c: Likewise.
15708 * sysdeps/posix/getcwd.c: Likewise.
15709 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15710 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15711 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15712 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15713 * sysdeps/sh/sh3/setjmp.S: Likewise.
15714 * sysdeps/sh/sh4/setjmp.S: Likewise.
15715 * sysdeps/unix/alpha/sysdep.h: Likewise.
15716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15718 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15719 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15724 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15727 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15729 * sysdeps/x86_64/setjmp.S: Likewise.
15730
15731 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15732
15733 [BZ #17263]
15734 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15735 <stdint.h>.
15736 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15737 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15738
15739 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15740
15741 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15742
15743 [BZ #17262]
15744 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15745 and __x86_64__ when disabling x87 inline functions.
15746
15747 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15748
15749 [BZ #17259]
15750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15751 asm statement with __cpuid_count.
15752
15753 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15754
15755 * configure.ac: Change __ehdr_start code to dereference the struct.
15756 Run readelf on the output to look for relocations.
15757 * configure: Regenerated.
15758
15759 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15760
15761 [BZ #17261]
15762 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15763 value to 0.
15764 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15765
15766 2014-08-12 Roland McGrath <roland@hack.frob.com>
15767
15768 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15769
15770 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15771
15772 [BZ #16892]
15773 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15774 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15775
15776 2014-08-12 Sean Anderson <seanga2@gmail.com>
15777
15778 * malloc/malloc.c: Fix typo in comment.
15779
15780 2014-08-09 Allan McRae <allan@archlinux.org>
15781
15782 * Regenerate libc.po.
15783
15784 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15785
15786 * intl/tst-gettext2.sh: Check every lang file for creation.
15787
15788 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15789
15790 * sysdeps/aarch64/fpu/math_private.h
15791 (libc_feholdsetround_noex_aarch64_ctx): New function.
15792
15793 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15794
15795 * sysdeps/arm/armv6/strcpy.S (strcpy):
15796 Fix performance issue in misaligned cases.
15797
15798 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15799
15800 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15801 Move definition from termios.h.
15802 (struct termio): Likewise.
15803 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15804 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15805 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15806 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15807 Likewise.
15808 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15809 Move definition to ioctl-types.h
15810 (struct termio): Likewise.
15811 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15812 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15813 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15814 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15815 Likewise.
15816
15817 2014-08-05 Richard Henderson <rth@redhat.com>
15818
15819 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15820 exceptions.
15821 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15822 Add fraiseexcpt.
15823 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15824 Use __feraiseexcept.
15825 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15826 Protect libm symbols with IS_IN_libm.
15827
15828 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15829
15830 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15831
15832 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15833
15834 2014-08-04 Will Newton <will.newton@linaro.org>
15835
15836 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15837 file.
15838
15839 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15840
15841 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15842 variants for each function.
15843
15844 2014-08-04 Roland McGrath <roland@hack.frob.com>
15845
15846 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15847 appended ...
15848 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15849 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15850 appended ...
15851 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15852 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15853 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15854 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15855 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15856 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15857 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15858 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15859 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15860 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15863 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15864 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15865 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15866 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15867 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15868 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15869 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15870 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15871 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15872 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15873 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15874 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15875 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15876 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15877 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15878 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15879 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15880 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15881 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15882 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15883 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15884 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15885 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15886 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15887 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15888 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15889 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15890 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15891 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15892 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15893 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15894 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15895 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15896 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15897 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15898 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15899 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15900 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15901 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15902 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15903 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15904 Update #include.
15905 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15906 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15907
15908 2014-08-04 Roland McGrath <roland@hack.frob.com>
15909
15910 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15911 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15912 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15913 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15914 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15915 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15916
15917 2014-08-04 Roland McGrath <roland@hack.frob.com>
15918
15919 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15920 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15921 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15922 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15923
15924 2014-08-04 Roland McGrath <roland@hack.frob.com>
15925
15926 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15927 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15928 (__libc_vfork): Define function under this name.
15929 (__vfork): Define as an alias.
15930 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15931 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15932
15933 2014-08-04 Roland McGrath <roland@hack.frob.com>
15934
15935 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15936 that was previously under [RESET_PID].
15937 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15938
15939 2014-08-04 Andreas Schwab <schwab@suse.de>
15940
15941 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15942
15943 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15944
15945 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15946 (main): Likewise.
15947
15948 2014-08-01 Roland McGrath <roland@hack.frob.com>
15949
15950 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15951
15952 2014-08-01 Richard Henderon <rth@redhat.com>
15953
15954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15955 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15956 typo in exact zero test.
15957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15958 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15960
15961 2014-08-01 Roland McGrath <roland@hack.frob.com>
15962
15963 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15964 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15965 * sysdeps/arm/sysdep.h: ... here.
15966 [!__ASSEMBLER__]: Include <stdint.h>.
15967
15968 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15969
15970 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15971 (HAVE_WCTYPE_H): Likewise.
15972 (HAVE_ISWCTYPE): Likewise.
15973 (ENABLE_NLS): Likewise.
15974 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15975 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15976
15977 * posix/regex_internal.c: Check if DEBUG is defined and is
15978 set.
15979
15980 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15981 (HAVE_MBSRTOWCS): Likewise.
15982 * posix/fnmatch.c: Include string.h unconditionally.
15983
15984 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15985
15986 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15987 reversal.
15988
15989 2014-07-31 Roland McGrath <roland@hack.frob.com>
15990
15991 * sysdeps/generic/safe-fatal.h: New file.
15992 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15993 * nptl/forward.c: Include it.
15994 (__pthread_unwind): Use __safe_fatal as default action, rather
15995 than a bogus use of INTERNAL_SYSCALL that could never work.
15996
15997 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15998 * configure.ac (libc_cv_builtin_trap): New test.
15999 * configure: Regenerated.
16000 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16001 (ABORT_INSTRUCTION): Define using __builtin_trap.
16002
16003 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16004 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16005 * sysdeps/nptl/nptl-signals.h: New file.
16006 * nptl/pthreadP.h: Include <nptl-signals.h>.
16007
16008 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16009
16010 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16011 (ONE_DIRECTION): Define.
16012 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16013 (ONE_DIRECTION): Define.
16014 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16015 (ONE_DIRECTION): Define.
16016
16017 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16018
16019 * sysdeps/s390/Makefile: Delete file.
16020 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16021 * sysdeps/s390/__longjmp.c: Delete file.
16022 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16023 Remove fields __flags and __reserved.
16024 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16025 and add versioning.
16026 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16027 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16028 * sysdeps/s390/rtld-setjmp.S: Likewise.
16029 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16030 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16031 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16032 * sysdeps/s390/s390-32/setjmp.S: ... here.
16033 Add versioning.
16034 (__sigsetjmp): Remove setting __flags field.
16035 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16036 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16037 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16038 * sysdeps/s390/s390-64/setjmp.S: ... here.
16039 Add versioning.
16040 (__sigsetjmp): Remove setting __flags field.
16041 * sysdeps/s390/setjmp.S: Delete file.
16042 * sysdeps/s390/sigjmp.c: Likewise.
16043 * sysdeps/s390/v1-longjmp.c: Likewise.
16044 * sysdeps/s390/v1-setjmp.h: Likewise.
16045 * sysdeps/s390/v1-sigjmp.c: Likewise.
16046 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16047 Remove v1-longjmp_chk.
16048 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16049 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16050 Include debug/longjmp_chk.c and add versioning.
16051 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16052 Include nptl/pt-longjmp.c and add versioning.
16053 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16054 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16055 Include __longjmp.c.
16056 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16057 Move to ...
16058 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16059 (__getcontext): Remove setting __flags field.
16060 Add versioning.
16061 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16062 Don't restore upper high grps.
16063 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16064 Likewise.
16065 (__swapcontext): Remove setting uc_flags field.
16066 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16067 Delete file.
16068 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16069 Include __longjmp.c.
16070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16071 Move to ...
16072 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16073 (__getcontext): Remove setting __flags field.
16074 Add versioning.
16075 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16076 (__swapcontext): Remove setting uc_flags field.
16077 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16078 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16079 Remove fields uc_high_gprs and __reserved.
16080 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16081 New file with reverted content.
16082 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16084 Regenerated.
16085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16086 Regenerated.
16087
16088 2014-07-31 Andreas Schwab <schwab@suse.de>
16089
16090 * config.h.in (HAVE_IFUNC): Define to 0.
16091 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16092 definedness.
16093
16094 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16095
16096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16097 memmove-avx-unaligned, memcpy-avx-unaligned and
16098 mempcpy-avx-unaligned.
16099 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16100 Add tests for AVX memcpy functions.
16101 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16102 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16103 memcpy_chk.
16104 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16105 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16106 memmove_chk.
16107 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16108 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16109 mempcpy_chk.
16110 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16111 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16112 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16113
16114 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16115
16116 [BZ #17213]
16117 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16118 powerpc64le.
16119
16120 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16121
16122 [BZ #16839]
16123 * manual/llio.texi: Add section about open file description locks.
16124 * manual/examples/ofdlocks.c: Example of open file description
16125 lock usage.
16126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16127 F_OFD_SETLK, and F_OFD_SETLKW.
16128
16129 2014-07-23 Allan McRae <allan@archlinux.org>
16130
16131 * po/es.po: Update Spanish translation from translation project.
16132
16133 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16134
16135 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16136
16137 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16138
16139 [BZ #17078]
16140 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16141 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16142 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16143
16144 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16145
16146 [BZ #17088]
16147 * math/fesetenv.c (__fesetenv)
16148 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16149 * math/feupdateenv.c (__feupdateenv)
16150 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16151
16152 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16153 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16154 (__ASSUME_SOCKETCALL): Do not define.
16155
16156 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16157 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16158 (__ASSUME_SOCKETCALL): Do not define.
16159 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16160 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16161 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16162 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16163 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16164 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16165 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16166 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16167
16168 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16169 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16170 (__ASSUME_SOCKETCALL): Do not define.
16171 (__ASSUME_IPC64): Define unconditionally.
16172 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16173 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16174 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16175 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16176 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16177 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16178 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16179 Likewise.
16180
16181 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16182 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16183 (__ASSUME_SOCKETCALL): Do not define.
16184 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16185 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16186 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16187 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16188 (__ASSUME_REQUEUE_PI): Define unconditionally.
16189 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16190 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16191 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16192 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16193 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16194 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16195
16196 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16197 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16198 (__ASSUME_SOCKETCALL): Do not define.
16199 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16200 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16201 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16202 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16203 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16204 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16205
16206 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16207 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16208 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16209 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16210 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16211 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16212 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16213 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16214 (__ASSUME_GETCPU_SYSCALL): Likewise.
16215
16216 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16217 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16218 cases for individual architectures.
16219 * sysdeps/gnu/configure: Regenerated.
16220 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16221 LIBC_SLIBDIR_RTLDDIR.
16222 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16223 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16224 LIBC_SLIBDIR_RTLDDIR.
16225 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16227 LIBC_SLIBDIR_RTLDDIR.
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16229 Regenerated.
16230 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16231 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16232 file.
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16234 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16235 file.
16236 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16237 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16238 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16239 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16240
16241 * sysdeps/aarch64/shlib-versions: Move to ...
16242 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16243 * sysdeps/alpha/shlib-versions: Move to ...
16244 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16245 * sysdeps/arm/shlib-versions: Move to ...
16246 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16247 * sysdeps/hppa/shlib-versions: Move all contents except for
16248 libgcc_s entry to ...
16249 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16250 entry from ...
16251 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16252 * sysdeps/ia64/shlib-versions: Move to ...
16253 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16254 entry from ...
16255 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16256 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16257 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16258 * sysdeps/microblaze/shlib-versions: Move to ...
16259 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16260 * sysdeps/mips/shlib-versions: Move to ...
16261 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16262 entry from ...
16263 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16264 * sysdeps/tile/shlib-versions: Move to ...
16265 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16266 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16267 from ...
16268 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16269 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16270 entry from ...
16271 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16272
16273 2014-07-17 Will Newton <will.newton@linaro.org>
16274
16275 * sysdeps/arm/bits/atomic.h
16276 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16277 (__arch_compare_and_exchange_bool_16_int): Likewise.
16278 (__arch_compare_and_exchange_bool_64_int): Likewise.
16279
16280 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16281 into an #else block.
16282
16283 2014-07-16 Roland McGrath <roland@hack.frob.com>
16284
16285 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16286 just Linux configurations. Test empirically that the compiler sets
16287 __ARM_EABI__, rather than using the tuple to decide.
16288 * sysdeps/arm/preconfigure: Regenerated.
16289 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16290 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16291 contents appended ...
16292 * sysdeps/arm/configure.ac: ... here.
16293 * sysdeps/arm/configure: Regenerated.
16294
16295 2014-07-15 Roland McGrath <roland@hack.frob.com>
16296
16297 * nptl/pthread_kill.c: New file.
16298 * nptl/pthread_sigmask.c: New file.
16299 * nptl/pthread_sigqueue.c: New file.
16300
16301 * sysdeps/nptl/lowlevellock.h: New file.
16302 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16303 * sysdeps/nptl/lowlevellock-futex.h: New file.
16304
16305 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16306 Remove dead declarations.
16307
16308 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16309
16310 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16311 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16312 config-cflags-avx2.
16313 * sysdeps/x86_64/configure.ac: Likewise.
16314 * sysdeps/i386/configure: Regenerated.
16315 * sysdeps/x86_64/configure: Likewise.
16316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16317 memset-avx2 only if config-cflags-avx2 is yes.
16318 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16319 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16320 defined.
16321 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16322 only if HAVE_AVX2_SUPPORT is defined.
16323 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16324
16325 2014-07-14 Alan Modra <amodra@gmail.com>
16326
16327 [BZ #17153]
16328 * elf/elf.h (DT_PPC64_NUM): Correct value.
16329 * NEWS: Add to fixed bug list.
16330
16331 2014-07-13 Jim Meyering <meyering@fb.com>
16332
16333 [BZ 17150]
16334 regex: don't deref NULL upon heap allocation failure
16335 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16336 failure in one more place.
16337 To trigger the segfault, configure grep -with-included-regex,
16338 build it, and run these commands:
16339 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16340
16341 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16342
16343 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16344
16345 2014-07-11 Richard Henderson <rth@redhat.com>
16346
16347 * sysdeps/aarch64/libm-test-ulps: Update.
16348
16349 2014-07-10 Florian Weimer <fweimer@redhat.com>
16350
16351 [BZ #17135]
16352 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16353 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16354 (__nptl_setxid): Initialize error member. Call
16355 __nptl_setxid_error.
16356 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16357 * nptl/descr.h (struct xid_command): Add error member.
16358 * nptl/tst-setuid3.c: New file.
16359 * nptl/Makefile (tests): Add it.
16360
16361 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16362
16363 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16364 New define.
16365 (__lll_trylock): Use __lll_base_trylock.
16366 (__lll_cond_trylock): Likewise.
16367
16368 2014-07-10 Roland McGrath <roland@hack.frob.com>
16369
16370 * nptl/pthread_create.c (start_thread): Use atomic_or and
16371 lll_futex_wake directly rather than lll_robust_dead.
16372 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16373 (lll_robust_dead): Macro removed.
16374 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16375 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16376 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16377 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16378 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16379 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16380 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16381 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16382 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16383 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16387 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16389
16390 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16391 Use atomic_compare_and_exchange_val_acq directly rather than
16392 lll_robust_trylock.
16393 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16394 (__lll_robust_trylock, lll_robust_trylock): Removed.
16395 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16396 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16397 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16398 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16399 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16400 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16401 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16402 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16403 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16404 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16405 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16406 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16407 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16409
16410 2014-07-02 Florian Weimer <fweimer@redhat.com>
16411
16412 * manual/locale.texi (Locale Names): New section documenting
16413 locale name syntax. Adjust menu and node chaining accordingly.
16414 (Choosing Locale): Reference Locale Names, Locale Categories.
16415 Mention setting LC_ALL=C. Reflect that name syntax is now
16416 documented.
16417 (Locale Categories): New section title. Reference Locale Names.
16418 LC_ALL is an environment variable, but not a category.
16419 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16420 description, now in Locale Name. Reference that section. Locale
16421 name syntax is now documented.
16422
16423 2014-07-02 Florian Weimer <fweimer@redhat.com>
16424
16425 [BZ #17137]
16426 * locale/findlocale.c (name_present, valid_locale_name): New
16427 functions.
16428 (_nl_find_locale): Use the loc_name variable to store name
16429 candidates. Call name_present and valid_locale_name to check and
16430 validate locale names. Return an error if the locale is invalid.
16431
16432 2014-07-02 Florian Weimer <fweimer@redhat.com>
16433
16434 * locale/setlocale.c (setlocale): Use strdup for allocating
16435 composite name copy.
16436
16437 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16438
16439 Sync up with gnulib.
16440 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16441 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16442 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16443 and _GL_ARG_NONNULL.
16444 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16445 [!_LIBC]: Include code for Windows and Cygwin.
16446 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16447 Include prototype for int strerror_r.
16448 [!_LIBC] (is_open): New function.
16449 (flush_stdout): New function.
16450 (print_errno_message): Use it.
16451 (error): Likewise.
16452 (error_at_line): Likewise.
16453 (error_tail) Add function attribute macros. Use
16454 __builtin_expect.
16455
16456 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16457
16458 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16459
16460 * io/ftw.c: Include sys/param.h unconditionally.
16461
16462 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16463
16464 [BZ #17125]
16465 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16466 libc_freeres_ptr.
16467 (freecache): New function to free CACHE on exit.
16468
16469 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16470 initialization.
16471
16472 2014-07-09 David S. Miller <davem@davemloft.net>
16473
16474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16475
16476 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16477 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16478 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16479 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16480 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16481 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16482 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16483 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16484 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16485 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16486 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16487 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16488 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16489
16490 2014-07-09 Andreas Schwab <schwab@suse.de>
16491
16492 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16493 output.
16494 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16495 (do_test): Likewise.
16496
16497 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16498
16499 2014-07-09 Will Newton <will.newton@linaro.org>
16500
16501 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16502 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16503 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16504 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16505 * sysdeps/hppa/start.S (_start): Likewise.
16506
16507 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16508
16509 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16510
16511 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16512 defined.
16513
16514 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16515
16516 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16517 after checking that it is non-NULL.
16518
16519 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16520
16521 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16522
16523 * sysdeps/powerpc/memmove.c: Remove file.
16524 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16525 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16526 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16527 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16528 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16529 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16530 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16531 string memmove instead of removed powerpc one.
16532
16533 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16534 [weak_alias]: Fix compiler warning due trailing data.
16535 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16536 [weak_alias]: Likewise.
16537 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16538 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16539
16540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16541 (__libc_ifunc_impl_list): Add memmove functions.
16542
16543 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16544
16545 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16546 Remove code.
16547 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16548 Likewise
16549 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16550 Likewise
16551 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16552 Likewise
16553 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16554 Likewise
16555 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16556 Likewise
16557 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16558 Likewise
16559 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16560 Likewise
16561 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16562 Likewise
16563 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16564 Likewise
16565 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16566 Likewise
16567 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16568 Likewise
16569 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16570 Likewise
16571 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16572 Likewise
16573 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16574 Likewise
16575 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16576 Likewise
16577 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16578 Likewise
16579
16580 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16581
16582 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16583 to avoid alignment traps in non-cacheable memory.
16584 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16585
16586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16587 multiarch objects.
16588 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16589 file: multiarch power7 memmove.
16590 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16591 multiarch default memmove.
16592 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16593 multiarch memove for powerpc32/power4.
16594
16595 * string/bcopy.c: Use full path to include memmove.c.
16596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16597 multiarch objects.
16598 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16599 bcopy for powerpc64.
16600 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16601 bcopy for powerpc64.
16602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16603 and memmove implementations.
16604 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16605 optimized multiarch memmove for POWER7/powerpc64.
16606 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16607 default multiarch memmove for powerpc64.
16608 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16609 multiarch for powerpc64.
16610 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16611 for POWER7/powerpc64.
16612 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16613 memmove for POWER7/powerpc64.
16614
16615 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16616 glibc default one.
16617
16618 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16619 __ELF_NATIVE_CLASS equal to 64.
16620
16621 2014-07-07 Roland McGrath <roland@hack.frob.com>
16622
16623 * sysdeps/nptl/lowlevellock.h: File removed.
16624
16625 * NEWS: NPTL is no longer an add-on!
16626 * nptl/internaltypes.h: Moved ...
16627 * sysdeps/nptl/internaltypes.h: ... here.
16628 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16629 * sysdeps/nptl/fork.c: Likewise.
16630 * sysdeps/nptl/gai_misc.h: Likewise.
16631 * sysdeps/nptl/librt-cancellation.c: Likewise.
16632 * sysdeps/nptl/jmp-unwind.c: Likewise.
16633 * sysdeps/nptl/setxid.h: Likewise.
16634 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16635 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16636 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16637 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16638 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16639 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16640 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16641 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16642 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16643 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16644 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16645 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16646 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16647 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16648 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16649 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16650 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16651 * nptl/Makeconfig: Moved ...
16652 * sysdeps/nptl/Makeconfig: ... here.
16653 * nptl/configure: File removed.
16654 * nptl/ANNOUNCE: File removed.
16655 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16656 * sysdeps/unix/sysv/linux/configure: Regenerated.
16657
16658 * nptl/Makefile (routines): Add libc_pthread_init,
16659 libc_multiple_threads, register-atfork and unregister-atfork.
16660 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16661 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16662 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16663 pthread-pi-defines.sym, structsem.sym.
16664 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16665 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16666 [$(subdir) = nptl] (tests): Add tst-setgetname.
16667 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16668 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16669 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16670 [!LIBC_SIGACTION]: Remove aliases.
16671 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16672 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16673 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16674 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16675 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16676 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16678 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16680 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16681 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16682 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16683 __libc_allocate_rtsig_private.
16684 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16685 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16686 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16687 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16688 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16689 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16690 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16691 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16692 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16693 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16694 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16695 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16696 * nptl/internaltypes.h: ... here.
16697 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16698 * sysdeps/nptl/jmp-unwind.c: ... here.
16699 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16700 * nptl/libc-lowlevellock.c: ... here.
16701 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16702 * nptl/libc_multiple_threads.c: ... here.
16703 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16704 * nptl/libc_pthread_init.c: ... here.
16705 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16706 * nptl/lowlevelbarrier.sym: ... here.
16707 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16708 * nptl/lowlevelcond.sym: ... here.
16709 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16710 * nptl/lowlevellock.c: ... here.
16711 * nptl/lowlevellock.h: Moved ...
16712 * sysdeps/nptl/lowlevellock.h: ... here.
16713 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16714 * nptl/lowlevelrobustlock.c: ... here.
16715 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16716 * nptl/lowlevelrobustlock.sym: ... here.
16717 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16718 * nptl/lowlevelrwlock.sym: ... here.
16719 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16720 * nptl/pt-fork.c: ... here.
16721 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16722 * nptl/pthread-pi-defines.sym: ... here.
16723 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16724 * nptl/pthread_attr_getaffinity.c: ... here.
16725 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16726 * nptl/pthread_attr_setaffinity.c: ... here.
16727 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16728 * nptl/pthread_mutex_cond_lock.c: ... here.
16729 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16730 Update #include.
16731 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16732 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16733 * nptl/pthread_once.c: ... here, replacing old file.
16734 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16735 * nptl/pthread_yield.c: ... here.
16736 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16737 * nptl/register-atfork.c: ... here.
16738 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16739 * nptl/sem_post.c: ... here.
16740 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16741 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16742 * nptl/sem_timedwait.c: ... here.
16743 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16744 * nptl/sem_trywait.c: ... here.
16745 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16746 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16747 * nptl/sem_wait.c: ... here.
16748 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16749 * nptl/structsem.sym: ... here.
16750 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16751 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16752 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16753 * nptl/unregister-atfork.c: ... here.
16754 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16755 * nptl/unwindbuf.sym: ... here.
16756 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16757 * sysdeps/nptl/fork.c: ... here.
16758 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16759 * sysdeps/nptl/fork.h: ... here.
16760 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16761 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16762 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16763 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16764 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16765 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16766 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16767 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16768 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16769 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16770 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16771 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16772 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16773 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16774 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16775 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16776 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16777 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16778 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16779 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16780 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16781 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16782 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16783 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16784 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16785 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16786 * sysdeps/unix/sysv/linux/raise.c: ... here.
16787 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16788 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16789 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16790 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16791 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16792 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16793 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16794 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16795 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16796 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16797 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16798 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16799 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16800 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16801 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16802
16803 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16804
16805 * sysdeps/generic/memcopy.h: Add comment for
16806 MEMCPY_OK_FOR_FWD_MEMMOVE.
16807
16808 2014-07-04 Will Newton <will.newton@linaro.org>
16809
16810 * string/memchr.c: Merge from gnulib.
16811 [_LIBC]: Remove conditionals.
16812 (__ptr_t): Remove define.
16813 (LONG_MAX_32_BITS): Likewise.
16814 (LONG_MAX): Likewise.
16815 (MEMCHR): Use ANSI prototype and optimize algorithm.
16816
16817 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16818
16819 2014-07-03 Roland McGrath <roland@hack.frob.com>
16820
16821 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16822 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16823
16824 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16825 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16826 in a bare environment with no <stdlib.h> installed.
16827 * sysdeps/nptl/configure: Regenerated.
16828
16829 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16830
16831 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16832 AC_EGREP_CPP for kernel header checks, so they only succeed if
16833 including <linux/version.h> actually works right.
16834 * sysdeps/unix/sysv/linux/configure: Regenerated.
16835
16836 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16837 value so it's not diagnosed as unused.
16838
16839 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16840 thing) with "ifeq ($(subdir),rt)".
16841
16842 2014-07-03 Richard Henderson <rth@redhat.com>
16843
16844 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16845 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16846 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16847
16848 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16849 (math_force_eval): New.
16850
16851 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16852 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16853
16854 * sysdeps/alpha/fpu/s_round.c: Remove file.
16855 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16856
16857 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16858 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16859 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16860 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16861 (_dl_start, print_statistics): Likewise.
16862 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16863 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16864
16865 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16866 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16867 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16868 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16869 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16870 (HP_SMALL_TIMING_AVAIL): Define.
16871 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16872 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16873 (HP_SMALL_TIMING_AVAIL): Define.
16874 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16875 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16876
16877 * sysdeps/aarch64/hp-timing.h: New file.
16878
16879 * sysdeps/generic/hp-timing.h: Remove dead comment.
16880 * sysdeps/generic/hp-timing-common.h: New file.
16881 * sysdeps/alpha/hp-timing.h: Include it.
16882 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16883 * sysdeps/i386/i686/hp-timing.h: Likewise.
16884 * sysdeps/ia64/hp-timing.h: Likewise.
16885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16886 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16888 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16889 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16890 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16891 (hp_timing_t): New.
16892
16893 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16894 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16895 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16896 * elf/rtld.c (_dl_start_final): Likewise.
16897 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16898 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16899 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16900 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16901 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16903 (HP_TIMING_DIFF_INIT): Remove.
16904 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16905 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16906 (HP_TIMING_DIFF_INIT): Remove.
16907 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16908 * sysdeps/i386/i686/hp-timing.c: Remove file.
16909 * sysdeps/x86_64/hp-timing.c: Remove file.
16910 * sysdeps/ia64/hp-timing.c: Remove file.
16911 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16912 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16913 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16914 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16915
16916 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16917 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16918 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16919 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16921 (HP_TIMING_ACCUM): Remove.
16922 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16923 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16924 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16925
16926 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16927 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16928 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16929 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16931 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16932 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16933 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16934
16935 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16936
16937 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16938
16939 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16940
16941 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16942
16943 Sync up with gettext.
16944 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16945 [_MSC_VER]: Include malloc.h
16946 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16947 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16948 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16949 TEMP_FAILURE_RETRY. Cast return of alloca.
16950 [!_LIBC] Call gl_rwlock_init.
16951 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16952
16953 2014-07-02 Roland McGrath <roland@hack.frob.com>
16954
16955 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16956 before checking its value.
16957
16958 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16959
16960 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16961
16962 * debug/memcpy_chk.c: Don't include pagecopy.h.
16963 * debug/mempcpy_chk.c: Likewise.
16964 * string/memcpy.c: Likewise.
16965 * string/memmove.c: Likewise.
16966 * sysdeps/powerpc/memmove.c: Likewise.
16967 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16968 definition of PAGE_COPY_FWD_MAYBE here...
16969 * sysdeps/generic/pagecopy.h: ... from here.
16970 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16971
16972 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16974
16975 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16977 optimizations.
16978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16979 (__libc_ifunc_impl_list): Likewise.
16980 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16981 multiarch strcat for PPC64.
16982 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16983 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16984
16985 2014-07-02 Roland McGrath <roland@hack.frob.com>
16986
16987 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16988
16989 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16990
16991 * intl/loadmsgcat.c: Remove declaration of
16992 get_sysdep_segment_value.
16993 (get_sysdep_segment_value): Use ISO C style.
16994 (_nl_load_domain): Use ISO C style. Get rid of redundant
16995 semicolon. Fix typo and formatting in comment.
16996 (_nl_unload_domain): Use ISO C style.
16997
16998 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16999
17000 2014-07-02 Will Newton <will.newton@linaro.org>
17001
17002 * malloc/obstack.c: Merge from gnulib master.
17003 [HAVE_CONFIG_H]: Remove conditional code.
17004 [!_LIBC]: Include config.h.
17005 [!ELIDE_CODE]: Don't include inttypes.h, include
17006 stdint.h unconditionally.
17007 (print_and_abort): Mark as _Noreturn.
17008 (_obstack_allocated_p): Mark as __attribute_pure__.
17009 (obstack_free): Rename to __obstack_free.
17010 [!__attribute__]: Remove conditional code.
17011 * malloc/obstack.h: Merge from gnulib master.
17012 [__cplusplus]: Move conditional down.
17013 [!__attribute_pure__]: Define __attribute_pure__ here
17014 if it is not already defined.
17015 (_obstack_memory_used): Mark as __attribute_pure__.
17016 [!__obstack_free]: Define as obstack_free.
17017 [__GNUC__]: Remove check for ancient NeXT gcc.
17018
17019 2014-07-02 Will Newton <will.newton@linaro.org>
17020 Paul Eggert <eggert@cs.ucla.edu>
17021
17022 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17023
17024 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17025
17026 * resolv/gethnamaddr.c: Add comment warning that the file is
17027 not maintained.
17028
17029 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17030
17031 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17032 entries.
17033
17034 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17035 entry for aio_cancel and aio_cancel64.
17036 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17037 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17038 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17039 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17040 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17041 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17042 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17043 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17044 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17045 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17046 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17047 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17048 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17049
17050 2014-07-01 Roland McGrath <roland@hack.frob.com>
17051
17052 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17053 * nptl/pthread_mutex_lock.c: Likewise.
17054 * nptl/pthread_mutex_timedlock.c: Likewise.
17055 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17056
17057 2014-07-01 Richard henderson <rth@redhat.com>
17058
17059 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17060 (__isnan, __isnanl): Remove.
17061 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17062
17063 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17064
17065 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17066
17067 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17068
17069 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17070
17071 * resolv/nss_dns/dns-host.c (getanswer_r)
17072 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17073
17074 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17075
17076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17077 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17078 undefine.
17079 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17080 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17081
17082 2014-07-01 Roland McGrath <roland@hack.frob.com>
17083
17084 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17085 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17086
17087 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17088 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17089
17090 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17091 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17092 ... here.
17093 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17094 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17095
17096 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17097 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17098 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17099 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17100
17101 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17102 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17103 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17104 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17105 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17106 Moved ...
17107 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17108 ... here.
17109 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17110 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17111 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17112 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17113 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17114 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17115 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17116 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17117 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17118 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17119 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17120 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17121 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17122 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17123 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17124 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17125 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17126 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17127 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17128 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17129 ... here.
17130 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17131 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17132 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17133 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17134 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17135 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17136 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17137 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17138
17139 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17140
17141 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17142 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17143 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17144 Add sysdep.
17145
17146 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147
17148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17149
17150 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17151
17152 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17153 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17154
17155 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17156
17157 * sysdeps/arm/libm-test-ulps: Regenerated.
17158
17159 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17160 Roland McGrath <roland@hack.frob.com>
17161
17162 * test-skeleton.c (signal_handler): Kill the whole process group
17163 before killing the child individually.
17164 (main): Report any failure on `setpgid'.
17165
17166 2014-06-30 Roland McGrath <roland@hack.frob.com>
17167
17168 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17169 from _TLS_H to _ARM_NPTL_TLS_H.
17170 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17171 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17172
17173 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17174
17175 [BZ #16539]
17176 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17177 (__expm1l): Return argument unchanged when small but not
17178 subnormal.
17179
17180 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17181 include macro name.
17182 (_FP_UNPACK_RAW_1_P): Likewise.
17183 (_FP_PACK_RAW_1): Likewise.
17184 (_FP_PACK_RAW_1_P): Likewise.
17185 (_FP_MUL_MEAT_1_wide): Likewise.
17186 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17187 (_FP_MUL_MEAT_1_hard): Likewise.
17188 (_FP_DIV_MEAT_1_imm): Likewise.
17189 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17190 (_FP_DIV_MEAT_1_udiv): Likewise.
17191 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17192 (_FP_UNPACK_RAW_2): Likewise.
17193 (_FP_UNPACK_RAW_2_P): Likewise.
17194 (_FP_PACK_RAW_2): Likewise.
17195 (_FP_PACK_RAW_2_P): Likewise.
17196 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17197 (_FP_MUL_MEAT_2_wide): Likewise.
17198 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17199 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17200 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17201 (_FP_MUL_MEAT_2_gmp): Likewise.
17202 (_FP_DIV_MEAT_2_udiv): Likewise.
17203 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17204 (_FP_FRAC_SRL_4): Likewise.
17205 (_FP_FRAC_SRST_4): Likewise.
17206 (_FP_FRAC_SRS_4): Likewise.
17207 (_FP_UNPACK_RAW_4): Likewise.
17208 (_FP_UNPACK_RAW_4_P): Likewise.
17209 (_FP_PACK_RAW_4): Likewise.
17210 (_FP_PACK_RAW_4_P): Likewise.
17211 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17212 (_FP_MUL_MEAT_4_wide): Likewise.
17213 (_FP_MUL_MEAT_4_gmp): Likewise.
17214 (umul_ppppmnnn): Likewise.
17215 (_FP_DIV_MEAT_4_udiv): Likewise.
17216 (__FP_FRAC_ADD_4): Likewise.
17217 (__FP_FRAC_SUB_3): Likewise.
17218 (__FP_FRAC_SUB_4): Likewise.
17219 (__FP_FRAC_DEC_3): Likewise.
17220 (__FP_FRAC_DEC_4): Likewise.
17221 (__FP_FRAC_ADDI_4): Likewise.
17222 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17223 (_FP_FRAC_SRL_8): Likewise.
17224 (_FP_FRAC_SRS_8): Likewise.
17225
17226 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17227 include macro name.
17228 (FP_UNPACK_RAW_EP): Likewise.
17229 (FP_PACK_RAW_E): Likewise.
17230 (FP_PACK_RAW_EP): Likewise.
17231 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17232 (_FP_ISSIGNAN): Likewise.
17233 (_FP_ADD_INTERNAL): Likewise.
17234 (_FP_FMA): Likewise.
17235 (_FP_CMP): Likewise.
17236 (_FP_SQRT): Likewise.
17237 (_FP_TO_INT): Likewise.
17238 (_FP_FROM_INT): Likewise.
17239 (FP_EXTEND): Likewise.
17240 (_FP_DIV_MEAT_N_loop): Likewise.
17241
17242 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17243
17244 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17245 throughout.
17246
17247 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17248
17249 [BZ #17097]
17250 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17251 result with correct sign in case of exponents that produce
17252 overflow except for X very close to 1.
17253
17254 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17255
17256 mktime: merge #if/#ifdef usage from glibc
17257 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17258 as that works with both Glibc's and Gnulib's style.
17259 See thread starting at Siddhesh Poyarekar's bug report at:
17260 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17261
17262 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17263
17264 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17265 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17266 * sysdeps/tile/tilegx/memmove.c: Remove file.
17267
17268 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17269
17270 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17271 abi-name definition.
17272 * scripts/soversions.awk: Do not handle or generate ABI lines.
17273 * shlib-versions: Remove ABI entries.
17274 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17275 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17276
17277 2014-06-27 Roland McGrath <roland@hack.frob.com>
17278
17279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17280 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17281 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17282 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17284 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17286 Moved ...
17287 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17288 ... here.
17289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17290 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17292 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17294 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17296 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17298 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17300 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17302 Moved ...
17303 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17305 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17307 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17309 Moved ...
17310 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17312 Moved ...
17313 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17315 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17317 Moved ...
17318 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17320 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17322 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17324 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17326 Moved ...
17327 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17329 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17330 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17331 Moved ...
17332 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17334 Moved ...
17335 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17336 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17337 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17339 Moved ...
17340 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17341 ... here.
17342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17343 Identical file removed.
17344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17345 Moved ...
17346 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17347 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17348 Identical file removed.
17349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17350 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17352 Moved ...
17353 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17354 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17355 Identical file removed.
17356 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17357 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17359 Identical file removed.
17360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17361 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17363 Identical file removed.
17364 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17365 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17367 Identical file removed.
17368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17369 Moved ...
17370 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17372 Identical file removed.
17373 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17374 Moved ...
17375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17379 Identical file removed.
17380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17381 Moved ...
17382 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17383 ... here.
17384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17385 Identical file removed.
17386 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17387 Moved ...
17388 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17389 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17390 Identical file removed.
17391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17392 Moved ...
17393 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17394 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17395 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17398 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17399 Moved ...
17400 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17401 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17402 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17403
17404 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17405 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17406 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17407 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17408 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17409
17410 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17411
17412 [BZ #17092]
17413 * nscd/nscd.c (monitor_child): Return exit status of child
17414 instead of return value from wait syscall.
17415
17416 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17417
17418 * configure.ac (libc_commonpagesize): Remove variable.
17419 (libc_relro_required): Likewise.
17420 (libc_cv_z_relro): Remove configure test.
17421 * configure: Regenerated.
17422 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17423 variable.
17424 (libc_relro_required): Likewise.
17425 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17426 (libc_relro_required): Likewise.
17427 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17428 (libc_relro_required): Likewise.
17429 * sysdeps/arm/preconfigure: Regenerated.
17430 * sysdeps/ia64/preconfigure: Remove file.
17431 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17432 variable.
17433 (libc_relro_required): Likewise.
17434
17435 [BZ #16561]
17436 [BZ #16562]
17437 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17438 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17439 recompute overflowing results in original rounding mode.
17440 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17441 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17442 recompute overflowing results in original rounding mode.
17443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17444 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17445 recompute overflowing results in original rounding mode.
17446 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17447 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17448 recompute overflowing results in original rounding mode.
17449 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17450 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17451 recompute overflowing results in original rounding mode.
17452 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17453 (libc_feholdsetround_ctx): New macro.
17454 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17455 * sysdeps/i386/fpu/libm-test-ulps: Update.
17456 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17457
17458 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17459
17460 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17461 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17462 corresponding .cpsetup call.
17463
17464 2014-06-26 Roland McGrath <roland@hack.frob.com>
17465
17466 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17467 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17468 * sysdeps/arm/Makefile [$(subdir) = csu]
17469 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17470 (static-only-routines): Add aeabi_read_tp here.
17471 (shared-only-routines): Add libc-aeabi_read_tp here.
17472 (CFLAGS-libc-start.c): Add -fexceptions here.
17473 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17474 (sysdep_routines, static-only-routines, shared-only-routines):
17475 Don't add to these here.
17476 (CFLAGS-libc-start.c): Likewise.
17477
17478 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17479 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17480 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17481 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17482 * sysdeps/arm/Makefile [$(subdir) = rt]
17483 (librt-sysdep_routines, librt-shared-only-routines):
17484 Append rt-aeabi_unwind_cpp_pr1 here.
17485 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17486 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17487 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17488 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17489 Append nptl-aeabi_unwind_cpp_pr1 here.
17490 (tests): Filter out tst-cleanupx4 here.
17491 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17492 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17493 Don't do those here.
17494
17495 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17496
17497 * scripts/list-sources.sh: Do not handle ports specially.
17498
17499 2014-06-26 Roland McGrath <roland@hack.frob.com>
17500
17501 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17502 * sysdeps/arm/feupdateenv.c: Likewise.
17503
17504 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17505
17506 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17507
17508 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17509 trailing whitespace removed.
17510 * scripts/config.guess: Update to version 2014-03-23.
17511 * scripts/config.sub: Update to version 2014-05-01
17512 * scripts/install-sh: Update to version 2013-12-25.23.
17513 * scripts/move-if-change: Update from gnulib.
17514
17515 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17516
17517 * debug/memmove_chk.c: Remove pagecopy.h include.
17518
17519 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17520
17521 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17522 identical to gnulib mktime.
17523
17524 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17525
17526 * configure.ac: Do not test for machine being rs6000. Do not test
17527 for powerpc*-*soft.
17528 * configure: Regenerated.
17529
17530 [BZ #11505]
17531 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17532 test.
17533 * configure: Regenerated.
17534 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17535 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17536 Remove configure test.
17537 * sysdeps/arm/configure: Regenerated.
17538 * sysdeps/nptl/configure.ac: Do not check
17539 libc_cv_asm_cfi_directives.
17540 * sysdeps/nptl/configure: Regenerated.
17541 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17542 * sysdeps/x86_64/nptl/configure: Remove generated file.
17543 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17544 unconditional.
17545 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17546
17547 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17548
17549 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17550 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17551 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17552 it is defined.
17553
17554 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17555 instead of whether it is defined.
17556 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17557 * sysdeps/hppa/dl-machine.h: Likewise.
17558 * sysdeps/ia64/dl-machine.h: Likewise.
17559 * sysdeps/m68k/dl-machine.h: Likewise.
17560 * sysdeps/microblaze/dl-machine.h: Likewise.
17561 * sysdeps/mips/dl-machine.: Likewise.
17562 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17564 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17565 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17566 * sysdeps/sh/dl-machine.h: Likewise.
17567 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17568 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17569 * sysdeps/tile/dl-machine.h: Likewise.
17570 * sysdeps/x86_64/dl-machine.h: Likewise.
17571
17572 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17573 code.
17574 (verify_persistent_db): Likewise.
17575
17576 2014-06-26 Roland McGrath <roland@hack.frob.com>
17577
17578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17579 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17581 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17583 Moved ...
17584 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17585 ... here.
17586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17587 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17589 Identical file removed.
17590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17591 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17593 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17595 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17597 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17599 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17601 Moved ...
17602 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17604 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17606 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17608 Moved ...
17609 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17611 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17613 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17615 Identical file removed.
17616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17617 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17619 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17621 Moved ...
17622 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17623 ... here.
17624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17625 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17627 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17629 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17631 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17633 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17635 Moved ...
17636 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17638 Moved ...
17639 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17641 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17643 Moved ...
17644 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17646 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17647
17648 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17649 folded into ...
17650 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17651 * sysdeps/unix/sysv/linux/s390/Versions
17652 (libpthread: GLIBC_2.19): New version set.
17653 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17654 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17655 (librt: GLIBC_2.3.3): New version set.
17656 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17657 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17658 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17659 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17660 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17661 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17662 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17663 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17664 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17665 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17666 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17667 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17668 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17669 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17670 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17671 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17672 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17673 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17674 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17675 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17676 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17677 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17678 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17679 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17680 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17681 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17682 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17683 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17684 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17685 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17686 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17687 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17689 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17690 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17691 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17692 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17694 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17696 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17697 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17698 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17699 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17700 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17701
17702 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17703 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17704 (__libc_vfork): Define the function under this name.
17705 [!NOT_IN_libc] (__vfork): Make this an alias.
17706 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17708 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17709 (__libc_vfork): Define the function under this name.
17710 [!NOT_IN_libc] (__vfork): Make this an alias.
17711 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17712 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17713 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17715 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17716 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17717
17718 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17719 code that was previously under [RESET_PID].
17720 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17721 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17723
17724 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17725 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17726 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17727 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17728 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17729 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17730 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17731 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17732 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17733 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17734 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17735 Moved ...
17736 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17737 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17738 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17739 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17740 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17741 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17742 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17743 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17744 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17745 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17746 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17747 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17748 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17749 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17750 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17751 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17752 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17753 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17754 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17755 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17756 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17757 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17758 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17759 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17760 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17761 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17762 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17763 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17764 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17765
17766 2014-06-25 Roland McGrath <roland@hack.frob.com>
17767
17768 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17769 that was previously under [RESET_PID].
17770 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17771
17772 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17773
17774 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17775 not undefine and redefine.
17776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17777 [O_CLOEXEC]: Make code unconditional.
17778 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17779 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17780 <kernel-features.h>.
17781 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17782 conditional variable definition.
17783 (shm_open) [O_CLOEXEC]: Make code unconditional.
17784 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17785 code.
17786
17787 * configure.ac (USE_REGPARMS): Don't define here.
17788 * configure: Regenerated.
17789 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17790 * sysdeps/i386/configure: Regenerated.
17791
17792 * nptl/createthread.c: Don't include kernel-features.h.
17793 * nptl/pthread_cancel.c: Likewise.
17794 * nptl/pthread_condattr_setclock.c: Likewise.
17795 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17796 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17797 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17798 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17799 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17800 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17801 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17803 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17804 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17805 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17806 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17807 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17808 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17809 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17810 * nscd/gai.c: Likewise.
17811 * nss/nss_db/db-open.c: Likewise.
17812 * sysdeps/generic/ldsodefs.h: Likewise.
17813 * sysdeps/sh/nptl/tls.h: Likewise.
17814 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17815 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17816 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17817 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17818 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17819 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17820 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17821 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17822 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17823 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17824 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17825 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17826 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17827 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17828 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17829 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17830 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17831 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17832 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17833 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17834 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17835 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17836 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17837 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17838 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17839 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17840 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17841 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17842 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17843 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17844 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17845 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17846 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17847 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17849 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17850 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17851 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17852 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17853 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17854 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17855 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17856 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17857 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17858 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17859 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17860 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17861 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17862 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17863 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17864 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17865 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17866 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17867 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17868 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17869 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17870 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17894 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17895 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17896 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17897 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17898 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17899 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17901 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17902 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17903 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17904 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17905 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17906 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17907 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17908 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17909 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17910 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17911 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17912 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17913 * sysdeps/unix/sysv/linux/system.c: Likewise.
17914 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17915 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17916 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17917 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17918 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17920 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17921
17922 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17923 * configure: Regenerated.
17924 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17925
17926 * configure.ac (base_machine): Do not set specially for particular
17927 machines here.
17928 * configure: Regenerated.
17929 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17930 settings from configure.ac.
17931 * sysdeps/i386/preconfigure: New file.
17932 * sysdeps/s390/preconfigure: Likewise.
17933 * sysdeps/sh/preconfigure: Likewise.
17934 * sysdeps/sparc/preconfigure: Likewise.
17935
17936 2014-06-25 Roland McGrath <roland@hack.frob.com>
17937
17938 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17939 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17940 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17941 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17942 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17943 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17944 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17945 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17946 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17947 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17948 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17949 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17950 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17951 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17952 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17953 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17954 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17955 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17956 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17957
17958 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17959 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17960 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17961 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17962 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17963 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17964 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17965 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17966 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17967 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17968 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17969 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17970 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17971 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17972 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17973 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17974 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17975 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17976 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17977 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17978 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17979 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17980 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17981 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17983 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17984 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17985 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17986 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17987 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17988 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17989 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17990 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17991 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17992 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17993 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17994 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17995 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17996
17997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17998 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18000 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18002 Moved ...
18003 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18004 ... here.
18005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18006 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18008 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18010 Moved ...
18011 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18013 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18015 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18017 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18019 Moved ...
18020 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18022 Moved ...
18023 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18025 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18027 Moved ...
18028 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18030 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18032 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18034 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18036 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18038 Moved ...
18039 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18040 ... here.
18041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18042 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18044 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18046 Moved ...
18047 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18049 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18051 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18053 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18055 Moved ...
18056 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18058 Moved ...
18059 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18061 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18063 Moved ...
18064 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18066 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18068 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18069
18070 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18071
18072 * timezone/checktab.awk: Update from tzcode 2014e.
18073 * timezone/private.h: Likewise.
18074 * timezone/tzfile.h: Likewise.
18075 * timezone/zdump.c: Likewise.
18076 * timezone/zic.c: Likewise.
18077
18078 * sysdeps/unix/sysv/linux/kernel-features.h
18079 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18081 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18082 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18083 Remove conditional code.
18084
18085 2014-06-25 Will Newton <will.newton@linaro.org>
18086
18087 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18088 (_dl_arm_cap_flags): Add HWCAP2 values.
18089 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18090 (_DL_HWCAP_COUNT): Increase to 37.
18091 (_DL_HWCAP_LAST): New define.
18092 (_DL_HWCAP2_LAST): New define.
18093 (_dl_procinfo): Add support for printing
18094 AT_HWCAP2 entries.
18095 (_dl_string_hwcap): Use _dl_hwcap_string.
18096
18097 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18098
18099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18100
18101 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18102
18103 * README: Do not mention ports directory.
18104
18105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18106 Remove macro.
18107 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18108 <kernel-features.h>.
18109 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18110 conditional variable definition.
18111 (__futimes): Update comment.
18112 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18113 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18114
18115 [BZ #16560]
18116 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18117 arguments close to 0.
18118 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18119 Likewise.
18120 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18121 Likewise.
18122 * math/auto-libm-test-in: Add more tests of exp10.
18123 * math/auto-libm-test-out: Regenerated.
18124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18125
18126 * sysdeps/unix/sysv/linux/kernel-features.h
18127 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18128 * sysdeps/unix/sysv/linux/readv.c: Do not include
18129 <kernel-features.h>.
18130 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18131 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18132 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18133 unconditional.
18134 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18135 conditional code.
18136 * sysdeps/unix/sysv/linux/writev.c: Do not include
18137 <kernel-features.h>.
18138 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18139 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18140 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18141 unconditional.
18142 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18143 conditional code.
18144
18145 2014-06-25 Will Newton <will.newton@linaro.org>
18146
18147 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18148 comment changes throughout the file. Remove checks
18149 for HAVE_*_H definitions that are not required.
18150 (__gen_tempname): Call abort if an unknown kind value is
18151 passed.
18152
18153 2014-06-25 Andreas Schwab <schwab@suse.de>
18154
18155 [BZ #17086]
18156 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18157 scalbln, scalblnf, scalblnl in libc.
18158
18159 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18160
18161 [BZ #17086]
18162 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18163 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18164 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18165
18166 2014-06-24 Roland McGrath <roland@hack.frob.com>
18167
18168 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18169 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18170 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18171 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18172 Update #include.
18173 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18174 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18175 Update #include.
18176 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18177 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18178 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18179 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18180 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18181 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18182 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18183 * sysdeps/x86/bits/semaphore.h: ... here.
18184 * sysdeps/x86/nptl/elide.h: Moved ...
18185 * sysdeps/x86/elide.h: ... here.
18186 * sysdeps/x86_64/nptl/Implies: File removed.
18187 * sysdeps/i386/nptl/Implies: File removed.
18188
18189 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18190
18191 [BZ #16539]
18192 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18193 return the argument for normal arguments with exponent below -64.
18194 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18195 Likewise.
18196 * math/auto-libm-test-in: Add another test of expm1.
18197 * math/auto-libm-test-out: Regenerated.
18198
18199 [BZ #16287]
18200 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18201 calling __erfcl for arguments at least 16.
18202 * math/auto-libm-test-in: Add more tests of erf.
18203 * math/auto-libm-test-out: Regenerated.
18204
18205 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18206 individual architectures.
18207 * sysdeps/unix/sysv/linux/configure: Regenerated.
18208 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18209 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18210 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18211 (ldd_rewrite_script): Define variable.
18212 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18214 file.
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18216 generated file.
18217 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18218 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18219 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18220 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18221 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18222 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18223 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18224 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18225
18226 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18227
18228 [BZ #17084]
18229 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18230 Rename member __data.d to __data.__elision_data.
18231
18232 2014-06-24 Wilco <wdijkstr@arm.com>
18233
18234 * NEWS: Add 16918 to fixed bug list.
18235
18236 2014-06-24 Wilco <wdijkstr@arm.com>
18237
18238 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18239
18240 2014-06-24 Wilco <wdijkstr@arm.com>
18241
18242 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18243 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18244 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18245 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18246 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18247 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18248 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18249 Use _FPU_MASK_RM.
18250
18251 2014-06-24 Wilco <wdijkstr@arm.com>
18252
18253 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18254
18255 2014-06-24 Wilco <wdijkstr@arm.com>
18256
18257 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18258 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18259 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18260 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18261
18262 2014-06-24 Wilco <wdijkstr@arm.com>
18263
18264 [BZ #16918]
18265 * sysdeps/arm/feupdateenv.c (feupdateenv):
18266 Rewrite to reduce FPSCR accesses and fix return value.
18267
18268 2014-06-24 Wilco <wdijkstr@arm.com>
18269
18270 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18271 Optimize to avoid unnecessary FPSCR writes.
18272 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18273 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18274 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18275 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18276
18277 2014-06-24 Wilco <wdijkstr@arm.com>
18278
18279 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18280 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18281 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18282 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18283 Call libc_fetestexcept_vfp.
18284 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18285 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18286 __SOFTFP__ ifdef so that they can be built for softfp.
18287
18288 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18289
18290 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18291 argument type signed char.
18292
18293 * Makerules (check-abi): Dump diff of symlist if the test
18294 fails.
18295
18296 2014-06-23 Roland McGrath <roland@hack.frob.com>
18297
18298 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18299 using abort.
18300
18301 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18302 Remove unused variable ST.
18303
18304 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18305
18306 [BZ #16354]
18307 [BZ #17061]
18308 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18309 small arguments before calling __expm1.
18310 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18311 small arguments before calling __expm1f.
18312 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18313 small arguments before calling __expm1l.
18314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18315 Likewise.
18316 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18317 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18318 spurious underflow for some cosh tests.
18319 * math/auto-libm-test-out: Regenerated.
18320 * sysdeps/i386/fpu/libm-test-ulps: Update.
18321
18322 [BZ #17050]
18323 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18324 (__ieee754_y1): Set errno if return value overflows.
18325 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18326 (__ieee754_y1f): Set errno if return value overflows.
18327 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18328 (__ieee754_y1l): Set errno if return value overflows.
18329 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18330 (__ieee754_y1l): Set errno if return value overflows.
18331 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18332 * math/auto-libm-test-out: Regenerated.
18333
18334 * math/gen-auto-libm-tests.c: Document use of
18335 ignore-zero-inf-sign.
18336 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18337 (input_flags): Add ignore-zero-inf-sign.
18338 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18339 * math/gen-libm-test.pl (generate_testfile): Handle
18340 ignore-zero-inf-sign.
18341 * math/auto-libm-test-in: Mark some cpow tests with
18342 ignore-zero-inf-sign and some with xfail-rounding.
18343 * math/auto-libm-test-out: Regenerated.
18344 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18345 * sysdeps/i386/fpu/libm-test-ulps: Update.
18346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18347
18348 [BZ #16315]
18349 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18350 overflowing or underflowing operations take place with sign of
18351 result.
18352 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18353 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18354 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18355 (__ieee754_pow): Recompute overflowing and underflowing results in
18356 original rounding mode.
18357 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18358 (__powl_helper): Allow negative argument X and scale negated value
18359 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18360 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18361 overflowing or underflowing operations take place with sign of
18362 result.
18363 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18364 Include <math.h>.
18365 * math/auto-libm-test-in: Add more tests of pow.
18366 * math/auto-libm-test-out: Regenerated.
18367 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18368 (pow_tonearest_test_data): Remove.
18369 (pow_test_tonearest): Likewise.
18370 (pow_towardzero_test_data): Likewise.
18371 (pow_test_towardzero): Likewise.
18372 (pow_downward_test_data): Likewise.
18373 (pow_test_downward): Likewise.
18374 (pow_upward_test_data): Likewise.
18375 (pow_test_upward): Likewise.
18376 (main): Don't call removed functions.
18377 * sysdeps/i386/fpu/libm-test-ulps: Update.
18378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18379
18380 2014-06-23 Roland McGrath <roland@hack.frob.com>
18381
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18383 Moved ...
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18386 Moved ...
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18389 Moved ...
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18392 Moved ...
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18395 File removed.
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18397 File removed.
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18399 File removed.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18401 File removed.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18403 File removed.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18405 File removed.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18407 File removed.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18409 File removed.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18411 File removed.
18412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18413 File removed.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18415 File removed.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18417 File removed.
18418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18419 Moved ...
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18422 Moved ...
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18424 ... here.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18426 Moved ...
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18429 Moved ...
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18432 Moved ...
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18435 Moved ...
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18438 Moved ...
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18441 Moved ...
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18444 Moved ...
18445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18448 ... here.
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18450 Moved ...
18451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18453 Moved ...
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18455 ... here.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18457 Moved ...
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18459 ... here.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18461 Moved ...
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18463 ... here.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18465 Moved ...
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18468 Moved ...
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18473 Moved ...
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18475 ... here.
18476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18477 Moved ...
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18479 ... here.
18480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18481 Moved ...
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18484 Moved ...
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18487 Moved ...
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18490 Moved ...
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18493 Moved ...
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18495 ... here.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18497 Moved ...
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18500 Moved ...
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18503 Moved ...
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18506 Moved ...
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18511 Moved ...
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18514 Moved ...
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18517 Moved ...
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18519 ... here.
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18521 Moved ...
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18523 ... here.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18525 Moved ...
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18527 ... here.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18529 Moved ...
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18532 Moved ...
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18535 Moved ...
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18538 Moved ...
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18540 ... here.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18542 Moved ...
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18544 ... here.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18546 Moved ...
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18548 ... here.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18550 Moved ...
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18553 Moved ...
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18555
18556 2014-06-23 Will Newton <will.newton@linaro.org>
18557 Wilco <wdijkstr@arm.com>
18558
18559 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18560 implementation. Include get-rounding-mode.h.
18561 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18562 [!libc_feholdsetround_noex_ctx]: Define
18563 libc_feholdsetround_noex_ctx.
18564 [!libc_feholdsetround_noexf_ctx]: Define
18565 libc_feholdsetround_noexf_ctx.
18566 [!libc_feholdsetround_noexl_ctx]: Define
18567 libc_feholdsetround_noexl_ctx.
18568 (libc_feholdsetround_ctx): New function.
18569 (libc_feresetround_ctx): New function.
18570 (libc_feholdsetround_noex_ctx): New function.
18571 (libc_feresetround_noex_ctx): New function.
18572
18573 2014-06-23 Roland McGrath <roland@hack.frob.com>
18574
18575 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18576 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18577 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18578 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18579 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18580 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18581
18582 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18583 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18584 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18585 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18586 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18587 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18589 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18591 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18593 Moved ...
18594 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18595 ... here.
18596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18597 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18598 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18601 Moved ...
18602 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18603 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18604 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18606 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18607 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18608 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18609 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18610 Moved ...
18611 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18613 Moved ...
18614 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18616 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18617 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18618 Moved ...
18619 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18621 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18622 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18623 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18624 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18625 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18626 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18627 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18628 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18629 Moved ...
18630 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18631 ... here.
18632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18633 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18634 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18635 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18636 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18637 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18638 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18639 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18641 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18642 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18643 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18645 Moved ...
18646 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18650 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18651 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18652 Moved ...
18653 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18655 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18656 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18657 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18658
18659 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18660 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18661 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18662 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18663 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18664 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18665 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18666 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18668 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18669 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18670 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18671 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18672 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18673 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18674 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18675 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18676 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18677 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18678 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18679 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18680 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18681 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18682 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18683 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18684 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18685 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18686 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18687
18688 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18689
18690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18691 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18692 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18693 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18694 (IPV6_PMTUDISC_INTERFACE): Likewise.
18695 (IPV6_PMTUDISC_OMIT): Likewise.
18696
18697 2014-06-23 Andreas Schwab <schwab@suse.de>
18698
18699 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18700 Remove unused errout label.
18701
18702 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18703
18704 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18705 macro: hardware supports Vector Crypto instructions.
18706
18707 2014-06-23 Will Newton <will.newton@linaro.org>
18708
18709 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18710 rather than __builtin_expect.
18711
18712 * elf/dl-lookup.c (undefined_msg): Remove variable.
18713 (_dl_lookup_symbol_x): Replace undefined_msg with string
18714 literal.
18715
18716 * elf/dl-lookup.c (do_lookup_unique): New function.
18717 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18718 to a separate function.
18719
18720 2014-06-23 Andreas Schwab <schwab@suse.de>
18721
18722 [BZ #17079]
18723 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18724 before reading the next line.
18725
18726 2014-06-23 Will Newton <will.newton@linaro.org>
18727
18728 * test-skeleton.c (signal_handler): Use printf and %m
18729 rather than perror. Use printf rather than fprintf to
18730 stderr. Use puts rather than fputs to stderr.
18731 (main): Likewise.
18732
18733 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18734
18735 * nscd/nscd.c (thread_info_t): Remove typedef.
18736 (thread_info): Remove variable.
18737
18738 2014-06-21 Allan McRae <allan@archlinux.org>
18739
18740 * NEWS: Mention CVE-2014-4043.
18741
18742 2014-06-20 Roland McGrath <roland@hack.frob.com>
18743
18744 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18745 * nptl/smp.h: ... here.
18746
18747 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18748
18749 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18750 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18751 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18752 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18753
18754 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18755 * nptl/stack-aliasing.h: New file.
18756 * sysdeps/i386/i686/stack-aliasing.h: New file.
18757 * sysdeps/i386/i686/nptl/Makefile: File removed.
18758 * sysdeps/x86_64/stack-aliasing.h: New file.
18759 * sysdeps/x86_64/nptl/Makefile
18760 (CFLAGS-pthread_create.c): Variable removed.
18761
18762 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18763 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18764 old file.
18765 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18766 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18767 old file.
18768
18769 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18770
18771 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18772 (__ASSUME_SIGFRAME_V2): Remove macro.
18773 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18774 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18775 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18776 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18777 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18778 Declare as function. Remove conditional macro definitions.
18779 (__default_rt_sa_restorer): Likewise.
18780 (__default_sa_restorer_v1): Remove declaration.
18781 (__default_sa_restorer_v2): Likewise.
18782 (__default_rt_sa_restorer_v1): Likewise.
18783 (__default_rt_sa_restorer_v2): Likewise.
18784 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18785 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18786 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18787
18788 2014-06-20 Roland McGrath <roland@hack.frob.com>
18789
18790 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18791 (libpthread-routines): Add sysdep.
18792 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18793 * sysdeps/unix/sysv/linux/sparc/Versions
18794 (libpthread: GLIBC_2.3.3): New version set.
18795 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18796 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18797 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18798 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18799 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18800 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18801 Moved ...
18802 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18803 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18804 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18805 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18806 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18807 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18808 * sysdeps/sparc/nptl/sem_init.c: ... here.
18809 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18810 * sysdeps/sparc/nptl/sem_post.c: ... here.
18811 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18812 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18813 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18814 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18815 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18816 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18817 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18818 (libpthread-routines): Add cpu_relax.
18819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18820 File removed.
18821 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18822 (librt: GLIBC_2.3.3): New version set.
18823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18824 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18825 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18826 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18829 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18831 Moved ...
18832 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18834 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18836 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18838 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18840 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18842 Moved ...
18843 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18844 Update #include.
18845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18846 Moved ...
18847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18848 Update #include.
18849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18850 Moved ...
18851 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18852 Update #include.
18853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18854 Moved ...
18855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18856 Update #include.
18857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18858 Moved ...
18859 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18860 Update #include.
18861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18862 Moved ...
18863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18864 Update #include.
18865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18866 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18872 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18874 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18876 Moved ...
18877 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18879 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18881 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18882
18883 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18884
18885 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18886 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18887 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18888 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18889 * nscd/nscd.c: Likewise.
18890 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18891 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18892 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18893 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18894
18895 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18896 <kernel-features.h>.
18897 (init_mq_netlink): Remove conditional have_sock_cloexec
18898 definitions. Remove code conditional on have_sock_cloexec < 0.
18899 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18900 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18901 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18902 <kernel-features.h>.
18903 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18904 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18905
18906 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18909 Add tests for memset_chk and memset.
18910
18911 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18912 with AVX2_Usable.
18913
18914 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18915
18916 [BZ #16046]
18917 * elf/tst-dl-iter-static.c: New file.
18918 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18919
18920 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18921 error.
18922
18923 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18924
18925 * sysdeps/unix/sysv/linux/kernel-features.h
18926 (__ASSUME_F_GETOWN_EX): Remove macro.
18927 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18928 <kernel-features.h>.
18929 (miss_F_GETOWN_EX): Remove variable or macro.
18930 (do_fcntl): Do not check miss_F_GETOWN_EX.
18931 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18932
18933 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18934 Remove macro.
18935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18936 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18937 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18938
18939 * sysdeps/unix/sysv/linux/kernel-features.h
18940 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18941 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18942 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18943 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18944
18945 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18946
18947 [BZ #17075]
18948 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18949 Fix calculation of the symbol's value.
18950 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18951 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18952 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18953 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18954 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18955 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18956 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18957 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18958 (modules-names): Add `tst-armtlsdescmod',
18959 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18960 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18961 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18962 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18963 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18964 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18965 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18966 ($(objpfx)tst-armtlsdescloc): New dependency.
18967 ($(objpfx)tst-armtlsdescextnow): Likewise.
18968 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18969 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18970 TLS scheme support.
18971 * sysdeps/arm/configure: Regenerate.
18972
18973 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18974
18975 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18976 (__atfct_seterrno_2): Likewise.
18977 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18978 <kernel-features.h>.
18979 (__ASSUME_ATFCTS): Do not undefine and redefine.
18980 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18981 (__have_atfcts): Remove conditional definition.
18982 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18983 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18984 unreachable if [__ASSUME_ATFCTS].
18985 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18986 not undefine and redefine.
18987 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18988 <kernel-features.h>.
18989 (faccessat) [__NR_faccessat]: Make code unconditional.
18990 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18991 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18992 <kernel-features.h>.
18993 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18994 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18995 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18996 <kernel-features.h>.
18997 (fchownat) [__NR_fchownat]: Make code unconditional.
18998 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18999 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19000 <kernel-features.h>.
19001 (futimesat) [__NR_futimesat]: Make code unconditional.
19002 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19003 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19004 <kernel-features.h>.
19005 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19006 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19007 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19008 <kernel-features.h>.
19009 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19010 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19011 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19012 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19013 <kernel-features.h>.
19014 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19015 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19016 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19017 <kernel-features.h>.
19018 (linkat) [__NR_linkat]: Make code unconditional.
19019 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19020 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19021 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19022 <kernel-features.h>.
19023 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19024 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19025 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19026 <kernel-features.h>.
19027 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19028 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19029 * sysdeps/unix/sysv/linux/openat.c: Do not include
19030 <kernel-features.h>.
19031 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19032 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19033 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19034 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19035 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19036 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19037 <kernel-features.h>.
19038 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19039 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19040 result of INLINE_SYSCALL directly, not via int variable.
19041 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19042 <kernel-features.h>.
19043 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19044 (renameat) [__NR_renameat]: Make code unconditional.
19045 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19046 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19047 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19048 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19049 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19050 (__ASSUME_ATFCTS): Do not undefine and redefine.
19051 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19052 <kernel-features.h>.
19053 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19054 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19055 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19056 <kernel-features.h>.
19057 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19058 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19059 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19060 (__ASSUME_ATFCTS): Do not undefine and redefine.
19061 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19062 <kernel-features.h>.
19063 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19064 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19065 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19066 <kernel-features.h>.
19067 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19068 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19069
19070 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19071
19072 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19073
19074 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19075
19076 [BZ #17069]
19077 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19078 constructed tree before returning error.
19079 * posix/bug-regexp36.c: Expand test case.
19080
19081 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19082
19083 [BZ #6803]
19084 * math/libm-test.inc (scalbln_test_date):
19085 Add errno expectations.
19086 * math/w_scalblnf.c: New File.
19087 Add wrapper which checks for setting errno to ERANGE.
19088 Add weak_alias for corresponding scalbln function.
19089 * math/w_scalbln.c: Likewise.
19090 * math/w_scalblnl.c: Likewise.
19091 * math/Makefile (libm-calls): Add w_scalbln.
19092 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19093 Remove weak_alias for corresponding scalbln function.
19094 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19098 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19099 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19100 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19101 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19102 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19103 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19104 Remove long_double_symbol for scalblnl function in libm, libc.
19105 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19106 Add wrapper which checks for setting errno to ERANGE.
19107 Add long_double_symbol for scalblnl function in libm, libc.
19108 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19109 Remove long_double_symbol for scalblnl in libm.
19110 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19111 Add wrapper which checks for setting errno to ERANGE.
19112 Add long_double_symbol for scalblnl function in libm.
19113 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19114 Do not use wrapper because of own implementation.
19115
19116 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19117
19118 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19119 3 bytes for __pad1 for x32.
19120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19121
19122 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19123 H.J. Lu <hongjiu.lu@intel.com>
19124
19125 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19126 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19127 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19128 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19129 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19130
19131 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19132
19133 [BZ #17069]
19134 * posix/regcomp.c (parse_expression): Deallocate partially
19135 constructed tree before returning error.
19136 * posix/Makefile.c (tests): Add bug-regex36.
19137 (generated): Add bug-regex36.mtrace.
19138 (tests-special): Add $(objpfx)bug-regex36-mem.out
19139 (bug-regex36-ENV): New variable.
19140 ($(objpfx)bug-regex36-mem.out): New rule.
19141 * posix/bug-regex36.c: New file.
19142
19143 2014-06-19 Will Newton <will.newton@linaro.org>
19144
19145 * malloc/malloc.c (systrim): If extra is zero then return
19146 early.
19147
19148 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19149
19150 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19151
19152 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19153
19154 * sysdeps/aarch64/strchr.S: New file.
19155
19156 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19157
19158 [BZ #17022]
19159 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19160 from arguments -2 or below.
19161 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19162 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19163
19164 2014-06-18 Andreas Schwab <schwab@suse.de>
19165
19166 [BZ #17062]
19167 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19168 of a bracket expr not to run off the end of the string.
19169 * posix/Makefile (tests): Add tst-fnmatch3.
19170 * posix/tst-fnmatch3.c: New file.
19171
19172 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19173
19174 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19175 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19176 [$(cross-compiling) = no]: Likewise.
19177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19178 [$(cross-compiling) = no]: Likewise.
19179
19180 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19181
19182 [BZ #17031]
19183 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19184 double, adjusted for any remainder from the high double.
19185 * math/libm-test.inc (nearbyint): Add tests.
19186 (rint): Likewise.
19187
19188 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19189
19190 * nptl/sysdeps/powerpc/Makefile: Moved ...
19191 * sysdeps/powerpc/nptl/Makefile: ... here.
19192 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19193 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19194 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19195 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19196 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19197 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19198 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19199 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19200 * nptl/sysdeps/powerpc/tls.h: Moved ...
19201 * sysdeps/powerpc/nptl/tls.h: ... here.
19202
19203 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19204
19205 [BZ #16681]
19206 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19207 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19208 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19209 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19210 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19211 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19212 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19213 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19214 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19215
19216 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19217
19218 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19219
19220 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19221
19222 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19223 defined operator.
19224
19225 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19226 $TIMEOUTFACTOR.
19227
19228 2014-06-16 Florian Weimer <fweimer@redhat.com>
19229
19230 [BZ #17058]
19231 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19232 non-executed part of the test.
19233
19234 2014-06-16 Andreas Schwab <schwab@suse.de>
19235
19236 * string/bits/string2.h (strdup, strndup): Update feature guard.
19237
19238 2014-06-14 David S. Miller <davem@davemloft.net>
19239
19240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19241
19242 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19243
19244 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19245 that was previously under [RESET_PID].
19246 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19247
19248 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19249 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19250 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19251 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19252 (__libc_vfork): New strong alias.
19253 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19254
19255 2014-06-14 Andi Kleen <ak@linux.intel.com>
19256
19257 * sysdeps/generic/elide.h: New file.
19258
19259 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19260
19261 * Makefile (installed-headers): Adjust path of pthread.h header.
19262
19263 2014-06-13 Roland McGrath <roland@hack.frob.com>
19264
19265 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19266 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19267 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19268 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19269
19270 * nptl/sysdeps/s390/Makefile: Moved ...
19271 * sysdeps/s390/nptl/Makefile: ... here.
19272 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19273 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19274 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19275 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19276 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19277 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19278 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19279 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19280 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19281 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19282 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19283 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19284 * nptl/sysdeps/s390/tls.h: Moved ...
19285 * sysdeps/s390/nptl/tls.h: ... here.
19286
19287 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19288 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19289
19290 2014-06-13 David S. Miller <davem@davemloft.net>
19291
19292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19295 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19299 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19300 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19301 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19302 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19303 Remove RESET_PID cpp guards.
19304 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19305 Remove RESET_PID cpp guards.
19306 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19307
19308 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19309
19310 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19311 __sp to uintptr_t.
19312
19313 2014-06-13 Andi Kleen <ak@linux.intel.com>
19314
19315 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19316 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19317 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19318 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19321 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19322 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19323 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19324 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19325 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19326 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19328 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19331 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19332 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19333 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19334 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19335
19336 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19337 (pthread_rwlock_rdlock): Add elision.
19338 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19339 (pthread_rwlock_wrlock): Add elision.
19340 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19341 (pthread_rwlock_trywrlock): Add elision.
19342 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19343 (pthread_rwlock_tryrdlock): Add elision.
19344 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19345 (pthread_rwlock_tryrdlock): Add elision unlock.
19346 * nptl/sysdeps/pthread/pthread.h:
19347 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19348 (PTHREAD_RWLOCK_INITIALIZER,
19349 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19350 Handle new elision field.
19351 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19352 * sysdeps/arm/nptl/bits/pthreadtypes.h
19353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19354 * sysdeps/sh/nptl/bits/pthreadtypes.h
19355 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19356 * sysdeps/tile/nptl/bits/pthreadtypes.h
19357 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19358 * sysdeps/a/nptl/bits/pthreadtypes.h
19359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19360 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19361 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19362 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19363 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19364 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19365 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19366 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19367 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19368 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19370 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19372 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19374 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19376 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19377 (elision_init): Set try_xbegin to zero when no RTM.
19378 * sysdeps/x86/nptl/bits/pthreadtypes.h
19379 (pthread_rwlock_t): Change __pad1 to __rwelision.
19380 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19381
19382 2014-06-13 Andi Kleen <ak@linux.intel.com>
19383
19384 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19385 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19386 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19387 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19388
19389 2014-06-13 Meador Inge <meadori@codesourcery.com>
19390
19391 [BZ #16996]
19392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19393 that the cached result has been set before returning it.
19394
19395 2014-06-12 Roland McGrath <roland@hack.frob.com>
19396
19397 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19398 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19399 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19400 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19401 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19402 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19403
19404 * nptl/sysdeps/sparc/Makefile: Moved ...
19405 * sysdeps/sparc/nptl/Makefile: ... here.
19406 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19407 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19408 * nptl/sysdeps/sparc/tls.h: Moved ...
19409 * sysdeps/sparc/nptl/tls.h: ... here.
19410 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19411 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19412 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19413 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19414 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19415 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19416 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19417 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19418 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19419 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19420 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19421 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19422 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19423 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19424 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19425 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19426 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19427 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19428 Update #include.
19429 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19430 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19431 Update #include.
19432 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19433 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19434 Update #include.
19435 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19436 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19437 Update #include.
19438
19439 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19440
19441 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19442 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19443
19444 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19445 (struct list_links): Type removed.
19446 (struct thread_node, struct timer_node): Replace struct list_links
19447 with struct list_head.
19448 (list_unlink_ip): Likewise.
19449 * sysdeps/pthread/timer_routines.c
19450 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19451 (list_append, list_insbefore): Likewise.
19452 (list_init): Function removed.
19453 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19454 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19455 * sysdeps/pthread/Makefile: ... here, new file.
19456
19457 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19458 * sysdeps/nptl/Implies: ... here.
19459 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19460 * nptl/sysdeps/pthread/list.h: Moved ...
19461 * include/list.h: ... here.
19462 * nptl/sysdeps/pthread/createthread.c: Moved ...
19463 * nptl/createthread.c: ... here.
19464 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19465 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19466 * nptl/pt-longjmp.c: ... here.
19467 * nptl/sysdeps/pthread/Makefile: Moved ...
19468 * sysdeps/nptl/Makefile: ... here.
19469 * nptl/sysdeps/pthread/Subdirs: Moved ...
19470 * sysdeps/nptl/Subdirs: ... here.
19471 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19472 * sysdeps/nptl/aio_misc.h: ... here.
19473 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19474 * sysdeps/nptl/bits/libc-lock.h: ... here.
19475 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19476 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19477 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19478 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19479 * nptl/sysdeps/pthread/configure: Moved ...
19480 * sysdeps/nptl/configure: ... here.
19481 * nptl/sysdeps/pthread/configure.ac: Moved ...
19482 * sysdeps/nptl/configure.ac: ... here.
19483 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19484 * sysdeps/nptl/gai_misc.h: ... here.
19485 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19486 * sysdeps/nptl/librt-cancellation.c: ... here.
19487 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19488 * sysdeps/nptl/malloc-machine.h: ... here.
19489 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19490 * sysdeps/nptl/pthread-functions.h: ... here.
19491 * nptl/sysdeps/pthread/pthread.h: Moved ...
19492 * sysdeps/nptl/pthread.h: ... here.
19493 * nptl/sysdeps/pthread/setxid.h: Moved ...
19494 * sysdeps/nptl/setxid.h: ... here.
19495 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19496 * sysdeps/nptl/sigfillset.c: ... here.
19497 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19498 * sysdeps/nptl/tcb-offsets.h: ... here.
19499 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19500 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19501 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19502 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19503 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19504 * sysdeps/pthread/allocalim.h: ... here.
19505 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19506 * sysdeps/pthread/bits/sigthread.h: ... here.
19507 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19508 * sysdeps/pthread/flockfile.c: ... here.
19509 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19510 * sysdeps/pthread/ftrylockfile.c: ... here.
19511 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19512 * sysdeps/pthread/funlockfile.c: ... here.
19513 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19514 * sysdeps/pthread/posix-timer.h: ... here.
19515 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19516 * sysdeps/pthread/timer_create.c: ... here.
19517 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19518 * sysdeps/pthread/timer_delete.c: ... here.
19519 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19520 * sysdeps/pthread/timer_getoverr.c: ... here.
19521 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19522 * sysdeps/pthread/timer_gettime.c: ... here.
19523 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19524 * sysdeps/pthread/timer_routines.c: ... here.
19525 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19526 * sysdeps/pthread/timer_settime.c: ... here.
19527 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19528 * sysdeps/pthread/tst-timer.c: ... here.
19529 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19530 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19531
19532 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19533 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19534
19535 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19536 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19537 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19538 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19539 Update #include target.
19540 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19541 * sysdeps/i386/i686/nptl/Makefile: ... here.
19542 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19543 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19544 Update #include target.
19545 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19546 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19547 * nptl/sysdeps/i386/Makefile: Moved ...
19548 * sysdeps/i386/nptl/Makefile: ... here.
19549 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19550 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19551 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19552 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19553 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19554 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19555 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19556 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19557 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19558 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19559 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19560 * nptl/sysdeps/i386/tls.h: Moved ...
19561 * sysdeps/i386/nptl/tls.h: ... here.
19562
19563 * sysdeps/sh/Makefile [$(subdir) = csu]
19564 (gen-as-const-headers): Add tcb-offsets.sym.
19565 * nptl/sysdeps/sh/Makefile: File removed.
19566 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19567 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19568 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19569 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19570 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19571 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19572 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19573 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19574 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19575 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19576 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19577 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19578 * nptl/sysdeps/sh/tls.h: Moved ...
19579 * sysdeps/sh/nptl/tls.h: ... here.
19580 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19581 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19582 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19583 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19584 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19585 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19586 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19587 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19588 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19589 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19590 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19591 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19592 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19593 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19594 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19595 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19596 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19597 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19598 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19599 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19600 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19601 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19602 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19603 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19604 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19605 Moved ...
19606 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19607 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19608 Moved ...
19609 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19610 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19611 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19612 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19613 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19614 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19615 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19616 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19617 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19618 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19619 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19620 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19621 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19622 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19623 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19624 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19625 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19626 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19627 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19628
19629 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19630
19631 * posix/spawn_faction_addopen.c: Include string.h.
19632
19633 2014-06-11 Roland McGrath <roland@hack.frob.com>
19634
19635 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19636 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19637 * nptl/sysdeps/x86_64/Makefile: Moved ...
19638 * sysdeps/x86_64/nptl/Makefile: ... here.
19639 * nptl/sysdeps/x86_64/configure: Moved ...
19640 * sysdeps/x86_64/nptl/configure: ... here.
19641 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19642 * sysdeps/x86_64/nptl/configure.ac: ... here.
19643 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19644 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19645 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19646 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19647 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19648 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19649 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19650 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19651 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19652 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19653 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19654 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19655 * nptl/sysdeps/x86_64/tls.h: Moved ...
19656 * sysdeps/x86_64/nptl/tls.h: ... here.
19657 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19658 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19659 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19660 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19661
19662 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19663
19664 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19665
19666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19667
19668 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19669
19670 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19671 type.
19672 [POSIX] (off_t): Likewise.
19673 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19674 [POSIX] (S_ISBLK): Require macro.
19675 [POSIX] (S_ISCHR): Likewise.
19676 [POSIX] (S_ISDIR): Likewise.
19677 [POSIX] (S_ISFIFO): Likewise.
19678 [POSIX] (S_ISREG): Likewise.
19679 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19680 optional-macro.
19681 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19682 type.
19683 [POSIX] (time_t): Likewise.
19684 [POSIX] (timer_t): Likewise.
19685
19686 2014-06-11 Florian Weimer <fweimer@redhat.com>
19687
19688 [BZ #17048]
19689 * posix/spawn_int.h (struct __spawn_action): Make the path string
19690 non-const to support deallocation.
19691 * posix/spawn_faction_addopen.c
19692 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19693 * posix/spawn_faction_destroy.c
19694 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19695 path in all spawn_do_open actions.
19696 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19697 posix_spawn_file_actions_addopen.
19698
19699 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19700
19701 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19702 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19703 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19704 conditional code always true.
19705 (__libc_vfork): New alias.
19706
19707 2014-06-11 Roland McGrath <roland@hack.frob.com>
19708
19709 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19710 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19711
19712 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19713
19714 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19715 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19716
19717 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19718 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19719
19720 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19721 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19722
19723 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19724
19725 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19726 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19727 multiarch strcmp for PPC64.
19728 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19729 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19731 multiarch optimizations.
19732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19733 (__libc_ifunc_impl_list): Likewise.
19734
19735 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19736
19737 * benchtests/scripts/validate_benchout.py: New script.
19738 * benchtests/Makefile (bench-func): Call it.
19739 * benchtests/scripts/benchout.schema.json: New file.
19740
19741 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19742
19743 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19744 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19745 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19746 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19747 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19748 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19749 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19750 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19751 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19752 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19753 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19754 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19755 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19756 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19757 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19758 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19760 Moved ...
19761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19762 ... here.
19763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19764 Moved ...
19765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19767 Moved ...
19768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19769 ... here.
19770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19771 Moved ...
19772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19773 ... here.
19774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19775 Moved ...
19776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19778 Moved ...
19779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19780 ... here.
19781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19782 Moved ...
19783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19784 ... here.
19785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19786 Moved ...
19787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19789 Moved ...
19790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19791 ... here.
19792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19793 Moved ...
19794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19795 ... here.
19796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19797 Moved ...
19798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19799 ... here.
19800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19801 Moved ...
19802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19804 Moved ...
19805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19806 ... here.
19807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19808 Moved ...
19809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19810 ... here.
19811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19812 Moved ...
19813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19814 ... here.
19815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19816 Moved ...
19817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19819 Moved ...
19820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19821 ... here.
19822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19823 Moved ...
19824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19825 ... here.
19826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19827 Moved ...
19828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19830 Moved ...
19831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19832 ... here.
19833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19834 Moved ...
19835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19837 Moved ...
19838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19840 Moved ...
19841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19842 ... here.
19843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19844 Moved ...
19845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19846 ... here.
19847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19848 Moved ...
19849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19850 ... here.
19851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19852 Moved ...
19853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19855 Moved ...
19856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19857 ... here.
19858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19859 Moved ...
19860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19861 ... here.
19862 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19863 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19864 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19865 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19867 Moved ...
19868 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19869 ... here.
19870 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19871 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19872 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19873 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19875 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19876 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19877 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19879 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19880 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19881 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19882 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19883 Moved ...
19884 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19885 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19886 Moved ...
19887 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19889 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19891 Moved ...
19892 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19893 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19894 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19895 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19896 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19897 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19898 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19899
19900 2014-06-10 Wilco <wdijkstr@arm.com>
19901
19902 * math/test-fenv-return.c: New file.
19903 * math/Makefile: Add new test test-fenv-return.
19904
19905 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19906
19907 [BZ #17042]
19908 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19909 when x - 1 is zero.
19910 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19911 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19912 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19913 0.0L for an argument of 1.0L.
19914 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19915 Likewise.
19916 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19917 value when x - 1 is zero.
19918 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19919 * sysdeps/i386/fpu/libm-test-ulps: Update.
19920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19921
19922 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19923
19924 [BZ #15119]
19925 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19926
19927 2014-06-09 Roland McGrath <roland@hack.frob.com>
19928
19929 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19930 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19931
19932 2014-06-09 Roland McGrath <roland@hack.frob.com>
19933
19934 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19935 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19936
19937 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19938 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19939
19940 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19941 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19942
19943 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19944 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19945
19946 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19947 if not already defined.
19948 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19949 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19950 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19951 (TLS_INIT_TP): Use it.
19952 (TLS_DEFINE_INIT_TP): New macro.
19953 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19954
19955 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19956
19957 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19958 constant.
19959 [POSIX] (IXANY): Likewise.
19960 [POSIX] (OLCUC): Likewise.
19961 [POSIX || POSIX2008] (CBAUD): Do not allow.
19962 [POSIX || POSIX2008] (DEFECHO): Likewise.
19963 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19964 [POSIX || POSIX2008] (ECHOKE): Likewise.
19965 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19966 [POSIX || POSIX2008] (EXTA): Likewise.
19967 [POSIX || POSIX2008] (EXTB): Likewise.
19968 [POSIX || POSIX2008] (FLUSHO): Likewise.
19969 [POSIX || POSIX2008] (LOBLK): Likewise.
19970 [POSIX || POSIX2008] (PENDIN): Likewise.
19971 [POSIX || POSIX2008] (SWTCH): Likewise.
19972 [POSIX || POSIX2008] (VDISCARD): Likewise.
19973 [POSIX || POSIX2008] (VDSUSP): Likewise.
19974 [POSIX || POSIX2008] (VLNEXT): Likewise.
19975 [POSIX || POSIX2008] (VREPRINT): Likewise.
19976 [POSIX || POSIX2008] (VSTATUS): Likewise.
19977 [POSIX || POSIX2008] (VWERASE): Likewise.
19978 (B*): Change to B[0123456789]*.
19979 * conform/data/time.h-data [POSIX || UNIX98]
19980 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19981 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19982 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19983 [POSIX] (tm_*): Do not allow.
19984
19985 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19986
19987 * Makefile (install): Don't set LANGUAGE.
19988 * Makefile.in (install): Likewise.
19989 * assert/Makefile (test-assert-ENV): Remove variable.
19990 (test-assert-perr-ENV): Likewise.
19991 * elf/Makefile (neededtest4-ENV): Likewise.
19992 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19993 [$(cross-compiling) = no]: Don't set LANGUAGE.
19994 * io/ftwtest-sh (LANG): Remove variable.
19995 * libio/Makefile (tst-widetext-ENV): Likewise.
19996 * manual/install.texi (Running make install): Don't refer to
19997 environment settings for make install.
19998 * INSTALL: Regenerated.
19999 * nptl/tst-tls6.sh: Don't set LANG.
20000 * posix/globtest.sh (LANG): Remove variable.
20001 * string/Makefile (tester-ENV): Likewise.
20002 (inl-tester-ENV): Likewise.
20003 (noinl-tester-ENV): Likewise.
20004 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20005 [$(cross-compiling) = no]: Don't set LANGUAGE.
20006 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20007 without explicit environment settings.
20008
20009 2014-06-06 Roland McGrath <roland@hack.frob.com>
20010
20011 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20012 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20013 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20014 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20015
20016 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20017
20018 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20019 other files in the crypt directory.
20020 * crypt/crypt.c: Remove duplicate includes.
20021 * crypt/crypt-entry.c: Likewise.
20022 * crypt/crypt_util.c: Likewise.
20023
20024 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20025
20026 * Makeconfig (run-program-env): New variable.
20027 (run-program-prefix-before-env): Likewise.
20028 (run-program-prefix-after-env): Likewise.
20029 (run-program-prefix): Define in terms of new variables.
20030 (built-program-cmd-before-env): New variable.
20031 (built-program-cmd-after-env): Likewise.
20032 (built-program-cmd): Define in terms of new variables.
20033 (test-program-prefix-before-env): New variable.
20034 (test-program-prefix-after-env): Likewise.
20035 (test-program-prefix): Define in terms of new variables.
20036 (test-program-cmd-before-env): New variable.
20037 (test-program-cmd-after-env): Likewise.
20038 (test-program-cmd): Define in terms of new variables.
20039 * Rules (make-test-out): Use $(run-program-env).
20040 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20041 (help): Do not mention environment variables. Mention
20042 --timeoutfactor option.
20043 (timeoutfactor): New variable.
20044 (blacklist_exports): Remove function.
20045 (exports): Remove variable.
20046 (command): Do not include ${exports}.
20047 * manual/install.texi (Configuring and compiling): Do not mention
20048 test wrappers preserving environment variables. Mention that last
20049 assignment to a variable must take precedence.
20050 * INSTALL: Regenerated.
20051 * benchtests/Makefile (run-bench): Use $(run-program-env).
20052 * catgets/Makefile ($(objpfx)test1.cat): Use
20053 $(built-program-cmd-before-env), $(run-program-env) and
20054 $(built-program-cmd-after-env).
20055 ($(objpfx)test2.cat): Do not specify environment variables
20056 explicitly.
20057 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20058 $(run-program-env) and $(built-program-cmd-after-env).
20059 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20060 $(run-program-env) and $(test-program-cmd-after-env).
20061 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20062 explicitly.
20063 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20064 run_program_env and test_program_cmd_after_env arguments.
20065 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20066 * elf/tst-pathopt.sh: Use run_program_env argument.
20067 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20068 $(test-wrapper-env) and $(run-program-env).
20069 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20070 run_program_env arguments.
20071 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20072 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20073 $(test-program-prefix-before-env), $(run-program-env) and
20074 $(test-program-prefix-after-env).
20075 ($(objpfx)tst-gettext2.out): Likewise.
20076 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20077 run_program_env and test_program_prefix_after_env arguments.
20078 * intl/tst-gettext2.sh: Likewise.
20079 * intl/tst-gettext4.sh: Do not set environment variables
20080 explicitly.
20081 * intl/tst-gettext6.sh: Likewise.
20082 * intl/tst-translit.sh: Likewise.
20083 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20084 $(test-program-prefix-before-env), $(run-program-env) and
20085 $(test-program-prefix-after-env).
20086 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20087 run_program_env and test_program_prefix_after_env arguments.
20088 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20089 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20090 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20091 explicitly with each use of ${test_wrapper_env}.
20092 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20093 $(test-program-prefix-before-env), $(run-program-env) and
20094 $(test-program-prefix-after-env).
20095 * posix/tst-getconf.sh: Do not set environment variables
20096 explicitly.
20097 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20098 run_program_env and test_program_prefix_after_env arguments.
20099 * stdio-common/tst-printf.sh: Do not set environment variables
20100 explicitly.
20101 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20102 $(test-program-prefix-before-env), $(run-program-env) and
20103 $(test-program-prefix-after-env).
20104 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20105 run_program_env and test_program_prefix_after_env arguments.
20106 Split $test calls into $test_pre and $test.
20107 * timezone/Makefile (build-testdata): Use
20108 $(built-program-cmd-before-env), $(run-program-env) and
20109 $(built-program-cmd-after-env).
20110
20111 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20112
20113 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20114 strlen for non SHARED builds.
20115
20116 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20117
20118 * nptl/allocatestack.c (check_list): Inlined function...
20119 (__reclaim_stacks): ... here.
20120
20121 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20122
20123 [BZ #15698]
20124 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20125 memory overrun.
20126
20127 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20128
20129 * Rules (make-test-out): Include
20130 LOCPATH=$(common-objpfx)localedata in default environment.
20131 * debug/Makefile (tst-chk1-ENV): Remove variable.
20132 (tst-chk2-ENV): Likewise.
20133 (tst-chk3-ENV): Likewise.
20134 (tst-chk4-ENV): Likewise.
20135 (tst-chk5-ENV): Likewise.
20136 (tst-chk6-ENV): Likewise.
20137 (tst-lfschk1-ENV): Likewise.
20138 (tst-lfschk2-ENV): Likewise.
20139 (tst-lfschk3-ENV): Likewise.
20140 (tst-lfschk4-ENV): Likewise.
20141 (tst-lfschk5-ENV): Likewise.
20142 (tst-lfschk6-ENV): Likewise.
20143 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20144 (tst-iconv7-ENV): Likewise.
20145 * intl/Makefile (LOCPATH-ENV): Likewise.
20146 (tst-codeset-ENV): Likewise.
20147 (tst-gettext3-ENV): Likewise.
20148 (tst-gettext5-ENV): Likewise.
20149 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20150 (tst-fopenloc-ENV): Likewise.
20151 (tst-fgetws-ENV): Remove variable.
20152 (tst-ungetwc1-ENV): Likewise.
20153 (tst-ungetwc2-ENV): Likewise.
20154 (bug-ungetwc2-ENV): Likewise.
20155 (tst-swscanf-ENV): Likewise.
20156 (bug-ftell-ENV): Likewise.
20157 (tst-fgetwc-ENV): Likewise.
20158 (tst-fseek-ENV): Likewise.
20159 (tst-ftell-partial-wide-ENV): Likewise.
20160 (tst-ftell-active-handler-ENV): Likewise.
20161 (tst-ftell-append-ENV): Likewise.
20162 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20163 (tst-regexloc-ENV): Likewise.
20164 (bug-regex1-ENV): Likewise.
20165 (tst-regex-ENV): Likewise.
20166 (tst-regex2-ENV): Likewise.
20167 (bug-regex5-ENV): Likewise.
20168 (bug-regex6-ENV): Likewise.
20169 (bug-regex17-ENV): Likewise.
20170 (bug-regex18-ENV): Likewise.
20171 (bug-regex19-ENV): Likewise.
20172 (bug-regex20-ENV): Likewise.
20173 (bug-regex22-ENV): Likewise.
20174 (bug-regex23-ENV): Likewise.
20175 (bug-regex25-ENV): Likewise.
20176 (bug-regex26-ENV): Likewise.
20177 (bug-regex30-ENV): Likewise.
20178 (bug-regex32-ENV): Likewise.
20179 (bug-regex33-ENV): Likewise.
20180 (bug-regex34-ENV): Likewise.
20181 (bug-regex35-ENV): Likewise.
20182 (tst-rxspencer-ENV): Likewise.
20183 (tst-rxspencer-no-utf8-ENV): Likewise.
20184 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20185 (tst-sscanf-ENV): Likewise.
20186 (tst-swprintf-ENV): Likewise.
20187 (tst-swscanf-ENV): Likewise.
20188 (test-vfprintf-ENV): Likewise.
20189 (scanf13-ENV): Likewise.
20190 (bug14-ENV): Likewise.
20191 (tst-grouping-ENV): Likewise.
20192 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20193 (tst-strtod3-ENV): Likewise.
20194 (tst-strtod4-ENV): Likewise.
20195 (tst-strtod5-ENV): Likewise.
20196 (testmb2-ENV): Likewise./
20197 * string/Makefile (tst-strxfrm-ENV): Likewise.
20198 (tst-strxfrm2-ENV): Likewise.
20199 (bug-strcoll1-ENV): Likewise.
20200 (test-strcasecmp-ENV): Likewise.
20201 (test-strncasecmp-ENV): Likewise.
20202 * time/Makefile (tst-strptime-ENV): Likewise.
20203 (tst-ftime_l-ENV): Likewise.
20204 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20205 (tst-mbrtowc-ENV): Likewise.
20206 (tst-wcrtomb-ENV): Likewise.
20207 (tst-mbrtowc2-ENV): Likewise.
20208 (tst-c16c32-1-ENV): Likewise.
20209 (tst-mbsnrtowcs-ENV): Likewise.
20210
20211 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20212
20213 * manual/resource.texi (How to get information about the memory
20214 subsystem?): Fix typo.
20215 Reported by Peon de la Parra Ivan <peon@keba.com>
20216
20217 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20218
20219 [BZ #16882]
20220 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20221 (pthread_spin_lock): Branch out of spin loop to proper location.
20222 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20223 (pthread_spin_lock): Likewise.
20224
20225 * nptl/tst-spin4.c: New test.
20226 * nptl/Makefile (tests): Add tst-spin4.
20227
20228 2014-06-03 Andreas Schwab <schwab@suse.de>
20229
20230 [BZ #15946]
20231 * resolv/res_send.c (send_dg): Reload file descriptor after
20232 calling reopen.
20233
20234 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20235
20236 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20237
20238 2014-06-03 Richard Henderson <rth@redhat.com>
20239
20240 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20241 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20242 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20243 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20244 in the SAVE_PID block.
20245 (__libc_vfork): New alias.
20246 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20247
20248 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20249 child in registers, not on the stack. Remove RESET_PID conditionals.
20250 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20251
20252 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20253
20254 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20255
20256 2014-06-03 Wilco <wdijkstr@arm.com>
20257
20258 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20259 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20260 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20261 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20262 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20263 Likewise.
20264
20265 2014-06-03 Wilco <wdijkstr@arm.com>
20266
20267 * sysdeps/aarch64/fpu/math_private.h
20268 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20269 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20270 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20271 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20272 Fix declarations.
20273
20274 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20275
20276 * crypt/crypt-private.h: Include ufc-crypt.h.
20277 (__b64_from_24bit): Declare extern.
20278 * crypt/crypt_util.c(__b64_from_24bit): New function.
20279 (b64t): New static const variable.
20280 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20281 (b64t): Remove variable.
20282 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20283 * crypt/sha256-crypt.c: Include crypt-private.h.
20284 (b64t): Remove variable.
20285 (__sha256_crypt_r): Remove b64_from_24bit and replace
20286 with __b64_from_24bit.
20287 * crypt/sha512-crypt.c: Likewise.
20288
20289 2014-06-02 Roland McGrath <roland@hack.frob.com>
20290
20291 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20292 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20293 Label the code __libc_vfork rather than __vfork.
20294 [!NOT_IN_libc] (vfork): Define as weak alias.
20295 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20296 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20297 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20298
20299 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20300
20301 * malloc/malloc.c (malloc_info): Fix format specifier for
20302 n_mmaps.
20303
20304 2014-06-02 Wilco <wdijkstr@arm.com>
20305
20306 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20307 FPCR write.
20308
20309 2014-06-02 Wilco <wdijkstr@arm.com>
20310
20311 [BZ #17009]
20312 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20313 Rewrite to reduce FPCR/FPSR accesses.
20314
20315 2014-06-01 David S. Miller <davem@davemloft.net>
20316
20317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20318
20319 2014-05-31 David S. Miller <davem@davemloft.net>
20320
20321 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20322 to occur in round to nearest mode when |x| >= 2.0
20323
20324 2014-05-30 Richard Henderson <rth@twiddle.net>
20325
20326 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20327 (PSEUDO_RET_NOERRNO): Remove.
20328 (ret): Don't redefine.
20329 (ret_NOERRNO): Define in terms of ret.
20330 (ret_ERRVAL): Likewise.
20331
20332 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20333 use of PSEUDO_RET; perform the error check directly.
20334
20335 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20336
20337 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20338 with __int128_t.
20339
20340 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20341
20342 * malloc/malloc (malloc_info): Fix formatting.
20343
20344 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20345 Roland McGrath <roland@hack.frob.com>
20346
20347 * malloc/malloc (malloc_info): Also print mmapped statistics.
20348
20349 2014-05-30 Roland McGrath <roland@hack.frob.com>
20350
20351 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20352 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20353
20354 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20355
20356 * malloc/malloc.c (malloc_info): Inline mi_arena.
20357
20358 2014-05-29 Richard Henderson <rth@twiddle.net>
20359
20360 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20361 Remove comma before expanding ASM_ARGS_##nr.
20362 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20363 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20364 of ASM_ARGS_##nr.
20365 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20366 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20367 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20368 (ASM_ARGS_1): Add leading comma.
20369
20370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20371 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20372 to __errno_location.
20373 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20374 Remove the expected plt for __errno_location.
20375
20376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20377 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20378 call to __read_tp.
20379
20380 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20381 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20382 it and break it down.
20383 (DOCARGS_0, DOCARGS_1): Do nothing.
20384 (DOCARGS_2): Update to store into the new stack frame.
20385 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20386 (UNDOCARGS_1): Update to restore from the new stack frame.
20387 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20388 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20389
20390 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20391 (SINGLE_THREAD_P): New parameter for result regno.
20392 (PSEUDO): Update to match; use cbz instead of beq.
20393
20394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20395 Use ENTRY to define the _nocancel entry point. Share the syscall
20396 and syscall error check paths with the cancel path.
20397 (PSEUDO_END): New.
20398
20399 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20400 whitespace; tabs before and after asm mnemonics.
20401
20402 2014-05-29 Eric Wong <normalperson@yhbt.net>
20403
20404 [BZ #15132]
20405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20406 Call fstat64 or stat64 internally, depending on arguments passed.
20407 Replace stat buffer argument with file descriptor argument.
20408 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20409 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20410 Pass fd to __internal_statvfs instead of calling fstat64.
20411 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20412 Pass fd to __internal_statvfs64 instead of calling fstat64.
20413 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20414 Pass -1 to __internal_statvfs instead of calling stat64.
20415 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20416 Pass -1 to __internal_statvfs64 instead of calling stat64.
20417
20418 2014-05-28 Roland McGrath <roland@hack.frob.com>
20419
20420 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20421 that was previously under [RESET_PID].
20422 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20423
20424 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20425 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20426
20427 2014-05-27 Roland McGrath <roland@hack.frob.com>
20428
20429 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20430
20431 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20432 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20433
20434 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20435
20436 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20437
20438 2014-05-27 Andreas Schwab <schwab@suse.de>
20439
20440 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20441 TLS_INIT_TP macro.
20442 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20443 * elf/rtld.c (init_tls, dl_main): Likewise.
20444 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20445 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20446 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20447 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20448 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20449 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20450 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20451 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20452 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20453 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20454 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20455 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20456 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20457 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20458 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20459 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20460 * sysdeps/generic/tls.h: Update description.
20461
20462 2014-05-27 Will Newton <will.newton@linaro.org>
20463
20464 [BZ #16990]
20465 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20466 and restore r2 rather than just restoring.
20467
20468 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20469
20470 [BZ #16724]
20471 * libio/tst-ftell-append.c: New test case.
20472 * libio/Makefile (tests): Add test case.
20473 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20474 append mode.
20475 * libio/wfileops.c (do_ftell_wide): Likewise.
20476
20477 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20478
20479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20480
20481 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20482 ...
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20485 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20486 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20487 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20488 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20489 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20490 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20492 Moved ...
20493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20495 Moved ...
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20497 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20498 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20499 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20500 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20501 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20502 ...
20503 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20504 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20505 Moved ...
20506 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20507 here.
20508 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20509 ...
20510 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20511 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20512 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20513
20514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20515 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20516 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20517 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20518
20519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20520 merge into ...
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20523 ...
20524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20526 ...
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20529 Moved ...
20530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20531 here.
20532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20533 Moved ...
20534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20536 Moved ...
20537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20538
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20540 conditional [RESET_PID].
20541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20542 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20543 removed.
20544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20545 removed.
20546
20547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20548 <tcb-offsets.h>.
20549 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20550 (__libc_vfork): New strong alias.
20551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20552 removed.
20553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20554 Removed.
20555
20556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20557 <tcb-offsets.h>.
20558 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20559 (__libc_vfork): New strong alias.
20560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20561 removed.
20562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20563 removed.
20564
20565 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20566
20567 * malloc/malloc.c (mi_arena): New function.
20568 (malloc_info): Remove nested function mi_arena. Call non-nosted
20569 function mi_arena.
20570
20571 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20572
20573 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20574 by insrwi.
20575 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20576 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20577 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20578 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20579 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20580 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20581 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20582
20583 2014-05-26 Andreas Schwab <schwab@suse.de>
20584
20585 [BZ #16984]
20586 * locale/programs/repertoire.c (repertoire_read): Add slash
20587 between I18NPATH element and file name.
20588 * locale/programs/locfile.c (locfile_read): Likewise.
20589
20590 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20591
20592 * nptl/pthread_mutexattr_settype.c
20593 (__pthread_mutexattr_settype):
20594 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20595
20596 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20597
20598 * nptl/tst-mutex5 (do_test):
20599 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20600
20601 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20602
20603 * benchtests/README: Document 'init' directive.
20604 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20605 BENCH_INIT.
20606 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20607 (parse_file): Recognize 'init' directive.
20608
20609 2014-05-26 Kyle McMartin <kyle@redhat.com>
20610
20611 [BZ #16796]
20612 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20613 alignment of struct pthread.
20614
20615 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20616
20617 [BZ #16878]
20618 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20619 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20620 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20621 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20622
20623 2014-05-25 Richard Henderson <rth@twiddle.net>
20624
20625 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20626 (SINGLE_THREAD_P_PIC): Remove.
20627 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20628 (SINGLE_THREAD_P_PIC): Remove.
20629
20630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20631 branch to syscall error ...
20632 (PSEUDO): ... here.
20633 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20634 from __local_syscall_error to .Lsyscall_error.
20635 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20636 (SYSCALL_ERROR): Update label name.
20637
20638 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20639 Do not use DOARGS/UNDOARGS.
20640 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20641 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20642 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20643 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20644 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20645
20646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20647 block comment.
20648
20649 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20650 define if !NOT_IN_libc.
20651 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20652 define with non-default symbol versions.
20653
20654 2014-05-23 Richard Henderson <rth@twiddle.net>
20655
20656 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20657 (vfork, __vfork): Define via compat_symbol.
20658
20659 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20660 [!HAVE_IFUNC] (vfork_compat): Remove.
20661 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20662
20663 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20664
20665 [BZ #16978]
20666 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20667 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20668 variable.
20669
20670 2014-05-23 Richard Henderson <rth@twiddle.net>
20671
20672 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20673 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20674 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20675 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20676
20677 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20678 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20679 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20680 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20681 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20682 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20683 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20684 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20685 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20686 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20687 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20688 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20689 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20690 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20691 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20692 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20693 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20694 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20695 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20696 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20697 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20698 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20699 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20700 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20701 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20702 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20703 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20704 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20705 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20706 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20707 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20708 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20709 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20710 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20711 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20712 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20713 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20714 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20715 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20716 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20717 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20718 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20719 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20720 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20721 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20722 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20723 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20724 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20725 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20726 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20728 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20730 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20732 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20733
20734 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20735 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20736 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20737 before exiting on error.
20738 (__libc_vfork): New strong alias.
20739 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20740 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20741
20742 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20743 that was previously under [RESET_PID].
20744 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20745
20746 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20747
20748 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20749
20750 [BZ #16977]
20751 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20752 value when x - 1 is zero.
20753 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20754 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20755 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20756 0.0L for an argument of 1.0L.
20757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20758 Likewise.
20759 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20760 value when x - 1 is zero.
20761 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20762 * sysdeps/i386/fpu/libm-test-ulps: Update.
20763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20764
20765 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20766
20767 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20768 alphasort and versionsort.
20769
20770 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20771
20772 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20773 macro.
20774 [copysignf]: Likewise.
20775
20776 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20777
20778 * crypt/md5-crypt.c: Fix formatting.
20779
20780 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20781
20782 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20783 (b64_from_24bit): New function.
20784
20785 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20786
20787 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20788 libc_hidden_builtin_def to ifunc.
20789 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20790 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20791
20792 2014-05-21 Roland McGrath <roland@hack.frob.com>
20793
20794 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20795 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20796
20797 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20798
20799 * nscd/Depend (linuxthreads): Remove.
20800 (nptl): Add.
20801 * resolv/Depend (linuxthreads): Remove.
20802 * rt/Depend (linuxthreads): Remove.
20803
20804 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20805 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20806 $(common-objpfx)elf/.
20807 (link-libc-before-gnulib): Likewise.
20808 (elfobjdir): Remove variable.
20809 * Makefile (install): Use $(elf-objpfx) instead of
20810 $(common-objpfx)elf/.
20811 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20812 $(elfobjdir)/.
20813 (link-libc-deps): Likewise.
20814 ($(common-objpfx)libc.so): Likewise.
20815 ($(common-objpfx)linkobj/libc.so): Likewise.
20816 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20817 instead of $(common-objpfx)elf/.
20818 (symbolic-link-list): Likewise.
20819 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20820 [$(cross-compiling) = no]: Likewise.
20821 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20822 $(elfobjdir)/.
20823 (static-gnulib-arch): Likewise.
20824 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20825 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20826 $(common-objpfx)elf/.
20827
20828 2014-05-21 Richard Henderson <rth@redhat.com>
20829
20830 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20831 (SINGLE_THREAD_P): Use the correct width load. Fold
20832 into the ldr offset.
20833
20834 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20835 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20836
20837 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20838
20839 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20840 (libgcc_s_resume): Use __attribute_used__.
20841 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20842 Likewise.
20843
20844 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20845
20846 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20847 optimization when used with float constants.
20848
20849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20850
20851 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20852
20853 [BZ #16915]
20854 * locale/nl_langinfo_l.c: Make direct reference to every
20855 _nl_current_CATEGORY symbol.
20856 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20857 (tests-static): Add tst-langinfo-static.
20858 (tests-special): Add tst-langinfo-static.out.
20859 ($(objpfx)tst-langinfo.out): Redirect output.
20860 ($(objpfx)tst-langinfo-static.out): New.
20861 * localedata/tst-langinfo.sh: Send output to stdout.
20862 * localedata/tst-langinfo-static.c: New file.
20863
20864 [BZ #16965]
20865 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20866 when the shift amount is modulo the limb size.
20867
20868 2014-05-20 Richard Henderson <rth@redhat.com>
20869
20870 [BZ #16967]
20871 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20872 Change type of sa_flags from unsigned int to int.
20873
20874 [BZ #16966]
20875 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20876
20877 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20878
20879 2014-05-20 Will Newton <will.newton@linaro.org>
20880
20881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20882 Test the return value of the system call in the nocancel case.
20883
20884 2014-05-20 Will Newton <will.newton@linaro.org>
20885 Yvan Roux <yvan.roux@linaro.org>
20886
20887 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20888 #include of asm/ptrace.h.
20889 (PTRACE_GET_THREAD_AREA): Remove #undef.
20890 (PTRACE_GETHBPREGS): Likewise.
20891 (PTRACE_SETHBPREGS): Likewise.
20892 (struct user_regs_struct): New structure.
20893 (struct user_fpsimd_struct): New structure.
20894 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20895 #include of asm/ptrace.h and second #include of sys/user.h.
20896 (PTRACE_GET_THREAD_AREA): Remove #undef.
20897 (PTRACE_GETHBPREGS): Likewise.
20898 (PTRACE_SETHBPREGS): Likewise.
20899 (ELF_NGREG): Use new struct user_regs_struct.
20900 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20901
20902 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20903
20904 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20906
20907 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20908
20909 [BZ #16958]
20910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20911 membar to avoid block loads/stores to overlap previous stores.
20912
20913 2014-05-17 Richard Henderson <rth@redhat.com>
20914
20915 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20916 Create the __##syscall_name##_nocancel entry point.
20917 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20918 Remove; let the sysdep-cancel.h code create it.
20919
20920 2014-05-17 David S. Miller <davem@davemloft.net>
20921
20922 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20923 Protect with __USE_GNU.
20924 (TIOCSET_TEMPT): Likewise.
20925 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20926 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20927 these are already provided in bits/ioctl-types.h
20928
20929 2014-05-16 Roland McGrath <roland@hack.frob.com>
20930
20931 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20932 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20933
20934 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20935 Use wait4 regardless of [__NR_waitpid].
20936
20937 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20938
20939 PR libgcc/60166
20940 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20941 (_FP_NANSIGN_Q): Set the quiet bit.
20942
20943 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20944
20945 * benchtests/Makefile
20946 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20947 not $(common-objpfx)math/libm.so.
20948 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20949 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20950 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20951 $(common-objpfx)dlfcn/libdl.so.
20952 ($(objpfx)tst-audit8): Depend on $(libm), not
20953 $(common-objpfx)math/libm.so.
20954 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20955 not $(common-objpfx)dlfcn/libdl.so.
20956 * math/Makefile
20957 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20958 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20959 [$(build-shared) = yes].
20960 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20961 $(common-objpfx)nptl/libpthread.so.
20962 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20963 $(common-objpfx)math/libm.so$(libm.so-version) or
20964 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20965 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20966 $(common-objpfx)dlfcn/libdl.so.
20967 * setjmp/Makefile (link-libm): Remove variable.
20968 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20969 * stdio-common/Makefile (link-libm): Remove variable.
20970 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20971 * stdlib/Makefile (link-libm): Remove variable.
20972 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20973 ($(objpfx)tst-strtod-round): Likewise.
20974 ($(objpfx)tst-tininess): Likewise.
20975 ($(objpfx)tst-strtod-underflow): Likewise.
20976 ($(objpfx)tst-strtod6): Likewise.
20977 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20978 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20979 $(common-objpfx)dlfcn/libdl.so.
20980
20981 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20982
20983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20984 BSD terminal modes definitions.
20985
20986 2014-05-16 Roland McGrath <roland@hack.frob.com>
20987
20988 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20989 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20990
20991 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20992 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20993 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20994 Don't do #include_next.
20995 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20996 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20997 Don't do #include_next.
20998 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20999 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21000 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21001 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21002
21003 2014-05-16 Allan McRae <allan@archlinux.org>
21004
21005 * po/sv.po: Update Swedish translation from translation project.
21006
21007 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21008 in sed expression.
21009
21010 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21011
21012 [BZ #16917]
21013 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21014 errno if the TIOCGPTN ioctl fails with an error different than
21015 EINVAL.
21016 * login/tst-ptsname.c: New file.
21017 * login/Makefile (tests): Add tst-ptsname.
21018
21019 [BZ #16943]
21020 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21021 and prlimit64.
21022
21023 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21024
21025 [BZ #16849]
21026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21027 herrno to return EAI_AGAIN.
21028
21029 2014-05-14 Roland McGrath <roland@hack.frob.com>
21030
21031 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21032 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21033 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21034 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21035 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21036 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21037 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21038 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21039 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21040 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21041 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21042 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21043 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21044 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21045 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21046 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21047 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21048 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21049 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21050 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21051 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21052 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21053 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21054 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21055 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21056 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21057 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21058 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21059 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21060 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21062 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21064 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21066 Moved ...
21067 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21069 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21071 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21073 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21075 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21077 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21079 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21081 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21083 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21085 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21087 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21089 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21091 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21093 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21095 Moved ...
21096 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21098 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21100 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21102 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21104 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21106 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21108 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21110 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21112 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21114 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21116 Moved ...
21117 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21119 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21120
21121 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21122 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21123 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21124 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21125 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21126 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21127 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21128 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21129 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21131 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21132 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21133 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21134 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21135 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21136 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21137 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21138 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21139 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21140 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21141 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21142 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21143 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21144 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21145 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21146 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21147 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21148 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21149 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21150 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21151 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21152
21153 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21154 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21155
21156 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21157 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21158 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21159 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21160 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21161 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21162 Moved ...
21163 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21164 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21165 Moved ...
21166 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21167 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21168 Moved ...
21169 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21170 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21171 Moved ...
21172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21173 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21174 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21175 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21176 Moved ...
21177 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21178 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21179 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21181 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21182 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21183 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21184 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21185 Moved ...
21186 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21187 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21188 Moved ...
21189 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21190 ... here.
21191 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21192 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21193 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21194 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21196 Moved ...
21197 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21198 ... here.
21199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21200 Moved ...
21201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21202 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21203 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21204 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21205 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21206 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21207 Moved ...
21208 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21209 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21210 Moved ...
21211 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21212 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21213 Moved ...
21214 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21215 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21216 Moved ...
21217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21218 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21219 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21220 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21221 Moved ...
21222 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21223 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21224 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21226 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21227 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21228 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21230 Moved ...
21231 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21232 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21233 Moved ...
21234 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21235 ... here.
21236 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21237 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21238 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21239 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21241 Moved ...
21242 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21243 ... here.
21244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21245 Moved ...
21246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21247 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21248 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21249 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21250 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21251 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21252 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21253 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21254 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21256 Moved ...
21257 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21259 Moved ...
21260 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21262 Moved ...
21263 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21265 Moved ...
21266 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21267 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21268 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21269 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21270 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21271 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21272 Moved ...
21273 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21274 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21275 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21277 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21278 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21279 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21280 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21281 Moved ...
21282 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21284 Moved ...
21285 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21286 ... here.
21287 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21288 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21289 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21290 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21292 Moved ...
21293 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21294 ... here.
21295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21296 Moved ...
21297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21298 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21299 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21300 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21301 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21302 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21303 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21304 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21305 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21306 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21307 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21308
21309 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21310 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21311
21312 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21313 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21314
21315 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21316 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21317 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21318 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21319 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21320 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21321 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21322 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21323 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21324 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21325 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21326 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21327 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21328 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21329 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21331 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21332 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21333 Moved ...
21334 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21336 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21337 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21338 Moved ...
21339 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21340 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21341 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21343 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21344 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21345 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21347 Moved ...
21348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21350 Moved ...
21351 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21353 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21355 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21357 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21358 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21359 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21360 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21361 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21362 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21363 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21364 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21365 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21366 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21367 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21368
21369 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21370 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21371 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21372 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21373 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21374
21375 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21376 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21377 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21378 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21379 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21380 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21381 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21382 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21383 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21384 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21385
21386 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21388
21389 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21390 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21391 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21392 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21393 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21394 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21395 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21396 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21397 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21398 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21399 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21400 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21401 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21402 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21404 Update #include.
21405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21406 Likewise.
21407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21408 Likewise.
21409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21410 Likewise.
21411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21412 Likewise.
21413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21414 Likewise.
21415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21416 Likewise.
21417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21418 Likewise.
21419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21420 Likewise.
21421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21422 Likewise.
21423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21425 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21428 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21429 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21430 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21431 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21432 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21433 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21434 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21435 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21436 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21437 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21438
21439 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21440 that was previously under [RESET_PID].
21441 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21442 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21443 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21444
21445 * sysdeps/i386/nptl/Implies: New file.
21446 * sysdeps/x86_64/nptl/Implies: New file.
21447 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21448 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21449 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21450 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21451
21452 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21453 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21454 (__libc_vfork): New strong alias.
21455 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21456 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21457
21458 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21459 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21460 (__libc_vfork): New strong alias.
21461 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21462 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21463
21464 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21465 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21466 (__libc_vfork): New strong alias.
21467 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21468 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21469 * nptl/pt-vfork.c: New file.
21470 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21471 (libpthread: GLIBC_2.20): New version set (empty).
21472
21473 2014-05-14 Will Newton <will.newton@linaro.org>
21474
21475 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21476 rather than #if.
21477
21478 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21479
21480 [BZ #16564]
21481 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21482 arguments with exponent 65 or above.
21483 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21484 arguments 0x1p113L or above.
21485 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21486 to arguments 0x1p107L or above.
21487 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21488 positive arguments with exponent 65 or above.
21489 * math/auto-libm-test-in: Add more tests of log1p.
21490 * math/auto-libm-test-out: Regenerated.
21491
21492 [BZ #16928]
21493 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21494 non-finite arguments is +0.
21495 * math/s_cacosf.c (__cacosf): Likewise.
21496 * math/s_cacosl.c (__cacosl): Likewise.
21497 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21498 * sysdeps/i386/fpu/libm-test-ulps: Update.
21499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21500
21501 [BZ #16927]
21502 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21503 value.
21504 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21505 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21506 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21507 for explicit high bit of mantissa when testing for argument equal
21508 to 1.
21509 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21510 * sysdeps/i386/fpu/libm-test-ulps: Update.
21511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21512
21513 [BZ #16516]
21514 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21515 (__erf): Scale by 16 instead of 8 in potentially underflowing
21516 case. Ensure exception if result actually underflows.
21517 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21518 (__erff): Scale by 16 instead of 8 in potentially underflowing
21519 case. Ensure exception if result actually underflows.
21520 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21521 (efx8): Remove variable.
21522 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21523 case. Ensure exception if result actually underflows.
21524 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21525 (efx8): Remove variable.
21526 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21527 case. Ensure exception if result actually underflows.
21528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21529 (efx8): Remove variable.
21530 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21531 case. Ensure exception if result actually underflows.
21532 * math/auto-libm-test-in: Add more tests of erf.
21533 * math/auto-libm-test-out: Regenerated.
21534
21535 2014-05-14 Andreas Schwab <schwab@suse.de>
21536
21537 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21538 Remove code conditionalized on USE___THREAD.
21539
21540 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21541 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21542 not definedness.
21543
21544 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21545
21546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21547 Define unconditionally.
21548 (__ASSUME_O_CLOEXEC): Likewise.
21549 (__ASSUME_SOCK_CLOEXEC): Likewise.
21550 (__ASSUME_IN_NONBLOCK): Likewise.
21551 (__ASSUME_PIPE2): Likewise.
21552 (__ASSUME_EVENTFD2): Likewise.
21553 (__ASSUME_SIGNALFD4): Likewise.
21554 (__ASSUME_DUP3): Likewise.
21555 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21556 (__ASSUME_DUP3): Do not define.
21557 (__ASSUME_EVENTFD2): Likewise.
21558 (__ASSUME_IN_NONBLOCK): Likewise.
21559 (__ASSUME_O_CLOEXEC): Likewise.
21560 (__ASSUME_PIPE2): Likewise.
21561 (__ASSUME_SIGNALFD4): Likewise.
21562 (__ASSUME_SOCK_CLOEXEC): Likewise.
21563 (__ASSUME_UTIMES): Undefine.
21564 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21565 (__ASSUME_UTIMES): Do not define.
21566 (__ASSUME_O_CLOEXEC): Likewise.
21567 (__ASSUME_SOCK_CLOEXEC): Likewise.
21568 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21569 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21570 0x020621].
21571 (__ASSUME_PIPE2): Likewise.
21572 (__ASSUME_EVENTFD2): Likewise.
21573 (__ASSUME_SIGNALFD4): Likewise.
21574 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21575 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21576 Do not define.
21577 (__ASSUME_EVENTFD2): Likewise.
21578 (__ASSUME_SIGNALFD4): Likewise.
21579 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21580 (__ASSUME_32BITUIDS): Likewise.
21581 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21582 (__ASSUME_IPC64): Likewise.
21583 (__ASSUME_ST_INO_64_BIT): Likewise.
21584 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21585 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21586 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21587 (__ASSUME_UTIMES): Do not define.
21588 (__ASSUME_PSELECT): Likewise.
21589 (__ASSUME_PPOLL): Likewise.
21590 (__ASSUME_O_CLOEXEC): Likewise.
21591 (__ASSUME_SOCK_CLOEXEC): Likewise.
21592 (__ASSUME_IN_NONBLOCK): Likewise.
21593 (__ASSUME_PIPE2): Likewise.
21594 (__ASSUME_EVENTFD2): Likewise.
21595 (__ASSUME_SIGNALFD4): Likewise.
21596 (__ASSUME_DUP3): Likewise.
21597 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21598 (__ASSUME_UTIMES): Likewise.
21599 (__ASSUME_O_CLOEXEC): Likewise.
21600 (__ASSUME_SOCK_CLOEXEC): Likewise.
21601 (__ASSUME_IN_NONBLOCK): Likewise.
21602 (__ASSUME_PIPE2): Likewise.
21603 (__ASSUME_EVENTFD2): Likewise.
21604 (__ASSUME_SIGNALFD4): Likewise.
21605 (__ASSUME_DUP3): Likewise.
21606 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21607 (__ASSUME_UTIMES): Likewise.
21608 (__ASSUME_O_CLOEXEC): Likewise.
21609 (__ASSUME_SOCK_CLOEXEC): Likewise.
21610 (__ASSUME_IN_NONBLOCK): Likewise.
21611 (__ASSUME_PIPE2): Likewise.
21612 (__ASSUME_EVENTFD2): Likewise.
21613 (__ASSUME_SIGNALFD4): Likewise.
21614 (__ASSUME_DUP3): Likewise.
21615 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21616 Likewise.
21617 (__ASSUME_UTIMES): Likewise.
21618 (__ASSUME_EVENTFD2): Likewise.
21619 (__ASSUME_SIGNALFD4): Likewise.
21620 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21621 (__ASSUME_O_CLOEXEC): Likewise.
21622 (__ASSUME_SOCK_CLOEXEC): Likewise.
21623 (__ASSUME_IN_NONBLOCK): Likewise.
21624 (__ASSUME_PIPE2): Likewise.
21625 (__ASSUME_EVENTFD2): Likewise.
21626 (__ASSUME_SIGNALFD4): Likewise.
21627 (__ASSUME_DUP3): Likewise.
21628 (__ASSUME_UTIMES): Undefine.
21629
21630 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21631 feclearexcept. Remove symbol versioning code.
21632 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21633 symbol versioning code.
21634 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21635 symbol versioning code.
21636 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21637 feupdateenv. Remove symbol versioning code.
21638 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21639 fegetexceptflag. Remove symbol versioning code.
21640 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21641 fesetexceptflag. Remove symbol versioning code.
21642 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21643 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21644 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21645 (__posix_fadvise64_l32): Remove prototype.
21646 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21647 code.
21648
21649 2014-05-13 Roland McGrath <roland@hack.frob.com>
21650
21651 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21652 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21653 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21654 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21655
21656 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21657
21658 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21659 current working directory
21660
21661 2014-05-13 Roland McGrath <roland@hack.frob.com>
21662
21663 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21664 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21665 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21666 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21667 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21668 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21669 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21670 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21671 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21672 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21673 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21674 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21675 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21676 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21677 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21678 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21679 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21680 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21681 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21682 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21683 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21684 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21685 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21686 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21687 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21688 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21689 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21690 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21691 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21692 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21693 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21694 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21695 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21696 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21697 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21698 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21699 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21700 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21701 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21702 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21703 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21704 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21705
21706 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21707 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21708
21709 * sysdeps/unix/sysv/linux/arm/Makefile
21710 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21711 Add rt-aeabi_unwind_cpp_pr1.
21712 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21713 Add nptl-aeabi_unwind_cpp_pr1.
21714 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21715 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21716 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21717 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21718 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21719 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21720
21721 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21722 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21723 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21724 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21725
21726 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21727 Deconditionalize the code that was previously under [RESET_PID].
21728 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21729
21730 * sysdeps/generic/exit-thread.h: New file.
21731 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21732 * include/unistd.h (__exit_thread): Remove declaration.
21733 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21734 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21735 * csu/libc-start.c: Include <exit-thread.h>.
21736 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21737 * nptl/pthread_create.c: Include <exit-thread.h>.
21738 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21739 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21740 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21741 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21742 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21743 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21744 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21745 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21746 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21747 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21748 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21749 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21750 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21751 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21752 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21753 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21754 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21755
21756 2014-05-13 Andreas Schwab <schwab@suse.de>
21757
21758 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21759
21760 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21761
21762 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21763 (__ASSUME_UTIMES): Do not condition on kernel version.
21764 (__ASSUME_PSELECT): Define unconditionally.
21765 (__ASSUME_PPOLL): Likewise.
21766 (__ASSUME_ATFCTS): Likewise.
21767 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21768 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21769 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21770 (__ASSUME_UTIMENSAT): Define unconditionally.
21771 (__ASSUME_PRIVATE_FUTEX): Likewise.
21772 (__ASSUME_FALLOCATE): Likewise.
21773 (__ASSUME_O_CLOEXEC): Likewise.
21774 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21775 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21776 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21777 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21778 (__ASSUME_IN_NONBLOCK): Likewise.
21779 (__ASSUME_PIPE2): Likewise.
21780 (__ASSUME_EVENTFD2): Likewise.
21781 (__ASSUME_SIGNALFD4): Likewise.
21782 (__ASSUME_DUP3): Likewise.
21783 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21784 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21785 (__ASSUME_AT_RANDOM): Likewise.
21786 (__ASSUME_PREADV): Likewise.
21787 (__ASSUME_PWRITEV): Likewise.
21788 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21789 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21790 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21791 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21792 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21793 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21794 (__ASSUME_O_CLOEXEC): Define unconditionally.
21795 (__ASSUME_PSELECT): Do not undefine conditionally.
21796 (__ASSUME_PPOLL): Likewise.
21797 (__ASSUME_ATFCTS): Likewise.
21798 (__ASSUME_SET_ROBUST_LIST): Likewise.
21799 (__ASSUME_UTIMENSAT): Likewise.
21800 (__ASSUME_FDATASYNC): Define unconditionally.
21801 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21802 (__ASSUME_SIGFRAME_V2): Likewise.
21803 )__ASSUME_EVENTFD2): Likewise.
21804 (__ASSUME_SIGNALFD4): Likewise.
21805 (__ASSUME_PSELECT): Do not undefine conditionally.
21806 (__ASSUME_PPOLL): Likewise.
21807 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21808 (__ASSUME_PSELECT): Define unconditionally.
21809 (__ASSUME_PPOLL): Likewise.
21810 (__ASSUME_O_CLOEXEC): Likewise.
21811 (__ASSUME_SOCK_CLOEXEC): Likewise.
21812 (__ASSUME_IN_NONBLOCK): Likewise.
21813 (__ASSUME_PIPE2): Likewise.
21814 (__ASSUME_EVENTFD2): Likewise.
21815 (__ASSUME_SIGNALFD4): Likewise.
21816 (__ASSUME_DUP3): Likewise.
21817 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21818 (__ASSUME_O_CLOEXEC): Likewise.
21819 (__ASSUME_SOCK_CLOEXEC): Likewise.
21820 (__ASSUME_IN_NONBLOCK): Likewise.
21821 (__ASSUME_PIPE2): Likewise.
21822 (__ASSUME_EVENTFD2): Likewise.
21823 (__ASSUME_SIGNALFD4): Likewise.
21824 (__ASSUME_DUP3): Likewise.
21825 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21826 (__ASSUME_EVENTFD2): Likewise.
21827 (__ASSUME_SIGNALFD4): Likewise.
21828 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21829
21830 2014-05-12 Andreas Schwab <schwab@suse.de>
21831
21832 [BZ #16932]
21833 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21834 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21835 than maximum RPC packet size.
21836 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21837 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21838 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21839 (_nss_nis_getservbyport_r): Likewise.
21840
21841 2014-05-12 Will Newton <will.newton@linaro.org>
21842
21843 * malloc/Makefile (tests): Add tst-mallopt.
21844 * malloc/tst-mallopt.c: New file.
21845
21846 2014-05-09 Roland McGrath <roland@hack.frob.com>
21847
21848 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21849 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21850
21851 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852
21853 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21854 (tst-tlsmod6.so): Likewise.
21855
21856 2014-05-09 Roland McGrath <roland@hack.frob.com>
21857
21858 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21859
21860 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21861
21862 [BZ #16064]
21863 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21864 and <dl-procinfo.h>.
21865 (__fegetenv): Save SSE state in envp->__eip if supported.
21866 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21867 envp->__eip if supported.
21868 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21869 and <dl-procinfo.h>.
21870 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21871 __data_offset and __data_selector in environment to 0. Set SSE
21872 state if supported.
21873 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21874 test-fenv-sse.
21875 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21876 -mfpmath=sse.
21877 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21878
21879 2014-05-09 Will Newton <will.newton@linaro.org>
21880
21881 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21882 and libc_relro_required for ARM.
21883 * sysdeps/arm/preconfigure: Regenerate.
21884
21885 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21886 Stefan Liebler <stli@linux.vnet.ibm.com>
21887
21888 * config.make.in (enable-lock-elision): New Makefile variable.
21889 * configure.ac: Likewise.
21890 * configure: Regenerate.
21891 * sysdeps/s390/configure.ac:
21892 Add check for gcc transactions support.
21893 * sysdeps/s390/configure: Regenerate.
21894 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21895 Build elision files if enabled.
21896 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21897 Add lock elision support for s390.
21898 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21899 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21900 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21901 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21902 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21903 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21904 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21905 Likewise.
21906 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21907 Likewise.
21908 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21909 Likewise.
21910 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21911 Likewise.
21912 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21913 (__lll_timedlock_elision, __lll_lock_elision)
21914 (__lll_unlock_elision, __lll_trylock_elision)
21915 (lll_timedlock_elision, lll_lock_elision)
21916 (lll_unlock_elision, lll_trylock_elision): Add.
21917 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21918 (pthread_mutex_t): Add lock elision support for s390.
21919
21920 2014-05-14 Wilco <wdijkstr@arm.com>
21921
21922 * sysdeps/arm/fclrexcpt.c: Cleanup.
21923 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21924 * sysdeps/arm/feenablxcpt.c: Cleanup.
21925 * sysdeps/arm/fegetenv.c: Cleanup.
21926 * sysdeps/arm/fegetexcept.c: Cleanup.
21927 * sysdeps/arm/fegetround.c: Cleanup.
21928 * sysdeps/arm/feholdexcpt.c: Cleanup.
21929 * sysdeps/arm/fesetenv.c: Cleanup.
21930 * sysdeps/arm/fesetround.c: Cleanup.
21931 * sysdeps/arm/feupdateenv.c: Cleanup.
21932 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21933 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21934 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21935 * sysdeps/arm/ftestexcept.c: Cleanup.
21936 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21937 * sysdeps/arm/setfpucw.c: Cleanup.
21938
21939 2014-05-09 Will Newton <will.newton@linaro.org>
21940
21941 * sysdeps/arm/armv7/strcmp.S: New file.
21942 * NEWS: Mention addition of ARMv7 optimized strcmp.
21943
21944 2014-05-08 Roland McGrath <roland@hack.frob.com>
21945
21946 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21947 look for %.ac rather than %.in.
21948
21949 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21950 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21951 * sysdeps/mach/hurd/configure: Regenerated.
21952 * sysdeps/unix/sysv/linux/configure: Regenerated.
21953
21954 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21955
21956 2014-05-07 Steve Ellcey <sellcey@mips.com>
21957
21958 [BZ# 16922]
21959 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21960 (LONG_SUB): Ditto.
21961 (PTR_SUB): Ditto.
21962
21963 2014-05-07 Andreas Schwab <schwab@suse.de>
21964
21965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21966 when skipping over non-matching result from nscd.
21967
21968 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21969
21970 [BZ #16876]
21971 * nptl/sockperf.c (client): Check socket return value.
21972
21973 [BZ #16877]
21974 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21975 nscd security class.
21976
21977 2014-05-06 Roland McGrath <roland@hack.frob.com>
21978
21979 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21980 * sysdeps/arm/unwind.h: ... here.
21981
21982 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21983
21984 [BZ# 16916]
21985 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21986 Define.
21987
21988 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21989
21990 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21991 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21992 multiarch strncpy for PPC64.
21993 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21994 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21996 multiarch optimizations.
21997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21998 (__libc_ifunc_impl_list): Likewise.
21999 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22000 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22001 multiarch stpncpy for PPC64.
22002 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22003 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22004
22005 2014-05-06 Andreas Schwab <schwab@suse.de>
22006
22007 [BZ #16912]
22008 * gmon/mcount.c (_MCOUNT_DECL): Use
22009 atomic_compare_and_exchange_bool_acq instead of
22010 catomic_compare_and_exchange_bool_acq.
22011
22012 2014-05-05 Roland McGrath <roland@hack.frob.com>
22013
22014 * elf/Makefile (others, install-bin): Remove pldd.
22015 (pldd-modules): Variable removed.
22016 ($(objpfx)pldd): Target removed.
22017 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22018 (others, install-bin): Append pldd here.
22019 ($(objpfx)pldd): New target.
22020
22021 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22022 to 0, so the first #if test emitted later doesn't see it undefined.
22023 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22024 * sysdeps/gnu/errlist.c: Regenerated.
22025
22026 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22027
22028 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22029 [libc_hidden_builtin_def]: Define to empty value.
22030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22031 [libc_hidden_builtin_def]: Likewise.
22032 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22033 [libc_hidden_builtin_def]: Likewise.
22034 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22035 [libc_hidden_builtin_def]: Likewise.
22036 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22037 __redirect_memcpy and define ifunc as default hidden symbol.
22038 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22039 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22040
22041 2014-05-04 Adam Conrad <adconrad@0c3.net>
22042
22043 * locale/iso-4217.def: Reintroduce XDR currency.
22044
22045 2014-05-04 Allan McRae <allan@archlinux.org>
22046
22047 * po/eo.po: Update Esperanto translation from translation project.
22048
22049 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22050
22051 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22052 and FEATURE_INDEX_MAX to 1.
22053 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22054
22055 2014-05-01 Steve Ellcey <sellcey@mips.com>
22056
22057 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22058 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22059 * iconvdata/big5.c (ONE_DIRECTION): Define.
22060 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22061 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22062 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22063 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22064 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22065 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22066 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22067 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22068 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22069 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22070 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22071 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22072 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22073 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22074 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22075 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22076 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22077 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22078 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22079 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22080 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22081 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22082 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22083 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22084 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22085 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22086 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22087 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22088 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22089 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22090 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22091 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22092 * iconvdata/johab.c (ONE_DIRECTION): Define.
22093 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22094 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22095 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22096 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22097 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22098 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22099 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22100 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22101 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22102 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22103
22104 2014-05-01 Roland McGrath <roland@hack.frob.com>
22105
22106 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22107 (_IO_JUMPS_OFFSET): Define to 0.
22108
22109 * nptl/sysdeps/pthread/bits/libc-lock.h
22110 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22111 (__libc_lock_define_initialized_recursive): Always define using
22112 initializer. Modern compilers treat uninitialized (implicit zero) and
22113 explicit zero initializers the same (i.e. put the datum in bss).
22114
22115 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22116
22117 * nscd/nscd-client.h: Include <string.h>.
22118
22119 2014-05-01 David S. Miller <davem@davemloft.net>
22120
22121 [BZ #16885]
22122 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22123 multiple zero bytes exist at the end of a string.
22124 Reported by Aurelien Jarno <aurelien@aurel32.net>
22125
22126 * string/test-strcmp.c (check): Add explicit test for situations where
22127 there are multiple zero bytes after the first.
22128
22129 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22130
22131 [BZ #16890]
22132 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22133 when compiling wprintf.
22134 * stdio-common/tstdiomisc.c (t3): New function.
22135 (main): Call it.
22136
22137 2014-05-01 Steve Ellcey <sellcey@mips.com>
22138
22139 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22140 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22141 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22142 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22143
22144 2014-05-01 Steve Ellcey <sellcey@mips.com>
22145
22146 * stdlib/longlong.h: Updated from GCC.
22147
22148 2014-05-01 Will Newton <will.newton@linaro.org>
22149 Bernard Ogden <bernie.ogden@linaro.org>
22150
22151 * NEWS: Update fixed bug list.
22152
22153 [BZ #15119]
22154 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22155
22156 2014-04-30 David S. Miller <davem@davemloft.net>
22157
22158 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22159 (libc_feholdexcept_setround_sparc_ctx): New function.
22160 (libc_fesetenv_sparc_ctx): Likewise.
22161 (libc_feupdateenv_sparc_ctx): Likewise.
22162 (libc_feholdsetround_sparc_ctx): Likewise.
22163 (libc_feholdexcept_setround_ctx): Define.
22164 (libc_feholdexcept_setroundf_ctx): Likewise.
22165 (libc_feholdexcept_setroundl_ctx): Likewise.
22166 (libc_fesetenv_ctx): Likewise.
22167 (libc_fesetenvf_ctx): Likewise.
22168 (libc_fesetenvl_ctx): Likewise.
22169 (libc_feupdateenv_ctx): Likewise.
22170 (libc_feupdateenvf_ctx): Likewise.
22171 (libc_feupdateenvl_ctx): Likewise.
22172 (libc_feresetround_ctx): Likewise.
22173 (libc_feresetroundf_ctx): Likewise.
22174 (libc_feresetroundl_ctx): Likewise.
22175 (libc_feholdsetround_ctx): Likewise.
22176 (libc_feholdsetroundf_ctx): Likewise.
22177 (libc_feholdsetroundl_ctx): Likewise.
22178
22179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22180 with __USE_GNU instead of XOPEN cpp guards.
22181
22182 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22183 0.
22184
22185 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22186 with XOPEN cpp guards.
22187
22188 2014-04-30 Julian Brown <julian@codesourcery.com>
22189
22190 [BZ #16888]
22191 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22192 handling.
22193
22194 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22195
22196 [BZ #9894]
22197 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22198 Change to 2.6.32.
22199 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22200 * sysdeps/unix/sysv/linux/configure: Regenerated.
22201 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22202 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22203 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22204 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22205 * README: Update reference to required Linux kernel version.
22206 * manual/install.texi (Linux): Update reference to required Linux
22207 kernel headers version.
22208 * INSTALL: Regenerated.
22209
22210 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22211 header inclusion.
22212 [POSIX] (limits.h): Likewise.
22213 [POSIX] (math.h): Likewise.
22214 [POSIX] (sys/wait.h): Likewise.
22215 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22216 function.
22217 [POSIX] (stddef.h): Do not allow header inclusion.
22218
22219 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22220
22221 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22222
22223 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22224
22225 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22226 Return immediately after lll_futex_wake.
22227
22228 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22229
22230 [BZ #16791]
22231 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22232 structure.
22233 (datahead_init_pos): Call datahead_init_common early.
22234 (datahead_init_neg): Likewise.
22235
22236 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22237 datahead_init_neg): New functions.
22238 * nscd/aicache.c (addhstaiX): Use them.
22239 * nscd/grpcache.c (cache_addgr): Likewise.
22240 * nscd/hstcache.c (cache_addhst): Likewise.
22241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22242 * nscd/netgroupcache.c (do_notfound): Likewise.
22243 (addgetnetgrentX): Likewise.
22244 (addinnetgrX): Likewise.
22245 * nscd/pwdcache.c (cache_addpw): Likewise.
22246 * nscd/servicescache.c (cache_addserv): Likewise.
22247
22248 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22249 Atsushi Onoe <atsushi@onoe.org>
22250
22251 [BZ #14308]
22252 [BZ #12994]
22253 [BZ #13651]
22254 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22255 one response is valid.
22256 * resolv/res_send.c (send_dg): Check for validity of other
22257 response if the current response is a referral.
22258
22259 2014-04-29 Steve Ellcey <sellcey@mips.com>
22260
22261 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22262
22263 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22264
22265 [BZ #16823]
22266 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22267 Always divide by positive zero when computing -Inf result.
22268 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22269 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22270
22271 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22272
22273 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22274 FPSCR if value do not change.
22275 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22276 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22277 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22278 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22279 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22280 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22281 function.
22282
22283 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22284
22285 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22286 * sysdeps/unix/sysv/linux/hppa: Move directory from
22287 ports/systeps/unix/sysv/linux/hppa.
22288 * README: Update listing for hppa-*-linux-gnu.
22289
22290 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22291
22292 [BZ #16754]
22293 * manual/stdio.texi (Hook functions): Fix types of stream hook
22294 functions.
22295 [BZ #16854]
22296 * socket/sys/socket.h: Fix typo in comment.
22297
22298 2014-04-28 Wilco <wdijkstr@arm.com>
22299
22300 * sysdeps/arm/fenv_private.h: New file.
22301 * sysdeps/arm/math_private.h: New file.
22302 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22303
22304 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22305
22306 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22307 with __int128_t.
22308 (La_x86_64_retval): Likewise.
22309
22310 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22311
22312 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22313 fpsr if value didn't change.
22314 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22315 to fpcr if value didn't change.
22316 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22317 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22318 fpsr or fpcr if value didn't change.
22319 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22320 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22321 fpcr if value didn't change.
22322 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22323 to fpsr if value didn't change.
22324
22325 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22326
22327 * nptl/tst-sem3.c: Use test-skeleton.c
22328 (main): Rename to do_test. Use return instead of
22329 exit.
22330 * nptl/tst-sem4.c: Use test-skeleton.c
22331 (main): Rename to do_test.
22332
22333 2014-04-22 David S. Miller <davem@davemloft.net>
22334
22335 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22336 (struct sigaction): New struct member __glibc_reserved0, change
22337 type of sa_flags to int.
22338
22339 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22340
22341 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22342 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22343
22344 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22345
22346 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22347 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22348
22349 2014-04-22 Will Newton <will.newton@linaro.org>
22350 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22351
22352 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22353 (__longjmp): Add longjmp and longjmp_target SystemTap
22354 probes.
22355 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22356 (__sigsetjmp): Add setjmp SystemTap probe.
22357
22358 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22359
22360 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22361 match manual order.
22362
22363 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22364
22365 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22366
22367 * sysdeps/powerpc/fpu/fenv_private.h
22368 (libc_feholdexcept_setroundl_ctx): Define to
22369 libc_feholdexcept_setround_ppc_ctx.
22370 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22371 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22372 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22373 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22374
22375 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22376
22377 * sysdeps/aarch64/math-tests.h: New file.
22378
22379 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22380
22381 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22382 New.
22383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22384 Check and set bit_AVX2_Usable.
22385 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22386 macro.
22387 (bit_AVX2): Likewise.
22388 (index_AVX2_Usable): Likewise.
22389 (CPUID_AVX2): Likewise.
22390 (HAS_AVX2): Likewise.
22391
22392 2014-04-17 Will Newton <will.newton@linaro.org>
22393
22394 * manual/setjmp.texi (System V contexts): Add note that
22395 calling setcontext on a context created by a call to a
22396 signal handler is undefined. Update text to note that
22397 setcontext from a signal handler is possible but not
22398 recommended.
22399
22400 [BZ #16629]
22401 * stdlib/tst-setcontext.c: Include signal.h.
22402 (main): Check that the signal stack before and
22403 after swapcontext is the same.
22404
22405 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22406 Re-implement to restore registers in user code and avoid
22407 rt_sigreturn system call.
22408
22409 2014-04-17 Wilco <wdijkstr@arm.com>
22410
22411 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22412 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22413 * math/test-fenv.c: Skip exception trap tests on targets which only
22414 support non-stop mode.
22415
22416 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22417 Wilco Dijkstra <wilco.dijkstra@arm.com>
22418
22419 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22420 (libc_feholdsetround_aarch64_ctx)
22421 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22422 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22423 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22424 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22425 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22426 (libc_feresetround_noexl_ctx): Define.
22427
22428 2014-04-16 Richard Henderson <rth@redhat.com>
22429
22430 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22431
22432 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22433 unwind tables.
22434
22435 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22436 const from the non-libc, non-ldso copy.
22437
22438 * sysdeps/alpha/libm-test-ulps: Regenerate.
22439
22440 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22441 Wilco Dijkstra <wilco.dijkstra@arm.com>
22442
22443 * sysdeps/aarch64/fpu/math_private.h: New file.
22444
22445 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22446
22447 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22448
22449 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22450
22451 [BZ #16275]
22452 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22453 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22455 Intel MPX bound registers before _dl_profile_fixup.
22456 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22457 registers after _dl_profile_fixup. Save and restore bound
22458 registers bnd0/bnd1 when calling _dl_call_pltexit.
22459 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22460 (LR_BND_OFFSET): Likewise.
22461 (LRV_BND0_OFFSET): Likewise.
22462 (LRV_BND1_OFFSET): Likewise.
22463
22464 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22465
22466 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22467 to...
22468 * sysdeps/mach/hurd/i386/tls.h: ... here.
22469 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22470 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22471 fields.
22472
22473 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22474
22475 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22476
22477 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22478
22479 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22480
22481 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22482
22483 [BZ #14770]
22484 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22485 * sysdeps/s390/configure: Regenerate.
22486
22487 [BZ #16824]
22488 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22489 Set round-to-nearest internally to reduce error accumulation.
22490
22491 2014-04-16 Alan Modra <amodra@gmail.com>
22492
22493 [BZ #16740]
22494 [BZ #16619]
22495 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22496 * math/libm-test.inc (frexp_test_data): Add tests.
22497 * NEWS: Update fixed bug list.
22498
22499 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22500
22501 * benchtests/Makefile: Depend on libraries in build directory.
22502 (bench-math): Separate out math tests.
22503 (bench-pthread): Separate out pthread tests.
22504 (bench): Include math and pthread tests.
22505
22506 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22507
22508 [BZ #16831]
22509 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22510 _dl_debug_initialize.
22511
22512 * configure.ac: Remove SELinux header check.
22513 * configure: Regenerate.
22514 * nscd/selinux.c (perms): Array of const char* to permission names.
22515 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22516 default policy. Call string_to_security_class and string_to_av_perm to
22517 translate strings. Enforce default policy and call avs_has_perm with
22518 results of translated strings.
22519
22520 2014-04-13 David S. Miller <davem@davemloft.net>
22521
22522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22523
22524 2014-04-12 Allan McRae <allan@archlinux.org>
22525
22526 [BZ #16838]
22527 * manual/string.texi (Collation Functions): Fix qsort argument
22528 order in example.
22529 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22530
22531 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22532
22533 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22534 Make the test a no-op if there are no exceptions defined.
22535
22536 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22537
22538 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22539 enable-hardcoded-path-in-tests
22540
22541 2014-04-11 Will Newton <will.newton@linaro.org>
22542
22543 * benchtests/Makefile (extra-objs): Add json-lib.o.
22544 (bench-func): Tidy up JSON output.
22545 * benchtests/bench-skeleton.c: Include json-lib.h.
22546 (main): Use JSON library functions to do output of
22547 benchmark results.
22548 * benchtests/bench-timing-type.c (main): Output the
22549 timing type simply, leaving formatting to the user.
22550 * benchtests/json-lib.c: New file.
22551 * benchtests/json-lib.h: Likewise.
22552
22553 2014-04-11 Torvald Riegel <triegel@redhat.com>
22554
22555 [BZ #15215]
22556 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22557 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22558 memory barriers. Add comments.
22559 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22560 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22561 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22562 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22563 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22564 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22565
22566 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22567
22568 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22569 * sysdeps/s390/s390-64/configure.ac: ... this ...
22570 * sysdeps/s390/configure.ac: ... to here.
22571 * sysdeps/s390/s390-32/configure: Delete file.
22572 * sysdeps/s390/s390-64/configure: Delete file.
22573 * sysdeps/s390/configure: Regenerate.
22574
22575 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22576
22577 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22578
22579 2014-04-11 Will Newton <will.newton@linaro.org>
22580
22581 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22582 to zero if it is not defined elsewhere. (mtrim): Test
22583 the value of MALLOC_DEBUG with #if rather than #ifdef.
22584
22585 2014-04-10 Torvald Riegel <triegel@redhat.com>
22586
22587 * benchtests/pthread_once-inputs: New file.
22588 * benchtests/pthread_once-source.c: New file.
22589 * benchtests/README: Update documentation.
22590
22591 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22592 H.J. Lu <hongjiu.lu@intel.com>
22593
22594 [BZ #16275]
22595 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22596 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22597 * sysdeps/x86_64/configure: Regenerated.
22598 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22599 macro.
22600 (REGISTER_SAVE_RAX): Likewise.
22601 (REGISTER_SAVE_RCX): Likewise.
22602 (REGISTER_SAVE_RDX): Likewise.
22603 (REGISTER_SAVE_RSI): Likewise.
22604 (REGISTER_SAVE_RDI): Likewise.
22605 (REGISTER_SAVE_R8): Likewise.
22606 (REGISTER_SAVE_R9): Likewise.
22607 (REGISTER_SAVE_BND0): Likewise.
22608 (REGISTER_SAVE_BND1): Likewise.
22609 (REGISTER_SAVE_BND2): Likewise.
22610 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22611 bound registers when calling _dl_fixup.
22612
22613 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22614
22615 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22616 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22617 of its definition.
22618 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22619 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22620 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22621 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22622 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22623 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22624 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22625
22626 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22627
22628 [BZ #15514]
22629 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22630 pathconf(_PC_NAME_MAX).
22631
22632 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22633
22634 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22635 Remove macro usage.
22636 (__PTHREAD_SPINS): Move definition to ...
22637 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22638 (__PTHREAD_SPINS): ... here.
22639 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22640 (__PTHREAD_SPIN): Likewise.
22641 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22642 (__PTHREAD_SPIN): Likewise.
22643 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22644 (__PTHREAD_SPIN): Likewise.
22645 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22646 (__PTHREAD_SPIN): Likewise.
22647 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22648 (__PTHREAD_SPIN): Likewise.
22649 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22650 (__PTHREAD_SPIN): Likewise.
22651 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22652 (__PTHREAD_SPIN): Likewise.
22653 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22654 (__PTHREAD_SPIN): Likewise.
22655 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22656 (__PTHREAD_SPIN): Likewise.
22657 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22658 (__PTHREAD_SPIN): Likewise.
22659 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22660 (__PTHREAD_SPIN): Likewise.
22661 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22662 (__PTHREAD_SPIN): Likewise.
22663
22664 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22665 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22666 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22667 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22668 imply folder.
22669 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22670 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22671 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22672 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22673 correct imply path.
22674 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22675 strlen symbol for non multi-arch builds.
22676 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22677 missing hidden_def and weak_alias.
22678
22679 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22680
22681 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22682
22683 2014-04-07 Will Newton <will.newton@linaro.org>
22684
22685 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22686 and contents. [!_LIBC] Remove #ifndef and contents.
22687 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22688 * string/memccpy.c (__memccpy): Use ANSI prototype.
22689 * string/memfrob.c (memfrob): Likewise.
22690 * string/strcoll.c (STRCOLL): Likewise.
22691 * string/strlen.c (strlen): Likewise.
22692 * string/strtok.c (STRTOK): Likewise.
22693 * string/strcat.c: Remove unused #include of memcopy.h.
22694 (strcat): Use ANSI prototype.
22695 * string/strchr.c: Remove unused #include of memcopy.h.
22696 (strchr): Use ANSI prototype.
22697 * string/strcmp.c: Remove unused #include of memcopy.h.
22698 (strcmp): Use ANSI prototype.
22699 * string/strcpy.c: Remove unused #include of memcopy.h.
22700 (strcpy): Use ANSI prototype.
22701
22702 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22703
22704 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22705 * config.make.in (config-extra-cppflags): Set it from
22706 libc_extra_cppflags.
22707 * configure.ac (libc_extra_cflags): Make it accumulate over
22708 configure fragments.
22709 (libc_extra_cppflags): New flag.
22710 * configure. Regenerate.
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22712 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22713 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22715
22716 [BZ #16815]
22717 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22718 result for FE_DOWNWARD rounding mode.
22719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22720 Likewise.
22721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22722
22723 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22724
22725 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22726 in function argument name.
22727
22728 2014-04-03 David Svoboda <svoboda@cert.org>
22729
22730 [BZ #5666]
22731 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22732 explicitly.
22733
22734 2014-04-03 Roland McGrath <roland@hack.frob.com>
22735
22736 * elf/dl-unmap-segments.h: New file.
22737 * sysdeps/generic/ldsodefs.h
22738 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22739 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22740 * elf/dl-fptr.c: Likewise.
22741 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22742 * sysdeps/aarch64/tlsdesc.c: Likewise.
22743 * sysdeps/arm/tlsdesc.c: Likewise.
22744 * sysdeps/i386/tlsdesc.c: Likewise.
22745 * sysdeps/tile/dl-runtime.c: Likewise.
22746 * sysdeps/x86_64/tlsdesc.c: Likewise.
22747 * elf/dl-load.h: New file.
22748 * elf/dl-load.c: Include it.
22749 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22750 Macros moved to dl-load.h.
22751 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22752 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22753 Use _dl_unmap_segments in place of __munmap.
22754 Break out segment-mapping loop into ...
22755 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22756
22757 2014-04-03 Will Newton <will.newton@linaro.org>
22758
22759 * elf/dl-lookup.c (do_lookup_x): Remove comment
22760 referring to nested function and move variable
22761 declarations down to before first use.
22762
22763 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22764
22765 [BZ #16799]
22766 [BZ #16800]
22767 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22768 with 0 numerator.
22769 * math/s_catanf.c (__catanf): Likewise.
22770 * math/s_catanh.c (__catanh): Likewise.
22771 * math/s_catanhf.c (__catanhf): Likewise.
22772 * math/s_catanhl.c (__catanhl): Likewise.
22773 * math/s_catanl.c (__catanl): Likewise.
22774 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22775 by positive zero when computing -Inf result.
22776 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22777 (catanh_test): Likewise.
22778 * sysdeps/i386/fpu/libm-test-ulps: Update.
22779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22780
22781 [BZ #16789]
22782 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22783 instead of using underflowing value in computing result.
22784 * math/s_clog10.c (__clog10): Likewise.
22785 * math/s_clog10f.c (__clog10f): Likewise.
22786 * math/s_clog10l.c (__clog10l): Likewise.
22787 * math/s_clogf.c (__clogf): Likewise.
22788 * math/s_clogl.c (__clogl): Likewise.
22789 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22790 (clog10_test): Likewise.
22791 * sysdeps/i386/fpu/libm-test-ulps: Update.
22792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22793
22794 2014-04-02 Alan Modra <amodra@gmail.com>
22795
22796 [BZ #16739]
22797 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22798 output when value is near a power of two. Use int64_t for lx and
22799 remove casts. Use decimal rather than hex exponent constants.
22800 Don't use long double multiplication when double will suffice.
22801 * math/libm-test.inc (nextafter_test_data): Add tests.
22802 * NEWS: Add 16739 and 16786 to bug list.
22803
22804 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22805
22806 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22807
22808 2014-04-01 Will Newton <will.newton@linaro.org>
22809
22810 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22811 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22812
22813 2014-04-01 Florian Weimer <fweimer@redhat.com>
22814
22815 [BZ #13347]
22816 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22817 * nptl/tst-setuid2.c: New file.
22818 * nptl/Makefile (xtests): Add tst-setuid2.
22819
22820 2014-04-01 Alan Modra <amodra@gmail.com>
22821
22822 [BZ #16786]
22823 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22824
22825 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22826
22827 [BZ #6803]
22828 [BZ #6804]
22829 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22830 set errno as appropriate.
22831 * math/w_scalbf.c (__scalbf): Likewise.
22832 * math/w_scalbl.c (__scalbl): Likewise.
22833 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22834 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22835 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22836 Add more NaN tests.
22837
22838 [BZ #16349]
22839 * math/w_atan2.c: Include <errno.h>.
22840 (__atan2): Set errno for result underflowing to zero.
22841 * math/w_atan2f.c: Include <errno.h>.
22842 (__atan2f): Set errno for result underflowing to zero.
22843 * math/w_atan2l.c: Include <errno.h>.
22844 (__atan2l): Set errno for result underflowing to zero.
22845 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22846 tests.
22847 * math/auto-libm-test-out: Regenerated.
22848
22849 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22850
22851 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22852 Encode instruction correctly in little endian.
22853 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22854 Likewise.
22855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22856 Likewise.
22857 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22858 Likewise.
22859 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22860 Likewise.
22861
22862 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22863
22864 [BZ #9894]
22865 * sysdeps/unix/sysv/linux/kernel-features.h
22866 [__sparc__ && !__arch64__ && !__sparc_v9__]
22867 (__ASSUME_SET_ROBUST_LIST): Do not define.
22868 [__sparc__ && !__arch64__ && !__sparc_v9__]
22869 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22870 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22871 Likewise.
22872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22873 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22874 (__ASSUME_REQUEUE_PI): Likewise.
22875 (__ASSUME_SET_ROBUST_LIST): Likewise.
22876 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22877 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22878 Undefine.
22879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22880 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22881 Likewise.
22882 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22883 Likewise.
22884 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22885 Likewise.
22886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22887 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22888 Undefine.
22889 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22890 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22891 Likewise.
22892
22893 [BZ #16648]
22894 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22895 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22896 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22897
22898 2014-03-31 Will Newton <will.newton@linaro.org>
22899
22900 * benchtests/Makefile (bench): Add ffs and ffsll to list
22901 of tests.
22902 * benchtests/ffs-inputs: New file.
22903 * benchtests/ffsll-inputs: Likewise.
22904
22905 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22906
22907 [BZ #16770]
22908 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22909 too large before casting to int.
22910 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22911 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22912 * math/libm-test.inc (scalb_test_data): Add more tests.
22913
22914 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22915
22916 * benchtests/Makefile (DETAILED_OPT): New make option.
22917 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22918 set.
22919 * benchtests/bench-skeleton.c: Include stdbool.h.
22920 (main): Store and print timings per input.
22921 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22922 member to each argument value.
22923 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22924 (_print_arg_data): Initialize per-input timing to 0.
22925
22926 * benchtests/Makefile (timing-type): New binary.
22927 (bench-clean): Also remove bench-timing-type.
22928 (bench): New target for timing-type.
22929 (bench-func): Print output in JSON format.
22930 * benchtests/bench-skeleton.c (main): Print output in JSON
22931 format.
22932 * benchtests/bench-timing-type.c: New file.
22933 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22934 (TIMING_PRINT_STATS): Remove.
22935 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22936 name separately.
22937
22938 * benchtests/bench-modf.c: Remove.
22939 * benchtests/modf-inputs: New inputs file.
22940
22941 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22942
22943 [BZ #16362]
22944 * math/s_clog10.c (M_PI_LOG10E): New macro.
22945 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22946 imaginary parts are 0.
22947 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22948 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22949 imaginary parts are 0.
22950 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22951 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22952 imaginary parts are 0.
22953 * math/libm-test.inc (clog10_test_data): Update expected results
22954 for when real and imaginary parts are 0.
22955
22956 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22957
22958 * elf/dl-load.c: Finish conversion of __builtin_expect into
22959 __glibc_{un}likely.
22960
22961 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22962
22963 [BZ #16348]
22964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22965 1+x for argument with exponent below -67.
22966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22967 Likewise.
22968 * math/auto-libm-test-in: Add more tests of exp.
22969 * math/auto-libm-test-out: Regenerated.
22970
22971 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22972
22973 [BZ #16759]
22974 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22975 (nscd_getnetgrent): Use it.
22976
22977 [BZ #16760]
22978 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22979 of stpcpy.
22980
22981 2014-03-27 Andi Kleen <ak@linux.intel.com>
22982
22983 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22984 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22985 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22986 (lll_robust_unlock): Remove out of line section. Use cfi
22987 intrinsics.
22988 (LLL_STUB_UNWIND_INFO*): Remove.
22989 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22990 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22991 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22992 (lll_robust_unlock): Remove out of line section. Use cfi
22993 intrinsics.
22994 (LLL_STUB_UNWIND_INFO*): Remove.
22995
22996 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22997
22998 [BZ #16758]
22999 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23000 blank values.
23001
23002 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23003
23004 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23005
23006 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23007
23008 [BZ #16198]
23009 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23010 fnstenv.
23011 * math/test-fenv-preserve.c: New file.
23012 * math/Makefile (tests): Add test-fenv-preserve.
23013
23014 2014-03-26 Will Newton <will.newton@linaro.org>
23015
23016 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23017
23018 2014-03-25 Roland McGrath <roland@hack.frob.com>
23019
23020 * scripts/versionlist.awk: Partition the version sets and emit all
23021 GLIBC_* (sorted) before all others (sorted).
23022
23023 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23024
23025 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23026 GLIBC_2.2.5 version.
23027
23028 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23029
23030 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23031 calls.
23032
23033 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23034 previous change.
23035
23036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23037
23038 2014-03-25 Andreas Schwab <schwab@suse.de>
23039
23040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23041 label to be used after in6ailist is initialized.
23042
23043 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23044
23045 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23046 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23047
23048 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23049
23050 [BZ #16357]
23051 [BZ #16599]
23052 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23053 min_plus_half.
23054 (fp_formats): Update initializers.
23055 (init_fp_formats): Initialize new field.
23056 (output_for_one_input_case): Allow underflow for results up to
23057 min_plus_half.
23058 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23059 * math/auto-libm-test-in: Don't mark some underflows from asin and
23060 atanh as spurious.
23061 * math/auto-libm-test-out: Regenerated.
23062 * sysdeps/i386/fpu/libm-test-ulps: Update.
23063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23064
23065 2014-03-25 Andreas Schwab <schwab@suse.de>
23066
23067 * libio/Makefile (tst-ftell-partial-wide-ENV)
23068 (tst-ftell-active-handler-ENV): Define.
23069
23070 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23071
23072 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23073
23074 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23075
23076 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23077
23078 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23079
23080 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23081 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23082 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23083
23084 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23085
23086 [BZ #16634]
23087 * elf/dl-load.c (open_verify): Add mode parameter.
23088 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23089 (open_path): Change from boolean 'secure' to complete flag 'mode'
23090 (_dl_map_object): Adjust.
23091 * elf/Makefile (tests): Add tst-dlopen-aout.
23092 * elf/tst-dlopen-aout.c: New test.
23093
23094 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23095
23096 [BZ #16714]
23097 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23098 (struct stat): Rename member pad0 to __glibc_reserved0.
23099
23100 [BZ #16712]
23101 * sysdeps/s390/s390-32/bits/wordsize.h
23102 (__WORDSIZE32_SIZE_ULONG): New define.
23103 * sysdeps/s390/s390-64/bits/wordsize.h
23104 (__WORDSIZE32_SIZE_ULONG): Likewise.
23105 * sysdeps/generic/stdint.h (SIZE_MAX):
23106 Define as UL if __WORDSIZE32_SIZE_ULONG.
23107
23108 [BZ #16713]
23109 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23110 (__glibc_reserved0): New variable.
23111 (sa_flags): Change type to int.
23112
23113 * posix/Makefile (before-compile): Use += before-compile instead
23114 of a :=.
23115
23116 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23117 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23118
23119 2014-03-20 Andreas Schwab <schwab@suse.de>
23120
23121 [BZ #16743]
23122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23123 non-matching result from nscd.
23124
23125 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23126
23127 * scripts/bench.py: Moved to ...
23128 * benchtests/scripts/bench.py: ... here.
23129 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23130
23131 2014-03-24 Andreas Schwab <schwab@suse.de>
23132
23133 [BZ #16002]
23134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23135 alloca_account and account alloca use for struct in6ailist.
23136
23137 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23138
23139 [BZ #16284]
23140 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23141 rounding mode to recompute results that overflow to infinity or
23142 underflow to zero.
23143 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23144 bug 16284.
23145 * math/auto-libm-test-out: Regenerated.
23146 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23147 (ccosh_test): Likewise.
23148 (csin_test_data): Use plus_oflow.
23149 (csin_test): Use ALL_RM_TEST.
23150 (csinh_test_data): Use plus_oflow.
23151 (csinh_test): Use ALL_RM_TEST.
23152 * sysdeps/i386/fpu/libm-test-ulps: Update.
23153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23154
23155 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23156
23157 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23158 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23159 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23160
23161 [BZ #16731]
23162 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23163 when x - 1 is zero.
23164 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23165 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23166 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23168 argument is 1.
23169 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23170 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23171 zero.
23172 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23173 * sysdeps/i386/fpu/libm-test-ulps: Update.
23174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23175
23176 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23177
23178 * scripts/bench.pl: Remove file.
23179 * scripts/bench.py: New benchmark script.
23180 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23181 * benchtests/README: Mention python dependency.
23182 * scripts/pylintrc: New file.
23183 * scripts/pylint: New file.
23184
23185 * bits/mathdef.h: Use #ifdef instead of #if.
23186 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23187 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23188 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23189 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23190 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23191 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23192
23193 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23194 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23195
23196 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23198 and strpbrk-ppc64 objects.
23199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23200 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23201 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23202 multiarch strpbrk for POWER7.
23203 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23204 multiarch strpbrk for PPC64.
23205 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23206 ifunc selector.
23207 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23208 strpbrk for POWER7.
23209
23210 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23211
23212 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23213 (atan_test): Likewise.
23214 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23215 (atanh_test): Use ALL_RM_TEST.
23216 (atan2_test_data): Likewise.
23217 (cabs_test): Likewise.
23218 (cacosh_test): Likewise.
23219 (carg_test): Likewise.
23220 (casin_test): Likewise.
23221 (casinh_test): Likewise.
23222 (cbrt_test): Likewise.
23223 (csqrt_test): Likewise.
23224 (erf_test): Likewise.
23225 (erfc_test): Likewise.
23226 (pow10_test): Likewise.
23227 (exp2_test): Likewise.
23228 (hypot_test): Likewise.
23229 (j0_test): Likewise.
23230 (j1_test): Likewise.
23231 (lgamma_test): Likewise.
23232 (gamma_test): Likewise.
23233 (sincos_test): Likewise.
23234 (tanh_test): Likewise.
23235 (y0_test): Likewise.
23236 (y1_test): Likewise.
23237 * sysdeps/i386/fpu/libm-test-ulps: Update.
23238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239
23240 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23241
23242 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23244 and strcspn-ppc64 objects.
23245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23246 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23247 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23248 multiarch strcspn for POWER7.
23249 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23250 multiarch strcspn for PPC64.
23251 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23252 ifunc selector.
23253 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23254 strcspn for POWER7.
23255
23256 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23257
23258 * math/gen-libm-test.pl (generate_testfile): Expect only function
23259 name as argument to AUTO_TESTS_* and pass results for all rounding
23260 modes to parse_args.
23261 (parse_auto_input): Separate inputs of automatic tests from
23262 outputs before storing in %auto_tests.
23263 * math/libm-test.inc (acos_test_data): Update call to
23264 AUTO_TESTS_f_f.
23265 (acos_test): Use ALL_RM_TEST.
23266 (acos_tonearest_test_data): Remove.
23267 (acos_test_tonearest): Likewise.
23268 (acos_towardzero_test_data): Likewise.
23269 (acos_test_towardzero): Likewise.
23270 (acos_downward_test_data): Likewise.
23271 (acos_test_downward): Likewise.
23272 (acos_upward_test_data): Likewise.
23273 (acos_test_upward): Likewise.
23274 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23275 (asin_test_data): Likewise.
23276 (asin_test): Use ALL_RM_TEST.
23277 (asin_tonearest_test_data): Remove.
23278 (asin_test_tonearest): Likewise.
23279 (asin_towardzero_test_data): Likewise.
23280 (asin_test_towardzero): Likewise.
23281 (asin_downward_test_data): Likewise.
23282 (asin_test_downward): Likewise.
23283 (asin_upward_test_data): Likewise.
23284 (asin_test_upward): Likewise.
23285 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23286 (atan_test_data): Likewise.
23287 (atanh_test_data): Likewise.
23288 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23289 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23290 (carg_test_data): Likewise.
23291 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23292 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23293 (ccosh_test_data): Likewise.
23294 (cexp_test_data): Likewise.
23295 (clog_test_data): Likewise.
23296 (clog10_test_data): Likewise.
23297 (cos_test_data): Update call to AUTO_TESTS_f_f.
23298 (cos_test): Use ALL_RM_TEST.
23299 (cos_tonearest_test_data): Remove.
23300 (cos_test_tonearest): Likewise.
23301 (cos_towardzero_test_data): Likewise.
23302 (cos_test_towardzero): Likewise.
23303 (cos_downward_test_data): Likewise.
23304 (cos_test_downward): Likewise.
23305 (cos_upward_test_data): Likewise.
23306 (cos_test_upward): Likewise.
23307 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23308 (cosh_test): Use ALL_RM_TEST.
23309 (cosh_tonearest_test_data): Remove.
23310 (cosh_test_tonearest): Likewise.
23311 (cosh_towardzero_test_data): Likewise.
23312 (cosh_test_towardzero): Likewise.
23313 (cosh_downward_test_data): Likewise.
23314 (cosh_test_downward): Likewise.
23315 (cosh_upward_test_data): Likewise.
23316 (cosh_test_upward): Likewise.
23317 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23318 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23319 (ctan_test_data): Likewise.
23320 (ctan_test): Use ALL_RM_TEST.
23321 (ctan_tonearest_test_data): Remove.
23322 (ctan_test_tonearest): Likewise.
23323 (ctan_towardzero_test_data): Likewise.
23324 (ctan_test_towardzero): Likewise.
23325 (ctan_downward_test_data): Likewise.
23326 (ctan_test_downward): Likewise.
23327 (ctan_upward_test_data): Likewise.
23328 (ctan_test_upward): Likewise.
23329 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23330 (ctanh_test): Use ALL_RM_TEST.
23331 (ctanh_tonearest_test_data): Remove.
23332 (ctanh_test_tonearest): Likewise.
23333 (ctanh_towardzero_test_data): Likewise.
23334 (ctanh_test_towardzero): Likewise.
23335 (ctanh_downward_test_data): Likewise.
23336 (ctanh_test_downward): Likewise.
23337 (ctanh_upward_test_data): Likewise.
23338 (ctanh_test_upward): Likewise.
23339 (erf_test_data): Update call to AUTO_TESTS_f_f.
23340 (erfc_test_data): Likewise.
23341 (exp_test_data): Likewise.
23342 (exp_test): Use ALL_RM_TEST.
23343 (exp_tonearest_test_data): Remove.
23344 (exp_test_tonearest): Likewise.
23345 (exp_towardzero_test_data): Likewise.
23346 (exp_test_towardzero): Likewise.
23347 (exp_downward_test_data): Likewise.
23348 (exp_test_downward): Likewise.
23349 (exp_upward_test_data): Likewise.
23350 (exp_test_upward): Likewise.
23351 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23352 (exp10_test): Use ALL_RM_TEST.
23353 (exp10_tonearest_test_data): Remove.
23354 (exp10_test_tonearest): Likewise.
23355 (exp10_towardzero_test_data): Likewise.
23356 (exp10_test_towardzero): Likewise.
23357 (exp10_downward_test_data): Likewise.
23358 (exp10_test_downward): Likewise.
23359 (exp10_upward_test_data): Likewise.
23360 (exp10_test_upward): Likewise.
23361 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23362 (expm1_test_data): Likewise.
23363 (expm1_test): Use ALL_RM_TEST.
23364 (expm1_tonearest_test_data): Remove.
23365 (expm1_test_tonearest): Likewise.
23366 (expm1_towardzero_test_data): Likewise.
23367 (expm1_test_towardzero): Likewise.
23368 (expm1_downward_test_data): Likewise.
23369 (expm1_test_downward): Likewise.
23370 (expm1_upward_test_data): Likewise.
23371 (expm1_test_upward): Likewise.
23372 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23373 (fma_test): Use ALL_RM_TEST.
23374 (fma_towardzero_test_data): Remove.
23375 (fma_test_towardzero): Likewise.
23376 (fma_downward_test_data): Likewise.
23377 (fma_test_downward): Likewise.
23378 (fma_upward_test_data): Likewise.
23379 (fma_test_upward): Likewise.
23380 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23381 (j0_test_data): Update call to AUTO_TESTS_f_f.
23382 (j1_test_data): Likewise.
23383 (jn_test_data): Update call to AUTO_TESTS_if_f.
23384 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23385 (log_test_data): Update call to AUTO_TESTS_f_f.
23386 (log10_test_data): Likewise.
23387 (log1p_test_data): Likewise.
23388 (log2_test_data): Likewise.
23389 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23390 (pow_tonearest_test_data): Likewise.
23391 (sin_test_data): Update call to AUTO_TESTS_f_f.
23392 (sin_test): Use ALL_RM_TEST.
23393 (sin_tonearest_test_data): Remove.
23394 (sin_test_tonearest): Likewise.
23395 (sin_towardzero_test_data): Likewise.
23396 (sin_test_towardzero): Likewise.
23397 (sin_downward_test_data): Likewise.
23398 (sin_test_downward): Likewise.
23399 (sin_upward_test_data): Likewise.
23400 (sin_test_upward): Likewise.
23401 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23402 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23403 (sinh_test): Use ALL_RM_TEST.
23404 (sinh_tonearest_test_data): Remove.
23405 (sinh_test_tonearest): Likewise.
23406 (sinh_towardzero_test_data): Likewise.
23407 (sinh_test_towardzero): Likewise.
23408 (sinh_downward_test_data): Likewise.
23409 (sinh_test_downward): Likewise.
23410 (sinh_upward_test_data): Likewise.
23411 (sinh_test_upward): Likewise.
23412 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23413 (sqrt_test): Use ALL_RM_TEST.
23414 (sqrt_tonearest_test_data): Remove.
23415 (sqrt_test_tonearest): Likewise.
23416 (sqrt_towardzero_test_data): Likewise.
23417 (sqrt_test_towardzero): Likewise.
23418 (sqrt_downward_test_data): Likewise.
23419 (sqrt_test_downward): Likewise.
23420 (sqrt_upward_test_data): Likewise.
23421 (sqrt_test_upward): Likewise.
23422 (tan_test_data): Update call to AUTO_TESTS_f_f.
23423 (tan_test): Use ALL_RM_TEST.
23424 (tan_tonearest_test_data): Remove.
23425 (tan_test_tonearest): Likewise.
23426 (tan_towardzero_test_data): Likewise.
23427 (tan_test_towardzero): Likewise.
23428 (tan_downward_test_data): Likewise.
23429 (tan_test_downward): Likewise.
23430 (tan_upward_test_data): Likewise.
23431 (tan_test_upward): Likewise.
23432 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23433 (tgamma_test_data): Likewise.
23434 (y0_test_data): Likewise.
23435 (y1_test_data): Likewise.
23436 (yn_test_data): Update call to AUTO_TESTS_if_f.
23437 (main): Do not call removed functions.
23438
23439 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23440
23441 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23442 (ldexp_test_data): Remove.
23443 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23444 scalbn_test_data.
23445 (scalb_test): Use ALL_RM_TEST.
23446
23447 2014-03-19 Andreas Schwab <schwab@suse.de>
23448
23449 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23450
23451 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23452
23453 [BZ #16649]
23454 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23455 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23456 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23457 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23458 (__ASSUME_PREADV): Undefine.
23459 (__ASSUME_PWRITEV): Likewise.
23460
23461 2014-03-18 Roland McGrath <roland@hack.frob.com>
23462
23463 * bits/mman-linux.h: Add comment about non-Linux use.
23464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23465 bits/mman-linux.h resting place.
23466
23467 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23468 * bits/mman-linux.h: ... here.
23469
23470 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23471
23472 * conform/conformtest.pl: Add standard definition when calling C
23473 preprocessor on data files.
23474 (checknamespace): Remove unused variable.
23475
23476 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23477
23478 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23479 minus_oflow, plus_uflow and minus_uflow in expected results.
23480 * math/libm-test.inc (scalbn_test_data): Add more tests of
23481 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23482 minus_uflow.
23483 (scalbn_test): Use ALL_RM_TEST.
23484 (scalbln_test_data): Add more tests of negative arguments. Use
23485 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23486 (scalbln_test): Use ALL_RM_TEST.
23487
23488 2014-03-18 Roland McGrath <roland@hack.frob.com>
23489
23490 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23491
23492 2014-03-18 Will Newton <will.newton@linaro.org>
23493
23494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23495 inaccurate comment.
23496
23497 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23498
23499 * Makerules [!subdir] (check-abi): Exit with error status if a
23500 test failed.
23501
23502 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23503
23504 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23505 for rint. Include results for all rounding modes.
23506 (nearbyint_test): Use ALL_RM_TEST.
23507 (rint_test_data): Include all tests used for nearbyint.
23508
23509 2014-03-17 Will Newton <will.newton@linaro.org>
23510
23511 * nptl/sysdeps/pthread/pthread.h: Revert previous
23512 change.
23513
23514 * sysdeps/generic/ldsodefs.h: Revert previous
23515 change.
23516
23517 * libio/genops.c: Revert previous change.
23518 * libio/libioP.h: Likewise.
23519 * stdio-common/vfprintf.c: Likewise.
23520
23521 * sysdeps/generic/math_private.h: Revert previous
23522 change.
23523
23524 * sysdeps/generic/math_private.h: Check whether
23525 HAVE_RM_CTX is defined with #ifdef rather
23526 than #if.
23527
23528 * argp/argp-fmtstream.h: Check whether
23529 __STRICT_ANSI__ is defined with #ifdef rather
23530 than #if.
23531 * argp/argp.h: Likewise.
23532
23533 * libio/genops.c: Check whether
23534 _IO_JUMPS_OFFSET is defined with #ifdef rather
23535 than #if.
23536 * libio/libioP.h: Likewise.
23537 * stdio-common/vfprintf.c: Likewise.
23538
23539 * sysdeps/generic/ldsodefs.h: Check whether
23540 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23541 than #if.
23542
23543 * nptl/sysdeps/pthread/pthread.h: Check
23544 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23545 its value.
23546
23547 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23548
23549 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23550 setting O_APPEND.
23551 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23552 test case.
23553
23554 [BZ #16680]
23555 * libio/fileops.c (_IO_file_open): Seek to end of file but
23556 don't cache the offset.
23557 (get_file_offset): Remove function.
23558 (do_ftell): Use cached offset when available.
23559 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23560 don't cache the offset.
23561 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23562 case.
23563 (do_one_test): Call it.
23564 (do_ftell_test): Fix up expected old offset for a+ mode.
23565 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23566 available.
23567
23568 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23569 up test status with function return status.
23570 (do_write_test): Likewise.
23571 (do_append_test): Likewise.
23572
23573 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23574 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23575 Remove.
23576
23577 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23578
23579 * math/gen-libm-test.pl (parse_args): Handle results specified for
23580 each rounding mode separately.
23581 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23582 tests and results from lrint_tonearest_test_data,
23583 lrint_towardzero_test_data, lrint_downward_test_data and
23584 lrint_upward_test_data.
23585 (lrint_test): Use ALL_RM_TEST.
23586 (lrint_tonearest_test_data): Remove.
23587 (lrint_test_tonearest): Likewise.
23588 (lrint_towardzero_test_data): Likewise.
23589 (lrint_test_towardzero): Likewise.
23590 (lrint_downward_test_data): Likewise.
23591 (lrint_test_downward): Likewise.
23592 (lrint_upward_test_data): Likewise.
23593 (lrint_test_upward): Likewise.
23594 (llrint_test_data): Merge in per-rounding-mode tests and results
23595 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23596 llrint_downward_test_data and llrint_upward_test_data.
23597 (llrint_test): Use ALL_RM_TEST.
23598 (llrint_tonearest_test_data): Remove.
23599 (llrint_test_tonearest): Likewise.
23600 (llrint_towardzero_test_data): Likewise.
23601 (llrint_test_towardzero): Likewise.
23602 (llrint_downward_test_data): Likewise.
23603 (llrint_test_downward): Likewise.
23604 (llrint_upward_test_data): Likewise.
23605 (llrint_test_upward): Likewise.
23606 (rint_test_data): Merge in per-rounding-mode tests and results
23607 from rint_tonearest_test_data, rint_towardzero_test_data,
23608 rint_downward_test_data and rint_upward_test_data. Add
23609 per-rounding-mode results for tests not in those arrays.
23610 (rint_test): Use ALL_RM_TEST.
23611 (rint_tonearest_test_data): Remove.
23612 (rint_test_tonearest): Likewise.
23613 (rint_towardzero_test_data): Likewise.
23614 (rint_test_towardzero): Likewise.
23615 (rint_downward_test_data): Likewise.
23616 (rint_test_downward): Likewise.
23617 (rint_upward_test_data): Likewise.
23618 (rint_test_upward): Likewise.
23619 (main): Don't call removed functions.
23620
23621 2014-03-14 Roland McGrath <roland@hack.frob.com>
23622
23623 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23624 "Compiled on ..." crapola. It is anti-useful.
23625
23626 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23627
23628 * scripts/evaluate-test.sh: Handle fourth argument to determine
23629 whether test run should stop on failure.
23630 * Makeconfig (stop-on-test-failure): New variable.
23631 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23632 $(stop-on-test-failure).
23633 * Makefile (tests): Give a summary of results from testing and
23634 exit with failure status if they include an ERROR or FAIL.
23635 (xtests): Likewise.
23636 * manual/install.texi (Configuring and compiling): Mention
23637 stop-on-test-failure=y.
23638 * INSTALL: Regenerated.
23639
23640 2014-03-14 Roland McGrath <roland@hack.frob.com>
23641
23642 * scripts/versionlist.awk: New file.
23643 * Makerules [$(build-shared) = yes]
23644 (postclean-generated): Add Versions.def, not Versions.def.v and
23645 Versions.def.v.i.
23646 ($(common-objpfx)Versions.def.v.i): Target removed.
23647 ($(common-objpfx)Versions.def): New target.
23648 ($(common-objpfx)Versions.all): Depend on that rather that
23649 $(common-objpfx)Versions.def.v.
23650 * Versions.def: File removed.
23651
23652 * Makeconfig (+gccwarn): Add -Wundef.
23653 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23654 a dl-sysdep.h breaking its contract.
23655 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23656 * include/stackinfo.h: New file.
23657 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23658 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23659 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23660 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23661 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23662 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23663 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23664 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23665 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23666 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23667 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23668 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23669 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23670 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23671 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23672
23673 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23674
23675 [BZ #16707]
23676 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23677 implementation.
23678 * math/libm-test.inc (round_test_data): Add more tests.
23679
23680 [BZ #16706]
23681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23682 implementation.
23683 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23684
23685 [BZ #16701]
23686 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23687 implementation.
23688 * math/libm-test.inc (ceil_test_data): Add more tests.
23689
23690 * math/libm-test.inc (trunc_test_data): Add more tests related to
23691 BZ#16414.
23692
23693 2014-03-14 Roland McGrath <roland@hack.frob.com>
23694
23695 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23696 with #if rather than #ifdef.
23697 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23698
23699 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23700
23701 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23702 first. Disable AVX-512 GCC support if assembler doesn't support
23703 it.
23704 * sysdeps/x86_64/configure: Regenerated.
23705
23706 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23707
23708 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23709 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23710 (__old_pthread_attr_setstack): Likewise.
23711 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23712 [!_STACK_GROWS_DOWN]: Likewise.
23713
23714 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23715
23716 * config.make.in (have-bash2): Delete.
23717 * configure.ac (libc_cv_have_bash2): Delete.
23718 * configure: Regenerate.
23719 * elf/Makefile (common-ldd-rewrite): Rename to ...
23720 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23721 (sh-ldd-rewrite): Delete.
23722 (bash-ldd-rewrite): Delete.
23723 (have-bash2): Delete checks.
23724 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23725 ldd-rewrite.
23726
23727 * config.make.in (have-ksh): Delete.
23728 (KSH): Delete.
23729 * configure.ac (libc_cv_have_ksh): Delete.
23730 * configure: Regenerate.
23731
23732 * elf/Makefile: Delete $(have-ksh) check.
23733 ($(objpfx)sotruss): Change KSH to BASH.
23734 * elf/sotruss.ksh: Rename to ...
23735 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23736 function style to match POSIX. Drop ksh vim mode setting.
23737
23738 * manual/time.texi (Specifying the Time Zone with TZ): Change
23739 Tuesday to Thursday.
23740
23741 * debug/tst-longjmp_chk2.c: Update header comment.
23742 (stackoverflow_handler): Add comment. Call assert on pass value.
23743
23744 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23745
23746 [BZ #16194]
23747 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23748 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23749 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23750 (La_x86_64_vector): Add zmm.
23751 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23752 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23753 ($(objpfx)tst-audit10): New target.
23754 ($(objpfx)tst-audit10.out): Likewise.
23755 (tst-audit10-ENV): New.
23756 (AVX512-CFLAGS): Likewise.
23757 (CFLAGS-tst-audit10.c): Likewise.
23758 (CFLAGS-tst-auditmod10a.c): Likewise.
23759 (CFLAGS-tst-auditmod10b.c): Likewise.
23760 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23761 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23762 * sysdeps/x86_64/configure: Regenerated.
23763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23764 AVX-512 zmm register support.
23765 (_dl_x86_64_save_sse): Likewise.
23766 (_dl_x86_64_restore_sse): Likewise.
23767 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23768 size vector registers.
23769 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23770 (ZMM_SIZE): Likewise.
23771 * sysdeps/x86_64/tst-audit10.c: New file.
23772 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23773 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23774
23775 2014-03-13 Roland McGrath <roland@hack.frob.com>
23776
23777 * configure.ac (HAVE_EHDR_START): New check.
23778 * configure: Regenerated.
23779 * config.h.in (HAVE_EHDR_START): New #undef.
23780 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23781 assuming the lowest-addressed segment maps the start of the file.
23782
23783 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23784
23785 * INSTALL: Regenerated.
23786
23787 2014-03-13 Will Newton <will.newton@linaro.org>
23788
23789 * manual/setjmp.texi (System V contexts): Improve
23790 clarity and grammar of documentation.
23791
23792 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23793
23794 [BZ #16381]
23795 * elf/Makefile (tests): Add tst-pie2.
23796 (tests-pie): Add tst-pie2.
23797 * elf/tst-pie2.c: New file.
23798 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23799 for ET_EXEC.
23800 * elf/rtld.c (map_doit): Load executable as lt_executable.
23801 (dl_main): Likewise.
23802
23803 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23804
23805 [BZ #16642]
23806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23807 (__ASSUME_PSELECT): Undefine.
23808
23809 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23810
23811 [BZ #16689]
23812 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23813 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23814 static build.
23815 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23816 selector for static builds.
23817
23818 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23819
23820 [BZ #16695]
23821 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23822 key in the buffer.
23823
23824 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23825
23826 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23827 IFUNC selector for static builds.
23828
23829 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23830
23831 * sysdeps/mips/math_private.h [__mips_hard_float]
23832 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23833 libc_feresetround_mips_ctx.
23834 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23835 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23836 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23837
23838 [BZ #16677]
23839 * math/s_nextafter.c (__nextafter): Do not return value from
23840 overflowing computation.
23841 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23842 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23844 Likewise.
23845 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23846 Likewise.
23847 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23848 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23849
23850 2014-03-11 Roland McGrath <roland@hack.frob.com>
23851
23852 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23853 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23854 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23855 the new mov targetting sp.
23856
23857 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23858
23859 [BZ #16683]
23860 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23861 Define it for static builds as well.
23862 (NO_BZERO_IMPL): Likewise.
23863
23864 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23865
23866 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23867 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23868 multiarch strspn for PPC64.
23869 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23870 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23872 (__libc_ifunc_impl_list): Likewise.
23873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23874 multiarch optimizations
23875 * string/strspn.c (strspn): Using macro to redefine symbol name.
23876
23877 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23878 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23879
23880 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23881 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23882 multiarch strncat for PPC64.
23883 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23884 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23886 (__libc_ifunc_impl_list): Likewise.
23887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23888 multiarch optimizations
23889
23890 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23891
23892 [BZ #16639]
23893 * nscd/nscd.service: Make service type forking.
23894
23895 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23896
23897 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23898 sign in non default rounding modes.
23899 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23900
23901 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23902
23903 * math/libm-test.inc (ALL_RM_TEST): New macro.
23904 (ceil_test): Use ALL_RM_TEST.
23905 (cimag_test): Likewise.
23906 (conj_test): Likewise.
23907 (copysign_test): Likewise.
23908 (cproj_test): Likewise.
23909 (creal_test): Likewise.
23910 (fabs_test): Likewise.
23911 (floor_test): Likewise.
23912 (fmax_test): Likewise.
23913 (fmin_test): Likewise.
23914 (fmod_test): Likewise.
23915 (fpclassify_test): Likewise.
23916 (frexp_test): Likewise.
23917 (ilogb_test): Likewise.
23918 (isfinite_test): Likewise.
23919 (finite_test): Likewise.
23920 (isgreater_test): Likewise.
23921 (isgreaterequal_test): Likewise.
23922 (isinf_test): Likewise.
23923 (isless_test): Likewise.
23924 (islessequal_test): Likewise.
23925 (islessgreater_test): Likewise.
23926 (isnan_test): Likewise.
23927 (isnormal_test): Likewise.
23928 (issignaling_test): Likewise.
23929 (isunordered_test): Likewise.
23930 (logb_test): Likewise.
23931 (logb_downward_test_data): Remove.
23932 (logb_test_downward): Likewise.
23933 (lround_test): Use ALL_RM_TEST.
23934 (llround_test): Likewise.
23935 (modf_test): Likewise.
23936 (nexttoward_test): Likewise.
23937 (remainder_test): Likewise.
23938 (drem_test): Likewise.
23939 (remainder_tonearest_test_data): Likewise.
23940 (remainder_test_tonearest): Likewise.
23941 (drem_test_tonearest): Likewise.
23942 (remainder_towardzero_test_data): Likewise.
23943 (remainder_test_towardzero): Likewise.
23944 (drem_test_towardzero): Likewise.
23945 (remainder_downward_test_data): Likewise.
23946 (remainder_test_downward): Likewise.
23947 (drem_test_downward): Likewise.
23948 (remainder_upward_test_data): Likewise.
23949 (remainder_test_upward): Likewise.
23950 (drem_test_upward): Likewise.
23951 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23952 (round_test): Use ALL_RM_TEST.
23953 (signbit_test): Likewise.
23954 (trunc_test): Likewise.
23955 (significand_test): Likewise.
23956 (main): Don't call removed functions.
23957
23958 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23959
23960 [BZ #16674]
23961 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23962 || __USE_XOPEN2K8].
23963 (ILL_ILLOPN): Likewise.
23964 (ILL_ILLADR): Likewise.
23965 (ILL_ILLTRP): Likewise.
23966 (ILL_PRVOPC): Likewise.
23967 (ILL_PRVREG): Likewise.
23968 (ILL_COPROC): Likewise.
23969 (ILL_BADSTK): Likewise.
23970 (FPE_INTDIV): Likewise.
23971 (FPE_INTOVF): Likewise.
23972 (FPE_FLTDIV): Likewise.
23973 (FPE_FLTOVF): Likewise.
23974 (FPE_FLTUND): Likewise.
23975 (FPE_FLTRES): Likewise.
23976 (FPE_FLTINV): Likewise.
23977 (FPE_FLTSUB): Likewise.
23978 (SEGV_MAPERR): Likewise.
23979 (SEGV_ACCERR): Likewise.
23980 (BUS_ADRALN): Likewise.
23981 (BUS_ADRERR): Likewise.
23982 (BUS_OBJERR): Likewise.
23983 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23984 (TRAP_TRACE): Likewise.
23985 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23986 __USE_XOPEN2K8].
23987 (CLD_KILLED): Likewise.
23988 (CLD_DUMPED): Likewise.
23989 (CLD_TRAPPED): Likewise.
23990 (CLD_STOPPED): Likewise.
23991 (CLD_CONTINUED): Likewise.
23992 (POLL_IN): Likewise.
23993 (POLL_OUT): Likewise.
23994 (POLL_MSG): Likewise.
23995 (POLL_ERR): Likewise.
23996 (POLL_PRI): Likewise.
23997 (POLL_HUP): Likewise.
23998 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23999 Likewise.
24000 (ILL_ILLOPN): Likewise.
24001 (ILL_ILLADR): Likewise.
24002 (ILL_ILLTRP): Likewise.
24003 (ILL_PRVOPC): Likewise.
24004 (ILL_PRVREG): Likewise.
24005 (ILL_COPROC): Likewise.
24006 (ILL_BADSTK): Likewise.
24007 (FPE_INTDIV): Likewise.
24008 (FPE_INTOVF): Likewise.
24009 (FPE_FLTDIV): Likewise.
24010 (FPE_FLTOVF): Likewise.
24011 (FPE_FLTUND): Likewise.
24012 (FPE_FLTRES): Likewise.
24013 (FPE_FLTINV): Likewise.
24014 (FPE_FLTSUB): Likewise.
24015 (SEGV_MAPERR): Likewise.
24016 (SEGV_ACCERR): Likewise.
24017 (BUS_ADRALN): Likewise.
24018 (BUS_ADRERR): Likewise.
24019 (BUS_OBJERR): Likewise.
24020 (BUS_MCEERR_AR): Likewise.
24021 (BUS_MCEERR_AO): Likewise.
24022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24023 (TRAP_TRACE): Likewise.
24024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24025 __USE_XOPEN2K8].
24026 (CLD_KILLED): Likewise.
24027 (CLD_DUMPED): Likewise.
24028 (CLD_TRAPPED): Likewise.
24029 (CLD_STOPPED): Likewise.
24030 (CLD_CONTINUED): Likewise.
24031 (POLL_IN): Likewise.
24032 (POLL_OUT): Likewise.
24033 (POLL_MSG): Likewise.
24034 (POLL_ERR): Likewise.
24035 (POLL_PRI): Likewise.
24036 (POLL_HUP): Likewise.
24037 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24038 (ILL_ILLOPN): Likewise.
24039 (ILL_ILLADR): Likewise.
24040 (ILL_ILLTRP): Likewise.
24041 (ILL_PRVOPC): Likewise.
24042 (ILL_PRVREG): Likewise.
24043 (ILL_COPROC): Likewise.
24044 (ILL_BADSTK): Likewise.
24045 (FPE_INTDIV): Likewise.
24046 (FPE_INTOVF): Likewise.
24047 (FPE_FLTDIV): Likewise.
24048 (FPE_FLTOVF): Likewise.
24049 (FPE_FLTUND): Likewise.
24050 (FPE_FLTRES): Likewise.
24051 (FPE_FLTINV): Likewise.
24052 (FPE_FLTSUB): Likewise.
24053 (SEGV_MAPERR): Likewise.
24054 (SEGV_ACCERR): Likewise.
24055 (BUS_ADRALN): Likewise.
24056 (BUS_ADRERR): Likewise.
24057 (BUS_OBJERR): Likewise.
24058 (BUS_MCEERR_AR): Likewise.
24059 (BUS_MCEERR_AO): Likewise.
24060 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24061 (TRAP_TRACE): Likewise.
24062 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24063 __USE_XOPEN2K8].
24064 (CLD_KILLED): Likewise.
24065 (CLD_DUMPED): Likewise.
24066 (CLD_TRAPPED): Likewise.
24067 (CLD_STOPPED): Likewise.
24068 (CLD_CONTINUED): Likewise.
24069 (POLL_IN): Likewise.
24070 (POLL_OUT): Likewise.
24071 (POLL_MSG): Likewise.
24072 (POLL_ERR): Likewise.
24073 (POLL_PRI): Likewise.
24074 (POLL_HUP): Likewise.
24075 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24076 Likewise.
24077 (ILL_ILLOPN): Likewise.
24078 (ILL_ILLADR): Likewise.
24079 (ILL_ILLTRP): Likewise.
24080 (ILL_PRVOPC): Likewise.
24081 (ILL_PRVREG): Likewise.
24082 (ILL_COPROC): Likewise.
24083 (ILL_BADSTK): Likewise.
24084 (ILL_BADIADDR): Likewise.
24085 (ILL_BREAK): Likewise.
24086 (FPE_INTDIV): Likewise.
24087 (FPE_INTOVF): Likewise.
24088 (FPE_FLTDIV): Likewise.
24089 (FPE_FLTOVF): Likewise.
24090 (FPE_FLTUND): Likewise.
24091 (FPE_FLTRES): Likewise.
24092 (FPE_FLTINV): Likewise.
24093 (FPE_FLTSUB): Likewise.
24094 (FPE_DECOVF): Likewise.
24095 (FPE_DECDIV): Likewise.
24096 (FPE_DECERR): Likewise.
24097 (FPE_INVASC): Likewise.
24098 (FPE_INVDEC): Likewise.
24099 (SEGV_MAPERR): Likewise.
24100 (SEGV_ACCERR): Likewise.
24101 (SEGV_PSTKOVF): Likewise.
24102 (BUS_ADRALN): Likewise.
24103 (BUS_ADRERR): Likewise.
24104 (BUS_OBJERR): Likewise.
24105 (BUS_MCEERR_AR): Likewise.
24106 (BUS_MCEERR_AO): Likewise.
24107 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24108 (TRAP_TRACE): Likewise.
24109 (TRAP_BRANCH): Likewise.
24110 (TRAP_HWBKPT): Likewise.
24111 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24112 __USE_XOPEN2K8].
24113 (CLD_KILLED): Likewise.
24114 (CLD_DUMPED): Likewise.
24115 (CLD_TRAPPED): Likewise.
24116 (CLD_STOPPED): Likewise.
24117 (CLD_CONTINUED): Likewise.
24118 (POLL_IN): Likewise.
24119 (POLL_OUT): Likewise.
24120 (POLL_MSG): Likewise.
24121 (POLL_ERR): Likewise.
24122 (POLL_PRI): Likewise.
24123 (POLL_HUP): Likewise.
24124 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24125 (ILL_ILLOPN): Likewise.
24126 (ILL_ILLADR): Likewise.
24127 (ILL_ILLTRP): Likewise.
24128 (ILL_PRVOPC): Likewise.
24129 (ILL_PRVREG): Likewise.
24130 (ILL_COPROC): Likewise.
24131 (ILL_BADSTK): Likewise.
24132 (FPE_INTDIV): Likewise.
24133 (FPE_INTOVF): Likewise.
24134 (FPE_FLTDIV): Likewise.
24135 (FPE_FLTOVF): Likewise.
24136 (FPE_FLTUND): Likewise.
24137 (FPE_FLTRES): Likewise.
24138 (FPE_FLTINV): Likewise.
24139 (FPE_FLTSUB): Likewise.
24140 (SEGV_MAPERR): Likewise.
24141 (SEGV_ACCERR): Likewise.
24142 (BUS_ADRALN): Likewise.
24143 (BUS_ADRERR): Likewise.
24144 (BUS_OBJERR): Likewise.
24145 (BUS_MCEERR_AR): Likewise.
24146 (BUS_MCEERR_AO): Likewise.
24147 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24148 (TRAP_TRACE): Likewise.
24149 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24150 __USE_XOPEN2K8].
24151 (CLD_KILLED): Likewise.
24152 (CLD_DUMPED): Likewise.
24153 (CLD_TRAPPED): Likewise.
24154 (CLD_STOPPED): Likewise.
24155 (CLD_CONTINUED): Likewise.
24156 (POLL_IN): Likewise.
24157 (POLL_OUT): Likewise.
24158 (POLL_MSG): Likewise.
24159 (POLL_ERR): Likewise.
24160 (POLL_PRI): Likewise.
24161 (POLL_HUP): Likewise.
24162 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24163 (ILL_ILLOPN): Likewise.
24164 (ILL_ILLADR): Likewise.
24165 (ILL_ILLTRP): Likewise.
24166 (ILL_PRVOPC): Likewise.
24167 (ILL_PRVREG): Likewise.
24168 (ILL_COPROC): Likewise.
24169 (ILL_BADSTK): Likewise.
24170 (FPE_INTDIV): Likewise.
24171 (FPE_INTOVF): Likewise.
24172 (FPE_FLTDIV): Likewise.
24173 (FPE_FLTOVF): Likewise.
24174 (FPE_FLTUND): Likewise.
24175 (FPE_FLTRES): Likewise.
24176 (FPE_FLTINV): Likewise.
24177 (FPE_FLTSUB): Likewise.
24178 (SEGV_MAPERR): Likewise.
24179 (SEGV_ACCERR): Likewise.
24180 (BUS_ADRALN): Likewise.
24181 (BUS_ADRERR): Likewise.
24182 (BUS_OBJERR): Likewise.
24183 (BUS_MCEERR_AR): Likewise.
24184 (BUS_MCEERR_AO): Likewise.
24185 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24186 (TRAP_TRACE): Likewise.
24187 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24188 __USE_XOPEN2K8].
24189 (CLD_KILLED): Likewise.
24190 (CLD_DUMPED): Likewise.
24191 (CLD_TRAPPED): Likewise.
24192 (CLD_STOPPED): Likewise.
24193 (CLD_CONTINUED): Likewise.
24194 (POLL_IN): Likewise.
24195 (POLL_OUT): Likewise.
24196 (POLL_MSG): Likewise.
24197 (POLL_ERR): Likewise.
24198 (POLL_PRI): Likewise.
24199 (POLL_HUP): Likewise.
24200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24201 (ILL_ILLOPN): Likewise.
24202 (ILL_ILLADR): Likewise.
24203 (ILL_ILLTRP): Likewise.
24204 (ILL_PRVOPC): Likewise.
24205 (ILL_PRVREG): Likewise.
24206 (ILL_COPROC): Likewise.
24207 (ILL_BADSTK): Likewise.
24208 (FPE_INTDIV): Likewise.
24209 (FPE_INTOVF): Likewise.
24210 (FPE_FLTDIV): Likewise.
24211 (FPE_FLTOVF): Likewise.
24212 (FPE_FLTUND): Likewise.
24213 (FPE_FLTRES): Likewise.
24214 (FPE_FLTINV): Likewise.
24215 (FPE_FLTSUB): Likewise.
24216 (SEGV_MAPERR): Likewise.
24217 (SEGV_ACCERR): Likewise.
24218 (BUS_ADRALN): Likewise.
24219 (BUS_ADRERR): Likewise.
24220 (BUS_OBJERR): Likewise.
24221 (BUS_MCEERR_AR): Likewise.
24222 (BUS_MCEERR_AO): Likewise.
24223 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24224 (TRAP_TRACE): Likewise.
24225 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24226 __USE_XOPEN2K8].
24227 (CLD_KILLED): Likewise.
24228 (CLD_DUMPED): Likewise.
24229 (CLD_TRAPPED): Likewise.
24230 (CLD_STOPPED): Likewise.
24231 (CLD_CONTINUED): Likewise.
24232 (POLL_IN): Likewise.
24233 (POLL_OUT): Likewise.
24234 (POLL_MSG): Likewise.
24235 (POLL_ERR): Likewise.
24236 (POLL_PRI): Likewise.
24237 (POLL_HUP): Likewise.
24238 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24239 (ILL_ILLOPN): Likewise.
24240 (ILL_ILLADR): Likewise.
24241 (ILL_ILLTRP): Likewise.
24242 (ILL_PRVOPC): Likewise.
24243 (ILL_PRVREG): Likewise.
24244 (ILL_COPROC): Likewise.
24245 (ILL_BADSTK): Likewise.
24246 (ILL_DBLFLT): Likewise.
24247 (ILL_HARDWALL): Likewise.
24248 (FPE_INTDIV): Likewise.
24249 (FPE_INTOVF): Likewise.
24250 (FPE_FLTDIV): Likewise.
24251 (FPE_FLTOVF): Likewise.
24252 (FPE_FLTUND): Likewise.
24253 (FPE_FLTRES): Likewise.
24254 (FPE_FLTINV): Likewise.
24255 (FPE_FLTSUB): Likewise.
24256 (SEGV_MAPERR): Likewise.
24257 (SEGV_ACCERR): Likewise.
24258 (BUS_ADRALN): Likewise.
24259 (BUS_ADRERR): Likewise.
24260 (BUS_OBJERR): Likewise.
24261 (BUS_MCEERR_AR): Likewise.
24262 (BUS_MCEERR_AO): Likewise.
24263 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24264 (TRAP_TRACE): Likewise.
24265 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24266 __USE_XOPEN2K8].
24267 (CLD_KILLED): Likewise.
24268 (CLD_DUMPED): Likewise.
24269 (CLD_TRAPPED): Likewise.
24270 (CLD_STOPPED): Likewise.
24271 (CLD_CONTINUED): Likewise.
24272 (POLL_IN): Likewise.
24273 (POLL_OUT): Likewise.
24274 (POLL_MSG): Likewise.
24275 (POLL_ERR): Likewise.
24276 (POLL_PRI): Likewise.
24277 (POLL_HUP): Likewise.
24278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24279 (ILL_ILLOPN): Likewise.
24280 (ILL_ILLADR): Likewise.
24281 (ILL_ILLTRP): Likewise.
24282 (ILL_PRVOPC): Likewise.
24283 (ILL_PRVREG): Likewise.
24284 (ILL_COPROC): Likewise.
24285 (ILL_BADSTK): Likewise.
24286 (FPE_INTDIV): Likewise.
24287 (FPE_INTOVF): Likewise.
24288 (FPE_FLTDIV): Likewise.
24289 (FPE_FLTOVF): Likewise.
24290 (FPE_FLTUND): Likewise.
24291 (FPE_FLTRES): Likewise.
24292 (FPE_FLTINV): Likewise.
24293 (FPE_FLTSUB): Likewise.
24294 (SEGV_MAPERR): Likewise.
24295 (SEGV_ACCERR): Likewise.
24296 (BUS_ADRALN): Likewise.
24297 (BUS_ADRERR): Likewise.
24298 (BUS_OBJERR): Likewise.
24299 (BUS_MCEERR_AR): Likewise.
24300 (BUS_MCEERR_AO): Likewise.
24301 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24302 (TRAP_TRACE): Likewise.
24303 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24304 __USE_XOPEN2K8].
24305 (CLD_KILLED): Likewise.
24306 (CLD_DUMPED): Likewise.
24307 (CLD_TRAPPED): Likewise.
24308 (CLD_STOPPED): Likewise.
24309 (CLD_CONTINUED): Likewise.
24310 (POLL_IN): Likewise.
24311 (POLL_OUT): Likewise.
24312 (POLL_MSG): Likewise.
24313 (POLL_ERR): Likewise.
24314 (POLL_PRI): Likewise.
24315 (POLL_HUP): Likewise.
24316 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24317 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24318
24319 [BZ #16670]
24320 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24321 before #include of <time.h>.
24322 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24323 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24324 (test-xfail-UNIX98/sched.h/conform): Likewise.
24325
24326 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24327
24328 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24329 error absence of trapping exception support.
24330 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24331
24332 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24333
24334 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24335 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24336 * timezone/Makefile (testdata): Move definition above include of
24337 Rules.
24338 (test-zones): New variable.
24339 (tests-special): Add zone files.
24340 (build-testdata): Use $(evaluate-test).
24341
24342 * elf/Makefile (tests-special): Rename tests to end with .out.
24343 ($(objpfx)noload-mem): Likewise.
24344 ($(objpfx)tst-leaks1-mem): Likewise.
24345 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24346 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24347 $(objpfx)test-iconvconfig.out.
24348 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24349 set -e inside subshell and redirect output to file.
24350 * iconvdata/Makefile (generated): Rename tests to end with .out.
24351 Correct type.
24352 (tests-special): Rename tests to end with .out.
24353 ($(objpfx)mtrace-tst-loading): Likewise.
24354 * intl/Makefile (generated): Likewise.
24355 (tests-special): Likewise.
24356 ($(objpfx)mtrace-tst-gettext): Likewise.
24357 * misc/Makefile (generated): Likewise.
24358 (tests-special): Likewise.
24359 ($(objpfx)tst-error1-mem): Likewise.
24360 * nptl/Makefile (tests-special): Likewise.
24361 ($(objpfx)tst-stack3-mem): Likewise.
24362 (generated): Likewise.
24363 * posix/Makefile (generated): Likewise.
24364 (tests-special): Likewise.
24365 (xtests-special): Likewise.
24366 ($(objpfx)tst-fnmatch-mem): Likewise.
24367 ($(objpfx)bug-regex2-mem): Likewise.
24368 ($(objpfx)bug-regex14-mem): Likewise.
24369 ($(objpfx)bug-regex21-mem): Likewise.
24370 ($(objpfx)bug-regex31-mem): Likewise.
24371 ($(objpfx)tst-vfork3-mem): Likewise.
24372 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24373 ($(objpfx)tst-pcre-mem): Likewise.
24374 ($(objpfx)tst-boost-mem): Likewise.
24375 ($(objpfx)bug-ga2-mem): Likewise.
24376 ($(objpfx)bug-glob2-mem): Likewise.
24377 * resolv/Makefile (generate): Likewise.
24378 (tests-special): Likewise.
24379 (xtests-special): Likewise.
24380 (generated): Likewise.
24381 ($(objpfx)mtrace-tst-leaks): Likewise.
24382 ($(objpfx)mtrace-tst-leaks2): Likewise.
24383
24384 * scripts/merge-test-results.sh: New file.
24385 * Makefile (tests-special-notdir): New variable.
24386 (tests): Run merge-test-results.sh.
24387 (xtests): Likewise.
24388 * Rules (tests-special-notdir): New variable.
24389 (xtests-special-notdir): Likewise.
24390 (tests): Run merge-test-results.sh
24391 (xtests): Likewise.
24392
24393 * Makeconfig (test-xfail-name): New variable.
24394 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24395 compute variable name for expected failures.
24396 * conform/Makefile (conformtest-headers-data): New variable.
24397 (conformtest-standards): Likewise.
24398 (conformtest-headers-ISO): Likewise.
24399 (conformtest-headers-ISO99): Likewise.
24400 (conformtest-headers-ISO11): Likewise.
24401 (conformtest-headers-POSIX): Likewise.
24402 (conformtest-headers-XPG3): Likewise.
24403 (conformtest-headers-XPG4): Likewise.
24404 (conformtest-headers-UNIX98): Likewise.
24405 (conformtest-headers-XOPEN2K): Likewise.
24406 (conformtest-headers-POSIX2008): Likewise.
24407 (conformtest-headers-XOPEN2K8): Likewise.
24408 (conformtest-header-list-base): Likewise.
24409 (conformtest-header-list-tests): Likewise.
24410 (conformtest-header-base): Likewise.
24411 (conformtest-header-tests): Likewise.
24412 (tests-special): Add $(conformtest-header-list-tests). If
24413 [$(fast-check) && !$(cross-compiling)], add
24414 $(conformtest-header-tests) instead of
24415 $(objpfx)run-conformtest.out.
24416 (generated): Add $(conformtest-header-list-base). If
24417 [$(fast-check) && !$(cross-compiling)], add
24418 $(conformtest-header-base). Remove previous setting.
24419 ($(conformtest-header-list-tests)): New target.
24420 (test-xfail-run-conformtest): Remove variable.
24421 ($(objpfx)run-conformtest.out): Remove target.
24422 (test-xfail-ISO11/complex.h/conform): New variable.
24423 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24424 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24425 (test-xfail-XPG3/varargs.h/conform): Likewise.
24426 (test-xfail-XPG4/varargs.h/conform): Likewise.
24427 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24428 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24429 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24430 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24431 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24432 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24433 (test-xfail-XPG3/ftw.h/conform): Likewise.
24434 (test-xfail-XPG3/grp.h/conform): Likewise.
24435 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24436 (test-xfail-XPG3/limits.h/conform): Likewise.
24437 (test-xfail-XPG3/pwd.h/conform): Likewise.
24438 (test-xfail-XPG3/search.h/conform): Likewise.
24439 (test-xfail-XPG3/signal.h/conform): Likewise.
24440 (test-xfail-XPG3/stdio.h/conform): Likewise.
24441 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24442 (test-xfail-XPG3/string.h/conform): Likewise.
24443 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24444 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24445 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24446 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24447 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24448 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24449 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24450 (test-xfail-XPG3/termios.h/conform): Likewise.
24451 (test-xfail-XPG3/time.h/conform): Likewise.
24452 (test-xfail-XPG3/unistd.h/conform): Likewise.
24453 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24454 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24455 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24456 (test-xfail-XPG4/netdb.h/conform): Likewise.
24457 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24458 (test-xfail-XPG4/signal.h/conform): Likewise.
24459 (test-xfail-XPG4/stdio.h/conform): Likewise.
24460 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24461 (test-xfail-XPG4/stropts.h/conform): Likewise.
24462 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24463 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24464 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24465 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24466 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24467 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24468 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24469 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24470 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24471 (test-xfail-XPG4/termios.h/conform): Likewise.
24472 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24473 (test-xfail-XPG4/unistd.h/conform): Likewise.
24474 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24475 (test-xfail-POSIX/sched.h/conform): Likewise.
24476 (test-xfail-POSIX/signal.h/conform): Likewise.
24477 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24478 (test-xfail-POSIX/tar.h/conform): Likewise.
24479 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24480 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24481 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24482 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24483 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24484 (test-xfail-UNIX98/sched.h/conform): Likewise.
24485 (test-xfail-UNIX98/signal.h/conform): Likewise.
24486 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24487 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24488 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24489 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24490 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24491 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24492 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24493 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24494 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24495 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24496 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24497 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24498 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24499 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24500 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24501 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24502 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24503 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24504 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24505 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24506 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24507 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24508 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24509 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24510 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24511 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24512 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24513 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24514 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24515 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24516 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24517 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24518 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24519 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24520 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24521 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24522 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24523 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24524 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24525 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24526 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24527 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24528 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24529 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24530 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24531 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24532 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24533 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24534 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24535 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24536 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24537 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24538 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24539 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24540 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24541 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24542 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24543 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24544 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24545 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24546 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24547 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24548 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24549 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24550 (conformtest-cc-flags): Likewise.
24551 ($(conformtest-header-tests): New target.
24552 * conform/check-header-lists.sh: New file.
24553 * conform/run-conformtest.sh: Remove.
24554
24555 * conform/conformtest.pl: Allow ' and \ in values given for
24556 constants.
24557 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24558 inclusion.
24559 [POSIX] (sys/types.h): Likewise.
24560 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24561 inclusion.
24562 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24563 inclusion.
24564 * conform/data/signal.h-data (SIGIO): Remove expectation.
24565 [XPG3] (SIGBUS): Do not expect.
24566 [POSIX || XPG3] (SIGPOLL): Likewise.
24567 [POSIX || XPG3] (SIGPROF): Likewise.
24568 [POSIX || XPG3] (SIGSYS): Likewise.
24569 [XPG3] (SIGTRAP): Likewise.
24570 [POSIX || XPG3] (SIGURG): Likewise.
24571 [POSIX || XPG3] (SIGVTALRM): Likewise.
24572 [POSIX || XPG3] (SIGXCPU): Likewise.
24573 [POSIX || XPG3] (SIGXFSZ): Likewise.
24574 [POSIX] (SA_SIGINFO): Expect.
24575 [XPG3] (siginfo_t): Do not expect type or contents.
24576 [POSIX] (si_pid): Do not expect element.
24577 [POSIX] (si_uid): Likewise.
24578 [POSIX] (si_addr): Likewise.
24579 [POSIX] (si_status): Likewise.
24580 [POSIX] (si_band): Likewise.
24581 [XPG4] (si_value): Likewise.
24582 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24583 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24584 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24585 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24586 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24587 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24588 [POSIX || XPG3] (ILL_COPROC): Likewise.
24589 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24590 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24591 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24592 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24593 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24594 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24595 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24596 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24597 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24598 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24599 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24600 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24601 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24602 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24603 [POSIX || XPG3] (CLD_EXITED): Likewise.
24604 [POSIX || XPG3] (CLD_KILLED): Likewise.
24605 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24606 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24607 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24608 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24609 [POSIX || XPG3] (POLL_IN): Likewise.
24610 [POSIX || XPG3] (POLL_OUT): Likewise.
24611 [POSIX || XPG3] (POLL_MSG): Likewise.
24612 [POSIX || XPG3] (POLL_ERR): Likewise.
24613 [POSIX || XPG3] (POLL_PRI): Likewise.
24614 [POSIX || XPG3] (POLL_HUP): Likewise.
24615 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24616 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24617 (SIG*): Do not allow.
24618 [XPG3] (si_*): Likewise.
24619 [XPG3] (SI_*): Likewise.
24620 [XPG3 || XPG4] (sigev_*): Likewise.
24621 [XPG3 || XPG4] (SIGEV_*): Likewise.
24622 [XPG3 || XPG4] (sival_*): Likewise.
24623 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24624 [POSIX || XPG3] (BUS_*): Likewise.
24625 [POSIX || XPG3] (CLD_*): Likewise.
24626 [POSIX || XPG3] (FPE_*): Likewise.
24627 [POSIX || XPG3] (ILL_*): Likewise.
24628 [POSIX || XPG3] (POLL_*): Likewise.
24629 [POSIX || XPG3] (SEGV_*): Likewise.
24630 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24631 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24632 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24633 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24634 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24635 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24636 Specify type and value.
24637 (TVERSLEN): Likewise.
24638 (REGTYPE): Likewise.
24639 (AREGTYPE): Likewise.
24640 (LNKTYPE): Likewise.
24641 (SYMTYPE): Likewise.
24642 (CHRTYPE): Likewise.
24643 (BLKTYPE): Likewise.
24644 (DIRTYPE): Likewise.
24645 (FIFOTYPE): Likewise.
24646 (CONTTYPE): Likewise.
24647 (TSUID): Likewise.
24648 (TSGID): Likewise.
24649 (TSVTX): Likewise.
24650 (TUREAD): Likewise.
24651 (TUWRITE): Likewise.
24652 (TUEXEC): Likewise.
24653 (TGREAD): Likewise.
24654 (TGWRITE): Likewise.
24655 (TGEXEC): Likewise.
24656 (TOREAD): Likewise.
24657 (TOWRITE): Likewise.
24658 (TOEXEC): Likewise.
24659 [POSIX] (TSVTX): Expect constant.
24660
24661 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24662
24663 * Makefile (tests): Change dependencies to ....
24664 (tests-special): ... additions to this variable.
24665 (tests): Depend on $(tests-special).
24666 * Makerules (check-abi-list): New variable.
24667 (check-abi): Depend on $(check-abi-list).
24668 [$(subdir) = elf] (tests-special): Add
24669 $(objpfx)check-abi-libc.out.
24670 [$(build-shared) = yes && subdir] (tests-special): Add
24671 $(check-abi-list).
24672 [$(build-shared) = yes && subdir] (tests): Do not depend on
24673 check-abi.
24674 * Rules (tests): Depend on $(tests-special).
24675 (xtests): Depend on $(xtests-special).
24676 * catgets/Makefile (tests): Change dependencies to ....
24677 (tests-special): ... additions to this variable.
24678 * conform/Makefile (tests): Change dependencies to ....
24679 (tests-special): ... additions to this variable.
24680 * elf/Makefile (tests): Change dependencies to ....
24681 (tests-special): ... additions to this variable.
24682 * grp/Makefile (tests): Change dependencies to ....
24683 (tests-special): ... additions to this variable.
24684 * iconv/Makefile (xtests): Change dependencies to ....
24685 (xtests-special): ... additions to this variable.
24686 * iconvdata/Makefile (tests): Change dependencies to ....
24687 (tests-special): ... additions to this variable.
24688 * intl/Makefile (tests): Change dependencies to ....
24689 (tests-special): ... additions to this variable. Also add
24690 $(objpfx)tst-gettext.out.
24691 * io/Makefile (tests): Change dependencies to ....
24692 (tests-special): ... additions to this variable.
24693 * libio/Makefile (tests): Change dependencies to ....
24694 (tests-special): ... additions to this variable.
24695 * malloc/Makefile (tests): Change dependencies to ....
24696 (tests-special): ... additions to this variable.
24697 * misc/Makefile (tests): Change dependencies to ....
24698 (tests-special): ... additions to this variable.
24699 * nptl/Makefile (tests): Change dependencies to ....
24700 (tests-special): ... additions to this variable.
24701 * nptl_db/Makefile (tests): Change dependencies to ....
24702 (tests-special): ... additions to this variable.
24703 * posix/Makefile (tests): Change dependencies to ....
24704 (tests-special): ... additions to this variable.
24705 (xtests): Change dependencies to ....
24706 (xtests-special): ... additions to this variable.
24707 * resolv/Makefile (tests): Change dependencies to ....
24708 (tests-special): ... additions to this variable.
24709 (xtests): Change dependencies to ....
24710 (xtests-special): ... additions to this variable.
24711 * stdio-common/Makefile (tests): Change dependencies to ....
24712 (tests-special): ... additions to this variable.
24713 (do-tst-unbputc): Remove target.
24714 (do-tst-printf): Likewise.
24715 * stdlib/Makefile (tests): Change dependencies to ....
24716 (tests-special): ... additions to this variable.
24717 * string/Makefile (tests): Change dependencies to ....
24718 (tests-special): ... additions to this variable.
24719 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24720 (tests-special): ... additions to this variable.
24721
24722 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24723 whole file.
24724 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24725 whole file.
24726 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24727 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24728
24729 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24730 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24731 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24732 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24733 * conform/data/libgen.h-data [XPG3]: Likewise.
24734 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24735 * conform/data/ndbm.h-data [XPG3]: Likewise.
24736 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24737 * conform/data/netdb.h-data [XPG3]: Likewise.
24738 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24739 * conform/data/poll.h-data [XPG3]: Likewise.
24740 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24741 * conform/data/strings.h-data [XPG3]: Likewise.
24742 * conform/data/stropts.h-data [XPG3]: Likewise.
24743 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24744 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24745 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24746 Likewise.
24747 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24748 * conform/data/sys/time.h-data [XPG3]: Likewise.
24749 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24750 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24751 * conform/data/sys/un.h-data [XPG3]: Likewise.
24752 * conform/data/syslog.h-data [XPG3]: Likewise.
24753 * conform/data/ucontext.h-data [XPG3]: Likewise.
24754 * conform/data/utmpx.h-data [XPG3]: Likewise.
24755 * conform/data/varargs.h-data [UNIX98]: Enable file.
24756
24757 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24758
24759 * math/libm-test.inc (struct test_f_f_data): Move expected results
24760 into structure for each rounding mode.
24761 (struct test_ff_f_data): Likewise.
24762 (struct test_ff_f_data_nexttoward): Likewise.
24763 (struct test_fi_f_data): Likewise.
24764 (struct test_fl_f_data): Likewise.
24765 (struct test_if_f_data): Likewise.
24766 (struct test_fff_f_data): Likewise.
24767 (struct test_c_f_data): Likewise.
24768 (struct test_f_f1_data): Likewise.
24769 (struct test_fF_f1_data): Likewise.
24770 (struct test_ffI_f1_data): Likewise.
24771 (struct test_c_c_data): Likewise.
24772 (struct test_cc_c_data): Likewise.
24773 (struct test_f_i_data): Likewise.
24774 (struct test_ff_i_data): Likewise.
24775 (struct test_f_l_data): Likewise.
24776 (struct test_f_L_data): Likewise.
24777 (struct test_fFF_11_data): Likewise.
24778 (RM_): New macro.
24779 (RM_FE_DOWNWARD): Likewise.
24780 (RM_FE_TONEAREST): Likewise.
24781 (RM_FE_TOWARDZERO): Likewise.
24782 (RM_FE_UPWARD): Likewise.
24783 (RUN_TEST_LOOP_f_f): Update references to expected results.
24784 (RUN_TEST_LOOP_2_f): Likewise.
24785 (RUN_TEST_LOOP_fff_f): Likewise.
24786 (RUN_TEST_LOOP_c_f): Likewise.
24787 (RUN_TEST_LOOP_f_f1): Likewise.
24788 (RUN_TEST_LOOP_fF_f1): Likewise.
24789 (RUN_TEST_LOOP_fI_f1): Likewise.
24790 (RUN_TEST_LOOP_ffI_f1): Likewise.
24791 (RUN_TEST_LOOP_c_c): Likewise.
24792 (RUN_TEST_LOOP_cc_c): Likewise.
24793 (RUN_TEST_LOOP_f_i): Likewise.
24794 (RUN_TEST_LOOP_f_i_tg): Likewise.
24795 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24796 (RUN_TEST_LOOP_f_b): Likewise.
24797 (RUN_TEST_LOOP_f_b_tg): Likewise.
24798 (RUN_TEST_LOOP_f_l): Likewise.
24799 (RUN_TEST_LOOP_f_L): Likewise.
24800 (RUN_TEST_LOOP_fFF_11): Likewise.
24801 * math/gen-libm-test.pl (parse_args): Output four copies of
24802 expected results for each test.
24803
24804 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24805 (__ASSUME_UTIMES): Remove.
24806 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24807 (__ASSUME_UTIMES): Likewise.
24808
24809 * math/gen-auto-libm-tests.c: Update comment on output format.
24810 (output_for_one_input_case): Generate before-rounding and
24811 after-rounding information as conditions on output flags not
24812 floating-point format.
24813 * math/auto-libm-test-out: Regenerated.
24814 * math/gen-libm-test.pl (cond_value): New function.
24815 (or_cond_value): Use cond_value.
24816 (generate_testfile): Handle conditional exceptions.
24817
24818 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24819
24820 * math/libm-test.inc (max_valid_error): New variable.
24821 (init_max_error): Take new argument specifying whether function
24822 results are exactly determined. Set max_valid_error and bound
24823 other variables for errors based on this argument.
24824 (set_max_error): Do not record results above max_valid_error.
24825 (check_float_internal): Only accept errors of up to 0.5ulps if
24826 also at most max_valid_error.
24827 (START): Take new argument EXACT and pass it to init_max_error.
24828 (acos_test): Update call to START.
24829 (acos_test_tonearest): Likewise.
24830 (acos_test_towardzero): Likewise.
24831 (acos_test_downward): Likewise.
24832 (acos_test_upward): Likewise.
24833 (acosh_test): Likewise.
24834 (asin_test): Likewise.
24835 (asin_test_tonearest): Likewise.
24836 (asin_test_towardzero): Likewise.
24837 (asin_test_downward): Likewise.
24838 (asin_test_upward): Likewise.
24839 (asinh_test): Likewise.
24840 (atan_test): Likewise.
24841 (atanh_test): Likewise.
24842 (atan2_test): Likewise.
24843 (cabs_test): Likewise.
24844 (cacos_test): Likewise.
24845 (cacosh_test): Likewise.
24846 (carg_test): Likewise.
24847 (casin_test): Likewise.
24848 (casinh_test): Likewise.
24849 (catan_test): Likewise.
24850 (catanh_test): Likewise.
24851 (cbrt_test): Likewise.
24852 (ccos_test): Likewise.
24853 (ccosh_test): Likewise.
24854 (ceil_test): Likewise.
24855 (cexp_test): Likewise.
24856 (cimag_test): Likewise.
24857 (clog_test): Likewise.
24858 (clog10_test): Likewise.
24859 (conj_test): Likewise.
24860 (copysign_test): Likewise.
24861 (cos_test): Likewise.
24862 (cos_test_tonearest): Likewise.
24863 (cos_test_towardzero): Likewise.
24864 (cos_test_downward): Likewise.
24865 (cos_test_upward): Likewise.
24866 (cosh_test): Likewise.
24867 (cosh_test_tonearest): Likewise.
24868 (cosh_test_towardzero): Likewise.
24869 (cosh_test_downward): Likewise.
24870 (cosh_test_upward): Likewise.
24871 (cpow_test): Likewise.
24872 (cproj_test): Likewise.
24873 (creal_test): Likewise.
24874 (csin_test): Likewise.
24875 (csinh_test): Likewise.
24876 (csqrt_test): Likewise.
24877 (ctan_test): Likewise.
24878 (ctan_test_tonearest): Likewise.
24879 (ctan_test_towardzero): Likewise.
24880 (ctan_test_downward): Likewise.
24881 (ctan_test_upward): Likewise.
24882 (ctanh_test): Likewise.
24883 (ctanh_test_tonearest): Likewise.
24884 (ctanh_test_towardzero): Likewise.
24885 (ctanh_test_downward): Likewise.
24886 (ctanh_test_upward): Likewise.
24887 (erf_test): Likewise.
24888 (erfc_test): Likewise.
24889 (exp_test): Likewise.
24890 (exp_test_tonearest): Likewise.
24891 (exp_test_towardzero): Likewise.
24892 (exp_test_downward): Likewise.
24893 (exp_test_upward): Likewise.
24894 (exp10_test): Likewise.
24895 (exp10_test_tonearest): Likewise.
24896 (exp10_test_towardzero): Likewise.
24897 (exp10_test_downward): Likewise.
24898 (exp10_test_upward): Likewise.
24899 (pow10_test): Likewise.
24900 (exp2_test): Likewise.
24901 (expm1_test): Likewise.
24902 (expm1_test_tonearest): Likewise.
24903 (expm1_test_towardzero): Likewise.
24904 (expm1_test_downward): Likewise.
24905 (expm1_test_upward): Likewise.
24906 (fabs_test): Likewise.
24907 (fdim_test): Likewise.
24908 (floor_test): Likewise.
24909 (fma_test): Likewise.
24910 (fma_test_towardzero): Likewise.
24911 (fma_test_downward): Likewise.
24912 (fma_test_upward): Likewise.
24913 (fmax_test): Likewise.
24914 (fmin_test): Likewise.
24915 (fmod_test): Likewise.
24916 (fpclassify_test): Likewise.
24917 (frexp_test): Likewise.
24918 (hypot_test): Likewise.
24919 (ilogb_test): Likewise.
24920 (isfinite_test): Likewise.
24921 (finite_test): Likewise.
24922 (isgreater_test): Likewise.
24923 (isgreaterequal_test): Likewise.
24924 (isinf_test): Likewise.
24925 (isless_test): Likewise.
24926 (islessequal_test): Likewise.
24927 (islessgreater_test): Likewise.
24928 (isnan_test): Likewise.
24929 (isnormal_test): Likewise.
24930 (issignaling_test): Likewise.
24931 (isunordered_test): Likewise.
24932 (j0_test): Likewise.
24933 (j1_test): Likewise.
24934 (jn_test): Likewise.
24935 (ldexp_test): Likewise.
24936 (lgamma_test): Likewise.
24937 (gamma_test): Likewise.
24938 (lrint_test): Likewise.
24939 (lrint_test_tonearest): Likewise.
24940 (lrint_test_towardzero): Likewise.
24941 (lrint_test_downward): Likewise.
24942 (lrint_test_upward): Likewise.
24943 (llrint_test): Likewise.
24944 (llrint_test_tonearest): Likewise.
24945 (llrint_test_towardzero): Likewise.
24946 (llrint_test_downward): Likewise.
24947 (llrint_test_upward): Likewise.
24948 (log_test): Likewise.
24949 (log10_test): Likewise.
24950 (log1p_test): Likewise.
24951 (log2_test): Likewise.
24952 (logb_test): Likewise.
24953 (logb_test_downward): Likewise.
24954 (lround_test): Likewise.
24955 (llround_test): Likewise.
24956 (modf_test): Likewise.
24957 (nearbyint_test): Likewise.
24958 (nextafter_test): Likewise.
24959 (nexttoward_test): Likewise.
24960 (pow_test): Likewise.
24961 (pow_test_tonearest): Likewise.
24962 (pow_test_towardzero): Likewise.
24963 (pow_test_downward): Likewise.
24964 (pow_test_upward): Likewise.
24965 (remainder_test): Likewise.
24966 (drem_test): Likewise.
24967 (remainder_test_tonearest): Likewise.
24968 (drem_test_tonearest): Likewise.
24969 (remainder_test_towardzero): Likewise.
24970 (drem_test_towardzero): Likewise.
24971 (remainder_test_downward): Likewise.
24972 (drem_test_downward): Likewise.
24973 (remainder_test_upward): Likewise.
24974 (drem_test_upward): Likewise.
24975 (remquo_test): Likewise.
24976 (rint_test): Likewise.
24977 (rint_test_tonearest): Likewise.
24978 (rint_test_towardzero): Likewise.
24979 (rint_test_downward): Likewise.
24980 (rint_test_upward): Likewise.
24981 (round_test): Likewise.
24982 (scalb_test): Likewise.
24983 (scalbn_test): Likewise.
24984 (scalbln_test): Likewise.
24985 (signbit_test): Likewise.
24986 (sin_test): Likewise.
24987 (sin_test_tonearest): Likewise.
24988 (sin_test_towardzero): Likewise.
24989 (sin_test_downward): Likewise.
24990 (sin_test_upward): Likewise.
24991 (sincos_test): Likewise.
24992 (sinh_test): Likewise.
24993 (sinh_test_tonearest): Likewise.
24994 (sinh_test_towardzero): Likewise.
24995 (sinh_test_downward): Likewise.
24996 (sinh_test_upward): Likewise.
24997 (sqrt_test): Likewise.
24998 (sqrt_test_tonearest): Likewise.
24999 (sqrt_test_towardzero): Likewise.
25000 (sqrt_test_downward): Likewise.
25001 (sqrt_test_upward): Likewise.
25002 (tan_test): Likewise.
25003 (tan_test_tonearest): Likewise.
25004 (tan_test_towardzero): Likewise.
25005 (tan_test_downward): Likewise.
25006 (tan_test_upward): Likewise.
25007 (tanh_test): Likewise.
25008 (tgamma_test): Likewise.
25009 (trunc_test): Likewise.
25010 (y0_test): Likewise.
25011 (y1_test): Likewise.
25012 (yn_test): Likewise.
25013 (significand_test): Likewise.
25014
25015 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25016 individual tests in comment.
25017 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25018 (prev_max_error): New variable.
25019 (prev_real_max_error): Likewise.
25020 (prev_imag_max_error): Likewise.
25021 (compare_ulp_data): Don't refer to test names in comment.
25022 (find_test_ulps): Remove function.
25023 (find_function_ulps): Likewise.
25024 (find_complex_function_ulps): Likewise.
25025 (init_max_error): Take function name as argument. Look up ulps
25026 for that function.
25027 (print_ulps): Remove function.
25028 (print_max_error): Use prev_max_error instead of calling
25029 find_function_ulps.
25030 (print_complex_max_error): Use prev_real_max_error and
25031 prev_imag_max_error instead of calling find_complex_function_ulps.
25032 (check_float_internal): Take max_ulp parameter instead of calling
25033 find_test_ulps. Don't call print_ulps.
25034 (check_float): Update call to check_float_internal.
25035 (check_complex): Update calls to check_float_internal.
25036 (START): Pass argument to init_max_error.
25037 * math/gen-libm-test.pl (%results): Don't include "kind"
25038 information.
25039 (parse_ulps): Don't handle ulps of individual tests.
25040 (print_ulps_file): Likewise.
25041 (output_ulps): Likewise.
25042 * math/README.libm-test: Update.
25043 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25044 individual tests.
25045 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25046 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25047 * sysdeps/arm/libm-test-ulps: Likewise.
25048 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25049 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25050 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25051 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25052 * sysdeps/microblaze/libm-test-ulps: Likewise.
25053 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25054 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25056 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25057 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25058 * sysdeps/sh/libm-test-ulps: Likewise.
25059 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25060 * sysdeps/tile/libm-test-ulps: Likewise.
25061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25062
25063 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25064
25065 * math/libm-test.inc (print_complex_max_error): Check separately
25066 whether real and imaginary errors are within allowed range and
25067 pass 0 to print_complex_function_ulps instead of value within
25068 allowed range.
25069
25070 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25071
25072 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25073 formatting.
25074 (get_handles_fopen): Likewise.
25075 (do_write_test): Likewise.
25076
25077 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25078
25079 * libio/fileops.c (do_ftell): Use cached offset when
25080 available.
25081 * libio/iofwide.c (do_ftell_wide): Likewise.
25082 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25083 _IO_file_attach.
25084 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25085
25086 [BZ #16532]
25087 * libio/libioP.h (get_file_offset): New function.
25088 * libio/fileops.c (get_file_offset): Likewise.
25089 (do_ftell): Likewise.
25090 (_IO_new_file_seekoff): Split out ftell logic.
25091 * libio/wfileops.c (do_ftell_wide): Likewise.
25092 (_IO_wfile_seekoff): Split out ftell logic.
25093 * libio/tst-ftell-active-handler.c: New test case.
25094 * libio/Makefile (tests): Add it.
25095
25096 2014-03-03 Roland McGrath <roland@hack.frob.com>
25097
25098 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25099 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25100
25101 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25102
25103 [BZ #16639]
25104 * nscd/connections.c (nscd_init): Call do_exit.
25105 (start_threads): Call do_exit and notify_parent.
25106 (begin_drop_privileges): Call do_exit.
25107 (finish_drop_privileges): Likewise.
25108 * nscd/selinux.c (preserve_capabilities): Likewise.
25109 (install_real_capabilities): Likewise.
25110 (nscd_selinux_enabled): Likewise.
25111 (avc_create_thread): Likewise.
25112 (avc_alloc_lock): Likewise.
25113 (nscd_avc_init): Likewise.
25114 * nscd/nscd.c (parent_fd): New static variable.
25115 (main): Create a pipe between parent and child processes.
25116 Skip closing parent_fd.
25117 (monitor_child): New function.
25118 (do_exit): Likewise.
25119 (notify_parent): Likewise.
25120 * nscd/nscd.h (notify_parent): Likewise.
25121 (do_exit): Likewise.
25122
25123 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25124
25125 * malloc/malloc.c (__libc_calloc): Revert last change.
25126
25127 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25128
25129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25130
25131 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25132
25133 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25135 implementation.
25136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25137 (__libc_ifunc_impl_list): Likewise.
25138 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25139 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25140 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25141 * string/strrchr.c: Define STRRCHR.
25142
25143 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25144
25145 * benchtest/bench-strtok.c (simple_strtok): Delete.
25146 (strtok_string): Use as benchmark.
25147 * string/strtok (STRTOK): New macro.
25148
25149 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25150
25151 * manual/threads.texi: Add header and standard comments to all
25152 functions.
25153
25154 * elf/dl-lookup.c (check_match): New function.
25155 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25156 (do_lookup_x): Remove nested function check_match. Use non-nested
25157 function check_match.
25158
25159 2014-02-28 Roland McGrath <roland@hack.frob.com>
25160
25161 * csu/Makefile (generated, before-compile): Use += rather than =.
25162 * catgets/Makefile (generated, generated-dirs): Likewise.
25163 * debug/Makefile (generated): Likewise.
25164 * dlfcn/Makefile (generated): Likewise.
25165 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25166 * iconvdata/Makefile (before-compile, generated): Likewise.
25167 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25168 * libio/Makefile (generated): Likewise.
25169 * malloc/Makefile (generated): Likewise.
25170 * manual/Makefile (generated, generated-dirs): Likewise.
25171 * misc/Makefile (generated): Likewise.
25172 * posix/Makefile (generated): Likewise.
25173 * resolv/Makefile (generated): Likewise.
25174 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25175 * timezone/Makefile (generated, generated-dirs): Likewise.
25176
25177 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25178
25179 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25180
25181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25182 power8 implementation.
25183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25184 file: POWER8 llround ifunc implementation.
25185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25186 (__lllround): Add POWER8 implementation.
25187 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25188 POWER8 llround implementation.
25189
25190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25191 power8 implementation.
25192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25193 file: POWER8 llrint ifunc implementation.
25194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25195 Add POWER8 implementation.
25196 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25197 POWER8 llrint implementation.
25198
25199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25200 power8 implementation.
25201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25202 file: POWER8 finite ifunc implementation.
25203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25204 Add POWER8 implementation.
25205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25206 Likewise.
25207 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25208 POWER8 finite implementation.
25209 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25210
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25212 power8 implementation.
25213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25214 file: POWER8 isinf ifunc implementation.
25215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25216 POWER8 implementation.
25217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25218 Likewise.
25219 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25220 isinf implementation.
25221 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25222
25223 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25224 (INIT_ARCH): Add hwcap2 initialization.
25225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25226 power8 implementation.
25227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25228 file: POWER8 isnan ifunc implementation.
25229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25230 POWER8 implementation.
25231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25232 Likewise.
25233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25234 isnan implementation.
25235 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25236
25237 2014-02-27 Joey Ye <joey.ye@arm.com>
25238
25239 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25240 (_FP_NANFRAC_Q): Set to zero.
25241
25242 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25243
25244 [BZ #16623]
25245 * math/auto-libm-test-in: New test inputs.
25246 * math/auto-libm-test-out: Regenerate.
25247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25248 and DA.
25249 (__cos): Likewise.
25250 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25251
25252 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25253
25254 * scripts/evaluate-test.sh: Take new argument indicating whether
25255 failure is expected.
25256 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25257 indicating whether failure is expected.
25258 * conform/Makefile (test-xfail-run-conformtest): New variable.
25259 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25260 level.
25261 * posix/Makefile (test-xfail-annexc): New variable.
25262 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25263
25264 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25265
25266 * argp/Makefile: Include Makeconfig immediately after defining
25267 subdir.
25268 * assert/Makefile: Likewise.
25269 * benchtests/Makefile: Likewise.
25270 * catgets/Makefile: Likewise.
25271 * conform/Makefile: Likewise.
25272 * crypt/Makefile: Likewise.
25273 * csu/Makefile: Likewise.
25274 (all): Remove target.
25275 * ctype/Makefile: Include Makeconfig immediately after defining
25276 subdir.
25277 * debug/Makefile: Likewise.
25278 * dirent/Makefile: Likewise.
25279 * dlfcn/Makefile: Likewise.
25280 * gmon/Makefile: Likewise.
25281 * gnulib/Makefile: Likewise.
25282 * grp/Makefile: Likewise.
25283 * gshadow/Makefile: Likewise.
25284 * hesiod/Makefile: Likewise.
25285 * hurd/Makefile: Likewise.
25286 (all): Remove target.
25287 * iconvdata/Makefile: Include Makeconfig immediately after
25288 defining subdir.
25289 * inet/Makefile: Likewise.
25290 * intl/Makefile: Likewise.
25291 * io/Makefile: Likewise.
25292 * libio/Makefile: Likewise.
25293 (all): Remove target.
25294 * locale/Makefile: Include Makeconfig immediately after defining
25295 subdir.
25296 * login/Makefile: Likewise.
25297 * mach/Makefile: Likewise.
25298 (all): Remove target.
25299 * malloc/Makefile: Include Makeconfig immediately after defining
25300 subdir.
25301 (all): Remove target.
25302 * manual/Makefile: Include Makeconfig immediately after defining
25303 subdir.
25304 * math/Makefile: Likewise.
25305 * misc/Makefile: Likewise.
25306 * nis/Makefile: Likewise.
25307 * nss/Makefile: Likewise.
25308 * po/Makefile: Likewise.
25309 (all): Remove target.
25310 * posix/Makefile: Include Makeconfig immediately after defining
25311 subdir.
25312 * pwd/Makefile: Likewise.
25313 * resolv/Makefile: Likewise.
25314 * resource/Makefile: Likewise.
25315 * rt/Makefile: Likewise.
25316 * setjmp/Makefile: Likewise.
25317 * shadow/Makefile: Likewise.
25318 * signal/Makefile: Likewise.
25319 * socket/Makefile: Likewise.
25320 * soft-fp/Makefile: Likewise.
25321 * stdio-common/Makefile: Likewise.
25322 * stdlib/Makefile: Likewise.
25323 * streams/Makefile: Likewise.
25324 * string/Makefile: Likewise.
25325 * sunrpc/Makefile: Likewise.
25326 (all): Remove target.
25327 * sysvipc/Makefile: Include Makeconfig immediately after defining
25328 subdir.
25329 * termios/Makefile: Likewise.
25330 * time/Makefile: Likewise.
25331 * timezone/Makefile: Likewise.
25332 (all): Remove target.
25333 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25334 subdir.
25335 * wctype/Makefile: Likewise.
25336
25337 2014-02-26 Steve Ellcey <sellcey@mips.com>
25338
25339 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25340 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25341 (libc_feholdexcept_setround_mips): Ditto.
25342 (libc_feholdsetround): New.
25343 (libc_feholdsetroundf): New.
25344 (libc_feholdsetroundl): New.
25345 (libc_feupdateenv_test_mips): New.
25346 (libc_feupdateenv_test): New.
25347 (libc_feupdateenv_testf): New.
25348 (libc_feupdateenv_testl): New.
25349 (libc_feresetround): New.
25350 (libc_feresetroundf): New.
25351 (libc_feresetroundl): New.
25352 (libc_fetestexcept_mips): New.
25353 (libc_fetestexcept): New.
25354 (libc_fetestexceptf): New.
25355 (libc_fetestexceptl): New.
25356 (HAVE_RM_CTX): New.
25357 (libc_feholdexcept_setround_mips_ctx): New.
25358 (libc_feholdexcept_setround_ctx): New.
25359 (libc_feholdexcept_setroundf_ctx): New.
25360 (libc_feholdexcept_setroundl_ctx): New.
25361 (libc_fesetenv_mips_ctx): New.
25362 (libc_fesetenv_ctx): New.
25363 (libc_fesetenv_ctxf): New.
25364 (libc_fesetenv_ctxl): New.
25365 (libc_feupdateenv_mips_ctx): New.
25366 (libc_feupdateenv_ctx): New.
25367 (libc_feupdateenvf_ctx): New.
25368 (libc_feupdateenvl_ctx): New.
25369 (libc_feholdsetround_mips_ctx): New.
25370 (libc_feholdsetround_ctx): New.
25371 (libc_feholdsetroundf_ctx): New.
25372 (libc_feholdsetroundl_ctx): New.
25373 (libc_feresetround_mips_ctx): New.
25374 (libc_feresetround_ctx): New.
25375 (libc_feresetroundf_ctx): New.
25376 (libc_feresetroundl_ctx): New.
25377
25378 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25379
25380 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25381
25382 * manual/ipc.texi: New file.
25383 * manual/Makefile (chapters): Add ipc.
25384 * manual/job.texi: Add "Inter-Process Communication" to next.
25385 * manual/process.texi: Add "Inter-Process Communication" to prev.
25386
25387 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25388
25389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25390
25391 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25392
25393 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25394
25395 * manual/arith.texi: Fix spaces after sentences.
25396 * manual/charset.texi: Likewise.
25397 * manual/errno.texi: Likewise.
25398 * manual/install.texi: Likewise.
25399 * manual/llio.texi: Likewise.
25400 * manual/locale.texi: Likewise.
25401 * manual/maint.texi: Likewise.
25402 * manual/math.texi: Likewise.
25403 * manual/memory.texi: Likewise.
25404 * manual/message.texi: Likewise.
25405 * manual/probes.texi: Likewise.
25406 * manual/resource.texi: Likewise.
25407 * manual/signal.texi: Likewise.
25408 * manual/socket.texi: Likewise.
25409 * manual/stdio.texi: Likewise.
25410 * manual/string.texi: Likewise.
25411 * manual/time.texi: Likewise.
25412 * manual/users.texi: Likewise.
25413
25414 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25415
25416 [BZ #16632]
25417 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25418 _DEFAULT_SOURCE is defined.
25419
25420 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25421 Carlos O'Donell <carlos@redhat.com>
25422
25423 [BZ #16613]
25424 * elf/dl-tls.c (_dl_count_modids): New function.
25425 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25426 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25427 audit library and increment generation counter.
25428 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25429 * elf/tst-audit9.c: New file.
25430 * elf/tst-auditmod9a.c: New file.
25431 * elf/tst-auditmod9b.c: New file.
25432 * elf/Makefile: Add rules to build and run tst-audit9.
25433
25434 2014-02-25 Florian Weimer <fweimer@redhat.com>
25435
25436 [BZ #15347]
25437 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25438
25439 2014-02-25 Will Newton <will.newton@linaro.org>
25440
25441 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25442 (__longjmp): Restore sp and lr before restoring callee
25443 saved registers. Add longjmp and longjmp_target
25444 SystemTap probe point.
25445 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25446 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25447 Define to zero to match jmpbuf layout.
25448 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25449 (__sigsetjmp): Save sp and lr before saving callee
25450 saved registers. Add setjmp SystemTap probe point.
25451
25452 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25453
25454 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25455
25456 2014-02-24 Andreas Schwab <schwab@suse.de>
25457
25458 [BZ #15804]
25459 * elf/pldd.c (wait_for_ptrace_stop): New function.
25460 (main): Call it after attaching.
25461
25462 2014-02-22 Roland McGrath <roland@hack.frob.com>
25463
25464 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25465 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25466 Versions files is now verboten.
25467 * hurd/Versions (libc: GLIBC_2.0):
25468 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25469 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25470 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25471 * mach/Versions: Likewise.
25472
25473 * csu/Versions: Remove unused %include.
25474 * resolv/Versions: Likewise.
25475
25476 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25477
25478 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25479 ($(objpfx)check-local-headers.out): Likewise.
25480 ($(objpfx)begin-end-check.out): Likewise.
25481 * Makerules (check-abi-%.out): Likewise.
25482 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25483 ($(objpfx)test2.cat): Likewise.
25484 ($(objpfx)de/libc.cat): Likewise.
25485 ($(objpfx)test-gencat.out): Likewise.
25486 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25487 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25488 ($(objpfx)noload-mem): Likewise.
25489 ($(objpfx)tst-pathopt.out): Likewise.
25490 ($(objpfx)tst-rtld-load-self.out): Likewise.
25491 ($(objpfx)tst-array1-cmp.out): Likewise.
25492 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25493 ($(objpfx)tst-array2-cmp.out): Likewise.
25494 ($(objpfx)tst-array3-cmp.out): Likewise.
25495 ($(objpfx)tst-array4-cmp.out): Likewise.
25496 ($(objpfx)tst-array5-cmp.out): Likewise.
25497 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25498 ($(objpfx)check-textrel.out): Likewise.
25499 ($(objpfx)check-execstack.out): Likewise.
25500 ($(objpfx)check-localplt.out): Likewise.
25501 ($(objpfx)order2-cmp.out): Likewise.
25502 ($(objpfx)tst-leaks1-mem): Likewise.
25503 ($(objpfx)tst-leaks1-static-mem): Likewise.
25504 ($(objpfx)tst-initorder-cmp.out): Likewise.
25505 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25506 ($(objpfx)tst-unused-dep.out): Likewise.
25507 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25508 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25509 * iconv/Makefile (test-iconvconfig): Likewise.
25510 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25511 ($(objpfx)iconv-test.out): Likewise.
25512 ($(objpfx)tst-tables.out): Likewise.
25513 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25514 ($(objpfx)tst-gettext.out): Likewise.
25515 ($(objpfx)tst-translit.out): Likewise.
25516 ($(objpfx)tst-gettext2.out): Likewise.
25517 ($(objpfx)tst-gettext4.out): Likewise.
25518 ($(objpfx)tst-gettext6.out): Likewise.
25519 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25520 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25521 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25522 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25523 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25524 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25525 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25526 ($(objpfx)wordexp-tst.out): Likewise.
25527 ($(objpfx)annexc.out): Likewise.
25528 ($(objpfx)tst-fnmatch-mem): Likewise.
25529 ($(objpfx)bug-regex2-mem): Likewise.
25530 ($(objpfx)bug-regex14-mem): Likewise.
25531 ($(objpfx)bug-regex21-mem): Likewise.
25532 ($(objpfx)bug-regex31-mem): Likewise.
25533 ($(objpfx)tst-vfork3-mem): Likewise.
25534 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25535 ($(objpfx)tst-pcre-mem): Likewise.
25536 ($(objpfx)tst-boost-mem): Likewise.
25537 ($(objpfx)tst-getconf.out): Likewise.
25538 ($(objpfx)bug-ga2-mem): Likewise.
25539 ($(objpfx)bug-glob2-mem): Likewise.
25540 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25541 ($(objpfx)mtrace-tst-leaks2): Likewise.
25542 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25543 ($(objpfx)tst-printf.out): Likewise.
25544 ($(objpfx)tst-setvbuf1.out): Likewise.
25545 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25546 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25547 ($(objpfx)tst-fmtmsg.out): Likewise.
25548 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25549 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25550
25551 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25552 * bits/sigaction.h [__USE_MISC]: Likewise.
25553 * bits/waitstatus.h: Update #endif comments.
25554 * ctype/ctype.h: Likewise.
25555 * dirent/dirent.h: Likewise.
25556 [__USE_MISC]: Remove redundant conditionals.
25557 * grp/grp.h: Update #endif comments.
25558 [__USE_GNU]: Remove redundant conditionals.
25559 [__USE_MISC]: Likewise.
25560 * inet/netinet/in.h [__USE_GNU]: Likewise.
25561 * io/sys/stat.h [__USE_MISC]: Likewise.
25562 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25563 * libio/bits/stdio.h: Update #endif comments.
25564 [__USE_MISC]: Remove redundant conditionals.
25565 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25566 * libio/stdio.h: Update #endif comments.
25567 [__USE_MISC]: Remove redundant conditionals.
25568 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25569 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25570 * math/math.h: Update #else and #endif comments.
25571 [__USE_MISC]: Remove redundant conditionals.
25572 * misc/sys/uio.h: Update #endif comments.
25573 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25574 * posix/glob.h [__USE_MISC]: Likewise.
25575 * posix/sys/types.h: Update #endif comments.
25576 [__USE_MISC]: Remove redundant conditionals.
25577 * posix/sys/wait.h: Update #endif comments.
25578 [__USE_MISC]: Remove redundant conditionals.
25579 * posix/unistd.h: Update #endif comments.
25580 [__USE_MISC]: Remove redundant conditionals.
25581 * pwd/pwd.h [__USE_GNU]: Likewise.
25582 [__USE_MISC]: Likewise.
25583 * resolv/netdb.h [__USE_GNU]: Likewise.
25584 * signal/signal.h: Update #endif comments.
25585 [__USE_MISC]: Remove redundant conditionals.
25586 * stdlib/stdlib.h: Update #else and #endif comments.
25587 [__USE_MISC]: Remove redundant conditionals.
25588 [__USE_GNU]: Likewise.
25589 * string/bits/string2.h [__USE_MISC]: Likewise.
25590 * string/string.h: Update #endif comments.
25591 [__USE_MISC]: Remove redundant conditionals.
25592 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25593 Likewise.
25594 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25595 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25596 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25597 Likewise.
25598 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25599 Likewise.
25600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25601 comments.
25602 [__USE_MISC]: Remove redundant conditionals.
25603 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25604 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25605 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25606 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25607 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25608 Likewise.
25609 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25610 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25611 Likewise.
25612 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25613 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25614 Likewise.
25615 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25616 Likewise.
25617 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25618 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25619 Likewise.
25620 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25621 Likewise.
25622 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25623 * sysdeps/x86/bits/string.h: Update #endif comments.
25624 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25625 conditionals.
25626 * time/sys/time.h: Update #endif comments.
25627 * time/time.h: Likewise.
25628 [__USE_MISC]: Remove redundant conditionals.
25629
25630 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25631
25632 [BZ #16600]
25633 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25634
25635 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25636
25637 * Versions.def (librt): Add GLIBC_2.17.
25638
25639 2014-02-21 Adam Conrad <adconrad@0c3.net>
25640
25641 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25642 synonym for _SYS_AUXV_H to allow direct inclusion.
25643 * sysdeps/sparc/bits/hwcap.h: Likewise.
25644 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25645 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25646 * sysdeps/sparc/sysdep.h: Likewise.
25647
25648 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25649
25650 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25651
25652 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25653
25654 * benchtests/bench-strrchr.c: Print length instead of position.
25655
25656 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25657
25658 [BZ #16611]
25659 * sysdeps/unix/sysv/linux/kernel-features.h
25660 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25661 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25662 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25663 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25664 Likewise.
25665 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25666 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25667 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25668 (__ASSUME_SENDMMSG): Define instead of using previous
25669 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25670 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25671 (__ASSUME_SENDMMSG_SYSCALL): Define.
25672 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25673 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25674 Likewise.
25675 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25676 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25677 Likewise.
25678 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25679 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25680 Likewise.
25681 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25682 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25683 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25684 [__ASSUME_SENDMMSG]: Change conditionals to
25685 [__ASSUME_SENDMMSG_SOCKETCALL].
25686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25687 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25688 Define.
25689 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25690 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25691 Likewise.
25692 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25693 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25694 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25695 [!__ASSUME_SENDMMSG]: Change conditional to
25696 [!__ASSUME_SENDMMSG_SOCKETCALL].
25697 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25698 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25699 Define.
25700
25701 [BZ #16610]
25702 * sysdeps/unix/sysv/linux/kernel-features.h
25703 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25704 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25705 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25706 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25707 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25708 [__i386__ || __sparc__]
25709 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25710 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25711 (__ASSUME_RECVMMSG): Define instead of using previous
25712 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25713 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25714 (__ASSUME_RECVMMSG_SYSCALL): Define.
25715 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25716 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25717 Likewise.
25718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25719 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25720 Likewise.
25721 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25722 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25723 Likewise.
25724 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25725 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25726 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25727 [__ASSUME_RECVMMSG]: Change condition to
25728 [__ASSUME_RECVMMSG_SOCKETCALL].
25729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25731 Define.
25732 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25735 Likewise.
25736 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25737 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25738 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25739 [!__ASSUME_RECVMMSG]: Change condition to
25740 [!__ASSUME_RECVMMSG_SOCKETCALL].
25741 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25742 (__ASSUME_RECVMMSG_SYSCALL): Define.
25743
25744 [BZ #16609]
25745 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25746 __powerpc__ || __s390__ || __sh__ || __sparc__]
25747 (__ASSUME_SOCKETCALL): Define.
25748 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25749 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25750 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25751 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25752 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25753 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25754 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25755 (__ASSUME_ACCEPT4): Define instead of using previous
25756 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25757 __powerpc__ || __sparc__ || __s390__)] condition.
25758 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25759 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25760 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25761 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25762 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25763 [!__ASSUME_ACCEPT4]: Change condition to
25764 [!__ASSUME_ACCEPT4_SOCKETCALL].
25765 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25766 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25767 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25768 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25769 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25770 __ASSUME_ACCEPT4_SYSCALL.
25771 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25772 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25773 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25774 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25775 __ASSUME_ACCEPT4_SYSCALL.
25776 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25777 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25778 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25779 [__ASSUME_ACCEPT4]: Change condition to
25780 [__ASSUME_ACCEPT4_SOCKETCALL].
25781 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25782 (__ASSUME_SOCKETCALL): Define.
25783 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25785 (__ASSUME_SOCKETCALL): Define.
25786 (__ASSUME_ACCEPT4): Remove.
25787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25788 Define.
25789 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25790 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25791 Likewise.
25792 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25793 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25794
25795 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25796 macro.
25797 (HWCAP_ARM_LPAE): Likewise.
25798 (HWCAP_ARM_EVTSTRM): Likewise.
25799 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25800 Add vpfd32, lpae and evtstrm.
25801 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25802 Increase to 22.
25803
25804 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25805
25806 * math/auto-libm-test-in: Add tests of clog10.
25807 * math/auto-libm-test-out: Regenerated.
25808 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25809 * sysdeps/i386/fpu/libm-test-ulps: Update.
25810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25811
25812 2014-02-18 Andreas Schwab <schwab@suse.de>
25813
25814 [BZ #16574]
25815 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25816 Store non-zero if the second buffer was newly allocated.
25817 (send_dg): Likewise.
25818 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25819 to send_vc and send_dg.
25820 (res_nsend): Pass NULL for ansp2_malloced.
25821 * resolv/res_query.c (__libc_res_nquery): Add parameter
25822 answerp2_malloced and pass it down to __libc_res_nsend.
25823 (res_nquery): Pass additional NULL to __libc_res_nquery.
25824 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25825 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25826 second answer buffer if answerp2_malloced was set.
25827 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25828 (__libc_res_nquerydomain): Add parameter
25829 answerp2_malloced and pass it down to __libc_res_nquery.
25830 (res_nquerydomain): Pass additional NULL to
25831 __libc_res_nquerydomain.
25832 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25833 additional NULL to __libc_res_nsend and __libc_res_nquery.
25834 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25835 additional NULL to __libc_res_nsearch.
25836 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25837 parameter of __libc_res_nsearch to check for separately allocated
25838 second buffer.
25839 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25840 __libc_res_nquery.
25841 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25842 additional NULL to __libc_res_nquery.
25843 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25844 __libc_res_nsearch.
25845 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25846 * include/resolv.h: Update prototypes of __libc_res_nquery,
25847 __libc_res_nsearch, __libc_res_nsend.
25848
25849 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25850
25851 * math/auto-libm-test-in: Add tests of fma.
25852 * math/auto-libm-test-out: Regenerated.
25853 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25854 (fma_towardzero_test_data): Likewise.
25855 (fma_downward_test_data): Likewise.
25856 (fma_upward_test_data): Likewise.
25857 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25858 mpc_mode.
25859 (rounding_modes): Add values for new field.
25860 (func_calc_method): Add value mpfr_fff_f.
25861 (func_calc_desc): Add mpfr_fff_f union field.
25862 (test_function): Add field exact_args.
25863 (FUNC): Add macro argument EXACT_ARGS.
25864 (FUNC_mpfr_f_f): Update call to FUNC.
25865 (FUNC_mpfr_f_f): Likewise.
25866 (FUNC_mpfr_ff_f): Likewise.
25867 (FUNC_mpfr_if_f): Likewise.
25868 (FUNC_mpc_c_f): Likewise.
25869 (FUNC_mpc_c_c): Likewise.
25870 (test_functions): Add fma. Update calls to FUNC.
25871 (handle_input_arg): Add argument exact_args.
25872 (add_test): Update call to handle_input_arg.
25873 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25874 (output_for_one_input_case): Update call to calc_generic_results.
25875 Recalculate exact zero results in each rounding mode.
25876
25877 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25878 non-negative before setting low bit.
25879 * math/auto-libm-test-in: Mark one asin test possibly having
25880 spurious underflow.
25881 * math/auto-libm-test-out: Regenerated.
25882 * sysdeps/i386/fpu/libm-test-ulps: Update.
25883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25884
25885 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25886
25887 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25888 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25889 ports/sysdeps/unix/sysv/linux/microblaze.
25890 * README: Add missing listing for microblaze*-*-linux-gnu.
25891
25892 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25893
25894 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25895 duplicate code
25896
25897 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25898
25899 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25900 * sysdeps/unix/sysv/linux/ia64: Move directory from
25901 ports/sysdeps/unix/sysv/linux/ia64.
25902 * README: Update listing for ia64-*-linux-gnu.
25903
25904 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25905 Joseph Myers <joseph@codesourcery.com>
25906
25907 * Makeconfig (test-name): New variable.
25908 (evaluate-test): Likewise.
25909 * Makerules (do-test-clean): Remove .test-result files.
25910 (common-mostlyclean): Likewise.
25911 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25912 * scripts/evaluate-test.sh: New file.
25913
25914 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25915
25916 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25917 separate $(objpfx)tst-fopenloc-cmp.out and
25918 $(objpfx)tst-fopenloc-mem.out targets.
25919 (tests): Update dependencies.
25920 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25921 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25922 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25923 (tst-rxspencer-no-utf8-ARGS): New variable.
25924 (tst-rxspencer-no-utf8-ENV): Likewise.
25925 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25926 instead of $(objpfx)tst-rxspencer-mem.
25927 ($(objpfx)tst-rxspencer-mem): Change target to
25928 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25929 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25930 * posix/tst-rxspencer-no-utf8.c: New file.
25931
25932 * elf/Makefile ($(objpfx)order.out): Remove rule.
25933 [$(run-built-tests) = yes] (tests): Depend on
25934 $(objpfx)order-cmp.out.
25935 ($(objpfx)order-cmp.out): New rule.
25936 [$(run-built-tests) = yes] (tests): Depend on
25937 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25938 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25939 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25940 $(objpfx)tst-array5-static-cmp.out.
25941 ($(objpfx)tst-array1.out): Remove rule.
25942 ($(objpfx)tst-array1-cmp.out): New rule.
25943 ($(objpfx)tst-array1-static.out): Remove rule.
25944 ($(objpfx)tst-array1-static-cmp.out): New rule.
25945 ($(objpfx)tst-array2.out): Remove rule.
25946 ($(objpfx)tst-array2-cmp.out): New rule.
25947 ($(objpfx)tst-array3.out): Remove rule.
25948 ($(objpfx)tst-array3-cmp.out): New rule.
25949 ($(objpfx)tst-array4.out): Remove rule.
25950 ($(objpfx)tst-array4-cmp.out): New rule.
25951 ($(objpfx)tst-array5.out): Remove rule.
25952 ($(objpfx)tst-array5-cmp.out): New rule.
25953 ($(objpfx)tst-array5-static.out): Remove rule.
25954 ($(objpfx)tst-array5-static-cmp.out): New rule.
25955 [$(run-built-tests) = yes] (tests): Depend on
25956 $(objpfx)order2-cmp.out.
25957 ($(objpfx)order2.out): Remove rule.
25958 ($(objpfx)order2-cmp.out): New rule.
25959 ($(objpfx)tst-initorder.out): Remove rule.
25960 [$(run-built-tests) = yes] (tests): Depend on
25961 $(objpfx)tst-initorder-cmp.out.
25962 ($(objpfx)tst-initorder-cmp.out): New rule.
25963 ($(objpfx)tst-initorder2.out): Remove rule.
25964 [$(run-built-tests) = yes] (tests): Depend on
25965 $(objpfx)tst-initorder2-cmp.out.
25966 ($(objpfx)tst-initorder2-cmp.out): New rule.
25967 [$(run-built-tests) = yes] (tests): Depend on
25968 $(objpfx)tst-unused-dep-cmp.out.
25969 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25970 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25971 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25972 on $(objpfx)tst-setvbuf1-cmp.out.
25973 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25974 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25975 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25976 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25977 ($(objpfx)tst-svc.out): Remove rule.
25978 ($(objpfx)tst-svc-cmp.out): New rule.
25979
25980 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25981
25982 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25983 * ctype/ctype.h [__USE_MISC]: Likewise.
25984 * dirent/dirent.h [__USE_MISC]: Likewise.
25985 * grp/grp.h [__USE_MISC]: Likewise.
25986 * io/fcntl.h [__USE_MISC]: Likewise.
25987 * io/sys/stat.h [__USE_MISC]: Likewise.
25988 * libio/stdio.h [__USE_MISC]: Likewise.
25989 * posix/unistd.h [__USE_MISC]: Likewise.
25990 * pwd/pwd.h [__USE_MISC]: Likewise.
25991 * stdlib.h [__USE_MISC]: Likewise.
25992 * string/bits/string2.h [__USE_MISC]: Likewise.
25993 * string/string.h [__USE_MISC]: Likewise.
25994 * time/time.h [__USE_MISC]: Likewise.
25995
25996 2014-02-13 Andreas Schwab <schwab@suse.de>
25997
25998 [BZ #16574]
25999 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26000 second answer buffer if it was separately allocated.
26001
26002 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26003
26004 * sysdeps/mips/math-tests.h: Include <features.h>.
26005 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26006 (ROUNDING_TESTS_long_double): Do not define.
26007 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26008 (EXCEPTION_TESTS_long_double): Likewise.
26009 * sysdeps/mips/mips64/libm-test-ulps: Update.
26010
26011 * include/features.h (__USE_BSD): Remove macro definitions.
26012 (__USE_SVID): Likewise.
26013 (_BSD_SOURCE): Likewise.
26014 (_SVID_SOURCE): Likewise.
26015 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26016 from definition of _DEFAULT_SOURCE.
26017 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26018 [_DEFAULT_SOURCE].
26019 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26020 * bits/mman.h [__USE_BSD]: Likewise.
26021 * bits/termios.h [__USE_BSD]: Likewise.
26022 * bits/waitstatus.h [__USE_BSD]: Likewise.
26023 * ctype/ctype.h [__USE_SVID]: Likewise.
26024 * dirent/dirent.h [__USE_BSD]: Likewise.
26025 * grp/grp.h [__USE_SVID]: Likewise.
26026 [__USE_BSD]: Likewise.
26027 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26028 * io/fcntl.h [__USE_BSD]: Likewise.
26029 * io/ftw.h [__USE_BSD]: Likewise.
26030 * io/sys/stat.h [__USE_BSD]: Likewise.
26031 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26032 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26033 * libio/stdio.h [__USE_SVID]: Likewise.
26034 [__USE_BSD]: Likewise.
26035 * math/math.h [__USE_SVID]: Likewise.
26036 [__USE_BSD]: Likewise.
26037 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26038 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26039 * misc/search.h [__USE_SVID]: Likewise.
26040 * misc/sys/mman.h [__USE_BSD]: Likewise.
26041 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26042 * misc/sys/uio.h [__USE_BSD]: Likewise.
26043 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26044 * posix/glob.h [__USE_BSD]: Likewise.
26045 * posix/regex.h [__USE_BSD]: Likewise.
26046 * posix/sys/types.h [__USE_BSD]: Likewise.
26047 [__USE_SVID]: Likewise.
26048 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26049 * posix/sys/wait.h [__USE_BSD]: Likewise.
26050 [__USE_SVID]: Likewise.
26051 * posix/unistd.h [__USE_BSD]: Likewise.
26052 [__USE_SVID]: Likewise.
26053 * pwd/pwd.h [__USE_SVID]: Likewise.
26054 * resolv/netdb.h [__USE_BSD]: Likewise.
26055 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26056 * signal/signal.h [__USE_BSD]: Likewise.
26057 [__USE_SVID]: Likewise.
26058 * socket/sys/socket.h [__USE_BSD]: Likewise.
26059 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26060 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26061 [__USE_SVID]: Likewise.
26062 * string/bits/string2.h [__USE_BSD]: Likewise.
26063 [__USE_SVID]: Likewise.
26064 * string/bits/string3.h [__USE_BSD]: Likewise.
26065 * string/endian.h [__USE_BSD]: Likewise.
26066 * string/string.h [__USE_SVID]: Likewise.
26067 [__USE_BSD]: Likewise.
26068 * string/strings.h [__USE_BSD]: Likewise.
26069 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26070 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26071 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26072 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26073 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26074 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26075 Likewise.
26076 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26077 Likewise.
26078 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26079 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26080 Likewise.
26081 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26082 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26083 Likewise.
26084 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26085 Likewise.
26086 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26087 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26088 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26089 Likewise.
26090 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26091 Likewise.
26092 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26093 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26094 * termios/termios.h [__USE_BSD]: Likewise.
26095 * time/sys/time.h [__USE_BSD]: Likewise.
26096 * time/time.h [__USE_BSD]: Likewise.
26097 [__USE_SVID]: Likewise.
26098
26099 * Makefile (subdir_targets): Remove subdir_lint.out.
26100
26101 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26102 (do-tst-printf): Likewise.
26103 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26104 $(objpfx)tst-printf.out.
26105
26106 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26107
26108 * Makerules (check-abi-%): Change target to
26109 $(objpfx)check-abi-%.out.
26110 (check-abi target): Update dependencies.
26111 (check-abi-pattern variable): Redirect output of diff to $@.
26112 (check-abi variable): Likewise.
26113 * elf/Makefile (check-abi): Update dependencies.
26114
26115 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26116 unused.
26117 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26118 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26119 subnormal range.
26120 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26121 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26122 value has largest subnormal exponent.
26123 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26124 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26125 * sysdeps/aarch64/soft-fp/sfp-machine.h
26126 (_FP_TININESS_AFTER_ROUNDING): New macro.
26127 * sysdeps/alpha/soft-fp/sfp-machine.h
26128 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26129 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26130 Likewise.
26131 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26132 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26133 * sysdeps/mips/soft-fp/sfp-machine.h
26134 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26135 * sysdeps/powerpc/soft-fp/sfp-machine.h
26136 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26137 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26138 Likewise.
26139 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26140 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26142 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26143 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26144 Likewise.
26145
26146 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26147
26148 [BZ #16545]
26149 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26150 model 1.
26151
26152 2014-02-12 Richard Henderson <rth@redhat.com>
26153
26154 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26155 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26156 * sysdeps/unix/sysv/linux/alpha: Move directory from
26157 ports/sysdeps/unix/sysv/linux/alpha.
26158 * README: Update listing for alpha-*-linux-gnu.
26159
26160 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26161
26162 * include/features.h: Update comment documenting feature test
26163 macros.
26164 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26165 _DEFAULT_SOURCE.
26166 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26167 (_SVID_SOURCE): Likewise.
26168 (_DEFAULT_SOURCE): Update description of default features.
26169 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26170 with _GNU_SOURCE.
26171 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26172 (S_ISVTX): Likewise.
26173 * manual/math.texi (Mathematical Constants): Likewise.
26174 * manual/signal.texi (Interrupted Primitives): Likewise.
26175 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26176 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26177 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26178 Don't refer to _SVID_SOURCE in warning text.
26179
26180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26181
26182 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26183 already defined.
26184 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26185 * sysdeps/mips/dl-lookup.c: Remove.
26186 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26187
26188 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26189
26190 [BZ #16447]
26191 * math/auto-libm-test-in: Add testcase for expl.
26192 * math/auto-libm-test-out: Regenerate.
26193 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26194 calculation of unsafe.
26195 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26196
26197 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26198
26199 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26200 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26201 ports/sysdeps/unix/sysv/linux/aarch64.
26202 * README: Update listing for aarch64*-*-linux-gnu.
26203
26204 2014-02-11 Will Newton <will.newton@linaro.org>
26205
26206 * manual/probes.texi (Mathematical Function Probes): Use
26207 "triggered" instead of "hit".
26208
26209 * manual/probes.texi (Internal Probes): Add documentation
26210 of setjmp, longjmp and longjmp_target probes.
26211
26212 * include/stap-probe.h: Add comment about probe argument
26213 format.
26214
26215 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26216 definition. (tr_where, tr_freehook, tr_mallochook,
26217 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26218
26219 2014-02-11 David S. Miller <davem@davemloft.net>
26220
26221 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26222 processing int_tests.
26223
26224 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26225
26226 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26227 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26228 * sysdeps/unix/sysv/linux/mips: Move directory from
26229 ports/sysdeps/unix/sysv/linux/mips.
26230 * README: Update listing for mips-*-linux-gnu and
26231 mips64-*-linux-gnu.
26232
26233 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26234
26235 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26236 * sysdeps/unix/sysv/linux/m68k: Move directory from
26237 ports/sysdeps/unix/sysv/linux/m68k.
26238 * README: Update listing for m68k-*-linux-gnu.
26239
26240 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26241
26242 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26243 * sysdeps/unix/sysv/linux/generic: Move directory from
26244 ports/sysdeps/unix/sysv/linux/generic.
26245 * sysdeps/unix/sysv/linux/tile: Move directory from
26246 ports/sysdeps/unix/sysv/linux/tile.
26247 * README: Update listing for tile*-*-linux-gnu.
26248
26249 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26250
26251 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26252 __builtin_expect.
26253 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26254 * catgets/open_catalog.c (__open_catalog): Likewise.
26255 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26256 * debug/confstr_chk.c: Likewise.
26257 * debug/fread_chk.c (__fread_chk): Likewise.
26258 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26259 * debug/getgroups_chk.c: Likewise.
26260 * debug/mbsnrtowcs_chk.c: Likewise.
26261 * debug/mbsrtowcs_chk.c: Likewise.
26262 * debug/mbstowcs_chk.c: Likewise.
26263 * debug/memcpy_chk.c: Likewise.
26264 * debug/memmove_chk.c: Likewise.
26265 * debug/mempcpy_chk.c: Likewise.
26266 * debug/memset_chk.c: Likewise.
26267 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26268 * debug/strcat_chk.c (__strcat_chk): Likewise.
26269 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26270 * debug/strncat_chk.c (__strncat_chk): Likewise.
26271 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26272 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26273 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26274 * debug/wcpncpy_chk.c: Likewise.
26275 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26276 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26277 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26278 * debug/wcsncpy_chk.c: Likewise.
26279 * debug/wcsnrtombs_chk.c: Likewise.
26280 * debug/wcsrtombs_chk.c: Likewise.
26281 * debug/wcstombs_chk.c: Likewise.
26282 * debug/wmemcpy_chk.c: Likewise.
26283 * debug/wmemmove_chk.c: Likewise.
26284 * debug/wmempcpy_chk.c: Likewise.
26285 * debug/wmemset_chk.c: Likewise.
26286 * dirent/scandirat.c (SCANDIRAT): Likewise.
26287 * dlfcn/dladdr1.c (dladdr1): Likewise.
26288 * dlfcn/dladdr.c (dladdr): Likewise.
26289 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26290 * dlfcn/dlerror.c (__dlerror): Likewise.
26291 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26292 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26293 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26294 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26295 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26296 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26297 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26298 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26299 Likewise.
26300 * elf/dl-conflict.c: Likewise.
26301 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26302 * elf/dl-dst.h: Likewise.
26303 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26304 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26305 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26306 * elf/dl-init.c (call_init, _dl_init): Likewise.
26307 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26308 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26309 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26310 Likewise.
26311 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26312 Likewise.
26313 * elf/dl-minimal.c (__libc_memalign): Likewise.
26314 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26315 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26316 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26317 * elf/dl-sym.c (do_sym): Likewise.
26318 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26319 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26320 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26321 * elf/dl-writev.h (_dl_writev): Likewise.
26322 * elf/ldconfig.c (search_dir): Likewise.
26323 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26324 (dl_main): Likewise.
26325 * elf/setup-vdso.h (setup_vdso): Likewise.
26326 * grp/compat-initgroups.c (compat_call): Likewise.
26327 * grp/fgetgrent.c (fgetgrent): Likewise.
26328 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26329 * grp/putgrent.c (putgrent): Likewise.
26330 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26331 Likewise.
26332 * hurd/hurdinit.c: Likewise.
26333 * iconvdata/8bit-gap.c (struct): Likewise.
26334 * iconvdata/ansi_x3.110.c : Likewise.
26335 * iconvdata/big5.c : Likewise.
26336 * iconvdata/big5hkscs.c : Likewise.
26337 * iconvdata/cp1255.c: Likewise.
26338 * iconvdata/cp1258.c : Likewise.
26339 * iconvdata/cp932.c : Likewise.
26340 * iconvdata/euc-cn.c: Likewise.
26341 * iconvdata/euc-jisx0213.c : Likewise.
26342 * iconvdata/euc-jp.c: Likewise.
26343 * iconvdata/euc-jp-ms.c : Likewise.
26344 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26345 * iconvdata/gb18030.c : Likewise.
26346 * iconvdata/gbbig5.c (const): Likewise.
26347 * iconvdata/gbgbk.c: Likewise.
26348 * iconvdata/gbk.c : Likewise.
26349 * iconvdata/ibm1364.c : Likewise.
26350 * iconvdata/ibm930.c : Likewise.
26351 * iconvdata/ibm932.c: Likewise.
26352 * iconvdata/ibm933.c : Likewise.
26353 * iconvdata/ibm935.c : Likewise.
26354 * iconvdata/ibm937.c : Likewise.
26355 * iconvdata/ibm939.c : Likewise.
26356 * iconvdata/ibm943.c: Likewise.
26357 * iconvdata/iso_11548-1.c: Likewise.
26358 * iconvdata/iso-2022-cn.c : Likewise.
26359 * iconvdata/iso-2022-cn-ext.c : Likewise.
26360 * iconvdata/iso-2022-jp-3.c: Likewise.
26361 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26362 * iconvdata/iso-2022-kr.c : Likewise.
26363 * iconvdata/iso646.c (gconv_end): Likewise.
26364 * iconvdata/iso_6937-2.c : Likewise.
26365 * iconvdata/iso_6937.c : Likewise.
26366 * iconvdata/iso8859-1.c: Likewise.
26367 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26368 * iconvdata/shift_jisx0213.c : Likewise.
26369 * iconvdata/sjis.c : Likewise.
26370 * iconvdata/t.61.c : Likewise.
26371 * iconvdata/tcvn5712-1.c : Likewise.
26372 * iconvdata/tscii.c: Likewise.
26373 * iconvdata/uhc.c : Likewise.
26374 * iconvdata/unicode.c (gconv_end): Likewise.
26375 * iconvdata/utf-16.c (gconv_end): Likewise.
26376 * iconvdata/utf-32.c (gconv_end): Likewise.
26377 * iconvdata/utf-7.c (base64): Likewise.
26378 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26379 * iconv/gconv_close.c (__gconv_close): Likewise.
26380 * iconv/gconv_open.c (__gconv_open): Likewise.
26381 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26382 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26383 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26384 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26385 (ucs4le_internal_loop_single): Likewise.
26386 * iconv/iconv.c (iconv): Likewise.
26387 * iconv/iconv_close.c: Likewise.
26388 * iconv/loop.c (SINGLE): Likewise.
26389 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26390 * include/atomic.h: Likewise.
26391 * inet/inet6_option.c (option_alloc): Likewise.
26392 * intl/bindtextdom.c (set_binding_values): Likewise.
26393 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26394 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26395 * intl/localealias.c (read_alias_file): Likewise.
26396 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26397 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26398 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26399 * libio/fmemopen.c (fmemopen): Likewise.
26400 * libio/iofgets.c (_IO_fgets): Likewise.
26401 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26402 * libio/iofgetws.c (fgetws): Likewise.
26403 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26404 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26405 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26406 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26407 * locale/findlocale.c (_nl_find_locale): Likewise.
26408 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26409 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26410 Likewise.
26411 * locale/setlocale.c (setlocale): Likewise.
26412 * login/programs/pt_chown.c (main): Likewise.
26413 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26414 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26415 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26416 (mmap, mmap64, mremap, munmap): Likewise.
26417 * math/e_exp2l.c: Likewise.
26418 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26419 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26420 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26421 * math/s_catan.c (__catan): Likewise.
26422 * math/s_catanf.c (__catanf): Likewise.
26423 * math/s_catanh.c (__catanh): Likewise.
26424 * math/s_catanhf.c (__catanhf): Likewise.
26425 * math/s_catanhl.c (__catanhl): Likewise.
26426 * math/s_catanl.c (__catanl): Likewise.
26427 * math/s_ccosh.c (__ccosh): Likewise.
26428 * math/s_ccoshf.c (__ccoshf): Likewise.
26429 * math/s_ccoshl.c (__ccoshl): Likewise.
26430 * math/s_cexp.c (__cexp): Likewise.
26431 * math/s_cexpf.c (__cexpf): Likewise.
26432 * math/s_cexpl.c (__cexpl): Likewise.
26433 * math/s_clog10.c (__clog10): Likewise.
26434 * math/s_clog10f.c (__clog10f): Likewise.
26435 * math/s_clog10l.c (__clog10l): Likewise.
26436 * math/s_clog.c (__clog): Likewise.
26437 * math/s_clogf.c (__clogf): Likewise.
26438 * math/s_clogl.c (__clogl): Likewise.
26439 * math/s_csin.c (__csin): Likewise.
26440 * math/s_csinf.c (__csinf): Likewise.
26441 * math/s_csinh.c (__csinh): Likewise.
26442 * math/s_csinhf.c (__csinhf): Likewise.
26443 * math/s_csinhl.c (__csinhl): Likewise.
26444 * math/s_csinl.c (__csinl): Likewise.
26445 * math/s_csqrt.c (__csqrt): Likewise.
26446 * math/s_csqrtf.c (__csqrtf): Likewise.
26447 * math/s_csqrtl.c (__csqrtl): Likewise.
26448 * math/s_ctan.c (__ctan): Likewise.
26449 * math/s_ctanf.c (__ctanf): Likewise.
26450 * math/s_ctanh.c (__ctanh): Likewise.
26451 * math/s_ctanhf.c (__ctanhf): Likewise.
26452 * math/s_ctanhl.c (__ctanhl): Likewise.
26453 * math/s_ctanl.c (__ctanl): Likewise.
26454 * math/w_pow.c: Likewise.
26455 * math/w_powf.c: Likewise.
26456 * math/w_powl.c: Likewise.
26457 * math/w_scalb.c (sysv_scalb): Likewise.
26458 * math/w_scalbf.c (sysv_scalbf): Likewise.
26459 * math/w_scalbl.c (sysv_scalbl): Likewise.
26460 * misc/error.c (error_tail): Likewise.
26461 * misc/pselect.c (__pselect): Likewise.
26462 * nis/nis_callback.c (__nis_create_callback): Likewise.
26463 * nis/nis_call.c (__nisfind_server): Likewise.
26464 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26465 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26466 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26467 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26468 * nis/nis_lookup.c (nis_lookup): Likewise.
26469 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26470 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26471 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26472 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26473 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26474 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26475 * nis/nss_compat/compat-initgroups.c (add_group)
26476 (internal_getgrent_r): Likewise.
26477 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26478 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26479 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26480 (internal_getspnam_r): Likewise.
26481 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26482 (_nss_nis_getaliasbyname_r): Likewise.
26483 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26484 (_nss_nis_getntohost_r): Likewise.
26485 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26486 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26487 (_nss_nis_getgrgid_r): Likewise.
26488 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26489 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26490 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26491 (_nss_nis_gethostbyname4_r): Likewise.
26492 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26493 (initgroups_netid): Likewise.
26494 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26495 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26496 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26497 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26498 (_nss_nis_getprotobynumber_r): Likewise.
26499 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26500 (_nss_nis_getsecretkey): Likewise.
26501 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26502 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26503 (_nss_nis_getpwuid_r): Likewise.
26504 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26505 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26506 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26507 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26508 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26509 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26510 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26511 Likewise.
26512 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26513 (_nss_nisplus_getntohost_r): Likewise.
26514 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26515 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26516 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26517 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26518 Likewise.
26519 * nis/nss_nisplus/nisplus-initgroups.c
26520 (_nss_nisplus_initgroups_dyn): Likewise.
26521 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26522 (_nss_nisplus_getnetbyaddr_r): Likewise.
26523 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26524 (_nss_nisplus_getprotobynumber_r): Likewise.
26525 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26526 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26527 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26528 Likewise.
26529 * nis/nss_nisplus/nisplus-service.c
26530 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26531 (_nss_nisplus_getservbyport_r): Likewise.
26532 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26533 (_nss_nisplus_getspnam_r): Likewise.
26534 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26535 Likewise.
26536 * nscd/aicache.c (addhstaiX): Likewise.
26537 * nscd/cache.c (cache_search, prune_cache): Likewise.
26538 * nscd/connections.c (register_traced_file, send_ro_fd)
26539 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26540 (main_loop_epoll): Likewise.
26541 * nscd/grpcache.c (addgrbyX): Likewise.
26542 * nscd/hstcache.c (addhstbyX): Likewise.
26543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26544 * nscd/mem.c (gc, mempool_alloc): Likewise.
26545 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26546 (addinnetgrX): Likewise.
26547 * nscd/nscd-client.h (__nscd_acquire_maplock)
26548 (__nscd_drop_map_ref): Likewise.
26549 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26550 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26551 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26552 Likewise.
26553 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26555 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26556 (__nscd_get_map_ref): Likewise.
26557 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26558 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26559 Likewise.
26560 * nscd/pwdcache.c (addpwbyX): Likewise.
26561 * nscd/selinux.c (preserve_capabilities): Likewise.
26562 * nscd/servicescache.c (addservbyX): Likewise.
26563 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26564 * posix/fnmatch.c (fnmatch): Likewise.
26565 * posix/getopt.c (_getopt_internal_r): Likewise.
26566 * posix/glob.c (glob, glob_in_dir): Likewise.
26567 * posix/wordexp.c (exec_comm_child): Likewise.
26568 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26569 (getanswer_r, gaih_getanswer_slice): Likewise.
26570 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26571 * resolv/res_init.c: Likewise.
26572 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26573 * resolv/res_query.c (__libc_res_nquery): Likewise.
26574 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26575 Likewise.
26576 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26577 * stdio-common/perror.c (perror): Likewise.
26578 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26579 * stdio-common/tmpnam.c (tmpnam): Likewise.
26580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26581 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26582 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26583 Likewise.
26584 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26585 * stdlib/putenv.c (putenv): Likewise.
26586 * stdlib/setenv.c (__add_to_environ): Likewise.
26587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26588 * stdlib/strtol_l.c (INTERNAL): Likewise.
26589 * string/memmem.c (memmem): Likewise.
26590 * string/strerror.c (strerror): Likewise.
26591 * string/strnlen.c (__strnlen): Likewise.
26592 * string/test-memmem.c (simple_memmem): Likewise.
26593 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26594 * sunrpc/pm_getport.c (__get_socket): Likewise.
26595 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26596 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26597 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26598 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26599 Likewise.
26600 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26601 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26602 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26603 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26604 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26605 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26606 Likewise.
26607 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26608 Likewise.
26609 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26610 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26612 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26613 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26615 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26616 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26617 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26618 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26619 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26620 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26621 Likewise.
26622 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26623 Likewise.
26624 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26625 Likewise.
26626 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26630 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26631 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26632 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26638 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26639 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26642 Likewise.
26643 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26644 Likewise.
26645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26646 Likewise.
26647 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26648 Likewise.
26649 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26651 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26652 Likewise.
26653 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26654 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26655 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26656 * sysdeps/posix/sleep.c: Likewise.
26657 * sysdeps/posix/tempname.c: Likewise.
26658 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26659 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26660 Likewise.
26661 * sysdeps/powerpc/powerpc32/dl-machine.h
26662 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26663 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26665 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26666 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26667 Likewise.
26668 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26669 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26670 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26671 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26672 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26673 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26674 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26675 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26676 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26677 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26679 (elf_machine_lazy_rel): Likewise.
26680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26682 (elf_machine_lazy_rel): Likewise.
26683 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26684 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26685 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26686 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26687 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26688 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26689 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26691 Likewise.
26692 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26693 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26694 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26695 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26696 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26697 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26698 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26699 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26700 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26701 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26702 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26703 Likewise.
26704 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26705 (__posix_fallocate64_l64): Likewise.
26706 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26707 (posix_fallocate): Likewise.
26708 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26709 Likewise.
26710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26711 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26712 (getifaddrs_internal): Likewise.
26713 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26714 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26715 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26716 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26717 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26718 (__posix_fallocate64_l64): Likewise.
26719 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26720 Likewise.
26721 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26722 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26723 (__get_clockfreq): Likewise.
26724 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26725 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26726 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26729 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26730 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26731 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26732 Likewise.
26733 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26734 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26735 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26737 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26738 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26739 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26740 Likewise.
26741 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26742 (posix_fallocate): Likewise.
26743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26744 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26745 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26746 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26747 (elf_machine_rela, elf_machine_rela_relative)
26748 (elf_machine_lazy_rel): Likewise.
26749 * time/asctime.c (asctime_internal): Likewise.
26750 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26751 * time/tzset.c (__tzset_parse_tz): Likewise.
26752 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26753 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26754 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26755 * wcsmbs/wcsmbsload.h: Likewise.
26756
26757 [BZ #15894]
26758 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26759
26760 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26761 (arena_get2): Remove THREAD_STATS conditionals.
26762 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26763 (__malloc_stats, int): Likewise.
26764
26765 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26766
26767 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26768 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26769
26770 * manual/setjmp.texi: Fix typos/grammar errors.
26771
26772 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26773 Only return early when n is <= 0. Delete unused return statement.
26774
26775 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26776 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26777 * debug/tst-longjmp_chk3.c: New file.
26778
26779 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26780 (test_main): Replace code with set_fortify_handler call.
26781 * debug/test-strcpy_chk.c: Likewise.
26782 * debug/tst-chk1.c: Likewise.
26783 * debug/tst-longjmp_chk.c: Likewise.
26784 * test-skeleton.c: Include fcntl.h & paths.h
26785 (set_fortify_handler): Define.
26786
26787 * debug/tst-longjmp_chk.c: Add header comment and include
26788 ../test-skeleton.c.
26789 (do_test): Mark static.
26790 (TEST_FUNCTION): Define.
26791
26792 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26793 (IP_PMTUDISC_INTERFACE): Likewise.
26794 (IP_MULTICAST_IF): Likewise.
26795 (IP_MULTICAST_TTL): Likewise.
26796 (IP_MULTICAST_LOOP): Likewise.
26797 (IP_ADD_MEMBERSHIP): Likewise.
26798 (IP_DROP_MEMBERSHIP): Likewise.
26799 (IP_UNBLOCK_SOURCE): Likewise.
26800 (IP_BLOCK_SOURCE): Likewise.
26801 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26802 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26803 (IP_MSFILTER): Likewise.
26804 (MCAST_JOIN_GROUP): Likewise.
26805 (MCAST_BLOCK_SOURCE): Likewise.
26806 (MCAST_UNBLOCK_SOURCE): Likewise.
26807 (MCAST_LEAVE_GROUP): Likewise.
26808 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26809 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26810 (MCAST_MSFILTER): Likewise.
26811 (IP_MULTICAST_ALL): Likewise.
26812 (IP_UNICAST_IF): Likewise.
26813
26814 * timezone/Makefile: Delete $(have-ksh) check.
26815 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26816 * timezone/tzselect.ksh: Add +x mode bits.
26817
26818 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26819 (ANON_INODE_FS_MAGIC): Likewise.
26820 (BDEVFS_MAGIC): Likewise.
26821 (BINFMTFS_MAGIC): Likewise.
26822 (BTRFS_TEST_MAGIC): Likewise.
26823 (CRAMFS_MAGIC_WEND): Likewise.
26824 (DEBUGFS_MAGIC): Likewise.
26825 (ECRYPTFS_SUPER_MAGIC): Likewise.
26826 (EXT3_SUPER_MAGIC): Likewise.
26827 (EXT4_SUPER_MAGIC): Likewise.
26828 (FUTEXFS_SUPER_MAGIC): Likewise.
26829 (HOSTFS_SUPER_MAGIC): Likewise.
26830 (HUGETLBFS_MAGIC): Likewise.
26831 (MINIX3_SUPER_MAGIC): Likewise.
26832 (MTD_INODE_FS_MAGIC): Likewise.
26833 (NILFS_SUPER_MAGIC): Likewise.
26834 (OPENPROM_SUPER_MAGIC): Likewise.
26835 (PIPEFS_MAGIC): Likewise.
26836 (PSTOREFS_MAGIC): Likewise.
26837 (QNX6_SUPER_MAGIC): Likewise.
26838 (RAMFS_MAGIC): Likewise.
26839 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26840 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26841 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26842 (SECURITYFS_MAGIC): Likewise.
26843 (SELINUX_MAGIC): Likewise.
26844 (SMACK_MAGIC): Likewise.
26845 (SOCKFS_MAGIC): Likewise.
26846 (SQUASHFS_MAGIC): Likewise.
26847 (STACK_END_MAGIC): Likewise.
26848 (TMPFS_MAGIC): Likewise.
26849 (USBDEVICE_SUPER_MAGIC): Likewise.
26850 (V9FS_MAGIC): Likewise.
26851 (XENFS_SUPER_MAGIC): Likewise.
26852 (CRAMFS_MAGIC): Fix typo in comment.
26853 (EXT2_SUPER_MAGIC): Update comment.
26854 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26855
26856 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26857
26858 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26859 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26860 * sysdeps/unix/sysv/linux/arm: Move directory from
26861 ports/sysdeps/unix/sysv/linux/arm.
26862 * README: Update listing for arm-*-linux-gnueabi.
26863
26864 * README: Remove mention of am33.
26865
26866 2014-02-07 Roland McGrath <roland@hack.frob.com>
26867
26868 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26869 than the comma operator, to avoid "rhs of comma has no effect"
26870 compiler warnings.
26871 (__sigfillset, __sigandset, __sigorset): Likewise.
26872 * include/signal.h (__sigemptyset): Likewise.
26873 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26874
26875 2014-02-07 Allan McRae <allan@archlinux.org>
26876
26877 * version.h (RELEASE): Set to "development".
26878 (VERSION): Set to "2.19.90"
26879 * NEWS: Add 2.20 section.
26880
26881 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26882
26883 [BZ #16529]
26884 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26885
26886 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26887
26888 * manual/contrib.texi: Update entry for Carlos O'Donell,
26889 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26890
26891 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26892
26893 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26894
26895 * sysdeps/unix/sysv/linux/kernel-features.h
26896 [__LINUX_KERNEL_VERSION >= 0x020621]
26897 (__ASSUME_PROC_PID_TASK_COMM): Define.
26898
26899 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26900
26901 [BZ #16398]
26902 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26903 conversion when destination buffer does not have enough space.
26904 * libio/tst-ftell-partial-wide.c: New test case.
26905 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26906
26907 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26908 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26909 Leonard and Allan McRae.
26910
26911 2014-02-04 David S. Miller <davem@davemloft.net>
26912
26913 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26914 32-bit.
26915
26916 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26917
26918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26919 New file
26920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26921 New file
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26923 New file.
26924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26925 New file.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26927 New file.
26928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26929 New file.
26930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26931 New file.
26932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26933 New file.
26934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26935 New file.
26936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26937 New file.
26938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26939 New file.
26940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26941 New file.
26942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26943 New file.
26944
26945 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26946
26947 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26948 * shlib-versions: Likewise.
26949
26950 2014-02-04 Roland McGrath <roland@hack.frob.com>
26951 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26952
26953 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26954 (abilist-pattern): New variable, set to %-le.abilist.
26955
26956 * Makerules (abilist-pattern): New variable.
26957 (vpath): Use $(abilist-pattern) in place of %.abilist.
26958 (check-abi-% pattern rule): Likewise.
26959 (check-abi, update-abi): Likewise.
26960
26961 2014-02-04 Eric Wong <normalperson@yhbt.net>
26962
26963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26964
26965 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26966
26967 * manual/startup.texi: Add next, previous, and top entries for
26968 the `Program Arguments' and `Environment Variables' nodes.
26969
26970 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26971
26972 * manual/macros.texi: Add comments before MTASC-safety macros.
26973
26974 * manual/users.texi: Document MTASC-safety properties.
26975
26976 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26977 (pthread_getspecific, pthread_setspecific): Format with
26978 @deftypefun, and add @safety note.
26979 * manual/signal.texi: Move comments that analyze the above
26980 functions to their home place.
26981
26982 2014-02-03 Allan McRae <allan@archlinux.org>
26983
26984 * po/sl.po: Update Slovenian translation from translation project.
26985
26986 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26987
26988 * manual/time.texi (timegm): Add missing blank after @c.
26989 Reported by Joseph Myers <joseph@codesourcery.com>.
26990
26991 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26992
26993 * manual/check-safety.sh: New.
26994 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26995
26996 * manual/terminal.texi: Document MTASC-safety properties.
26997
26998 * manual/filesys.texi: Document MTASC-safety properties.
26999
27000 * manual/errno.texi: Document MTASC-safety properties.
27001
27002 * manual/intro.texi: Document safety identifiers and
27003 conditionals.
27004
27005 * manual/string.texi (wcstok): Fix prototype.
27006 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27007
27008 * manual/time.texi: Document MTASC-safety properties.
27009
27010 * manual/string.texi: Document MTASC-safety properties.
27011
27012 * manual/threads.texi: Document MTASC-safety properties.
27013
27014 * manual/stdio.texi: Document MTASC-safety properties.
27015
27016 * manual/syslog.texi: Document MTASC-safety properties.
27017
27018 * manual/sysinfo.texi: Document MTASC-safety properties.
27019
27020 * manual/startup.texi: Document MTASC-safety properties.
27021
27022 * manual/socket.texi: Document MTASC-safety properties.
27023
27024 * manual/signal.texi: Document MTASC-safety properties.
27025
27026 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27027
27028 * manual/setjmp.texi: Document MTASC-safety properties.
27029
27030 * manual/search.texi: Document MTASC-safety properties.
27031
27032 * manual/resource.texi: Document MTASC-safety properties.
27033
27034 * manual/process.texi: Document MTASC-safety properties.
27035
27036 * manual/platform.texi: Document MTASC-safety properties.
27037
27038 * manual/pipe.texi: Document MTASC-safety properties.
27039
27040 * manual/pattern.texi: Document MTASC-safety properties.
27041
27042 * manual/message.texi: Document MTASC-safety properties.
27043
27044 [BZ #12751]
27045 * manual/memory.texi: Document MTASC-safety properties.
27046
27047 * manual/math.texi: Document MTASC-safety properties.
27048
27049 * manual/locale.texi: Document MTASC-safety properties.
27050
27051 * manual/llio.texi: Document MTASC-safety properties.
27052
27053 * manual/libdl.texi: New.
27054
27055 * manual/lang.texi: Document MTASC-safety properties.
27056
27057 * manual/job.texi: Document MTASC-safety properties.
27058
27059 * manual/getopt.texi: Document MTASC-safety properties.
27060
27061 * manual/ctype.texi: Document MTASC-safety properties.
27062
27063 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27064
27065 [BZ #16046]
27066 * csu/libc-tls.c (static_map): Remove variable.
27067 (__libc_setup_tls): Use main executable's link map for TLS data.
27068 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27069 casing for LM_ID_BASE and GL(dl_nns).
27070 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27071 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27072 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27073 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27074 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27075 member.
27076 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27077 l_phnum members.
27078
27079 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27080
27081 * manual/debug.texi: Document MTASC-safety properties.
27082
27083 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27084
27085 [BZ #16510]
27086 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27087 of __x86_64__ when disabling x87 inline functions.
27088
27089 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27090
27091 * manual/charset.texi: Document MTASC-safety properties.
27092
27093 * manual/crypt.texi: Document MTASC-safety properties.
27094
27095 * manual/conf.texi: Document MTASC-safety properties.
27096
27097 * manual/arith.texi: Document MTASC-safety properties.
27098
27099 * manual/argp.texi: Document MTASC-safety properties.
27100
27101 * manual/macros.texi: Introduce macros to document multi
27102 thread, asynchronous signal and asynchronous cancellation
27103 safety properties.
27104 * manual/intro.texi: Introduce the properties themselves.
27105
27106 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27107
27108 * sysdeps/sh/sh4/Makefile: New file.
27109
27110 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27111
27112 * math/gen-libm-test.pl ($srcdir): New variable.
27113 ($auto_input): Use it.
27114
27115 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27116
27117 [BZ #16506]
27118 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27119 access beyond array bounds when parsing netgroups file.
27120
27121 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27122 the old buffer before realloc.
27123
27124 2014-01-27 Allan McRae <allan@archlinux.org>
27125
27126 * po/fr.po: Update French translation from translation project.
27127
27128 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27129
27130 * sysdeps/sh/libm-test-ulps: Regenerate.
27131
27132 2014-01-24 David S. Miller <davem@davemloft.net>
27133
27134 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27135
27136 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27137
27138 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27139 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27140
27141 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27142
27143 [BZ #16474]
27144 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27145 string pointers after reallocation.
27146
27147 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27148
27149 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27150 __SH4A__ instead of __SH_FPU_ANY__.
27151
27152 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27153
27154 * sysdeps/sh/fpu_control.h: New file.
27155 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27156 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27157 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27158 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27159 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27160 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27161 * sysdeps/sh/sys/ucontext.h: Remove.
27162 * sysdeps/sh/sys: Remove directory.
27163
27164 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27165
27166 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27167 s390/sys/ucontext.h.
27168 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27169 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27170
27171 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27172
27173 [BZ #15605]
27174 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27175
27176 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27177
27178 [BZ#16431]
27179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27180 Adjust the vDSO correctly for internal calls.
27181 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27182
27183 2014-01-20 Allan McRae <allan@archlinux.org>
27184
27185 * po/ca.po: Update Catalan translation from translation project.
27186
27187 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27188
27189 * sysdeps/s390/sotruss-lib.c: New file.
27190
27191 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27192
27193 [BZ#16430]
27194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27195 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27196 local calls issues by not having a PLT stub required for IFUNC calls.
27197 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27198
27199 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27200
27201 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27202 * math/test-fpucw-static.c: Likewise.
27203
27204 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27205
27206 [BZ #16453]
27207 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27208
27209 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27210
27211 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27212 implementation for powerpc.
27213
27214 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27215
27216 [BZ #14782]
27217 * sysdeps/posix/system.c (__libc_system): Do not enable
27218 asynchronous cancellation.
27219
27220 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27221
27222 [BZ #16427]
27223 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27224 handling only for numbers special also in the IEEE case.
27225
27226 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27227
27228 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27229
27230 2014-01-11 Allan McRae <allan@archlinux.org>
27231
27232 * po/bg.po: Update Bulgarian translation from translation project.
27233
27234 * po/de.po: Update German translation from translation project.
27235
27236 2014-01-10 Roland McGrath <roland@hack.frob.com>
27237
27238 * sysdeps/generic/gcc-compat.h: New file.
27239
27240 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27241
27242 * benchtests/asin-inputs: Correct slow inputs.
27243 * benchtests/acos-inputs: Likewise.
27244
27245 2014-01-10 Allan McRae <allan@archlinux.org>
27246
27247 * po:sv.po: Update Swedish translation from translation project.
27248
27249 * po/vi.po: Update Vietnamese translation from translation project.
27250
27251 * po/eo.po: Update Esperanto translation from translation project.
27252
27253 * po/cs.po: Update Czech translation from translation project.
27254
27255 * po/nl.po: Update Dutch translation from translation project.
27256
27257 * po/pl.po: Update Polish translation from translation project.
27258
27259 * po/ru.po: Update Russian translation from translation project.
27260
27261 * po/uk.po: Update Ukrainian translation from translation project.
27262
27263 2014-01-08 Brooks Moses <bmoses@google.com>
27264
27265 * elf/dl-load.c: Fix comment typo.
27266
27267 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27268
27269 * po/header.pot: Rename to...
27270 * po/pot.header: ... this.
27271 * po/Makefile: Use pot.header.
27272
27273 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27274 Maxim Kuvyrkov <maxim@kugelworks.com>
27275
27276 [BZ #16394]
27277 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27278 SRC and DEST against LEN.
27279
27280 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27281
27282 [BZ #16414]
27283 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27284 implementation.
27285 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27286
27287 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27288
27289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27290
27291 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27292
27293 [BZ #16408]
27294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27295 for large positive arguments.
27296
27297 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27298
27299 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27300
27301 * math/auto-libm-test-in: Mark various tests with
27302 xfail-rounding:ldbl-128ibm.
27303 * math/auto-libm-test-out: Regenerated.
27304
27305 [BZ #16407]
27306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27307 Increase overflow threshold.
27308
27309 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27310
27311 [BZ #14286]
27312 * stdio-common/vfprintf.c: Check for integer overflow.
27313
27314 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27315
27316 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27317 the first argument and return value of __tls_get_addr_internal.
27318
27319 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27320
27321 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27322 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27323
27324 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27325
27326 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27327 * sysdeps/s390/rtld-global-offsets.sym: New file.
27328 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27329 GLIBC_2.19 symbol.
27330 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27331 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27332 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27333 ... this.
27334 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27335 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27336 ... this.
27337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27338 Regenerate.
27339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27340 Regenerate.
27341 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27342 halfs of GPRs for high_gprs contexts.
27343 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27344 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27345 field.
27346 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27347 uc_flags field.
27348 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27349 64 bit versions:
27350 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27351 for high GPRs (uc_high_gprs) and for future extensions
27352 (__reserved).
27353 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27354 for future extensions (__reserved).
27355 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27356 64 bit versions:
27357 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27358 SC_HIGHGPRS offset definition.
27359 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27360 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27361
27362 * Versions.def: Add GLIBC_2.19 for libpthread.
27363 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27364 siglongjmp for libpthread with GLIBC_2.19 symver.
27365 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27366 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27367 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27368 * sysdeps/s390/__longjmp.c: New file.
27369 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27370 * sysdeps/s390/longjmp.c: New file.
27371 * sysdeps/s390/setjmp.S: New file.
27372 * sysdeps/s390/sigjmp.S: New file.
27373 * sysdeps/s390/v1-longjmp.c: New file.
27374 * sysdeps/s390/v1-setjmp.h: New file.
27375 * sysdeps/s390/v1-sigjmp.c: New file.
27376 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27377 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27378 GLIBC_2.19 version.
27379 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27380 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27381 versioned symbols for ____longjmp_chk.
27382 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27383 Likewise.
27384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27385 Regenerate.
27386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27387 Regenerate.
27388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27389 Regenerate.
27390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27391 Regenerate.
27392 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27393 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27394 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27395 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27396 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27397 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27398 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27399 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27400 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27401 * sysdeps/s390/rtld-__longjmp.c: New file.
27402 * sysdeps/s390/rtld-setjmp.S: New file.
27403
27404 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27405
27406 [BZ #16400]
27407 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27408 Return -__logl (x) for small positive arguments without evaluating
27409 a polynomial.
27410
27411 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27412
27413 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27414 Rename to ...
27415 (__ptrace_peeksiginfo_args): ... this.
27416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27419
27420 2014-01-06 Allan McRae <allan@archlinux.org>
27421
27422 * inet/netinet/in.h: Fix typo in comment.
27423
27424 2014-01-05 Andreas Jaeger <aj@suse.de>
27425
27426 * sysdeps/i386/fpu/libm-test-ulps: Update.
27427
27428 2014-01-05 Allan McRae <allan@archlinux.org>
27429
27430 * po/libc.pot: Regenerated.
27431
27432 * malloc/memusagestat.c: Fix gettext call formatting.
27433
27434 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27435
27436 * nscd/nscd.c: Improve usage() output.
27437
27438 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27439
27440 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27441 * sysdeps/unix/sysv/linux/configure: Regenerated.
27442 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27443 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27444
27445 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27446
27447 [BZ #16390]
27448 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27449 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27450
27451 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27452
27453 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27454 extra tokens at end of #undef directive.
27455 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27456 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27457 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27458
27459 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27460
27461 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27462
27463 * math/auto-libm-test-in: Mark various tests with
27464 xfail-rounding:ldbl-128ibm.
27465 * math/auto-libm-test-out: Regenerated.
27466
27467 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27468
27469 [BZ #16386]
27470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27471 numbers with subnormal high part when calculating exponent.
27472
27473 [BZ #16385]
27474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27475 fabs.
27476
27477 [BZ #16384]
27478 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27479 M_LN2l.
27480 (__ieee754_acoshl): Use __log1pl not __log1p.
27481
27482 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27483
27484 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27485 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27486 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27487 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27488 (reused_arena, arena_get2): Convert to GNU style.
27489 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27490 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27491 (memalign_check, __malloc_set_state): Likewise.
27492 * malloc/mallocbug.c (main): Likewise.
27493 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27494 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27495 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27496 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27497 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27498 (__posix_memalign, malloc_info): Likewise.
27499 * malloc/malloc.h: Likewise.
27500 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27501 (mallochook, memalignhook, reallochook, mabort): Likewise.
27502 * malloc/mcheck.h: Likewise.
27503 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27504 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27505 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27506 * malloc/morecore.c (__default_morecore): Likewise.
27507 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27508 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27509 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27510 (print_and_abort): Likewise.
27511 * malloc/obstack.h: Likewise.
27512 * malloc/set-freeres.c (__libc_freeres): Likewise.
27513 * malloc/tst-mallocstate.c (main): Likewise.
27514 * malloc/tst-mtrace.c (main): Likewise.
27515 * malloc/tst-realloc.c (do_test): Likewise.
27516
27517 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27518
27519 [BZ #16366]
27520 * nscd/netgroupcache.c (do_notfound): New function.
27521 (addgetnetgrentX): Use it.
27522
27523 [BZ # 16365]
27524 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27525 NSS_STATUS_NOTFOUND.
27526
27527 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27528
27529 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27531
27532 2014-01-01 Allan McRae <allan@archlinux.org>
27533
27534 * scripts/update-copyrights: Update configure input file suffix.
27535
27536 * NEWS: Update copyright year.
27537 * catgets/gencat.c: Likewise.
27538 * csu/version.c: Likewise.
27539 * debug/catchsegv.sh: Likewise.
27540 * debug/pcprofiledump.c: Likewise.
27541 * debug/xtrace.sh: Likewise.
27542 * elf/ldconfig.c: Likewise.
27543 * elf/ldd.bash.in: Likewise.
27544 * elf/pldd.c: Likewise.
27545 * elf/sotruss.ksh: Likewise.
27546 * elf/sprof.c: Likewise.
27547 * iconv/iconv_prog.c: Likewise.
27548 * iconv/iconvconfig.c: Likewise.
27549 * locale/programs/locale.c: Likewise.
27550 * locale/programs/localedef.c: Likewise.
27551 * login/programs/pt_chown.c: Likewise.
27552 * malloc/memusage.sh: Likewise.
27553 * malloc/memusagestat.c: Likewise.
27554 * malloc/mtrace.pl: Likewise.
27555 * manual/libc.texinfo: Likewise.
27556 * nscd/nscd.c: Likewise.
27557 * nss/getent.c: Likewise.
27558 * nss/makedb.c: Likewise.
27559 * posix/getconf.c: Likewise.
27560 * scripts/test-installation.pl: Likewise.
27561
27562 * All files with FSF copyright notices: Update copyright dates
27563 using scripts/update-copyrights.
27564 * intl/plural.c: Regenerated.
27565 * locale/programs/charmap-kw.h: Likewise.
27566 * locale/programs/locfile-kw.h: Likewise.
27567
27568 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27569
27570 * sysdeps/unix/sysv/linux/configure: Regenerated.
27571 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27572 the linux/fanotify.h header.
27573 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27574 HAVE_LINUX_FANOTIFY_H is defined.
27575
27576 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27577
27578 * benchtests/cos-inputs: New inputs.
27579 * benchtests/sin-inputs: Likewise.
27580
27581 * benchtests/atan-inputs: New inputs. Fix name of multiple
27582 precision fallback inputs.
27583
27584 * benchtests/atanh-inputs: New inputs.
27585 * benchtests/tanh-inputs: Likewise.
27586
27587 * benchtests/acosh-inputs: New inputs.
27588 * benchtests/asinh-inputs: Likewise.
27589
27590 * benchtests/cosh-inputs: New inputs.
27591 * benchtests/sinh-inputs: Likewise.
27592
27593 * benchtests/acos-inputs: Add more inputs.
27594 * benchtests/asin-inputs: Likewise.
27595
27596 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27597
27598 [BZ #16375]
27599 * manual/arith.texi: Fix spelling.
27600 * manual/charset.texi: Likewise.
27601 * manual/errno.texi: Likewise.
27602 * manual/filesys.texi: Likewise.
27603 * manual/lang.texi: Likewise.
27604 * manual/llio.texi: Likewise.
27605 * manual/locale.texi: Likewise.
27606 * manual/message.texi: Likewise.
27607 * manual/resource.texi: Likewise.
27608 * manual/search.texi: Likewise.
27609 * manual/setjmp.texi: Likewise.
27610 * manual/stdio.texi: Likewise.
27611 * manual/string.texi: Likewise.
27612 * manual/sysinfo.texi: Likewise.
27613 * manual/time.texi: Likewise.
27614
27615 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27616
27617 * po/sl.po: New file.
27618
27619 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27620
27621 * .gitignore: Add core/.gdbinit/.gdb_history.
27622
27623 2013-12-27 Allan McRae <allan@archlinux.org>
27624
27625 [BZ #16369]
27626 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27627 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27628
27629 2013-12-24 Brooks Moses <bmoses@google.com>
27630
27631 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27632 all compilers that claim C++98 compliance, not just GCC.
27633 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27634 Likewise.
27635
27636 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27637
27638 * NEWS: Restore accidentally deleted bug-fix entries.
27639
27640 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27641 Ondřej Bílka <neleai@seznam.cz>
27642
27643 [BZ #15073]
27644 * malloc/malloc.c (_int_free): Perform sanity check only if we
27645 have_lock.
27646
27647 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27648
27649 [BZ #12986]
27650 * manual/stdio.texi (String Input Conversions): Clarify that character
27651 classes are not supported.
27652
27653 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27654
27655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27656
27657 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27658
27659 [BZ #16337]
27660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27661 Calculate results for small negative arguments directly rather
27662 than using reflection formula with special underflow handling.
27663
27664 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27665 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27666 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27667 (fchflags): Likewise.
27668 (revoke): Likewise.
27669 (setlogin): Likewise.
27670 (sigaltstack): Likewise.
27671 (wait4): Likewise.
27672 (sigblock): Remove.
27673 (sigsetmask): Likewise.
27674 (wait3): Likewise.
27675 (waitpid): Likewise.
27676 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27677 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27678 file.
27679 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27680 * sysdeps/unix/bsd/Makefile: ... here.
27681 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27682 * sysdeps/unix/bsd/Versions: ... here.
27683 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27684 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27685 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27686 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27687 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27688 * sysdeps/unix/bsd/sigblock.c: ... here.
27689 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27690 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27691 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27692 * sysdeps/unix/bsd/sigvec.c: ... here.
27693 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27694 * sysdeps/unix/bsd/tcdrain.c: ... here.
27695 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27696 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27697 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27698 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27699 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27700 * sysdeps/unix/bsd/wait.c: ... here.
27701 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27702 * sysdeps/unix/bsd/wait3.c: ... here.
27703 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27704 * sysdeps/unix/bsd/waitpid.c: ... here.
27705
27706 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27707
27708 [BZ #16356]
27709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27710 round-to-nearest for [!USE_AS_EXPM1L].
27711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27712 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27713 more tests of exp and exp10. Expect some exp10 tests to miss
27714 exceptions or fail in directed rounding modes.
27715 * math/auto-libm-test-out: Regenerated.
27716 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27717 (exp10_test_tonearest): New function.
27718 (exp10_towardzero_test_data): New array.
27719 (exp10_test_towardzero): New function.
27720 (exp10_downward_test_data): New array.
27721 (exp10_test_downward): New function.
27722 (exp10_upward_test_data): New array.
27723 (exp10_test_upward): New function.
27724 (main): Call the new functions.
27725 * sysdeps/i386/fpu/libm-test-ulps: Update.
27726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27727
27728 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27729
27730 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27731 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27732 * math/auto-libm-test-out: Regenerated.
27733 * math/libm-test.inc (acosh_test_data): Add more tests.
27734 (atanh_test_data): Likewise.
27735 (ceil_test_data): Likewise.
27736 (copysign_test_data): Likewise.
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27739
27740 * timezone/checktab.awk: Update from tzcode 2013i.
27741 * timezone/private.h: Likewise.
27742 * timezone/scheck.c: Likewise.
27743 * timezone/tzfile.h: Likewise.
27744 * timezone/tzselect.ksh: Likewise.
27745 * timezone/zdump.c: Likewise.
27746 * timezone/zic.c: Likewise.
27747
27748 * math/auto-libm-test-in: Add tests of cpow.
27749 * math/auto-libm-test-out: Regenerated.
27750 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27751 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27752 mpc_cc_c.
27753 (func_calc_desc): Add mpc_cc_c union field.
27754 (test_functions): Add cpow.
27755 (special_fill_2pi): New function.
27756 (special_real_inputs): Add 2pi.
27757 (calc_generic_results): Handle mpc_cc_c.
27758 * sysdeps/i386/fpu/libm-test-ulps: Update.
27759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27760
27761 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27762 csqrt, ctan and ctanh.
27763 * math/auto-libm-test-out: Regenerated.
27764 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27765 (TEST_COND_x86): Likewise.
27766 (ccos_test_data): Use AUTO_TESTS_c_c.
27767 (ccosh_test_data): Likewise.
27768 (cexp_test_data): Likewise.
27769 (clog_test_data): Likewise.
27770 (csqrt_test_data): Likewise.
27771 (ctan_test_data): Likewise.
27772 (ctan_tonearest_test_data): Likewise.
27773 (ctan_towardzero_test_data): Likewise.
27774 (ctan_downward_test_data): Likewise.
27775 (ctan_upward_test_data): Likewise.
27776 (ctanh_test_data): Likewise.
27777 (ctanh_tonearest_test_data): Likewise.
27778 (ctanh_towardzero_test_data): Likewise.
27779 (ctanh_downward_test_data): Likewise.
27780 (ctanh_upward_test_data): Likewise.
27781 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27782 mpc_c_c.
27783 (func_calc_desc): Add mpc_c_c union field.
27784 (FUNC_mpc_c_c): New macro.
27785 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27786 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27787 ctanh.
27788 (special_fill_min_subnorm_p120): New function.
27789 (special_real_inputs): Add min_subnorm_p120.
27790 (calc_generic_results): Handle mpc_c_c.
27791 * sysdeps/i386/fpu/libm-test-ulps: Update.
27792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27793
27794 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27795
27796 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27797 (do_sin_slow): New functions.
27798 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27799 (cslow2, csloww1, csloww2): Use the new functions.
27800
27801 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27802 Use M to change sign of result instead of X. Assume X is
27803 positive.
27804 (csloww1): Likewise.
27805 (__sin): Adjust.
27806 (__cos): Adjust.
27807
27808 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27809 arguments A and DA.
27810 (__sin): Adjust.
27811 (__cos): Likewise.
27812
27813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27814 (__cos): Likewise.
27815 (sloww1): Don't adjust sign of DX.
27816 (csloww1): Likewise.
27817 (sloww2): Use X directly and don't adjust sign of DX.
27818 (csloww2): Likewise.
27819
27820 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27821
27822 * math/auto-libm-test-in: Add tests of cabs and carg.
27823 * math/auto-libm-test-out: Regenerated.
27824 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27825 (carg_test_data): Likewise.
27826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27827 mpc_c_f.
27828 (func_calc_desc): Add mpc_c_f union field.
27829 (test_functions): Add cabs and carg.
27830 (calc_generic_results): Handle mpc_c_f.
27831
27832 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27833 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27834 as a macro and a compat symbol.
27835 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27836 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27837 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27838 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27839 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27840 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27841 not use .hidden.
27842 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27843 Likewise.
27844 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27845 Likewise.
27846 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27847 Likewise.
27848 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27849 Likewise.
27850 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27851 Likewise.
27852 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27853 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27854 from GLIBC_2.3.2.
27855
27856 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27857
27858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27859
27860 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27861
27862 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27863 trailing whitespace removed.
27864 * scripts/config.guess: Update to version 2013-11-29.
27865 * scripts/config.sub: Update to version 2013-10-01.
27866
27867 * math/auto-libm-test-in: Add tests of sincos.
27868 * math/auto-libm-test-out: Regenerated.
27869 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27871 mpfr_f_11.
27872 (func_calc_desc): Add mpfr_f_11 union field.
27873 (test_functions): Add sincos.
27874 (calc_generic_results): Handle mpfr_f_11.
27875 * sysdeps/i386/fpu/libm-test-ulps: Update.
27876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27877
27878 2013-12-19 Andreas Schwab <schwab@suse.de>
27879
27880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27881 CALL_MCOUNT.
27882 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27884 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27885
27886 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27887
27888 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27889 * sysdeps/i386/fpu/libm-test-ulps: Update.
27890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27891
27892 [BZ #16293]
27893 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27894 round-to-nearest mode when using frndint.
27895 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27896 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27898 Likewise.
27899 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27900 sinh test to fail.
27901 * math/auto-libm-test-out: Regenerated.
27902 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27903 (TEST_COND_x86): Likewise.
27904 (expm1_tonearest_test_data): New array.
27905 (expm1_test_tonearest): New function.
27906 (expm1_towardzero_test_data): New array.
27907 (expm1_test_towardzero): New function.
27908 (expm1_downward_test_data): New array.
27909 (expm1_test_downward): New function.
27910 (expm1_upward_test_data): New array.
27911 (expm1_test_upward): New function.
27912 (main): Run the new test functions.
27913 * sysdeps/i386/fpu/libm-test-ulps: Update.
27914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27915
27916 * include/features.h: Update comment documenting feature test
27917 macros. Mention _DEFAULT_SOURCE in comment.
27918 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27919 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27920 _BSD_SOURCE and _SVID_SOURCE.
27921 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27922 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27923 !_SVID_SOURCE]: Likewise.
27924 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27925 (__USE_POSIX_IMPLICITLY): Define.
27926 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27927 (_POSIX_SOURCE): Undefine and redefine.
27928 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27929 (_POSIX_C_SOURCE): Likewise.
27930 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27931 (Feature Test Macros): Update documentation of default features.
27932
27933 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27934
27935 * benchtests/Makefile: Add bench-strtok.
27936 * benchtests/bench-strtok.c: New file: strtok benchtest.
27937
27938 2013-12-19 Allan McRae <allan@archlinux.org>
27939
27940 * manual/install.texi: Suppress menu for plain text output.
27941 * INSTALL: Regenerated.
27942
27943 2013-12-18 Brooks Moses <bmoses@google.com>
27944
27945 [BZ #15846]
27946 * misc/getauxval.c: Include errno.h.
27947 (__getauxval): Set errno to ENOENT if the requested type is not
27948 found.
27949 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27950 don't declare with __attribute_const__.
27951 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27952 * manual/startup.texi: Document that getauxval sets errno.
27953
27954 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27955
27956 * math/auto-libm-test-in: Add tests of jn and yn.
27957 * math/auto-libm-test-out: Regenerated.
27958 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27959 (yn_test_data): Likewise.
27960 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27961 mpfr_if_f.
27962 (func_calc_desc): Add mpfr_if_f union field.
27963 (FUNC_mpfr_if_f): New macro.
27964 (test_functions): Add jn and yn.
27965 (calc_generic_results): Assert type of second input for
27966 mpfr_ff_f. Handle mpfr_if_f.
27967 (output_for_one_input_case): Disable all checking for arguments
27968 fitting floating-point types in case of an integer argument.
27969 * sysdeps/i386/fpu/libm-test-ulps: Update.
27970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27971
27972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27973 Don't expect fegetround reference in libm.so.
27974
27975 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27976
27977 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27978 $(config-cflags-nofma).
27979
27980 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27981
27982 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27983 * math/auto-libm-test-out: Regenerated.
27984
27985 [BZ #16338]
27986 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27987 to determine exponent and adjust argument to have exponent of -1.
27988 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27989 log2.
27990 * math/auto-libm-test-out: Regenerated.
27991 * sysdeps/i386/fpu/libm-test-ulps: Update.
27992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27993
27994 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27995
27996 * manual/probes.texi: Remove cases when per-thread arenas are
27997 disabled.
27998
27999 2013-12-18 Andreas Schwab <schwab@suse.de>
28000
28001 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28002 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28003 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28004 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28005 * sysdeps/i386/i686/multiarch/Makefile: Update.
28006 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28007
28008 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28009
28010 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28011 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28012
28013 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28014
28015 [BZ #15968]
28016 Support TZ transition times < 00:00:00.
28017 This is needed for version-3 tz-format files; it supports time
28018 stamps past 2037 for America/Godthab (the only entry in the tz
28019 database for which this change is relevant).
28020 * manual/time.texi (TZ Variable): Document transition times
28021 from -167:59:59 through -00:00:01.
28022 * time/tzset.c (tz_rule): Time of day is now signed.
28023 (__tzset_parse_tz): Parse negative time of day.
28024
28025 Document TZ transition times >= 25:00:00.
28026 * manual/time.texi (TZ Variable): Document transition times from
28027 25:00:00 through 167:59:59. These are already supported, and this
28028 support will help with version-3 tz-format files.
28029
28030 * manual/time.texi (TZ Variable): Modernize North America example
28031 to reflect current (i.e., 2007-and-later) daylight saving rules.
28032
28033 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28034
28035 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28036
28037 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28038 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28041 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28042 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28043 * sysdeps/unix/bsd/clock.c: Likewise.
28044 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28045 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28046 * sysdeps/unix/bsd/init-posix.c: Likewise.
28047 * sysdeps/unix/bsd/poll.c: Likewise.
28048 * sysdeps/unix/bsd/ptsname.c: Likewise.
28049 * sysdeps/unix/bsd/seekdir.c: Likewise.
28050 * sysdeps/unix/bsd/setegid.c: Likewise.
28051 * sysdeps/unix/bsd/seteuid.c: Likewise.
28052 * sysdeps/unix/bsd/setgid.c: Likewise.
28053 * sysdeps/unix/bsd/setrgid.c: Likewise.
28054 * sysdeps/unix/bsd/setruid.c: Likewise.
28055 * sysdeps/unix/bsd/setsid.c: Likewise.
28056 * sysdeps/unix/bsd/setuid.c: Likewise.
28057 * sysdeps/unix/bsd/sigaction.c: Likewise.
28058 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28059 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28060 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28061 * sysdeps/unix/bsd/telldir.c: Likewise.
28062 * sysdeps/unix/bsd/times.c: Likewise.
28063 * sysdeps/unix/bsd/usleep.c: Likewise.
28064
28065 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28066 ($(objpfx)libbsd-compat.a): Remove rule.
28067
28068 * include/features.h (__FAVOR_BSD): Do not define.
28069 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28070 features conflicting with POSIX.
28071 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28072 (_BSD_SOURCE): Remove description of not being a subset of other
28073 feature test macros.
28074 * manual/job.texi (getpgrp): Do not document BSD version.
28075 (getpgid): Do not document by reference to BSD getpgrp.
28076 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28077 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28078 * signal/signal.h [__FAVOR_BSD]: Likewise.
28079 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28080 instead of making contents conditional on [__FAVOR_BSD].
28081 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28082
28083 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28084
28085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28086
28087 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28088
28089 [BZ #16314]
28090 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28091 values below 2**-450, not 2**-500.
28092 * math/auto-libm-test-in: Don't allow spurious underflow from
28093 hypot.
28094 * math/auto-libm-test-out: Regenerated.
28095
28096 [BZ #16316]
28097 [BZ #16330]
28098 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28099 values of ha and hb and sort them after adjusting subnormal
28100 arguments.
28101 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28102 Likewise.
28103 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28104 values of ea and eb and sort them after adjusting subnormal
28105 arguments.
28106 * math/auto-libm-test-in: Do not expect some hypot tests of
28107 subnormals to fail. Add more hypot tests.
28108 * math/auto-libm-test-out: Regenerated.
28109
28110 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28111
28112 [BZ #13304]
28113 * sysdeps/sh/s_fma.c: New file.
28114 * sysdeps/sh/s_fmaf.c: New file.
28115 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28116 version.
28117 * sysdeps/sh/Implies: Add sh/soft-fp.
28118
28119 2013-12-16 Roland McGrath <roland@hack.frob.com>
28120
28121 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28122 level of indirection to members `objname', `errstring', `malloced'.
28123 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28124 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28125 it as the __longjmp argument (just pass 1 instead).
28126 (_dl_catch_error): Initialize C with argument pointers and address of
28127 volatile local ERRCODE rather than copying values out of C at return.
28128
28129 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28130
28131 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28132 * math/auto-libm-test-out: Regenerated.
28133 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28134 (hypot_test_data): Likewise.
28135 (pow_test_data): Likewise.
28136 (pow_tonearest_test_data): Likewise.
28137 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28138 mpfr_ff_f.
28139 (func_calc_desc): Add mpfr_ff_f union field.
28140 (FUNC_mpfr_ff_f): New macro.
28141 (test_functions): Add atan2, hypot and pow.
28142 (special_fill_min): New function.
28143 (special_fill_minus_min): Likewise.
28144 (special_fill_min_subnorm): Likewise.
28145 (special_fill_minus_min_subnorm): Likewise.
28146 (special_real_inputs): Add min, -min, min_subnorm and
28147 -min_subnorm.
28148 (calc_generic_results): Handle mpfr_ff_f.
28149 * sysdeps/i386/fpu/libm-test-ulps: Update.
28150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28151
28152 2013-12-16 Will Newton <will.newton@linaro.org>
28153
28154 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28155 (Aligned Memory Blocks): Add documentation for aligned_alloc
28156 and suggest it as an alternative to posix_memalign.
28157 (Hooks for Malloc): Document __memalign_hook is also called
28158 for aligned_alloc. (Summary of Malloc): Add summary for
28159 aligned alloc. Document __memalign_hook is also called
28160 for aligned_alloc.
28161
28162 2013-12-16 Will Newton <will.newton@linaro.org>
28163
28164 * manual/memory.texi (Malloc Examples): Clarify default
28165 alignment documentation. Suggest posix_memalign rather
28166 than memalign or valloc.
28167 (Aligned Memory Blocks): Remove suggestion to use memalign
28168 or valloc. Remove obsolete comment about BSD.
28169 Document memalign errno values and mark the function obsolete.
28170 Document posix_memalign returned error codes. Mark valloc
28171 as obsolete. (Hooks for Malloc): __memalign_hook is also
28172 called for posix_memalign and valloc.
28173 (Summary of Malloc): Add posix_memalign to function summary.
28174 __memalign_hook is also called for posix_memalign and valloc.
28175
28176 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28177
28178 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28179 TAYLOR_SIN.
28180 (__sin): Adjust.
28181 (__cos): Likewise.
28182 (sloww): Use mynumber union. Expand ternary operator into
28183 if-else statements.
28184 (cslow): use mynumber union.
28185
28186 2013-12-16 Allan McRae <allan@archlinux.org>
28187
28188 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28189 * configure: Regenerated.
28190
28191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28192
28193 [BZ #14120]
28194 * configure.ac: Added --enable-maintainer-mode. Check for
28195 autoconf when enabled.
28196 * configure: Regenerated.
28197
28198 * nscd/nscd.service: New file.
28199 * nscd/nscd.tmpfiles: New file.
28200
28201 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28202
28203 [BZ #12100]
28204 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28205 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28206 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28207 (strstr): Add __strstr_sse2_unaligned ifunc.
28208 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28209 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28210 (strcasestr): Remove __strcasestr_sse42 ifunc.
28211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28214
28215 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28216
28217 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28218 * sysdeps/sh/bits/fenv.h: ... here.
28219 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28220
28221 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28222
28223 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28224
28225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28226 hypotf multiarch implementations.
28227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28230 multiarch hypot for PPC64.
28231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28233 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28234 multiarch hypotf for PPC64.
28235
28236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28237 modff multiarch implementations.
28238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28241 multiarch modf for PPC64.
28242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28245 multiarch modff for PPC64.
28246
28247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28248 and logl multiarch implementations.
28249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28252 multiarch logb for PPC64.
28253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28256 multiarch logb for PPC64.
28257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28260 multiarch logb for PPC64.
28261
28262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28263 isinff multiarch implementation.
28264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28265 file.
28266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28268 multiarch isinf for PPC64.
28269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28270 file.
28271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28272 multiarch isinff for PPC64.
28273
28274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28275 finitef multiarch implementation.
28276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28277 file.
28278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28280 multiarch finite for PPC64.
28281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28282 file.
28283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28284 multiarch finitef for PPC64.
28285
28286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28287 lrint multiarch implementation.
28288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28289 file.
28290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28292 multiarch llrint for PPC64.
28293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28294 multiarch lrint for PPC64.
28295
28296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28297 copysignf multiarch implementation.
28298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28299 file.
28300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28301 file.
28302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28303 multiarch copysign for PPC64.
28304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28305 multiarch copysignf for PPC64.
28306
28307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28308 multiarch implementation.
28309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28310 file.
28311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28312 file.
28313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28314 file.
28315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28316 file.
28317 multiarch llround for PPC64.
28318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28319 multiarch trunc for PPC64.
28320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28321 multiarch truncf for PPC64.
28322
28323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28324 multiarch implementation.
28325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28326 file.
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28328 file.
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28330 file.
28331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28332 file.
28333 multiarch llround for PPC64.
28334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28335 multiarch round for PPC64.
28336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28337 multiarch roundf for PPC64.
28338
28339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28340 multiarch implementation.
28341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28342 file.
28343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28344 file.
28345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28346 file.
28347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28348 file.
28349 multiarch llround for PPC64.
28350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28351 multiarch floor for PPC64.
28352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28353 multiarch floorf for PPC64.
28354
28355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28356 multiarch implementation.
28357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28358 file.
28359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28360 file.
28361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28362 file.
28363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28364 file.
28365 multiarch llround for PPC64.
28366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28367 multiarch ceil for PPC64.
28368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28369 multiarch ceilf for PPC64.
28370
28371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28372 multiarch implementation.
28373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28374 file.
28375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28376 file.
28377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28378 file.
28379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28380 multiarch llround for PPC64.
28381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28382 multiarch lround for PPC64.
28383
28384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28385 multiarch implementation.
28386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28389 file.
28390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28393 multiarch isnan for PPC64.
28394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28395 multiarch isnanf for PPC64.
28396
28397 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28398 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28399 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28400 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28401 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28403
28404 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28405 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28407 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28408
28409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28410 multiarch implementations.
28411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28412 (__libc_ifunc_impl_list): Likewise.
28413 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28414 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28415 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28416 multiarch stpcpy for PPC64.
28417
28418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28419 multiarch implementations.
28420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28421 (__libc_ifunc_impl_list): Likewise.
28422 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28423 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28424 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28425 multiarch strcpy for PPC64.
28426
28427 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28428 redefine function name.
28429 (_wordcopy_fwd_dest_aligned): Likewise.
28430 (_wordcopy_bwd_aligned): Likewise.
28431 (_wordcopy_bwd_dest_aligned): Likewise.
28432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28433 multiarch implementations.
28434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28435 (__libc_ifunc_impl_list): Likewise.
28436 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28437 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28438 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28439 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28440 multiarch wcscpy for PPC64.
28441
28442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28443 multiarch implementations.
28444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28445 (__libc_ifunc_impl_list): Likewise.
28446 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28447 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28448 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28449 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28450 multiarch wcscpy for PPC64.
28451
28452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28453 multiarch implementations.
28454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28455 (__libc_ifunc_impl_list): Likewise.
28456 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28457 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28458 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28459 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28460 multiarch wcsrchr for PPC64.
28461
28462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28463 multiarch implementations.
28464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28465 (__libc_ifunc_impl_list): Likewise.
28466 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28467 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28468 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28469 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28470 multiarch wcschr for PPC64.
28471
28472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28473 multiarch implementations.
28474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28475 (__libc_ifunc_impl_list): Likewise.
28476 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28477 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28478 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28479 multiarch strchrnul for PPC64.
28480
28481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28482 implementations.
28483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28484 (__libc_ifunc_impl_list): Likewise.
28485 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28486 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28487 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28488 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28489 strchr for PPC64.
28490
28491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28492 implementations.
28493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28494 (__libc_ifunc_impl_list): Likewise.
28495 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28496 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28497 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28498 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28499 strncmp for PPC64.
28500
28501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28502 multiarch implementations.
28503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28504 (__libc_ifunc_impl_list): Likewise.
28505 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28506 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28507 strncasecmp for PPC64.
28508 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28509 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28510 multiarch strncasecmp_l for PPC64.
28511
28512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28513 multiarch implementations.
28514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28515 (__libc_ifunc_impl_list): Likewise.
28516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28517 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28518 multiarch strcasecmp for PPC64.
28519 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28520 file.
28521 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28522 multiarch strcasecmp_l for PPC64.
28523
28524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28525 implementations.
28526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28527 (__libc_ifunc_impl_list): Likewise.
28528 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28529 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28530 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28531 strnlen for PPC64.
28532
28533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28534 implementations.
28535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28536 (__libc_ifunc_impl_list): Likewise.
28537 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28538 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28539 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28540 strlen for PPC64.
28541
28542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28543 implementations.
28544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28545 (__libc_ifunc_impl_list): Likewise.
28546 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28547 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28548 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28549 rawmemrchr for PPC64.
28550
28551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28552 implementation.
28553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28554 (__libc_ifunc_impl_list): Likewise.
28555 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28556 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28557 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28558 memrchr for PPC64.
28559
28560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28561 implementation.
28562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28563 (__libc_ifunc_impl_list): Likewise.
28564 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28565 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28566 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28567 memchr for PPC64.
28568
28569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28570 implementation.
28571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28572 (__libc_ifunc_impl_list): Likewise.
28573 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28574 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28575 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28576 mempcpy for PPC64.
28577
28578 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28579 avoid cretion of __bzero symbol.
28580 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28581 Likewise.
28582 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28583 Likewise.
28584 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28585 Likewise.
28586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28587 multiarch implementations.
28588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28589 (__libc_ifunc_impl_list): Likewise.
28590 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28591 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28592 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28593 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28594 bzero for PPC32.
28595 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28596 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28597 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28598 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28599 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28600 memset for PPC64.
28601 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28602
28603 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28605 implementations.
28606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28607 (__libc_ifunc_impl_list): Likewise.
28608 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28609 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28610 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28611 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28612 memcmp for PPC64.
28613
28614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28615 multiarch for POWER/PPC64.
28616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28617 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28618 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28619 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28621 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28624 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28625 memcpy for PPC64.
28626
28627 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28628 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28629 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28630 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28631 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28632 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28633 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28634 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28635 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28636 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28637 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28638 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28639 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28640 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28641 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28649
28650 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28651
28652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28653
28654 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28655
28656 * benchtests/Makefile (bench): Add exp2 and log2.
28657 (LDLIBS-bench-exp2): Add -lm.
28658 (LDLIBS-bench-log2): Likewise.
28659 * benchtests/exp2-inputs: New inputs file.
28660 * benchtests/log2-inputs: New inputs file.
28661 * benchtests/log-inputs: Add new inputs.
28662 * benchtests/tan-inputs: Likewise.
28663
28664 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28665
28666 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28667 definition...
28668 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28669 (csloww2): ... from here.
28670
28671 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28672 instead of structures.
28673 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28674 (POLYNOMIAL): Likewise.
28675 (TAYLOR_SLOW): Likewise.
28676 (__sin): Likewise.
28677 (__cos): Likewise.
28678 (slow1): Likewise.
28679 (slow2): Likewise.
28680 (sloww): Likewise.
28681 (sloww1); Likewise.
28682 (sloww2): Likewise.
28683 (bsloww1): Likewise.
28684 (bsloww2): Likewise.
28685 (cslow2): Likewise.
28686 (csloww): Likewise.
28687 (csloww1): Likewise.
28688 (csloww2): Likewise.
28689
28690 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28691
28692 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28693 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28694 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28695 * malloc/hooks.c (realloc_check): Likewise.
28696
28697 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28698 * malloc/arena.c: Remove PER_THREAD conditional.
28699 [!PER_THREAD]: Remove code.
28700 (ptmalloc_unlock_all2): Likewise.
28701 (ptmalloc_init): Likewise.
28702 (_int_new_arena): Likewise.
28703 (arena_get2): Likewise.
28704 * malloc/hooks.c (__malloc_get_state): Likewise.
28705 (__malloc_set_state): Likewise.
28706 * malloc/malloc.c: Likewise.
28707 (struct malloc_state): Likewise.
28708 (struct malloc_par): Likewise.
28709 (__libc_realloc): Likewise.
28710 (__libc_mallopt): Likewise.
28711
28712 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28713
28714 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28715
28716 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28717
28718 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28719 macro to a function. Check for zero perturb_byte.
28720 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28721
28722 * malloc/malloc.c: (force_reg): Remove.
28723 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28724 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28725 force_reg by atomic_forced_read.
28726 * malloc/arena.c (ptmalloc_init): Likewise.
28727 * malloc/hooks.c (top_check): Likewise.
28728
28729 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28730
28731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28732
28733 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28734
28735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28736
28737 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28738
28739 * math/auto-libm-test-in: Add tests of lgamma.
28740 * math/auto-libm-test-out: Regenerated.
28741 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28742 (M_LOG_2_SQRT_PIl): Likewise.
28743 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28745 mpfr_f_f1.
28746 (func_calc_desc): Add mpfr_f_f1 union field.
28747 (ARGS1): New macro.
28748 (ARGS2): Likewise.
28749 (ARGS3): Likewise.
28750 (ARGS4): Likewise.
28751 (RET1): Likewise.
28752 (RET2): Likewise.
28753 (CALC): Likewise.
28754 (FUNC): Likewise.
28755 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28756 (test_functions): Add lgamma.
28757 (calc_generic_results): Handle mpfr_f_f1.
28758 * sysdeps/i386/fpu/libm-test-ulps: Update.
28759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28760
28761 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28762
28763 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28764 __mpn_add_n for PowerPC64/POWER7.
28765 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28766 __mpn_sub_n for PowerPC64/POWER7.
28767
28768 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28769 __mpn_addmul_1 for PowerPC64.
28770 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28771 __mpn_submul_1 for PowerPC64.
28772 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28773 for PowerPC64.
28774 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28775 for PowerPC64.
28776
28777 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28778
28779 [BZ #15089]
28780 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28781
28782 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28783
28784 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28785
28786 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28787 add multiarch folders.
28788 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28789 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28790 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28791 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28792 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28793 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28794 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28795 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28796 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28797 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28798 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28805
28806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28807 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28809 New file.
28810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28811 New file.
28812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28813 multiarch __ieee754_hypot for PowerPC32.
28814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28815 New file.
28816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28817 New file.
28818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28819 multiarch __ieee754_hypotf for PowerPC32.
28820
28821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28822 long_double_symbol only if __logbl is defined.
28823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28824 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28826 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28828 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28829 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28830 path for implementation.
28831 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28834 logb, and logbl multiarch implementations for PowerPC32.
28835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28836 file.
28837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28838 file.
28839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28840 multiarch logb for PowerPC32.
28841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28842 file.
28843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28844 file.
28845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28846 multiarch logbf for PowerPC32.
28847 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28849 file.
28850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28851 multiarch logbl implementation for PowerPC32.
28852
28853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28854 and modff multiarch implementations.
28855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28856 New file.
28857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28858 New file.
28859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28860 multiarch modf for PowerPC32.
28861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28862 New file.
28863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28864 New file.
28865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28866 multiarch modff for PowerPC32.
28867
28868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28869 and lrintf multiarch implementations.
28870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28871 New file.
28872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28873 New file.
28874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28875 multiarch lrint for PowerPC32.
28876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28877 file: multiarch lrintf for PowerPC32.
28878
28879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28880 and lroundf multiarch implementations.
28881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28882 New file.
28883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28884 New file.
28885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28886 New file.
28887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28888 multiarch lround for PowerPC32.
28889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28890 file: multiarch lroundf for PowerPC32.
28891
28892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28893 copysign and copysignf multiarch implementations.
28894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28895 New file.
28896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28897 New file.
28898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28899 file: multiarch copysign for PowerPC32.
28900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28901 file: multiarch copysignf for PowerPC32.
28902
28903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28904 and truncf multiarch implementations.
28905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28906 New file.
28907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28908 file.
28909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28910 multiarch trunc for PowerPC32.
28911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28912 New file.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28914 New file.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28916 multiarch truncf for PowerPC32.
28917
28918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28919 and roundf multiarch implementations.
28920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28921 New file.
28922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28923 file.
28924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28925 multiarch round for PowerPC32.
28926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28927 New file.
28928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28929 New file.
28930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28931 multiarch roundf for PowerPC32.
28932
28933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28934 and floorf multiarch implementations.
28935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28936 New file.
28937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28938 file.
28939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28940 multiarch floor for PowerPC32.
28941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28942 New file.
28943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28944 New file.
28945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28946 multiarch floorf for PowerPC32.
28947
28948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28949 and ceilf multiarch implementations.
28950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28951 New file.
28952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28953 file.
28954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28955 multiarch ceil for PowerPC32.
28956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28957 New file.
28958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28959 file.
28960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28961 multiarch ceilf for PowerPC32.
28962
28963 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28964 is defined.
28965 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28966 FINITEF is defined.
28967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28968 and finitef multiarch implementations.
28969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28970 New file.
28971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28972 file.
28973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28974 multiarch finite for PowerPC32.
28975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28976 New file.
28977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28978 file: multiarch finitef for PowerPC32.
28979
28980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28981 and isinff multiarch implementations.
28982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28983 file.
28984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28985 file.
28986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28987 multiarch isinf for PowerPC32.
28988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28989 New file.
28990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28991 multiarch isinff for PowerPC32.
28992
28993 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28994 alias when __isnan is defined.
28995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28996 and isnanf multiarch implementations.
28997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28998 file.
28999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29000 file.
29001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29002 file.
29003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29004 file.
29005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29006 multiarch isnan for PowerPC32.
29007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29008 New file.
29009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29010 New file.
29011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29012 multiarch isnanf for PowerPC32.
29013
29014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29015 and sqrtf multiarch implementations.
29016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29017 file.
29018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29019 file.
29020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29021 multiarch sqrt for PowerPC32.
29022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29023 file.
29024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29025 file.
29026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29027 multiarch sqrtf for PowerPC32.
29028
29029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29030 and llroundf multiarch implementations.
29031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29032 New file.
29033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29034 New file.
29035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29036 New file.
29037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29038 file: multiarch llround for PowerPC32.
29039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29040 file: multiarch llroundf for PowerPC32.
29041
29042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29043 multiarch PowerPC32 fpu implementations.
29044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29045 New file.
29046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29047 New file.
29048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29049 multiarch llrint for PowerPC32.
29050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29051 New file.
29052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29053 New file.
29054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29055 file.
29056
29057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29058
29059 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29060 file.
29061 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29062 file.
29063 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29064 file.
29065 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29066 multiarch wordcopy for PPC32.
29067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29068 wordcopy objects.
29069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29070 (__libc_ifunc_impl_list): Likewise.
29071 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29072 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29074 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29076 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29077
29078 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29080 file.
29081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29082 file.
29083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29084 file.
29085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29086 multiarch wcscpy for PPC32.
29087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29088 multiarch objects.
29089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29090 (__libc_ifunc_impl_list): Likewise.
29091 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29092 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29093 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29094 sysdeps/powerpc/power6/wcscpy.c.
29095
29096 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29098 file.
29099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29100 file.
29101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29102 file.
29103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29104 multiarch wcsrchr for PPC32.
29105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29106 multiarch objects.
29107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29108 (__libc_ifunc_impl_list): Likewise.
29109 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29110 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29111 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29112 sysdeps/powerpc/power6/wcsrchr.c.
29113
29114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29115 file.
29116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29117 file.
29118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29120 multiarch wcschr for PPc32.
29121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29122 multiarch objects.
29123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29124 (__libc_ifunc_impl_list): Likewise.
29125 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29126 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29127 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29128 sysdeps/powerpc/power6/wcschr.c.
29129
29130 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29131 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29132 file.
29133 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29134 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29135 file: multiarch strchr for PPC32.
29136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29137 multiarch objects.
29138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29139 (__libc_ifunc_impl_list): Likewise.
29140
29141 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29142 name.
29143 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29144 file.
29145 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29146 file.
29147 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29148 multiarch strchrnul for PPC32.
29149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29150 multiarch objects.
29151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29152 (__libc_ifunc_impl_list): Likewise.
29153
29154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29155 file.
29156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29157 multiarch strncasecmp for PPC32.
29158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29159 file.
29160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29161 multiarch strncasecmp_l for PPC32.
29162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29163 strncasecmp multiarch objects.
29164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29165 (__libc_ifunc_impl_list): Likewise.
29166
29167 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29168 file.
29169 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29170 multiarch strncasecmp for PPC32.
29171 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29172 New file.
29173 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29174 multiarch strcasecmp_l for PPC32.
29175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29176 multiarch objects.
29177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29178 (__libc_ifunc_impl_list): Likewise.
29179
29180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29181 file.
29182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29183 file.
29184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29185 multiarch strncmp for PPC32.
29186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29187 multiarch objects.
29188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29189 (__libc_ifunc_impl_list): Likewise.
29190
29191 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29192 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29193 file.
29194 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29195 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29197 multiarch objects.
29198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29199 (__libc_ifunc_impl_list): Likewise.
29200
29201 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29202 file.
29203 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29204 file.
29205 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29207 multiarch objects.
29208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29209 (__libc_ifunc_impl_list): Likewise.
29210
29211 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29212 file.
29213 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29214 file.
29215 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29216 multiarch rawmemchr for PPC32.
29217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29218 multiarch objects.
29219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29220 (__libc_ifunc_impl_list): Likewise.
29221
29222 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29223 file.
29224 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29225 file.
29226 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29227 file: memrchr multiarch for PPC32.
29228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29229 multiarch objects.
29230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29231 (__libc_ifunc_impl_list): Likewise.
29232
29233 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29234 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29235 file.
29236 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29237 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29238 multiarch memchr for PPC32.
29239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29240 multiarch objects.
29241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29242 (__libc_ifunc_impl_list): Likewise.
29243
29244 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29245 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29246 file.
29247 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29248 file.
29249 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29250 file: multiarch mempcpy for PPC32.
29251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29252 multiarch objects.
29253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29254 (__libc_ifunc_impl_list): Likewise.
29255
29256 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29257 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29258 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29259 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29260 multiarch bzero for PPC32.
29261 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29262 file.
29263 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29264 file.
29265 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29266 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29267 file: multiarch memset for PPC32.
29268 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29270 memset multiarch objects.
29271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29272 (__libc_ifunc_impl_list): Likewise.
29273
29274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29275 file.
29276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29278 memcmp for PPC32.
29279 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29281 multiarch objects.
29282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29283 (__libc_ifunc_impl_list): Likewise.
29284
29285 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29288 file.
29289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29290 file.
29291 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29292 file.
29293 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29294 multiarch memcpy for PPC32.
29295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29296 multiarch objects.
29297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29298 (__libc_ifunc_impl_list): Likewise.
29299
29300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29301 support multiarch for POWER/PPC32.
29302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29303 Likewise.
29304 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29306 Implies file to make multiarch folder appers before the fpu and
29307 default folder for power4 configuration.
29308
29309 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29310
29311 * scripts/bench.pl: Append volatile keyword to type.
29312
29313 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29314
29315 * sysdeps/sh/sotruss-lib.c: New file.
29316 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29317
29318 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29319
29320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29321
29322 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29323
29324 [BZ #6810]
29325 * math/w_tgamma.c: Include <errno.h>.
29326 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29327 * math/w_tgammaf.c: Include <errno.h>.
29328 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29329 * math/w_tgammal.c: Include <errno.h>.
29330 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29331 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29332 underflow. Add more tgamma tests.
29333 * math/auto-libm-test-out: Regenerated.
29334 * sysdeps/i386/fpu/libm-test-ulps: Update.
29335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29336
29337 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29338 sin, sinh, tan, tanh, tgamma, y0 and y1.
29339 * math/auto-libm-test-out: Regenerated.
29340 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29341 (TEST_COND_x86): Likewise.
29342 (M_E2l): Remove macro.
29343 (M_E3l): Likewise.
29344 (M_2_SQRT_PIl): Likewise.
29345 (M_SQRT_PIl): Likewise.
29346 (M_1_DIV_El): Likewise.
29347 (log_test_data): Use AUTO_TESTS_f_f.
29348 (log10_test_data): Likewise.
29349 (log1p_test_data): Likewise.
29350 (log2_test_data): Likewise.
29351 (sin_test_data): Likewise.
29352 (sin_tonearest_test_data): Likewise.
29353 (sin_towardzero_test_data): Likewise.
29354 (sin_downward_test_data): Likewise.
29355 (sin_upward_test_data): Likewise.
29356 (sinh_test_data): Likewise.
29357 (sinh_tonearest_test_data): Likewise.
29358 (sinh_towardzero_test_data): Likewise.
29359 (sinh_downward_test_data): Likewise.
29360 (sinh_upward_test_data): Likewise.
29361 (tan_test_data): Likewise.
29362 (tan_tonearest_test_data): Likewise.
29363 (tan_towardzero_test_data): Likewise.
29364 (tan_downward_test_data): Likewise.
29365 (tan_upward_test_data): Likewise.
29366 (tanh_test_data): Likewise.
29367 (tgamma_test_data): Likewise.
29368 (y0_test_data): Likewise.
29369 (y1_test_data): Likewise.
29370 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29371 (special_real_inputs): Add pi/4.
29372 * sysdeps/i386/fpu/libm-test-ulps: Update.
29373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29374
29375 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29376
29377 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29378 "longjmp_target" static probes.
29379 (__longjmp): Rename to __longjmp_symbol.
29380 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29381 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29382 on which longjmp to generate.
29383 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29384 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29385 probe.
29386 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29387 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29388 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29389 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29390 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29391 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29393 __longjmp_symbol based on which __longjmp to generate.
29394 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29395 probe.
29396 (setjmp): Rename to setjmp_symbol.
29397 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29398 (_setjmp): Rename to _setjmp_symbol.
29399 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29400 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29401 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29402 which setjmp to generate.
29403 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29404 "longjmp_target" static probes.
29405
29406 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29407
29408 * benchtests/README: Add note about output arguments.
29409 * benchtests/bench-sincos.c: Remove file.
29410 * benchtests/sincos-inputs: New file.
29411 * scripts/bench.pl: Identify output arguments and define
29412 static variables for them.
29413
29414 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29415
29416 [BZ #15941]
29417 * Makefile (INSTALL): Add install-plain.texi as the primary
29418 dependency.
29419 * manual/install-plain.texi: New file.
29420 * manual/install.texi: Include node directive only for
29421 non-plaintext output.
29422
29423 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29424
29425 * stdlib/longlong.h: Update from GCC.
29426
29427 [BZ #6807]
29428 [BZ #15901]
29429 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29430 * math/w_j0f.c (y0f): Likewise.
29431 * math/w_j0l.c (__y0l): Likewise.
29432 * math/w_j1.c (y1): Likewise.
29433 * math/w_j1f.c (y1f): Likewise.
29434 * math/w_j1l.c (__y1l): Likewise
29435 * math/w_jn.c (yn): Likewise.
29436 * math/w_jnf.c (ynf): Likewise.
29437 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29438 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29439 value for Bessel function domain errors outside _SVID_ mode.
29440 Adjust sign of return value for yn (negative integer, 0).
29441 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29442 by zero in return for negative x and set sign appropriately for
29443 negative n.
29444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29446 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29447 expectations in error cases.
29448 (y1_test_data): Likewise.
29449 (yn_test_data): Likewise.
29450 * sysdeps/i386/fpu/libm-test-ulps: Update.
29451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29452
29453 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29454
29455 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29456 "64" to "64-v1". Add "64-v2".
29457 (abi-64-options): Rename to ...
29458 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29459 (abi-64-condition): Rename to ...
29460 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29461 (abi-64-ld-soname): Rename to ...
29462 (abi-64-v1-ld-soname): ... this.
29463 (abi-64-v2-options): Define.
29464 (abi-64-v2-condition): Likewise.
29465 (abi-64-v2-ld-soname): Likewise.
29466 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29467 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29471
29472 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29473 Alan Modra <amodra@gmail.com>
29474
29475 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29476 New versions for use with the ELFv2 ABI.
29477 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29478 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29479 declaration.
29480 (struct La_ppc64v2_retval): Likewise.
29481 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29482 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29483 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29484 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29485 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29486 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29487 Do not save or restore CR.
29488 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29489 (_dl_profile_resolve): Do no save or restore CR. Support extended
29490 return values for ELFv2 ABI. Fix location of FPR return registers.
29491 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29492 updated values for _CALL_ELF == 2.
29493 (La_regs, La_retval, int_retval): Likewise.
29494
29495 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29496
29497 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29498 (FRAME_MIN_SIZE_PARM): Likewise.
29499 (FRAME_BACKCHAIN): Likewise.
29500 (FRAME_CR_SAVE): Likewise.
29501 (FRAME_LR_SAVE): Likewise.
29502 (FRAME_TOC_SAVE): Likewise.
29503 (FRAME_PARM_SAVE): Likewise.
29504 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29505 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29506 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29507 (call_mcount_parm_offset): New macro.
29508 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29509 (PROF): Use symbolic stack frame offsets.
29510 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29511 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29512 Redefine in terms of FRAME_MIN_SIZE.
29513 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29514 (_dl_profile_resolve): Likewise. Update comment.
29515 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29516 symbols stack frame offsets.
29517 (__sigsetjmp): Likewise.
29518 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29519 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29520 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29521 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29522
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29524 (FRAME_BACKCHAIN): Remove.
29525 (FRAME_CR_SAVE): Likewise.
29526 (FRAME_LR_SAVE): Likewise.
29527 (FRAME_COMPILER_DW): Likewise.
29528 (FRAME_LINKER_DW): Likewise.
29529 (FRAME_TOC_SAVE): Likewise.
29530 (FRAME_PARM_SAVE): Likewise.
29531 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29532 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29533 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29535 (CHECK_SP): Use symbolic stack frame offsets.
29536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29537 zone" instead of caller's parameter save area for temp storage.
29538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29539 Likewise. Also, use symbolic stack frame offsets.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29541 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29542 our own stack frame instead of the caller's.
29543 (__socket): Use symbolic stack frame offsets.
29544
29545 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29546 Alan Modra <amodra@gmail.com>
29547
29548 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29549 Define.
29550 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29551 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29552 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29553 New function.
29554 (elf_machine_fixup_plt): Call it.
29555 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29556 reloc arguments.
29557 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29558 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29559 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29560 r2 before calling target.
29561
29562 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29563 Alan Modra <amodra@gmail.com>
29564
29565 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29566 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29567 versions of macros to support ELFv2 ABI.
29568 (LOCALENTRY): New macro.
29569 (ENTRY, EALIGN): Use it.
29570 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29571 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29572 fall through into ENTRY entry point.
29573 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29574 Only define if _CALL_ELF != 2.
29575
29576 (elf_machine_matches_host): Verify ABI version matches.
29577 (RTLD_START): Use LOCALENTRY.
29578 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29579 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29580 (PLT_ENTRY_WORDS): New macro.
29581 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29582 (elf_machine_runtime_setup): Support ELFv2 ABI.
29583 (elf_machine_fixup_plt): Likewise.
29584 (elf_machine_plt_conflict): Likewise.
29585 (resolve_ifunc): Likewise.
29586 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29588 Likewise.
29589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29590 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29592 (makecontext): Support ELFv2 ABI.
29593 * elf/elf.h (EF_PPC64_ABI): Define.
29594
29595 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29596
29597 * sysdeps/powerpc/powerpc64/sysdep.h
29598 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29599 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29600 (ENTRY) [ASSEMBLER]: ... but instead here ...
29601 (EALIGN) [ASSEMBLER]: ... and here.
29602 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29603 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29604 (ENTRY_2) [!ASSEMBLER]: Use it.
29605 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29606 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29607 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29608 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29609 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29611 Use PPC64_LOAD_FUNCPTR.
29612
29613 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29614
29615 2013-12-04 Alan Modra <amodra@gmail.com>
29616
29617 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29618 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29619 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29620 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29621
29622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29623 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29624 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29625 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29626 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29627 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29628
29629 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29630
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29632 (__makecontext): Fix incorrect CFI when backtracing out of
29633 context created via makecontext.
29634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29635 (__setcontext): Fix incorrect CFI during switch to new context.
29636 (__novec_setcontext): Likewise.
29637
29638 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29639
29640 [BZ #4772]
29641 * time/strptime_l.c (__strptime_internal): Allow modifiers
29642 in strptime.
29643 * time/tst-strptime.c (day_tests): Add testcase.
29644
29645 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29646
29647 * scripts/bench.pl: Skip over blank lines.
29648
29649 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29650
29651 [BZ #926]
29652 * manual/time.texi (Calendar Time): Clarify what timezone functions
29653 use.
29654
29655 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29656
29657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29658
29659 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29660
29661 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29662 implementation.
29663 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29664 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29665 * debug/memset_chk.c (__memset_chk): Likewise.
29666 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29667 * debug/strncpy_chk.c: Likewise.
29668
29669 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29670
29671 [BZ #15268]
29672 [BZ #15425]
29673 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29674 (__ieee754_exp): For possibly underflowing results, check size of
29675 result and force underflow exception if required.
29676 * math/auto-libm-test-in: Add more tests of exp.
29677 * math/auto-libm-test-out: Regenerated.
29678 * sysdeps/i386/fpu/libm-test-ulps: Update.
29679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29680
29681 [BZ #16283]
29682 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29683 * math/w_exp2f.c (__exp2f): Likewise.
29684 * math/w_exp2l.c (__exp2l): Likewise.
29685 * math/auto-libm-test-in: Do not allow missing errno on exp2
29686 underflow.
29687 * math/auto-libm-test-out: Regenerated.
29688
29689 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29690
29691 [BZ #16274]
29692 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29693 handle filename validation.
29694 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29695 (do_open): Delete.
29696
29697 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29698
29699 [BZ #6786]
29700 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29701 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29702 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29703 <float.h>.
29704 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29705 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29706 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29708 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29710 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29711 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29712 Add more erfc tests.
29713 * math/auto-libm-test-out: Regenerated.
29714 * sysdeps/i386/fpu/libm-test-ulps: Update.
29715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29716
29717 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29718 exp2, expm1, j0 and j1.
29719 * math/auto-libm-test-out: Regenerated.
29720 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29721 (erfc_test_data): Likewise.
29722 (exp_test_data): Likewise.
29723 (exp_tonearest_test_data): Likewise.
29724 (exp_towardzero_test_data): Likewise.
29725 (exp_downward_test_data): Likewise.
29726 (exp_upward_test_data): Likewise.
29727 (exp10_test_data): Likewise.
29728 (exp2_test_data): Likewise.
29729 (expm1_test_data): Likewise.
29730 (j0_test_data): Likewise.
29731 (j1_test_data): Likewise.
29732 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29733 (input_flag_type): Add flag_xfail_rounding.
29734 (input_flags): Add xfail-rounding.
29735 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29736 (output_for_one_input_case): Handle flag_xfail_rounding.
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29739
29740 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29741
29742 [BZ #16289]
29743 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29744 division by 0.
29745
29746 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29747
29748 [BZ #16195]
29749 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29750 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29751 (STAP_PROBE0): New macro.
29752 (STAP_PROBE1): Likewise.
29753 (STAP_PROBE2): Likewise.
29754 (STAP_PROBE3): Likewise.
29755 (STAP_PROBE4): Likewise.
29756
29757 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29758
29759 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29760
29761 2013-12-02 Steve Ellcey <sellcey@mips.com>
29762
29763 * benchtests/Makefile (bench): Add sqrt.
29764 (LDLIBS-bench-sqrt): New.
29765 * benchtests/sqrt-input: New.
29766
29767 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29768
29769 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29770 (GAIH_EAI): Likewise.
29771 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29772 (gaih_inet): Likewise.
29773 (getaddrinfo): Don't use GAIH_EAI.
29774
29775 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29776 (struct gaih): Remove definition.
29777
29778 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29779
29780 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29781 Use HERRNOP directly.
29782
29783 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29784
29785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29786
29787 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29788
29789 * math/gen-auto-libm-tests.c (test_functions): Add more
29790 single-argument functions.
29791 (special_fill_pi_2): New function.
29792 (special_fill_minus_pi_2): Likewise.
29793 (special_fill_pi_6): Likewise.
29794 (special_fill_minus_pi_6): Likewise.
29795 (special_fill_pi_3): Likewise.
29796 (special_fill_2pi_3): Likewise.
29797 (special_fill_e): Likewise.
29798 (special_fill_1_e): Likewise.
29799 (special_fill_e_minus_1): Likewise.
29800 (special_real_inputs): Add more special inputs.
29801 (output_for_one_input_case): Do not require ERANGE on underflow to
29802 zero if round-to-nearest result does not underflow to zero, unless
29803 exact results required.
29804 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29805 atan, atanh, cbrt, cos and cosh.
29806 * math/auto-libm-test-out: Regenerated.
29807 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29808 (acos_tonearest_test_data): Likewise.
29809 (acos_towardzero_test_data): Likewise.
29810 (acos_downward_test_data): Likewise.
29811 (acos_upward_test_data): Likewise.
29812 (acosh_test_data): Likewise.
29813 (asin_test_data): Likewise.
29814 (asin_tonearest_test_data): Likewise.
29815 (asin_towardzero_test_data): Likewise.
29816 (asin_upward_test_data): Likewise.
29817 (asinh_test_data): Likewise.
29818 (atan_test_data): Likewise.
29819 (atanh_test_data): Likewise.
29820 (cbrt_test_data): Likewise.
29821 (cos_test_data): Likewise.
29822 (cos_tonearest_test_data): Likewise.
29823 (cos_towardzero_test_data): Likewise.
29824 (cos_downward_test_data): Likewise.
29825 (cos_upward_test_data): Likewise.
29826 (cosh_test_data): Likewise.
29827 (cosh_tonearest_test_data): Likewise.
29828 (cosh_towardzero_test_data): Likewise.
29829 (cosh_downward_test_data): Likewise.
29830 (cosh_upward_test_data): Likewise.
29831 * sysdeps/i386/fpu/libm-test-ulps: Update.
29832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29833
29834 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29835
29836 [BZ #6787]
29837 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29838 * math/w_exp10f.c (__exp10f): Likewise.
29839 * math/w_exp10l.c (__exp10l): Likewise.
29840 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29841 errno settings in existing tests.
29842
29843 [BZ #14032]
29844 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29845 precision control set to double precision.
29846 * sysdeps/i386/fpu/w_sqrt.c: New file.
29847 * math/auto-libm-test-in: Add more tests.
29848 * math/auto-libm-test-out: Update.
29849
29850 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29851 (sqrt_test_tonearest): New function.
29852 (sqrt_towardzero_test_data): New variable.
29853 (sqrt_test_towardzero): New function.
29854 (sqrt_downward_test_data): New variable.
29855 (sqrt_test_downward): New function.
29856 (sqrt_upward_test_data): New variable.
29857 (sqrt_test_upward): New function.
29858 (main): Call the new functions.
29859
29860 * math/gen-auto-libm-tests.c: New file.
29861 * math/auto-libm-test-in: Likewise.
29862 * math/auto-libm-test-out: New generated file.
29863 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29864 variables.
29865 (%beautify): Add generated representations of zero.
29866 (top level): Set $auto_input and call parse_auto_input.
29867 (beautify): Remove trailing "f" from hex float constants.
29868 (parse_args): Handle XFAIL_TEST.
29869 (convert_condition): New function.
29870 (or_value): Likewise.
29871 (or_cond_value): Likewise.
29872 (generate_testfile): Handle AUTO_TESTS_* lines.
29873 (parse_auto_input): New function.
29874 * math/libm-test.inc (XFAIL_TEST): New macro.
29875 (ERRNO_UNCHANGED): Update value.
29876 (ERRNO_EDOM): Likewise.
29877 (ERRNO_ERANGE): Likewise.
29878 (IGNORE_RESULT): Likewise.
29879 (TEST_COND_flt_32): New macro.
29880 (TEST_COND_dbl_64): Likewise.
29881 (TEST_COND_ldbl_96_intel): Likewise.
29882 (TEST_COND_ldbl_96_m68k): Likewise.
29883 (TEST_COND_ldbl_128): Likewise.
29884 (TEST_COND_ldbl_128ibm): Likewise.
29885 (TEST_COND_long32): Likewise.
29886 (TEST_COND_long64): Likewise.
29887 (TEST_COND_before_rounding): Likewise.
29888 (TEST_COND_after_rounding): Likewise.
29889 (enable_test): Handle XFAIL_TEST flag.
29890 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29891 with finite results.
29892 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29893 auto-libm-test-out.
29894
29895 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29896 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29897
29898 [BZ #16214]
29899 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29900 __tls_get_addr_internal instead of __tls_get_offset in order to
29901 avoid GOT pointer dependency. Make rtld export
29902 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29903 __tls_get_addr since we are a __tls_get_offset platform.
29904 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29905 GOT pointer being set up before.
29906 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29907
29908 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29909
29910 * manual/math.texi (Errors in Math Functions): Document accuracy
29911 goals.
29912
29913 [BZ #15004]
29914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29915 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29916 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29917 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29918 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29919 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29920 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29921 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29922 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29923 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29924 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29925 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29926 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29927 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29929 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29930
29931 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29932 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29933 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29934 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29935 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29936 Likewise.
29937 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29938 Likewise.
29939 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29940 Likewise.
29941 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29942 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29943 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29944 atomic-feupdateenv and flt-rounds.
29945 * sysdeps/powerpc/nofpu/Versions (libc): Add
29946 __atomic_feholdexcept, __atomic_feclearexcept,
29947 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29948 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29949 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29950 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29951 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29952 here.
29953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29954 Update.
29955
29956 * manual/arith.texi (FP Exceptions): Document that exceptions may
29957 not be raised when matherr is used.
29958 (Math Error Reporting): Document overflow in directed rounding
29959 modes. Document that errno may not be set when finite values are
29960 returned on overflow. Document intent to set errno on underflow
29961 only for underflow to zero.
29962
29963 [BZ #16271]
29964 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29965 round-to-nearest then adjust result for other rounding modes.
29966 * include/fenv.h (fegetround): Use libm_hidden_proto.
29967 * math/fegetround.c (fegetround): Use libm_hidden_def.
29968 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29969 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29970 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29972 Likewise.
29973 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29974 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29975 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29976 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29977
29978 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29979
29980 [BZ #16077]
29981 * nss/Versions (libnss_files): Add
29982 _nss_files_gethostbyname3_r.
29983 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29984 New function.
29985 (HOST_DB_LOOKUP): Remove macro.
29986 (_nss_files_gethostbyname_r): Implement function without the
29987 HOST_DB_LOOKUP macro.
29988 (_nss_files_gethostbyname2_r): Likewise.
29989
29990 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29991
29992 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29993
29994 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29995
29996 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29997 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29998 warning.
29999
30000 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30001
30002 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30003 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30004 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30005 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30006 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30007 __fe_nomask_env_priv and attribute_hidden.
30008 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30009 (libc_feupdateenv_test_ppc): Likewise.
30010 (libc_feresetround_ppc): Likewise.
30011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30012 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30013 compat_symbol macro.
30014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30015 (__fe_nomask_env): Likewise.
30016 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30017
30018 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30019
30020 * string/Makefile: Remove ifunc tests.
30021 * string/test-string.h: Define TEST_IFUNC.
30022 * string/test-bcopy-ifunc.c: Remove.
30023 * string/test-bzero-ifunc.c: Likewise.
30024 * string/test-memccpy-ifunc.c: Likewise.
30025 * string/test-memchr-ifunc.c: Likewise.
30026 * string/test-memcmp-ifunc.c: Likewise.
30027 * string/test-memcpy-ifunc.c: Likewise.
30028 * string/test-memmem-ifunc.c: Likewise.
30029 * string/test-memmove-ifunc.c: Likewise.
30030 * string/test-mempcpy-ifunc.c: Likewise.
30031 * string/test-memrchr-ifunc.c: Likewise.
30032 * string/test-memset-ifunc.c: Likewise.
30033 * string/test-rawmemchr-ifunc.c: Likewise.
30034 * string/test-stpcpy-ifunc.c: Likewise.
30035 * string/test-stpncpy-ifunc.c: Likewise.
30036 * string/test-strcasecmp-ifunc.c: Likewise.
30037 * string/test-strcasestr-ifunc.c: Likewise.
30038 * string/test-strcat-ifunc.c: Likewise.
30039 * string/test-strchr-ifunc.c: Likewise.
30040 * string/test-strchrnul-ifunc.c: Likewise.
30041 * string/test-strcmp-ifunc.c: Likewise.
30042 * string/test-strcpy-ifunc.c: Likewise.
30043 * string/test-strcspn-ifunc.c: Likewise.
30044 * string/test-strlen-ifunc.c: Likewise.
30045 * string/test-strncasecmp-ifunc.c: Likewise.
30046 * string/test-strncat-ifunc.c: Likewise.
30047 * string/test-strncmp-ifunc.c: Likewise.
30048 * string/test-strncpy-ifunc.c: Likewise.
30049 * string/test-strnlen-ifunc.c: Likewise.
30050 * string/test-strpbrk-ifunc.c: Likewise.
30051 * string/test-strrchr-ifunc.c: Likewise.
30052 * string/test-strspn-ifunc.c: Likewise.
30053 * string/test-strstr-ifunc.c: Likewise.
30054
30055 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30056
30057 * benchtests/Makefile: Remove ifunc tests.
30058 * benchtests/bench-string.h: Define TEST_IFUNC.
30059 * benchtests/bench-bcopy-ifunc.c: Remove.
30060 * benchtests/bench-bzero-ifunc.c: Likewise.
30061 * benchtests/bench-memccpy-ifunc.c: Likewise.
30062 * benchtests/bench-memchr-ifunc.c: Likewise.
30063 * benchtests/bench-memcmp-ifunc.c: Likewise.
30064 * benchtests/bench-memcpy-ifunc.c: Likewise.
30065 * benchtests/bench-memmem-ifunc.c: Likewise.
30066 * benchtests/bench-memmove-ifunc.c: Likewise.
30067 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30068 * benchtests/bench-memrchr-ifunc.c: Likewise.
30069 * benchtests/bench-memset-ifunc.c: Likewise.
30070 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30071 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30072 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30073 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30074 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30075 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30076 * benchtests/bench-strcat-ifunc.c: Likewise.
30077 * benchtests/bench-strchr-ifunc.c: Likewise.
30078 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30079 * benchtests/bench-strcmp-ifunc.c: Likewise.
30080 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30081 * benchtests/bench-strcpy-ifunc.c: Likewise.
30082 * benchtests/bench-strcspn-ifunc.c: Likewise.
30083 * benchtests/bench-strlen-ifunc.c: Likewise.
30084 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30085 * benchtests/bench-strncat-ifunc.c: Likewise.
30086 * benchtests/bench-strncmp-ifunc.c: Likewise.
30087 * benchtests/bench-strncpy-ifunc.c: Likewise.
30088 * benchtests/bench-strnlen-ifunc.c: Likewise.
30089 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30090 * benchtests/bench-strrchr-ifunc.c: Likewise.
30091 * benchtests/bench-strsep-ifunc.c: Likewise.
30092 * benchtests/bench-strspn-ifunc.c: Likewise.
30093 * benchtests/bench-strstr-ifunc.c: Likewise.
30094
30095 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30096
30097 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30098
30099 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30100
30101 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30102 * rt/aio.h: Likewise.
30103 * sysdeps/gnu/bits/utmp.h: Likewise.
30104 * sysdeps/gnu/bits/utmpx.h: Likewise.
30105 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30106 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30107 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30108 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30109 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30110 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30111 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30112 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30113 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30114 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30115 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30116 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30117 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30119 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30120 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30121 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30122 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30123 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30124 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30125 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30126 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30127 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30128 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30129 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30131 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30132 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30133 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30134 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30135 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30136 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30137 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30138 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30139 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30140 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30141 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30142 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30143 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30144 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30145 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30146 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30147
30148 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30149
30150 [BZ #16245]
30151 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30152 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30153
30154 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30155
30156 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30157 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30158 Likewise.
30159
30160 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30161
30162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30163 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30164 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30165 (__fesetround): Remove define.
30166 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30167 rounding and exceptions handling.
30168 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30169 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30170 (__fe_nomask_env): Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30172 __fegetround instead of fegetround.
30173 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30174 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30175
30176 2013-11-21 Roland McGrath <roland@hack.frob.com>
30177
30178 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30179 it's there.
30180
30181 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30182
30183 2013-11-21 Meador Inge <meadori@codesourcery.com>
30184
30185 [BZ #11157]
30186 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30187 (encrypt_r): Likewise.
30188 * malloc/obstack.h (obstack_free): Likewise.
30189 * posix/unistd.h (encrypt): Likewise.
30190
30191 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30192
30193 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30194 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30195 DL_CALL_DT_FINI() that call the functions directly.
30196 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30197 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30198 * elf/dl-fini.c: Likewise.
30199
30200 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30201
30202 * malloc/hooks.c (memalign_check): Add alignment rounding.
30203 * malloc/malloc.c (_mid_memalign): New function.
30204 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30205 Implement by calling _mid_memalign.
30206 * manual/probes.texi (Memory Allocation Probes): Remove
30207 memory_valloc_retry and memory_pvalloc_retry.
30208
30209 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30210
30211 * locale/programs/locarchive.c (open_archive): Add const
30212 qualifier to ARCHIVEFNAME and copy default fname to
30213 DEFAULT_FNAME.
30214
30215 [BZ #15601]
30216 * libio/tst-widetext.input: Rename Oriya to Odia.
30217 * locale/iso-639.def: Likewise.
30218
30219 * manual/probes.texi (Mathematical Function Probes): Add
30220 documentation for sin, cos, asin and acos probes.
30221 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30222 (__sin32): Add slowasin probe.
30223 (__cos32): Add slowacos probe.
30224 (__mpsin): Add slowsin probe.
30225 (__mpcos): Add slowcos probe.
30226
30227 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30228
30229 [BZ #15483]
30230 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30231 thread-local __sim_exceptions_thread and global
30232 __sim_exceptions_global.
30233 (__sim_disabled_exceptions): Change to thread-local
30234 __sim_disabled_exceptions_thread and global
30235 __sim_disabled_exceptions_global.
30236 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30237 and global __sim_round_mode_global.
30238 (__simulate_exceptions): Use thread-local floating-point state and
30239 set global state from it as needed.
30240 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30241 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30242 __sim_round_mode_thread.
30243 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30244 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30245 and global __sim_exceptions_global.
30246 (__sim_disabled_exceptions): Change to thread-local
30247 __sim_disabled_exceptions_thread and global
30248 __sim_disabled_exceptions_global.
30249 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30250 and global __sim_round_mode_global.
30251 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30252 (SIM_SET_GLOBAL): Likewise.
30253 * sysdeps/powerpc/soft-fp/sfp-machine.h
30254 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30255 __sim_round_mode_thread.
30256 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30257 __sim_disabled_exceptions_thread.
30258 (__sim_exceptions): Change to __sim_exceptions_thread.
30259 (__sim_disabled_exceptions): Change to
30260 __sim_disabled_exceptions_thread.
30261 (__sim_round_mode): Change to __sim_round_mode_thread.
30262 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30263 thread-local floating-point state and set global state from it as
30264 needed.
30265 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30266 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30267 (__sim_disabled_exceptions): Remove extern declaration.
30268 (feenableexcept): Use thread-local floating-point state and set
30269 global state from it as needed.
30270 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30271 extern declaration.
30272 (__sim_disabled_exceptions): Likewise.
30273 (__sim_round_mode): Likewise.
30274 (__fegetenv): Use thread-local floating-point state.
30275 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30276 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30277 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30278 floating-point state and set global state from it as needed.
30279 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30280 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30281 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30282 Likewise.
30283 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30284 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30285 Likewise.
30286 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30287 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30288 Use __sim_round_mode_thread.
30289 * math/test-fenv-tls.c: New file.
30290 * math/Makefile (tests): Add test-fenv-tls.
30291 ($(objpfx)test-fenv-tls): Depend on
30292 $(common-objpfx)nptl/libpthread.so.
30293
30294 2013-11-19 Andreas Schwab <schwab@suse.de>
30295
30296 * locale/programs/locale.c (show_info): Decode wordarray elements.
30297 * locale/categories.def (LC_MONETARY): Add element for
30298 _NL_MONETARY_CRNCYSTR.
30299 * locale/C-monetary.c (conversion_rate): New variable.
30300 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30301 element.
30302
30303 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30304
30305 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30306 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30307
30308 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30309
30310 * elf/Makefile (tst-auxv): New test.
30311 * elf/tst-auxv.c: New
30312 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30313
30314 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30315
30316 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30317 (hidden_proto): Caller changed.
30318 (hidden_tls_proto): New macro.
30319 (libc_hidden_tls_proto): Likewise.
30320 (rtld_hidden_tls_proto): Likewise.
30321 (libm_hidden_tls_proto): Likewise.
30322 (libresolv_hidden_tls_proto): Likewise.
30323 (librt_hidden_tls_proto): Likewise.
30324 (libdl_hidden_tls_proto): Likewise.
30325 (libnss_files_hidden_tls_proto): Likewise.
30326 (libnsl_hidden_tls_proto): Likewise.
30327 (libnss_nisplus_hidden_tls_proto): Likewise.
30328 (libutil_hidden_tls_proto): Likewise.
30329
30330 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30331
30332 [BZ #10253]
30333 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30334 (decompose_rpath): Defer expansion to fillin_rpath.
30335 (_dl_init_paths): Pass linkmap to fillin_rpath.
30336
30337 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30338
30339 * benchtests/Makefile: Add strsep.
30340 * benchtests/bench-strsep.c: New file: strsep benchtest.
30341 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30342
30343 2013-11-18 Andreas Schwab <schwab@suse.de>
30344
30345 * locale/programs/locale.c (show_info) [case byte]: Check for
30346 '\377' instead of '\177'.
30347 * locale/C-monetary.c (not_available): Always use "\377".
30348 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30349 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30350 detect unavailable sign_posn locale elements.
30351 * locale/localeconv.c (__localeconv): For grouping and
30352 mon_grouping handle "\177" and "\377" like no grouping.
30353 (INT_ELEM): New macro. Use it to set all numeric members.
30354 * locale/programs/ld-monetary.c (monetary_read)
30355 <tok_mon_grouping>: Normalize single -1 to the empty string.
30356 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30357 Likewise.
30358
30359 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30360
30361 [BZ #16055]
30362 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30363 when we match (nil).
30364 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30365
30366 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30367
30368 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30369 (NO_TEST_INLINE): Update value.
30370 (ERRNO_UNCHANGED): Likewise.
30371 (ERRNO_EDOM): Likewise.
30372 (ERRNO_ERANGE): Likewise.
30373 (IGNORE_RESULT): Likewise.
30374 (check_float_internal): Check signs of NaN results if
30375 TEST_NAN_SIGN used.
30376 (check_complex): Pass TEST_NAN_SIGN flag through to second
30377 check_float_internal call.
30378 (copysign_test_data): Add tests with quiet NaNs as second
30379 argument. Use TEST_NAN_SIGN.
30380 (fabs_test_data): Add test of negative quiet NaN argument. Use
30381 TEST_NAN_SIGN.
30382 (signbit_test_data): Add tests of quiet NaN argument.
30383 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30384
30385 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30386 $ignore_result.
30387 (parse_args): Handle function results specified as IGNORE.
30388 * math/libm-test.inc (IGNORE_RESULT): New macro.
30389 (check_float_internal): Do not check numerical result if flag
30390 IGNORE_RESULT set.
30391 (check_complex): Pass through IGNORE_RESULT to second
30392 check_float_internal call.
30393 (check_int): Do not check numerical result if flag IGNORE_RESULT
30394 set.
30395 (check_long): Likewise.
30396 (check_bool): Likewise.
30397 (check_longlong): Likewise.
30398 (lrint_test_data): Add tests of infinite and NaN arguments.
30399 (lrint_tonearest_test_data): Likewise.
30400 (lrint_towardzero_test_data): Likewise.
30401 (lrint_downward_test_data): Likewise.
30402 (lrint_upward_test_data): Likewise.
30403 (llrint_test_data): Likewise.
30404 (llrint_tonearest_test_data): Likewise.
30405 (llrint_towardzero_test_data): Likewise.
30406 (llrint_downward_test_data): Likewise.
30407 (llrint_upward_test_data): Likewise.
30408 (lround_test_data): Likewise.
30409 (llround_test_data): Likewise.
30410
30411 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30412 (ERRNO_UNCHANGED): Update value.
30413 (ERRNO_EDOM): Likewise.
30414 (ERRNO_ERANGE): Likewise.
30415 (NO_TEST_INLINE_FLOAT): New macro.
30416 (NO_TEST_INLINE_DOUBLE): Likewise.
30417 (enable_test): New function.
30418 (RUN_TEST_f_f): Check enable_test before running test.
30419 (RUN_TEST_2_f): Likewise.
30420 (RUN_TEST_fff_f): Likewise.
30421 (RUN_TEST_c_f): Likewise.
30422 (RUN_TEST_f_f1): Likewise.
30423 (RUN_TEST_fF_f1): Likewise.
30424 (RUN_TEST_fI_f1): Likewise.
30425 (RUN_TEST_ffI_f1): Likewise.
30426 (RUN_TEST_c_c): Likewise.
30427 (RUN_TEST_cc_c): Likewise.
30428 (RUN_TEST_f_i): Likewise.
30429 (RUN_TEST_f_i_tg): Likewise.
30430 (RUN_TEST_ff_i_tg): Likewise.
30431 (RUN_TEST_f_b): Likewise.
30432 (RUN_TEST_f_b_tg): Likewise.
30433 (RUN_TEST_f_l): Likewise.
30434 (RUN_TEST_f_L): Likewise.
30435 (RUN_TEST_fFF_11): Likewise.
30436 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30437 conditionals.
30438 (cosh_test_data): Likewise.
30439 (exp_test_data): Likewise.
30440 (expm1_test_data): Likewise.
30441 (hypot_test_data): Likewise.
30442 (pow_test_data): Likewise.
30443 (sinh_test_data): Likewise.
30444 (tanh_test_data): Likewise.
30445 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30446 flags argument.
30447
30448 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30449 tests with quiet NaN input and output.
30450 (acosh_test_data): Likewise.
30451 (asin_test_data): Likewise.
30452 (asinh_test_data): Likewise.
30453 (atan_test_data): Likewise.
30454 (atanh_test_data): Likewise.
30455 (atan2_test_data): Likewise.
30456 (cbrt_test_data): Likewise.
30457 (cos_test_data): Likewise.
30458 (cosh_test_data): Likewise.
30459 (erf_test_data): Likewise.
30460 (erfc_test_data): Likewise.
30461 (exp_test_data): Likewise.
30462 (exp10_test_data): Likewise.
30463 (exp2_test_data): Likewise.
30464 (expm1_test_data): Likewise.
30465 (hypot_test_data): Likewise.
30466 (j0_test_data): Likewise.
30467 (j1_test_data): Likewise.
30468 (jn_test_data): Likewise.
30469 (lgamma_test_data): Likewise.
30470 (log_test_data): Likewise.
30471 (log10_test_data): Likewise.
30472 (log1p_test_data): Likewise.
30473 (log2_test_data): Likewise.
30474 (pow_test_data): Likewise.
30475 (scalb_test_data): Likewise.
30476 (sin_test_data): Likewise.
30477 (sincos_test_data): Likewise.
30478 (sinh_test_data): Likewise.
30479 (tan_test_data): Likewise.
30480 (tanh_test_data): Likewise.
30481 (tgamma_test_data): Likewise.
30482 (y0_test_data): Likewise.
30483 (y1_test_data): Likewise.
30484 (yn_test_data): Likewise.
30485
30486 [BZ #16167]
30487 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30488 argument being NaN and avoid computations with second argument in
30489 that case.
30490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30491 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30492 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30493
30494 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30495
30496 * locale/iso-639.def: Add Chitwani Tharu (the).
30497
30498 2013-11-14 Andreas Schwab <schwab@suse.de>
30499
30500 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30501 word instead of empty string.
30502
30503 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30504
30505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30506 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30508 (__fe_nomask_env): Likewise.
30509
30510 2013-11-13 Steve Ellcey <sellcey@mips.com>
30511
30512 * benchtests/bench-timing.h: Include time.h.
30513
30514 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30515
30516 [BZ #15997]
30517 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30518 to 3.4.0 for x32.
30519 * sysdeps/unix/sysv/linux/configure: Regenerated.
30520
30521 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30522
30523 [BZ #16151]
30524 * stdlib/strtod_l.c (round_and_return): Do not consider
30525 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30526 exponent one less than half the least subnormal exponent.
30527 * stdlib/test-strtod-round-data: Add more tests.
30528 * stdlib/tst-strtod-round.c (tests): Regenerated.
30529
30530 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30531
30532 [BZ #14143]
30533 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30534 (__fe_mask_env): Likewise.
30535 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30536 libm_hidden_proto and add function prototype.
30537 (__fe_mask_env): Add function prototype.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30539 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30541 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30543 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30544
30545 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30546
30547 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30548 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30549
30550 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30551
30552 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30553 of htab_find_slot().
30554
30555 2013-11-11 David S. Miller <davem@davemloft.net>
30556
30557 [BZ #16150]
30558 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30559 symbol in the non-vis3 case in static builds.
30560 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30561 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30562 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30563 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30564
30565 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30566
30567 [BZ #387]
30568 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30569 it is empty.
30570
30571 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30572
30573 * benchtests/Makefile: Add bench-strtod.
30574 * benchtests/bench-strtod.c: New file: strtod benchtest
30575
30576 2013-11-11 Andreas Schwab <schwab@suse.de>
30577
30578 [BZ #16153]
30579 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30580 terminating NUL in key length.
30581
30582 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30583
30584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30585 Add artificial ODP entry for vDSO symbol for PPC64.
30586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30587 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30588
30589 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30590
30591 [BZ #15374]
30592 * nss/getent.c (services_keys): Recognize services starting with digit.
30593
30594 2013-11-06 David S. Miller <davem@davemloft.net>
30595
30596 [BZ #15985]
30597 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30598 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30599
30600 2013-11-06 Will Newton <will.newton@linaro.org>
30601
30602 * manual/memory.texi (Malloc Examples): Remove register
30603 keyword from examples.
30604
30605 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30606
30607 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30608
30609 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30610
30611 [BZ #6981]
30612 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30613 depending on [__GCC_IEC_559 > 0].
30614 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30615 depending on [__GCC_IEC_559_COMPLEX > 0].
30616
30617 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30618
30619 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30620 to iso-639.def.
30621
30622 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30623
30624 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30625
30626 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30627
30628 [BZ #16112]
30629 * malloc/malloc (malloc_info): Do not handle first bin as
30630 special case.
30631
30632 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30633
30634 * locale/iso-639.def: Add Central Nahuatl (nhn).
30635
30636 2013-11-01 Bruno Haible <bruno@clisp.org>
30637
30638 [BZ #7003]
30639 * manual/math.texi (BSD Random): Specify range upper bound as
30640 in POSIX.
30641
30642 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30643
30644 * locale/iso-639.def: Add Meadow Mari (mhr).
30645
30646 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30647
30648 [BZ #14752], [BZ #15763]
30649 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30650 Validate name.
30651 * rt/tst_shm.c: Add test for escaping directory.
30652
30653 2013-10-31 Andreas Schwab <schwab@suse.de>
30654
30655 [BZ #15917]
30656 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30657 followed by 'x' as part of digit sequence.
30658 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30659
30660 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30661
30662 [BZ #16037]
30663 * configure.ac: allow GNU Make 4.0 and greater.
30664 * configure: Regenerated.
30665
30666 2013-10-30 Will Newton <will.newton@linaro.org>
30667
30668 [BZ #16038]
30669 * malloc/hooks.c (memalign_check): Limit alignment to the
30670 maximum representable power of two.
30671 * malloc/malloc.c (__libc_memalign): Likewise.
30672 * malloc/tst-memalign.c (do_test): Add test for very
30673 large alignment values.
30674 * malloc/tst-posix_memalign.c (do_test): Likewise.
30675
30676 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30677
30678 [BZ #11087]
30679 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30680 (munmap_chunk): Likewise.
30681 (mremap_chunk): Likewise.
30682
30683 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30684
30685 [BZ #15799]
30686 * stdlib/div.c (div): Remove obsolete code.
30687 * stdlib/ldiv.c (ldiv): Likewise.
30688 * stdlib/lldiv.c (lldiv): Likewise.
30689
30690 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30691
30692 [BZ #16071]
30693 * nss/nss_files/files-XXX.c (get_contents_ret): New
30694 enumerator.
30695 (get_contents): New function.
30696 (internal_getent): Use it. Expand size of LINEBUFLEN.
30697
30698 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30699
30700 * configure.in: Moved to ...
30701 * configure.ac: ... here. Change reference to configure.in
30702 to configure.ac.
30703 * sysdeps/arm/preconfigure.ac: ... here.
30704 configure.in to configure.ac.
30705 * sysdeps/gnu/configure.in: Moved to ...
30706 * sysdeps/gnu/configure.ac: ... here.
30707 * sysdeps/i386/configure.in: Moved to ...
30708 * sysdeps/i386/configure.ac: ... here.
30709 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30710 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30711 * sysdeps/mach/configure.in: Moved to ...
30712 * sysdeps/mach/configure.ac: ... here.
30713 * sysdeps/mach/hurd/configure.in: Moved to ...
30714 * sysdeps/mach/hurd/configure.ac: ... here.
30715 * sysdeps/powerpc/configure.in: Moved to ...
30716 * sysdeps/powerpc/configure.ac: ... here.
30717 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30718 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30719 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30720 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30721 * sysdeps/s390/s390-32/configure.in: Moved to ...
30722 * sysdeps/s390/s390-32/configure.ac: ... here.
30723 * sysdeps/s390/s390-64/configure.in: Moved to ...
30724 * sysdeps/s390/s390-64/configure.ac: ... here.
30725 * sysdeps/sh/configure.in: Moved to ...
30726 * sysdeps/sh/configure.ac: ... here.
30727 * sysdeps/sparc/configure.in: Moved to ...
30728 * sysdeps/sparc/configure.ac: ... here.
30729 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30730 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30731 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30732 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30733 * sysdeps/x86_64/configure.in: Moved to ...
30734 * sysdeps/x86_64/configure.ac: ... here.
30735 * sysdeps/x86_64/preconfigure.in: Moved to ...
30736 * sysdeps/x86_64/preconfigure.ac: ... here.
30737 * aclocal.m4: Change reference to configure.in to configure.ac.
30738 * config.h.in: Likewise.
30739 * manual/install.texi: Likewise.
30740 * manual/maint.texi: Likewise.
30741 * Makefile: Likewise.
30742 * malloc/Makefile: Likewise.
30743 * nscd/Makefile: Likewise.
30744 * Makeconfig: Change reference to configure.in and
30745 preconfigure.in to configure.ac and preconfigure.ac
30746 respectively.
30747 * INSTALL: Regenerated.
30748 * configure: Likewise.
30749 * sysdeps/gnu/configure: Likewise.
30750 * sysdeps/i386/configure: Likewise.
30751 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30752 * sysdeps/mach/configure: Likewise.
30753 * sysdeps/mach/hurd/configure: Likewise.
30754 * sysdeps/powerpc/configure: Likewise.
30755 * sysdeps/powerpc/powerpc32/configure: Likewise.
30756 * sysdeps/powerpc/powerpc64/configure: Likewise.
30757 * sysdeps/s390/s390-32/configure: Likewise.
30758 * sysdeps/s390/s390-64/configure: Likewise.
30759 * sysdeps/sh/configure: Likewise.
30760 * sysdeps/sparc/configure: Likewise.
30761 * sysdeps/unix/sysv/linux/configure: Likewise.
30762 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30763 * sysdeps/x86_64/configure: Likewise.
30764 * sysdeps/x86_64/preconfigure: Likewise.
30765
30766 2013-10-29 Andreas Schwab <schwab@suse.de>
30767
30768 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30769
30770 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30771
30772 * benchtests/pow-inputs: Add new inputs.
30773
30774 * benchtests/exp-inputs: Add new inputs.
30775
30776 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30777 conditional check for return value.
30778 (__cos32): Likewise.
30779
30780 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30781
30782 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30783 to provide a boost for large inputs with word alignment.
30784 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30785 implementation based on optimized PPC64 strcpy.
30786 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30787 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30788 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30789 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30790
30791 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30792
30793 [BZ #2801]
30794 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30795
30796 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30797
30798 [BZ #14876]
30799 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30800 * time/tst-strptime.c (day_tests): Add testcase.
30801
30802 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30803
30804 [BZ #14029]
30805 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30806
30807 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30808
30809 [BZ #16074]
30810 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30811 MAP_FAILED on error.
30812
30813 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30814
30815 [BZ #16072]
30816 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30817 heap for large requests.
30818
30819 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30820
30821 [BZ #9954]
30822 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30823 result if the result has no associated interface.
30824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30825 interface for all 127.X.Y.Z addresses.
30826
30827 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30828
30829 * locale/iso-639.def: Add Ligurian (lij)
30830
30831 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30832
30833 [BZ #15825]
30834 * sunrpc/rpc_main.c: Document rpcgen -5.
30835
30836 2013-10-19 Michael Stahl <mstahl@redhat.com>
30837
30838 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30839
30840 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30841
30842 [BZ #10278]
30843 * posix/glob.c: Match only directories when trailing slash is present.
30844 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30845 (main): Add testcase.
30846
30847 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30848
30849 [BZ #15670]
30850 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30851
30852 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30853
30854 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30855 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30856 AUTH_DES and cindex for FIPS 140-2.
30857 (DES Encryption): Add cindex FIPS 46-3.
30858
30859 * locale/locarchive.h (struct locarhandle): Add fname.
30860 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30861 if an optional argument was specified to --list-archive,
30862 otherwise NULL.
30863 * locale/programs/locarchive.c (show_archive_content): Take new
30864 argument fname and pass it via ah.fname to open_archive.
30865 * locale/programs/localedef.h: Update decl.
30866 (open_archive): If AH->fname is non-null, open that file
30867 rather than the default file name, and don't ignore ENOENT.
30868 (create_archive): Set AH.fname to NULL.
30869 (delete_locales_from_archive): Likewise.
30870 (add_locales_to_archive): Likewise.
30871 * locale/programs/locfile.c (write_all_categories): Likewise.
30872
30873 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30874 Aldy Hernandez <aldyh@redhat.com>
30875
30876 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30877 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30878 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30879 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30880 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30881 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30882 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30883 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30884 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30885 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30886 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30887 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30888 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30889 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30890 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30891 Likewise.
30892 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30893 Likewise.
30894 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30895 Likewise.
30896 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30897 Likewise.
30898 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30899 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30900 Likewise.
30901 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30902 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30903 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30904 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30905 Likewise.
30906 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30907 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30908 * sysdeps/powerpc/preconfigure: Likewise.
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30910 Likewise.
30911 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30912 Replace contents of file by #include of <fenv_libc.h>.
30913 * sysdeps/powerpc/soft-fp/sfp-machine.h
30914 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30915 and <sys/prctl.h>.
30916 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30925 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30926 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30929 Allow copysignl PLT reference to be missing.
30930
30931 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30932 Joseph Myers <joseph@codesourcery.com
30933
30934 [BZ #15948]
30935 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30936 single character.
30937 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30938
30939 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30940
30941 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30942 * elf/tst-tls1.c: Likewise.
30943 * elf/tst-tls10.h: Likewise.
30944 * elf/tst-tls14.c: Likewise.
30945 * elf/tst-tls2.c: Likewise.
30946 * elf/tst-tls3.c: Likewise.
30947 * elf/tst-tls4.c: Likewise.
30948 * elf/tst-tls5.c: Likewise.
30949 * elf/tst-tls6.c: Likewise.
30950 * elf/tst-tls7.c: Likewise.
30951 * elf/tst-tls8.c: Likewise.
30952 * elf/tst-tls9.c: Likewise.
30953 * elf/tst-tlsmod1.c: Likewise.
30954 * elf/tst-tlsmod13.c: Likewise.
30955 * elf/tst-tlsmod13a.c: Likewise.
30956 * elf/tst-tlsmod14a.c: Likewise.
30957 * elf/tst-tlsmod16a.c: Likewise.
30958 * elf/tst-tlsmod16b.c: Likewise.
30959 * elf/tst-tlsmod2.c: Likewise.
30960 * elf/tst-tlsmod3.c: Likewise.
30961 * elf/tst-tlsmod4.c: Likewise.
30962 * elf/tst-tlsmod5.c: Likewise.
30963 * elf/tst-tlsmod6.c: Likewise.
30964
30965 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30966
30967 [BZ #12486]
30968 * malloc/malloc.c: remove checks for statistics.
30969
30970 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30971
30972 [BZ #15277]
30973 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30974 * inet/tst-network.c: Add testcase.
30975
30976 2013-10-17 Andreas Schwab <schwab@suse.de>
30977
30978 [BZ #15218]
30979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30980 to determine canonical name.
30981
30982 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30983
30984 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30985 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31007 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31008 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31009 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31010 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31011 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31012 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31013 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31014 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31016 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31017 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31026 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31030 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31031 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31032 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31041 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31042
31043 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31044
31045 [BZ #16041]
31046 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31047 make result into a quiet NaN.
31048
31049 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31050
31051 * soft-fp/adddf3.c: Fix horizontal whitespace.
31052 * soft-fp/addsf3.c: Likewise.
31053 * soft-fp/addtf3.c: Likewise.
31054 * soft-fp/divdf3.c: Likewise.
31055 * soft-fp/divsf3.c: Likewise.
31056 * soft-fp/divtf3.c: Likewise.
31057 * soft-fp/double.h: Likewise.
31058 * soft-fp/eqdf2.c: Likewise.
31059 * soft-fp/eqsf2.c: Likewise.
31060 * soft-fp/eqtf2.c: Likewise.
31061 * soft-fp/extenddftf2.c: Likewise.
31062 * soft-fp/extended.h: Likewise.
31063 * soft-fp/extendsfdf2.c: Likewise.
31064 * soft-fp/extendsftf2.c: Likewise.
31065 * soft-fp/extendxftf2.c: Likewise.
31066 * soft-fp/fixdfdi.c: Likewise.
31067 * soft-fp/fixdfsi.c: Likewise.
31068 * soft-fp/fixdfti.c: Likewise.
31069 * soft-fp/fixsfdi.c: Likewise.
31070 * soft-fp/fixsfsi.c: Likewise.
31071 * soft-fp/fixsfti.c: Likewise.
31072 * soft-fp/fixtfdi.c: Likewise.
31073 * soft-fp/fixtfsi.c: Likewise.
31074 * soft-fp/fixtfti.c: Likewise.
31075 * soft-fp/fixunsdfdi.c: Likewise.
31076 * soft-fp/fixunsdfsi.c: Likewise.
31077 * soft-fp/fixunsdfti.c: Likewise.
31078 * soft-fp/fixunssfdi.c: Likewise.
31079 * soft-fp/fixunssfsi.c: Likewise.
31080 * soft-fp/fixunssfti.c: Likewise.
31081 * soft-fp/fixunstfdi.c: Likewise.
31082 * soft-fp/fixunstfsi.c: Likewise.
31083 * soft-fp/fixunstfti.c: Likewise.
31084 * soft-fp/floatdidf.c: Likewise.
31085 * soft-fp/floatdisf.c: Likewise.
31086 * soft-fp/floatditf.c: Likewise.
31087 * soft-fp/floatsidf.c: Likewise.
31088 * soft-fp/floatsisf.c: Likewise.
31089 * soft-fp/floatsitf.c: Likewise.
31090 * soft-fp/floattidf.c: Likewise.
31091 * soft-fp/floattisf.c: Likewise.
31092 * soft-fp/floattitf.c: Likewise.
31093 * soft-fp/floatundidf.c: Likewise.
31094 * soft-fp/floatundisf.c: Likewise.
31095 * soft-fp/floatunditf.c: Likewise.
31096 * soft-fp/floatunsidf.c: Likewise.
31097 * soft-fp/floatunsisf.c: Likewise.
31098 * soft-fp/floatunsitf.c: Likewise.
31099 * soft-fp/floatuntidf.c: Likewise.
31100 * soft-fp/floatuntisf.c: Likewise.
31101 * soft-fp/floatuntitf.c: Likewise.
31102 * soft-fp/fmadf4.c: Likewise.
31103 * soft-fp/fmasf4.c: Likewise.
31104 * soft-fp/fmatf4.c: Likewise.
31105 * soft-fp/gedf2.c: Likewise.
31106 * soft-fp/gesf2.c: Likewise.
31107 * soft-fp/getf2.c: Likewise.
31108 * soft-fp/ledf2.c: Likewise.
31109 * soft-fp/lesf2.c: Likewise.
31110 * soft-fp/letf2.c: Likewise.
31111 * soft-fp/muldf3.c: Likewise.
31112 * soft-fp/mulsf3.c: Likewise.
31113 * soft-fp/multf3.c: Likewise.
31114 * soft-fp/negdf2.c: Likewise.
31115 * soft-fp/negsf2.c: Likewise.
31116 * soft-fp/negtf2.c: Likewise.
31117 * soft-fp/op-1.h: Likewise.
31118 * soft-fp/op-2.h: Likewise.
31119 * soft-fp/op-4.h: Likewise.
31120 * soft-fp/op-8.h: Likewise.
31121 * soft-fp/op-common.h: Likewise.
31122 * soft-fp/quad.h: Likewise.
31123 * soft-fp/single.h: Likewise.
31124 * soft-fp/soft-fp.h: Likewise.
31125 * soft-fp/sqrtdf2.c: Likewise.
31126 * soft-fp/sqrtsf2.c: Likewise.
31127 * soft-fp/sqrttf2.c: Likewise.
31128 * soft-fp/subdf3.c: Likewise.
31129 * soft-fp/subsf3.c: Likewise.
31130 * soft-fp/subtf3.c: Likewise.
31131 * soft-fp/truncdfsf2.c: Likewise.
31132 * soft-fp/trunctfdf2.c: Likewise.
31133 * soft-fp/trunctfsf2.c: Likewise.
31134 * soft-fp/trunctfxf2.c: Likewise.
31135 * soft-fp/unorddf2.c: Likewise.
31136 * soft-fp/unordsf2.c: Likewise.
31137 * soft-fp/unordtf2.c: Likewise.
31138
31139 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31140
31141 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31142 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31143
31144 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31145
31146 * elf/dl-libc.c: Clear initfini list after freeing.
31147
31148 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31149
31150 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31151 * soft-fp/addsf3.c: Likewise.
31152 * soft-fp/addtf3.c: Likewise.
31153 * soft-fp/divdf3.c: Likewise.
31154 * soft-fp/divsf3.c: Likewise.
31155 * soft-fp/divtf3.c: Likewise.
31156 * soft-fp/double.h: Likewise.
31157 * soft-fp/eqdf2.c: Likewise.
31158 * soft-fp/eqsf2.c: Likewise.
31159 * soft-fp/eqtf2.c: Likewise.
31160 * soft-fp/extenddftf2.c: Likewise.
31161 * soft-fp/extended.h: Likewise.
31162 * soft-fp/extendsfdf2.c: Likewise.
31163 * soft-fp/extendsftf2.c: Likewise.
31164 * soft-fp/extendxftf2.c: Likewise.
31165 * soft-fp/fixdfdi.c: Likewise.
31166 * soft-fp/fixdfsi.c: Likewise.
31167 * soft-fp/fixdfti.c: Likewise.
31168 * soft-fp/fixsfdi.c: Likewise.
31169 * soft-fp/fixsfsi.c: Likewise.
31170 * soft-fp/fixsfti.c: Likewise.
31171 * soft-fp/fixtfdi.c: Likewise.
31172 * soft-fp/fixtfsi.c: Likewise.
31173 * soft-fp/fixtfti.c: Likewise.
31174 * soft-fp/fixunsdfdi.c: Likewise.
31175 * soft-fp/fixunsdfsi.c: Likewise.
31176 * soft-fp/fixunsdfti.c: Likewise.
31177 * soft-fp/fixunssfdi.c: Likewise.
31178 * soft-fp/fixunssfsi.c: Likewise.
31179 * soft-fp/fixunssfti.c: Likewise.
31180 * soft-fp/fixunstfdi.c: Likewise.
31181 * soft-fp/fixunstfsi.c: Likewise.
31182 * soft-fp/fixunstfti.c: Likewise.
31183 * soft-fp/floatdidf.c: Likewise.
31184 * soft-fp/floatdisf.c: Likewise.
31185 * soft-fp/floatditf.c: Likewise.
31186 * soft-fp/floatsidf.c: Likewise.
31187 * soft-fp/floatsisf.c: Likewise.
31188 * soft-fp/floatsitf.c: Likewise.
31189 * soft-fp/floattidf.c: Likewise.
31190 * soft-fp/floattisf.c: Likewise.
31191 * soft-fp/floattitf.c: Likewise.
31192 * soft-fp/floatundidf.c: Likewise.
31193 * soft-fp/floatundisf.c: Likewise.
31194 * soft-fp/floatunsidf.c: Likewise.
31195 * soft-fp/floatunsisf.c: Likewise.
31196 * soft-fp/floatuntidf.c: Likewise.
31197 * soft-fp/floatuntisf.c: Likewise.
31198 * soft-fp/floatuntitf.c: Likewise.
31199 * soft-fp/fmadf4.c: Likewise.
31200 * soft-fp/fmasf4.c: Likewise.
31201 * soft-fp/fmatf4.c: Likewise.
31202 * soft-fp/gedf2.c: Likewise.
31203 * soft-fp/gesf2.c: Likewise.
31204 * soft-fp/getf2.c: Likewise.
31205 * soft-fp/ledf2.c: Likewise.
31206 * soft-fp/lesf2.c: Likewise.
31207 * soft-fp/letf2.c: Likewise.
31208 * soft-fp/muldf3.c: Likewise.
31209 * soft-fp/mulsf3.c: Likewise.
31210 * soft-fp/multf3.c: Likewise.
31211 * soft-fp/negdf2.c: Likewise.
31212 * soft-fp/negsf2.c: Likewise.
31213 * soft-fp/negtf2.c: Likewise.
31214 * soft-fp/op-1.h: Likewise.
31215 * soft-fp/op-2.h: Likewise.
31216 * soft-fp/op-4.h: Likewise.
31217 * soft-fp/op-8.h: Likewise.
31218 * soft-fp/op-common.h: Likewise.
31219 * soft-fp/quad.h: Likewise.
31220 * soft-fp/single.h: Likewise.
31221 * soft-fp/soft-fp.h: Likewise.
31222 * soft-fp/sqrtdf2.c: Likewise.
31223 * soft-fp/sqrtsf2.c: Likewise.
31224 * soft-fp/sqrttf2.c: Likewise.
31225 * soft-fp/subdf3.c: Likewise.
31226 * soft-fp/subsf3.c: Likewise.
31227 * soft-fp/subtf3.c: Likewise.
31228 * soft-fp/truncdfsf2.c: Likewise.
31229 * soft-fp/trunctfdf2.c: Likewise.
31230 * soft-fp/trunctfsf2.c: Likewise.
31231 * soft-fp/trunctfxf2.c: Likewise.
31232 * soft-fp/unorddf2.c: Likewise.
31233 * soft-fp/unordsf2.c: Likewise.
31234 * soft-fp/unordtf2.c: Likewise.
31235
31236 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31237
31238 [BZ #15672]
31239 * misc/error.c (error_tail): Fix possible buffer overflow.
31240
31241 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31242
31243 [BZ #13028]
31244 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31245 address.
31246
31247 2013-10-14 P. J. McDermott <pj@pehjota.net>
31248
31249 [BZ #832]
31250 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31251 testing pipefail option.
31252
31253 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31254
31255 * soft-fp/double.h: Indent preprocessor directives inside #if.
31256 * soft-fp/extended.h: Likewise.
31257 * soft-fp/op-2.h: Likewise.
31258 * soft-fp/op-4.h: Likewise.
31259 * soft-fp/op-common.h: Likewise.
31260 * soft-fp/quad.h: Likewise.
31261 * soft-fp/single.h: Likewise.
31262 * soft-fp/soft-fp.h: Likewise.
31263
31264 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31265
31266 * iconv/iconv_prog.c: Fix typos.
31267 * stdio-common/psiginfo-data.h: Likewise.
31268
31269 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31270
31271 [BZ #15764]
31272 * locale/setlocale.c: Fix typo.
31273
31274 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31275
31276 [BZ #16036]
31277 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31278 signaling NaN arguments.
31279 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31280 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31281
31282 [BZ #14910]
31283 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31284 unordered operands.
31285 * soft-fp/gesf2.c (__gesf2): Likewise.
31286 * soft-fp/getf2.c (__getf2): Likewise.
31287 * soft-fp/ledf2.c (__ledf2): Likewise.
31288 * soft-fp/lesf2.c (__lesf2): Likewise.
31289 * soft-fp/letf2.c (__letf2): Likewise.
31290
31291 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31292 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31293 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31294 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31295 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31296 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31297 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31298 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31299 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31300 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31301 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31302 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31303 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31304 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31305 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31306 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31307 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31308 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31309 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31310 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31311 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31312 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31313 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31314 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31315 * soft-fp/floattidf.c (__floattidf): Likewise.
31316 * soft-fp/floattisf.c (__floattisf): Likewise.
31317 * soft-fp/floattitf.c (__floattitf): Likewise.
31318 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31319 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31320 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31321 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31322 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31323 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31324 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31325 * soft-fp/gesf2.c (__gesf2): Likewise.
31326 * soft-fp/getf2.c (__getf2): Likewise.
31327 * soft-fp/ledf2.c (__ledf2): Likewise.
31328 * soft-fp/lesf2.c (__lesf2): Likewise.
31329 * soft-fp/letf2.c (__letf2): Likewise.
31330
31331 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31332 Undefine and redefine.
31333 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31334 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31335 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31336 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31337 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31338 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31339 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31340 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31341 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31342 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31343 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31344 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31345 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31346 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31347 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31348
31349 [BZ #16032]
31350 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31351 without decrementing exponent if mantissa >= that for the
31352 denominator, not >.
31353 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31354 denominator, not >. Decrement exponent in < case instead of
31355 incrementing in >= case.
31356 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31357 without decrementing exponent if mantissa >= that for the
31358 denominator, not >.
31359
31360 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31361 computing saturated result for unsigned overflow.
31362
31363 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31364 Jeff Law <law@redhat.com>
31365
31366 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31367 (atan2Mp): Add systemtap probe marker.
31368 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31369 (__ieee754_log): Add systemtap probe marker.
31370 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31371 (atanMp): Add systemtap probe marker.
31372 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31373 (tanMp): Add systemtap probe marker.
31374 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31375 (__slowexp): Add systemtap probe marker.
31376 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31377 (__slowpow): Add systemtap probe marker.
31378 * manual/probes.texi: Document probes.
31379
31380 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31381
31382 [BZ #15362]
31383 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31384 written.
31385 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31386 written.
31387 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31388 written to buffer but not flushed.
31389 * libio/iofwrite_u.c: Likewise.
31390 * libio/iopadn.c: Return bytes returned even if EOF was
31391 encountered.
31392 * libio/iowpadn.c: Likewise.
31393 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31394 if _IO_padn does not write the whole buffer.
31395 [!COMPILE_WPRINTF] (PAD): Likewise.
31396
31397 2013-10-10 David S. Miller <davem@davemloft.net>
31398
31399 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31400 directory block.
31401
31402 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31403
31404 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31405 instead of FSF address.
31406 * soft-fp/fixdfti.c: Likewise.
31407 * soft-fp/fixsfti.c: Likewise.
31408 * soft-fp/fixtfti.c: Likewise.
31409 * soft-fp/fixunsdfti.c: Likewise.
31410 * soft-fp/fixunssfti.c: Likewise.
31411 * soft-fp/fixunstfti.c: Likewise.
31412 * soft-fp/floattidf.c: Likewise.
31413 * soft-fp/floattisf.c: Likewise.
31414 * soft-fp/floattitf.c: Likewise.
31415 * soft-fp/floatuntidf.c: Likewise.
31416 * soft-fp/floatuntisf.c: Likewise.
31417 * soft-fp/floatuntitf.c: Likewise.
31418 * soft-fp/trunctfxf2.c: Likewise.
31419
31420 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31421 * soft-fp/fixdfti.c: Likewise.
31422 * soft-fp/fixsfti.c: Likewise.
31423 * soft-fp/fixtfti.c: Likewise.
31424 * soft-fp/fixunsdfti.c: Likewise.
31425 * soft-fp/fixunssfti.c: Likewise.
31426 * soft-fp/fixunstfti.c: Likewise.
31427 * soft-fp/floattidf.c: Likewise.
31428 * soft-fp/floattisf.c: Likewise.
31429 * soft-fp/floattitf.c: Likewise.
31430 * soft-fp/floatuntidf.c: Likewise.
31431 * soft-fp/floatuntisf.c: Likewise.
31432 * soft-fp/floatuntitf.c: Likewise.
31433 * soft-fp/trunctfxf2.c: Likewise.
31434
31435 2013-10-10 David S. Miller <davem@davemloft.net>
31436
31437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31438
31439 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31440
31441 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31442 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31443 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31444 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31445 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31446 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31447 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31448
31449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31450 for NaNs before doing comparisons on argument.
31451 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31452 Likewise.
31453
31454 2013-10-10 Will Newton <will.newton@linaro.org>
31455
31456 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31457 passed to _int_memalign does not overflow.
31458
31459 2013-10-10 Torvald Riegel <triegel@redhat.com>
31460
31461 * scripts/bench.pl: Add include-sources directive.
31462 * benchtests/README: Update documentation.
31463
31464 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31465
31466 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31467 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31468 instead of FP_INIT_ROUNDMODE.
31469 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31470 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31471
31472 [BZ #16034]
31473 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31474 copy class of input value.
31475 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31476 not handle exceptions.
31477 * soft-fp/negsf2.c (__negsf2): Likewise.
31478 * soft-fp/negtf2.c (__negtf2): Likewise.
31479 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31480
31481 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31482
31483 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31484 semicolon. From Linux kernel.
31485
31486 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31487
31488 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31489
31490 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31491
31492 [BZ #156]
31493 * manual/socket.texi: Added statement about buffer
31494 for gethostbyname2_r.
31495
31496 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31497
31498 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31499 Use .p2align directive instead, throughout.
31500 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31501 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31502 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31503 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31505 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31506 * sysdeps/x86_64/strchr.S: Likewise.
31507 * sysdeps/x86_64/strrchr.S: Likewise.
31508
31509 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31510
31511 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31512
31513 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31514
31515 * sysdeps/generic/math_private.h (__mpsin1): Remove
31516 declaration.
31517 (__mpcos1): Likewise.
31518 (__mpsin): New argument __range_reduce.
31519 (__mpcos): Likewise.
31520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31521 (slow): Use __mpsin and __mpcos.
31522 (slow1): Likewise.
31523 (slow2): Likewise.
31524 (sloww): Likewise.
31525 (sloww1): Likewise.
31526 (sloww2): Likewise.
31527 (bsloww): Likewise.
31528 (bsloww1): Likewise.
31529 (bsloww2): Likewise.
31530 (cslow2): Likewise.
31531 (csloww): Likewise.
31532 (csloww1): Likewise.
31533 (csloww2): Likewise.
31534 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31535 range_reduce. Merge in __mpsin1.
31536 (__mpcos): Likewise.
31537 (__mpsin1): Remove.
31538 (__mpcos1): Likewise.
31539
31540 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31541
31542 * locale/loadlocale.c (_nl_intern_locale_data): Use
31543 LOCFILE_ALIGNED_P.
31544 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31545 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31546 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31547 obstack data is appropriately aligned.
31548 (obstack_int32_grow_fast): Likewise.
31549 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31550 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31551 (add_locale_uint32_array): Likewise.
31552
31553 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31554
31555 * benchtests/Makefile: Remove ARGLIST and RET variables.
31556 ($(objpfx)bench-%.c): Pass only function name to the script.
31557 * benchtests/README: Update documentation.
31558 * benchtests/acos-inputs: Add new directives.
31559 * benchtests/acosh-inputs: Likewise.
31560 * benchtests/asin-inputs: Likewise.
31561 * benchtests/asinh-inputs: Likewise.
31562 * benchtests/atan-inputs: Likewise.
31563 * benchtests/atanh-inputs: Likewise.
31564 * benchtests/cos-inputs: Likewise.
31565 * benchtests/cosh-inputs: Likewise.
31566 * benchtests/exp-inputs: Likewise.
31567 * benchtests/log-inputs: Likewise.
31568 * benchtests/pow-inputs: Likewise.
31569 * benchtests/rint-inputs: Likewise.
31570 * benchtests/sin-inputs: Likewise.
31571 * benchtests/sinh-inputs: Likewise.
31572 * benchtests/tan-inputs: Likewise.
31573 * benchtests/tanh-inputs: Likewise.
31574 * scripts/bench.pl: Add support for new directives.
31575
31576 2013-10-07 Alan Modra <amodra@gmail.com>
31577
31578 * README: Fix careless merge.
31579
31580 2013-10-05 Alan Modra <amodra@gmail.com>
31581
31582 * NEWS: Mention powerpc64le support and bugs fixed.
31583 * README: Both big-endian and little-endian powerpc64 supported.
31584
31585 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31586
31587 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31588 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31589 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31590 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31591
31592 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31593
31594 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31595 match prototype.
31596
31597 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31598
31599 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31600 Move -mhard-float appending from
31601 ports/sysdeps/powerpc/powerpc32/Makefile.
31602 [$(with-fp) = yes] (ASFLAGS): Likewise.
31603 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31604 * sysdeps/powerpc/nofpu: Move directory from
31605 ports/sysdeps/powerpc/nofpu.
31606 * sysdeps/powerpc/soft-fp: Move directory from
31607 ports/sysdeps/powerpc/soft-fp.
31608 * sysdeps/powerpc/powerpc32/405: Move directory from
31609 ports/sysdeps/powerpc/powerpc32/405.
31610 * sysdeps/powerpc/powerpc32/440: Move directory from
31611 ports/sysdeps/powerpc/powerpc32/440.
31612 * sysdeps/powerpc/powerpc32/464: Move directory from
31613 ports/sysdeps/powerpc/powerpc32/464.
31614 * sysdeps/powerpc/powerpc32/476: Move directory from
31615 ports/sysdeps/powerpc/powerpc32/476.
31616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31617 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31619 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31621 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31623 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31625 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31626 * README: Update for powerpc-*-linux-gnu software floating point
31627 support in libc.
31628
31629 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31630 case to powerpc/powerpc32*.
31631 * sysdeps/unix/sysv/linux/configure: Regenerated.
31632
31633 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31634 (_FPU_MASK_OM): Define as 0x04.
31635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31637 0x00c10080.
31638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31639 0x0000003c.
31640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31641
31642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31643 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31644 getcontext_e500.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31646 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31647 setcontext_e500.
31648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31649 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31650 and setcontext_e500.
31651
31652 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31653
31654 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31655
31656 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31657
31658 * manual/threads.texi (Default Thread Attributes): Fix typo.
31659
31660 2013-10-04 Will Newton <will.newton@linaro.org>
31661
31662 * malloc/Makefile: Add tst-memalign.
31663 * malloc/tst-memalign.c: New file.
31664
31665 * malloc/tst-posix_memalign.c: Add comments.
31666 (do_test): Add comments and call free on all potentially
31667 allocated pointers. Add space after cast.
31668
31669 * malloc/tst-pvalloc.c: Add comments.
31670 (do_test): Add comments and call free on all potentially
31671 allocated pointers. Remove duplicate check for NULL pointer.
31672 Add space after cast.
31673
31674 * malloc/tst-valloc.c: Add comments.
31675 (do_test): Add comments and call free on all potentially
31676 allocated pointers. Remove duplicate check for NULL pointer.
31677 Add space after cast.
31678
31679 2013-10-04 Alan Modra <amodra@gmail.com>
31680
31681 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31682 Use stdint types in rather than __attribute__((mode())).
31683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31684
31685 2013-10-04 Alan Modra <amodra@gmail.com>
31686
31687 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31688 Correct handling of unaligned relocs for little-endian.
31689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31690
31691 2013-10-04 Alan Modra <amodra@gmail.com>
31692
31693 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31694 * configure: Regenerate.
31695 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31696 * shlib-versions: Likewise.
31697
31698 2013-10-04 Alan Modra <amodra@gmail.com>
31699
31700 * string/tester.c (test_memrchr): Increment reported test cycle.
31701
31702 2013-10-04 Alan Modra <amodra@gmail.com>
31703
31704 * string/test-memcpy.c (do_one_test): When reporting errors, print
31705 string address and don't overrun end of string.
31706
31707 2013-10-04 Alan Modra <amodra@gmail.com>
31708
31709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31710 insrdi. Make better use of reg selection to speed exit slightly.
31711 Schedule entry path a little better. Remove useless "are we done"
31712 checks on entry to main loop. Handle wrapping around zero address.
31713 Correct main loop count. Handle single left-over word from main
31714 loop inline rather than by using loop_small. Remove extra word
31715 case in loop_small caused by wrong loop count. Add little-endian
31716 support.
31717 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31718 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31719 cache hint.
31720 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31722 support. Avoid rlwimi.
31723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31724
31725 2013-10-04 Alan Modra <amodra@gmail.com>
31726
31727 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31728 insrdi. Formatting.
31729 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31730 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31731 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31732 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31733 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31734 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31735
31736 2013-10-04 Alan Modra <amodra@gmail.com>
31737
31738 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31740 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31741 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31742 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31745 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31747 use of regs. Use power7 mtocrf. Tidy function tails.
31748
31749 2013-10-04 Alan Modra <amodra@gmail.com>
31750
31751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31752 Formatting. Consistently use rXXX register defines or rN defines.
31753 Use early exit labels that avoid restoring unused non-volatile regs.
31754 Make cr field use more consistent with rWORDn compares. Rename
31755 regs used as shift registers for unaligned loop, using rN defines
31756 for short lifetime/multiple use regs.
31757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31759 addi 1,1,64 to pop stack frame. Simplify return value code.
31760 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31761
31762 2013-10-04 Alan Modra <amodra@gmail.com>
31763
31764 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31765 support. Correct typos, formatting. Optimize tail. Use insrdi
31766 rather than rlwimi.
31767 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31768 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31769 little-endian support. Correct typos.
31770 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31771 rather than rlwimi.
31772 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31773 in loop and entry code to keep "and." results.
31774 (strchr): Add little-endian support. Comment. Move cntlzd
31775 earlier in tail.
31776 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31777
31778 2013-10-04 Alan Modra <amodra@gmail.com>
31779
31780 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31781 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31782 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31783 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31784
31785 2013-10-04 Alan Modra <amodra@gmail.com>
31786
31787 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31788 (rTMP): Define as r11.
31789 (strcmp): Add little-endian support. Optimise tail.
31790 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31791 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31792 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31794 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31796 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31797
31798 2013-10-04 Alan Modra <amodra@gmail.com>
31799
31800 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31801 little-endian support. Remove unnecessary "are we done" tests.
31802 Handle "s" wrapping around zero and extremely large "size".
31803 Correct main loop count. Handle single left-over word from main
31804 loop inline rather than by using small_loop. Correct comments.
31805 Delete "zero" tail, use "end_max" instead.
31806 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31807
31808 2013-10-04 Alan Modra <amodra@gmail.com>
31809
31810 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31811 support. Don't branch over align.
31812 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31813 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31814 support. Rearrange tmp reg use to suit. Comment.
31815 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31816
31817 2013-10-04 Alan Modra <amodra@gmail.com>
31818
31819 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31820
31821 2013-10-04 Alan Modra <amodra@gmail.com>
31822
31823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31824 conditional form of branch and link when obtaining pc.
31825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31826
31827 2013-10-04 Alan Modra <amodra@gmail.com>
31828
31829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31830 HIWORD/LOWORD.
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31833
31834 2013-10-04 Alan Modra <amodra@gmail.com>
31835
31836 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31837 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31838 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31839 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31840 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31841 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31842 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31843 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31844 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31845 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31846
31847 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31848 Alistair Popple <alistair@ozlabs.au.ibm.com>
31849 Alan Modra <amodra@gmail.com>
31850
31851 [BZ #15723]
31852 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31853 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31854 _dl_hwcap access for little-endian.
31855 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31856 destroy vmx regs when saving unaligned.
31857 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31858 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31859 destroy vmx regs when saving unaligned.
31860
31861 2013-10-04 Alan Modra <amodra@gmail.com>
31862
31863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31864 Don't use a union to pack hi/low value.
31865
31866 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31867
31868 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31869 for little-endian.
31870 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31871 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31872 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31873 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31874 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31875
31876 2013-10-04 Alan Modra <amodra@gmail.com>
31877
31878 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31879 constants to usual value for .cst8 section, and remove redundant
31880 high address load.
31881 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31882 constant for 0x1p52. Load little-endian words of double from
31883 correct stack offsets.
31884
31885 2013-10-04 Alan Modra <amodra@gmail.com>
31886
31887 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31888 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31889 words of double from correct stack offsets.
31890 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31891 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31892 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31894 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31897 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31898 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31902 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31903 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31904 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31905 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31906 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31907
31908 2013-10-04 Alan Modra <amodra@gmail.com>
31909
31910 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31911 64-bit int/double union.
31912 (_FPU_SETCW): Likewise.
31913 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31914 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31915
31916 2013-10-04 Alan Modra <amodra@gmail.com>
31917
31918 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31919 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31920
31921 2013-10-04 Alan Modra <amodra@gmail.com>
31922
31923 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31924 use vector int constants.
31925 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31926
31927 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31928
31929 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31930 array with long long.
31931 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31932 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31933 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31934 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31935 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31936 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31937 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31938 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31939 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31940 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31941 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31942 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31943 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31944
31945 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31946
31947 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31948 (__signbit): Likewise. Correct for little-endian.
31949 (__signbitl): Call __signbit.
31950 (lrint): Correct for little-endian.
31951 (lrintf): Call lrint.
31952
31953 2013-10-04 Alan Modra <amodra@gmail.com>
31954
31955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31956 union 32-bit int array member with 64-bit int array.
31957 (t515, tm256): Double rather than long double.
31958 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31959
31960 2013-10-04 Alan Modra <amodra@gmail.com>
31961
31962 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31963 Delete.
31964 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31966 version of math_ldbl.h.
31967
31968 2013-10-04 Alan Modra <amodra@gmail.com>
31969
31970 [BZ #15734], [BZ #15735]
31971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31972 all uses of ieee875 long double macros and unions. Simplify test
31973 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31974 ldbl_extract_mantissa value for ix,iy exponents. Properly
31975 normalize after ldbl_extract_mantissa, and don't add hidden bit
31976 already handled. Don't treat low word of ieee854 mantissa like
31977 low word of IBM long double and mask off bit when testing for
31978 zero.
31979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31980 all uses of ieee875 long double macros and unions. Simplify tests
31981 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31982 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31983 two1022, instead use their values. Recognise that tests for large
31984 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31986 Rewrite all uses of ieee875 long double macros and unions. Simplify
31987 test for 0.0L and nan. Correct negation.
31988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31989 ieee875 long double macros and unions. Correct output for large
31990 magnitude x. Correct absolute value calculation.
31991 (__erfcl): Likewise.
31992 * math/libm-test.inc: Add tests for errors discovered in IBM long
31993 double versions of fmodl, remainderl, erfl and erfcl.
31994
31995 2013-10-04 Alan Modra <amodra@gmail.com>
31996
31997 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31998 all uses of ieee854 long double macros and unions. Simplify tests
31999 for long doubles that are fully specified by the high double.
32000 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32001 Likewise.
32002 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32003 Remove dead code too.
32004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32005 (__ieee754_ynl): Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32007 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32009 Remove dead code too.
32010 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32011 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32013 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32014 Simplify.
32015 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32016 Simplify.
32017 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32018 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32020 Comment on variable precision.
32021 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32022 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32023 Likewise.
32024 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32028 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32029
32030 2013-10-04 Alan Modra <amodra@gmail.com>
32031
32032 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32034 all uses of ieee854 long double macros and unions.
32035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32036 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32039 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32041 Likewise.
32042 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32043 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32044 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32048 Simplify sign and nan test too.
32049 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32050 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32051 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32052 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32053 Likewise.
32054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32055 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32056 Likewise.
32057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32058 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32059 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32060 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32063
32064 2013-10-04 Alan Modra <amodra@gmail.com>
32065
32066 * stdio-common/printf_size.c (__printf_size): Don't use
32067 union ieee854_long_double in fpnum union.
32068 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32069 signbit macro to retrieve sign from long double.
32070 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32071 retrieve sign from long double.
32072 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32073 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32074 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32075 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32076 * math/test-misc.c (main): Don't use union ieee854_long_double.
32077
32078 2013-10-04 Alan Modra <amodra@gmail.com>
32079
32080 [BZ #15680]
32081 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32082 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32083 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32084 calculation. Remove unnecessary test for denormal exponent.
32085 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32086 Correct handling of denormals. Avoid undefined shift behaviour.
32087 Correct normalisation of low mantissa when low double is denormal.
32088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32089 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32090 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32091 Correct normalisation of low mantissa. Test for overflow of high
32092 mantissa and normalise.
32093 (ldbl_nearbyint): Use more readable constant for two52.
32094 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32095 (__mpn_construct_long_double): Fix test for overflow of high
32096 mantissa and correct normalisation. Avoid undefined shift.
32097
32098 2013-10-04 Alan Modra <amodra@gmail.com>
32099
32100 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32101 (union ibm_extended_long_double): Define as an array of ieee754_double.
32102 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32103 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32104 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32105 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32107 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32109 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32110 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32111 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32113
32114 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32115
32116 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32117 page size instead of calling getpagesize.
32118
32119 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32120 (LOCFILE_ALIGN_MASK): Likewise.
32121 (LOCFILE_ALIGN_UP): Likewise.
32122 (LOCFILE_ALIGNED_P): Likewise.
32123 * locale/programs/ld-collate.c (collate_output): Use the new
32124 macros instead of __alignof__ (int32_t).
32125 * locale/weight.h (findidx): Likewise.
32126
32127 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32128
32129 [BZ #431]
32130 * manual/string.texi: Fix strncat and wcsncat.
32131
32132 2013-10-03 Brooks Moses <bmoses@google.com>
32133
32134 [BZ #15915]
32135 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32136 * Makerules: ...here, and adjust associated comments.
32137
32138 2013-10-02 Will Newton <will.newton@linaro.org>
32139
32140 * malloc/Makefile: Add tst-pvalloc.
32141 * malloc/tst-pvalloc.c: New file.
32142
32143 2013-10-02 Will Newton <will.newton@linaro.org>
32144
32145 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32146 improve test coverage.
32147
32148 2013-10-02 Will Newton <will.newton@linaro.org>
32149
32150 * malloc/Makefile: Add tst-posix_memalign.
32151 * malloc/tst-posix_memalign.c: New file.
32152
32153 2013-10-01 Eric Blake <eblake@redhat.com>
32154
32155 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32156 Use __THROWNL rather than __THROW on static functions.
32157
32158 2013-09-30 Petr Machata <pmachata@redhat.com>
32159
32160 * elf/elf.h (R_AARCH64_ABS16): New macro.
32161 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32162 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32163 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32164 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32165 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32166 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32167 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32168 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32169 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32170 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32171 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32172 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32173 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32174 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32175 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32176 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32177 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32178 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32179 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32180 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32181 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32182 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32183 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32184 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32185 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32186 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32187 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32188 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32189 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32190 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32191 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32192 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32193 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32194 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32195 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32196 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32197 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32198 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32199 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32200 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32201 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32202 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32203 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32204 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32205 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32206 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32207 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32208 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32209 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32210 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32211 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32212 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32213 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32214 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32215 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32216 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32217 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32218 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32219 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32220 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32221 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32222 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32223 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32224 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32225 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32226 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32227 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32228 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32229 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32230 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32231 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32232 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32233 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32234 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32235 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32236 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32237 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32238 (R_AARCH64_TLSDESC_LDR): Likewise.
32239 (R_AARCH64_TLSDESC_ADD): Likewise.
32240 (R_AARCH64_TLSDESC_CALL): Likewise.
32241
32242 2013-09-30 Andreas Schwab <schwab@suse.de>
32243
32244 [BZ #15048]
32245 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32246 the nss database lookup.
32247 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32249
32250 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32251
32252 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32253
32254 2013-09-28 P. J. McDermott <pj@pehjota.net>
32255
32256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32257 ${Bash-specific parameter/pattern/string} parameter expansion.
32258 * sysdeps/unix/make-syscalls.sh: Likewise.
32259
32260 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32261
32262 * sysdeps/sh/stackguard-macros.h: New file.
32263
32264 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32265
32266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32268 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32269 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32270 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32271 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32272
32273 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32274
32275 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32276 Fix thread ID register.
32277
32278 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32279
32280 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32281 [POSIX || UNIX98]: Require rather than permitting all symbols from
32282 <time.h>.
32283 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32284 element of struct sched_param.
32285 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32286 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32287 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32288 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32289 constant.
32290
32291 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32292
32293 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32294 argument calculation.
32295
32296 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32297
32298 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32299 Expect macro.
32300 [POSIX] (pthread_attr_t): Do not require type.
32301 [POSIX] (pthread_cond_t): Likewise.
32302 [POSIX] (pthread_condattr_t): Likewise.
32303 [POSIX] (pthread_key_t): Likewise.
32304 [POSIX] (pthread_mutex_t): Likewise.
32305 [POSIX] (pthread_mutexattr_t): Likewise.
32306 [POSIX] (pthread_once_t): Likewise.
32307 [POSIX] (pthread_t): Likewise.
32308 [POSIX-based standards] (pthread_atfork): Expect function.
32309
32310 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32311 Richard Sandiford <richard@codesourcery.com>
32312
32313 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32314 (swap_endianness_p): New extern variable.
32315 (set_big_endian): New inline function.
32316 (maybe_swap_uint32): Likewise.
32317 (maybe_swap_uint32_array): Likewise.
32318 (maybe_swap_uint32_obstack): Likewise.
32319 * locale/programs/locfile.c: Include <stdbool.h>.
32320 (swap_endianness_p): New variable.
32321 (add_locale_uint32): Call maybe_swap_uint32.
32322 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32323 (write_locale_data): Call maybe_swap_uint32_array.
32324 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32325 maybe_swap_uint32.
32326 (obstack_int32_grow_fast): Likewise.
32327 (output_weightwc): Call maybe_swap_uint32_obstack.
32328 (collate_output): Likewise.
32329 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32330 (OPT_LITTLE_ENDIAN): Likewise.
32331 (options): Add --little-endian and --big-endian options.
32332 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32333 * locale/programs/locarchive.c: Include "locfile.h".
32334 (GET): New macro.
32335 (SET): Likewise.
32336 (INC): Likewise.
32337 (create_archive): Use the new macros to access fields of
32338 structures directly mapped from or written to locale archives.
32339 (oldlocrecentcmp): Likewise.
32340 (enlarge_archive): Likewise.
32341 (insert_name): Likewise.
32342 (add_alias): Likewise.
32343 (add_locale): Likewise.
32344 (delete_locales_from_archive): Likewise.
32345 (show_archive_content): Likewise.
32346 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32347 locale data.
32348
32349 2013-09-24 Roland McGrath <roland@hack.frob.com>
32350
32351 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32352 http://www.gnu.org/doc/freemanuals.texi.
32353 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32354
32355 2013-09-24 Will Newton <will.newton@linaro.org>
32356
32357 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32358 macro.
32359
32360 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32361
32362 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32363 unsigned char.
32364
32365 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32366
32367 * manual/threads.texi (POSIX Threads): Fix a typo.
32368
32369 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32370
32371 [BZ #14547]
32372 * string/tst-strcoll-overflow.c: New test case.
32373 * string/Makefile (xtests): Add tst-strcoll-overflow.
32374 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32375 cache if string sizes may cause integer overflow.
32376
32377 [BZ #14547]
32378 * string/strcoll_l.c (coll_seq): New members rule, idx,
32379 save_idx and back_us.
32380 (get_next_seq_nocache): New function.
32381 (do_compare_nocache): New function.
32382 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32383 when malloc fails.
32384
32385 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32386
32387 [BZ #15754]
32388 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32389 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32390 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32391
32392 [BZ #15754]
32393 * elf/Makefile (tests): Add tst-ptrguard1.
32394 (tests-static): Add tst-ptrguard1-static.
32395 (tst-ptrguard1-ARGS): Define.
32396 (tst-ptrguard1-static-ARGS): Define.
32397 * elf/tst-ptrguard1.c: New file.
32398 * elf/tst-ptrguard1-static.c: New file.
32399 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32400 * sysdeps/i386/stackguard-macros.h: Likewise.
32401 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32402 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32403 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32404 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32405 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32406 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32407
32408 2013-09-23 Hector Marco <hecmargi@upv.es>
32409 Ismael Ripoll <iripoll@disca.upv.es>
32410 Carlos O'Donell <carlos@redhat.com>
32411
32412 [BZ #15754]
32413 * sysdeps/generic/stackguard-macros.h: Define
32414 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32415 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32416 Define __pointer_chk_guard_local.
32417 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32418 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32419
32420 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32421
32422 [BZ #15859]
32423 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32424
32425 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32426
32427 * include/string.h (__ffs): Declare as hidden.
32428 * string/ffs.c (__ffs): Define as hidden.
32429 * sysdeps/i386/ffs.c (__ffs): Likewise.
32430 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32431 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32432 * sysdeps/s390/ffs.c (__ffs): Likewise.
32433 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32434
32435 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32436
32437 * NEWS: Mention malloc probes.
32438
32439 * malloc/arena.c (new_heap): New memory_heap_new probe.
32440 (grow_heap): New memory_heap_more probe.
32441 (shrink_heap): New memory_heap_less probe.
32442 (heap_trim): New memory_heap_free probe.
32443 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32444 (systrim): New memory_sbrk_less probe.
32445 * manual/probes.texi: Document them.
32446
32447 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32448 * manual/probes.texi: Document it.
32449
32450 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32451 (__libc_realloc): Add memory_realloc_retry probe.
32452 (__libc_memalign): Add memory_memalign_retry probe.
32453 (__libc_valloc): Add memory_valloc_retry probe.
32454 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32455 (__libc_calloc): Add memory_calloc_retry probe.
32456 * manual/probes.texi: Document them.
32457
32458 * malloc/arena.c (get_free_list): Add probe
32459 memory_arena_reuse_free_list.
32460 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32461 and memory_arena_reuse.
32462 (arena_get2) [!PER_THREAD]: Likewise.
32463 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32464 memory_arena_reuse_realloc.
32465 * manual/probes.texi: Document them.
32466
32467 * malloc/malloc.c (__libc_free): Add
32468 memory_mallopt_free_dyn_thresholds probe.
32469 (__libc_mallopt): Add multiple memory_mallopt probes.
32470 * manual/probes.texi: Document them.
32471
32472 * malloc/malloc.c: Include stap-probe.h.
32473 (__libc_mallopt): Add memory_mallopt probe.
32474 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32475 * manual/probes.texi: New.
32476 * manual/Makefile (chapters): Add probes.
32477 * manual/threads.texi: Set next node.
32478
32479 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32480
32481 [BZ #15963, #13985]
32482 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32483 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32484 Add `Chinese' to `nan' entry name.
32485
32486 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32487
32488 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32489 (POLYNOMIAL): Likewise.
32490 (TAYLOR_SINCOS): Likewise.
32491 (TAYLOR_SLOW): Likewise.
32492 (__sin): Use TAYLOR_SINCOS.
32493 (__cos): Likewise.
32494 (slow): Use TAYLOR_SLOW.
32495 (sloww): Likewise.
32496 (bsloww): Likewise.
32497 (csloww): Likewise.
32498
32499 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32500
32501 * stdlib/strtod_l.c: Fix buffer overrun.
32502
32503 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32504
32505 * benchtests/Makefile (bench): Add sincos.
32506 * benchtests/bench-sincos.c: New file.
32507
32508 * math/libm-test.inc (cos_test_data): New test inputs.
32509 (sin_test_data): Likewise.
32510
32511 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32512 macro.
32513 (__sin): Use it.
32514 (__cos): Likewise.
32515 (slow1): Likewise.
32516 (slow2): Likewise.
32517 (sloww1): Likewise.
32518 (sloww2): Likewise.
32519 (bsloww1): Likewise.
32520 (bsloww2): Likewise.
32521 (cslow2): Likewise.
32522 (csloww1): Likewise.
32523 (csloww2): Likewise.
32524
32525 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32526 function.
32527 (__sin): Use it.
32528 (__cos): Likewise.
32529
32530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32531 gotos.
32532 (__cos): Likewise.
32533
32534 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32535
32536 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32537 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32538 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32539 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32540 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32541 * elf/cache.c (print_entry): Handle the new cache flags.
32542
32543 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32544 Aldy Hernandez <aldyh@redhat.com>
32545
32546 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32547 Change condition to [_SOFT_FLOAT].
32548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32560 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32563 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32564 declaration.
32565
32566 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32567
32568 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32569 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32570 (__longjmp): Use LOAD_GP to load saved GPRs.
32571 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32572 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32573 (__sigsetjmp): Use SAVE_GP to save GPRs.
32574
32575 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32576 Do not append -msoft-float.
32577 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32578
32579 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32580
32581 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32582
32583 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32584
32585 [BZ #15966]
32586 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32587 (_FPU_GETCW): Use initial "__" on variable and field names but not
32588 on macro parameter name.
32589 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32590 parentheses around reference to macro parameter.
32591
32592 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32593
32594 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32595 prototype.
32596 (ctype_startup): Use uint32_t in cast and sizeof for
32597 ctype->charnames.
32598
32599 2013-09-11 Jia Liu <proljc@gmail.com>
32600
32601 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32602 __daddr_t_defined.
32603 [__FreeBSD__]: Likewise.
32604
32605 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32606
32607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32608 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32609 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32610 (strchr): Remove __strchr_sse42 ifunc selection.
32611 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32612 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32613
32614 2013-09-11 Will Newton <will.newton@linaro.org>
32615
32616 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32617 parameter to RES. Remove hardcoded 1000 value.
32618 * benchtests/bench-skeleton.c (main): Pass RES parameter
32619 to TIMING_INIT and multiply result by 1000.
32620
32621 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32622
32623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32624
32625 2013-09-11 Andreas Schwab <schwab@suse.de>
32626
32627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32628 if not defined.
32629 (O_TMPFILE) [__USE_GNU]: Define.
32630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32631 Define.
32632
32633 2013-09-11 Will Newton <will.newton@linaro.org>
32634
32635 [BZ #15857]
32636 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32637 does not overflow.
32638
32639 2013-09-11 Will Newton <will.newton@linaro.org>
32640
32641 [BZ #15856]
32642 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32643 does not overflow.
32644
32645 2013-09-11 Will Newton <will.newton@linaro.org>
32646
32647 [BZ #15855]
32648 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32649 does not overflow.
32650
32651 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32652
32653 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32654 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32656 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32658
32659 2013-09-10 Allan McRae <allan@archlinux.org>
32660
32661 [BZ #15748]
32662 * manual/arith.texi (Parsing of Floats): Clarify
32663 cross-reference.
32664
32665 [BZ #15849]
32666 * manual/install.texi (Running make install): Mention
32667 --enable-pt-chown.
32668 * INSTALL: Regenerated.
32669
32670 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32671
32672 * csu/init-first.c (_init): Remove the !SHARED condition around
32673 FPU control word initialization.
32674 * elf/dl-support.c (_dl_fpu_control): New variable.
32675 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32676 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32677 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32678 * math/test-fpucw-static.c: New file.
32679 * math/test-fpucw-ieee.c: New file.
32680 * math/test-fpucw-ieee-static.c: New file.
32681 * math/Makefile (tests): Add `test-fpucw-ieee' and
32682 `$(tests-static)'.
32683 (tests-static): New variable.
32684 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32685 dependency to...
32686 [($(build-shared),yes)]
32687 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32688 ... this.
32689 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32690 New dependency.
32691
32692 2013-09-09 Allan McRae <allan@archlinux.org>
32693
32694 [BZ #15939]
32695 * manual/string.texi (Collation Functions): Fix typo in
32696 strcoll example.
32697 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32698
32699 [BZ #15893]
32700 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32701
32702 [BZ #15892]
32703 * libio/memstream.c (open_memstream): Fix memory leak.
32704 * libio/wmemstream.c (open_wmemstream): Likewise.
32705
32706 [BZ #15895]
32707 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32708
32709 2013-09-09 Will Newton <will.newton@linaro.org>
32710
32711 * malloc/Makefile: Add tst-realloc to tests.
32712 * malloc/tst-realloc.c: New file.
32713
32714 2013-09-09 Allan McRae <allan@archlinux.org>
32715
32716 [BZ #15844]
32717 * COPYING: Update from GNU website to fix FSF address.
32718 * COPYING.LIB: Likewise.
32719
32720 2013-09-06 David S. Miller <davem@davemloft.net>
32721
32722 * po/zh_TW.po: Update Chinese (traditional) translation from
32723 translation project.
32724
32725 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32726 Joseph Myers <joseph@codesourcery.com>
32727
32728 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32729 "localeinfo.h".
32730 (obstack_chunk_alloc): New macro.
32731 (obstack_chunk_free): Likewise.
32732 (record_offset): New function.
32733 (init_locale_data): Likewise.
32734 (align_locale_data): Likewise.
32735 (add_locale_empty): Likewise.
32736 (add_locale_raw_data): Likewise.
32737 (add_locale_raw_obstack): Likewise.
32738 (add_locale_string): Likewise.
32739 (add_locale_wstring): Likewise.
32740 (add_locale_uint32): Likewise.
32741 (add_locale_uint32_array): Likewise.
32742 (add_locale_char): Likewise.
32743 (start_locale_structure): Likewise.
32744 (end_locale_structure): Likewise.
32745 (start_locale_prelude): Likewise.
32746 (end_locale_prelude): Likewise.
32747 (write_locale_data): Take locale_file structure rather than an
32748 iovec.
32749 * locale/programs/locfile.h: Include "obstack.h".
32750 (struct locale_file): Change to store locale file contents instead
32751 of header.
32752 (init_locale_data): New prototype.
32753 (align_locale_data): Likewise.
32754 (add_locale_empty): Likewise.
32755 (add_locale_raw_data): Likewise.
32756 (add_locale_raw_obstack): Likewise.
32757 (add_locale_string): Likewise.
32758 (add_locale_wstring): Likewise.
32759 (add_locale_uint32): Likewise.
32760 (add_locale_uint32_array): Likewise.
32761 (add_locale_char): Likewise.
32762 (start_locale_structure): Likewise.
32763 (end_locale_structure): Likewise.
32764 (start_locale_prelude): Likewise.
32765 (end_locale_prelude): Likewise.
32766 (write_locale_data): Update prototype.
32767 * locale/programs/3level.h (struct TABLE): Remove result field.
32768 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32769 Use new locale_file interface.
32770 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32771 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32772 * locale/programs/ld-address.c (address_output): Use new
32773 locale_file interface.
32774 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32775 NO_ADD_LOCALE.
32776 (collate_finish): Don't call collseq_table_finalize.
32777 (collate_output): Use new locale_file interface.
32778 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32779 in file.
32780 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32781 (TABLE): Move defines earlier in file.
32782 (ELEMENT): Likewise.
32783 (DEFAULT): Likewise.
32784 (wctrans_table_add): Move macro and inline function earlier in
32785 file.
32786 (struct wctype_table): Move type earlier in file.
32787 (add_locale_wctype_table): New static prototype.
32788 (struct locale_ctype_t): Use logical types instead of struct iovec
32789 pointers for members.
32790 (ctype_output): Use new locale_file interface.
32791 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32792 new locale_file interface.
32793 (allocate_arrays): Update for use of new locale_file interface.
32794 * locale/programs/ld-identification.c (identification_output): Use
32795 new locale_file interface.
32796 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32797 * locale/programs/ld-messages.c (messages_output): Likewise.
32798 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32799 * locale/programs/ld-name.c (name_output): Likewise.
32800 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32801 * locale/programs/ld-paper.c (paper_output): Likewise.
32802 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32803 * locale/programs/ld-time.c (time_output): Likewise.
32804
32805 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32806
32807 * benchtests/Makefile: Add memrchr benchmark.
32808 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32809 benchmark as memrchr.
32810 * benchtests/bench-memrchr-ifunc.c: New file.
32811 * benchtests/bench-memrchr.c: New file.
32812
32813 2013-09-06 Will Newton <will.newton@linaro.org>
32814
32815 * benchtests/Makefile (string-bench): Add memcpy.
32816
32817 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32818 Cong Wang <amwang@redhat.com>
32819
32820 [BZ #15850]
32821 * sysdeps/unix/sysv/linux/bits/in.h
32822 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32823 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32824 before __USE_KERNEL_IPV6_DEFS uses.
32825 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32826 IPPROTO_BEETPH.
32827 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32828 sockaddr_in6, or ipv6_mreq.
32829
32830 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32831
32832 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32833 memory access for final bytes in some large inputs.
32834 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32835
32836 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32837
32838 * string/test-memrchr.c: New file.
32839 * string/test-memrchr-ifunc.c: New file.
32840 * string/Makefile: Add new memrchr testcase.
32841
32842 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32843
32844 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32845 fanotify_init returns EPERM.
32846
32847 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32848
32849 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32850 errors.
32851 (top level): Treat second token from macro or constant entries for
32852 allowed headers as allowed.
32853 * include/complex.h: Condition internal declarations on
32854 [!_ISOMAC].
32855 * include/fenv.h: Condition include of <stdbool.h> and internal
32856 declarations on [!_ISOMAC].
32857
32858 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32859
32860 [BZ #15923]
32861 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32862
32863 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32864
32865 * configure.in (--enable-versioning): Remove configure option.
32866 (libc_cv_asm_symver_directive): Remove configure test.
32867 (libc_cv_ld_version_script_option): Likewise.
32868 (VERSIONING): Remove variable and AC_SUBST.
32869 (DO_VERSIONING): Remove AC_DEFINE.
32870 * configure: Regenerated.
32871 * config.h.in (DO_VERSIONING): Remove macro.
32872 * Makerules [$(versioning) = yes]: Change conditionals to
32873 [$(build-shared) = yes].
32874 * config.make.in (versioning): Remove variable.
32875 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32876 [$(build-shared) = yes].
32877 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32878 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32879 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32880 [$(build-shared) = yes].
32881 * extra-lib.mk [$(versioning) = yes]: Likewise.
32882 * hurd/Makefile [$(versioning) = yes]: Likewise.
32883 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32884 [SHARED].
32885 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32886 [SHARED].
32887 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32888 [SHARED && !NO_HIDDEN].
32889 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32890 [SHARED].
32891 [SHARED && DO_VERSIONING]: Likewise..
32892 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32893 [$(build-shared) = yes].
32894 * manual/install.texi (--disable-versioning): Remove
32895 documentation.
32896 * INSTALL: Regenerated.
32897 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32898 to [SHARED].
32899 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32900 [$(build-shared) = yes].
32901 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32902 * sysdeps/i386/i686/multiarch/strstr-c.c
32903 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32904 [SHARED && !NO_HIDDEN].
32905 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32906 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32907 * sysdeps/powerpc/powerpc32/dl-machine.c
32908 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32909 * sysdeps/powerpc/powerpc32/sysdep.h
32910 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32911 to [SHARED && PIC && !NO_HIDDEN].
32912 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32913 conditional to [SHARED].
32914
32915 2013-09-04 Will Newton <will.newton@linaro.org>
32916
32917 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32918 * benchtests/bench-string.h: Include bench-timing.h instead
32919 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32920 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32921 call to HP_TIMING_DIFF_INIT.
32922 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32923 instead of hp-timing.h macros.
32924 * benchtests/bench-memchr.c: Likewise.
32925 * benchtests/bench-memcmp.c: Likewise.
32926 * benchtests/bench-memcpy.c: Likewise.
32927 * benchtests/bench-memmem.c: Likewise.
32928 * benchtests/bench-memmove.c: Likewise.
32929 * benchtests/bench-memset.c: Likewise.
32930 * benchtests/bench-rawmemchr.c: Likewise.
32931 * benchtests/bench-strcasecmp.c: Likewise.
32932 * benchtests/bench-strcasestr.c: Likewise.
32933 * benchtests/bench-strcat.c: Likewise.
32934 * benchtests/bench-strchr.c: Likewise.
32935 * benchtests/bench-strcmp.c: Likewise.
32936 * benchtests/bench-strcpy.c: Likewise.
32937 * benchtests/bench-strcpy_chk.c: Likewise.
32938 * benchtests/bench-strlen.c: Likewise.
32939 * benchtests/bench-strncasecmp.c: Likewise.
32940 * benchtests/bench-strncat.c: Likewise.
32941 * benchtests/bench-strncmp.c: Likewise.
32942 * benchtests/bench-strncpy.c: Likewise.
32943 * benchtests/bench-strnlen.c: Likewise.
32944 * benchtests/bench-strpbrk.c: Likewise.
32945 * benchtests/bench-strrchr.c: Likewise.
32946 * benchtests/bench-strspn.c: Likewise.
32947 * benchtests/bench-strstr.c: Likewise.
32948
32949 2013-09-04 Will Newton <will.newton@linaro.org>
32950
32951 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32952
32953 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32954
32955 [BZ #15427]
32956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32957 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32958 * math/libm-test.inc (lgamma_test_data): Add more tests.
32959 * sysdeps/i386/fpu/libm-test-ulps: Update.
32960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32961
32962 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32963
32964 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32966 Add ifunc.
32967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32968 Add strcmp-sse2-unaligned
32969 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32970
32971 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32972
32973 * Versions.def (libc): Add GLIBC_2.19.
32974
32975 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32976
32977 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32978 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32979
32980 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32981
32982 [BZ #14155]
32983 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32984 intermediate calculations in recurrence.
32985 (__ieee754_ynf): Likewise.
32986 * math/libm-test.inc (jn_test_data): Do not allow spurious
32987 underflow exception. Add more tests.
32988 (yn_test_data): Add more tests.
32989 * sysdeps/i386/fpu/libm-test-ulps: Update.
32990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32991
32992 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32993
32994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32995
32996 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32997
32998 * csu/init-first.c: Fix then/than typos.
32999 * locale/programs/ld-collate.c: Likewise.
33000 * locale/programs/linereader.h: Likewise.
33001 * manual/charset.texi: Likewise.
33002 * manual/filesys.texi: Likewise.
33003 * manual/stdio.texi: Likewise.
33004 * manual/string.texi: Likewise.
33005 * stdlib/fmtmsg.c: Likewise.
33006 * sysdeps/i386/stpncpy.S: Likewise.
33007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33008 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33010 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33011
33012 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33013
33014 * elf/dl-open.c: Fix typos.
33015 * iconvdata/gbbig5.c: Likewise.
33016 * iconvdata/iso-2022-jp.c: Likewise.
33017 * iconv/gconv_int.h: Likewise.
33018 * iconv/loop.c: Likewise.
33019 * nis/rpcsvc/nis.h: Likewise.
33020 * resolv/ns_name.c: Likewise.
33021 * stdio-common/vfscanf.c: Likewise.
33022 * streams/stropts.h: Likewise.
33023 * sunrpc/rpc_thread.c: Likewise.
33024 * sysdeps/i386/strpbrk.S: Likewise.
33025 * sysdeps/ieee754/k_standard.c: Likewise.
33026 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33027 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33028 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33029 * sysdeps/mach/hurd/profil.c: Likewise.
33030 * sysdeps/s390/dl-procinfo.h: Likewise.
33031 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33032 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33033 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33034 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33036
33037 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33038
33039 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33041
33042 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33043
33044 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33045 aix specific files.
33046 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33047 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33048 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33049 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33050 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33051 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33052 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33053 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33054
33055 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33056 Roland McGrath <roland@hack.frob.com>
33057
33058 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33059 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33060
33061 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33062
33063 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33064 __executable_start symbol instead of _start.
33065
33066 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33067
33068 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33069 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33070 Move macros to...
33071 * sysdeps/gnu/ldsodefs.h: ... this new file.
33072
33073 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33074 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33075 instead of ELFOSABI_LINUX.
33076
33077 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33078 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33079 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33080 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33081 Likewise.
33082 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33083 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33085 Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33087 (ibm_extended_long_double): Add ieee_nan member.
33088 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33089 (do_test): New function.
33090
33091 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33092 TEST_TRUNC.
33093 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33094 functions, renamed from truncdfsf_test, trunctfsf_test,
33095 trunctfdf_test.
33096 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33097 functions.
33098 (do_test): Run all these.
33099
33100 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33101
33102 * argp/argp-help.c: Fix typos.
33103 * argp/argp-parse.c: Likewise.
33104 * debug/backtracesyms.c: Likewise.
33105 * elf/elf.h: Likewise.
33106 * malloc/malloc.c: Likewise.
33107 * nis/nis_print.c: Likewise.
33108 * resolv/res_comp.c: Likewise.
33109 * stdlib/stdlib.h: Likewise.
33110 * sunrpc/clnt_tcp.c: Likewise.
33111 * sunrpc/clnt_udp.c: Likewise.
33112 * sunrpc/clnt_unix.c: Likewise.
33113 * sysdeps/unix/bsd/ptsname.c: Likewise.
33114 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33115 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33117 Likewise.
33118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33119 Likewise.
33120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33121 Likewise.
33122 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33123
33124 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33125
33126 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33128
33129 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33130
33131 [BZ #15897]
33132 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33133 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33134 ($(objpfx)bug-dl-leaf): New rule.
33135 ($(objpfx)bug-dl-leaf.so): Likewise.
33136 ($(objpfx)bug-dl-leaf.out): Likewise.
33137 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33138 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33139 * dlfcn/bug-dl-leaf.c: New test.
33140 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33141 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33142 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33143 (dlclose): Likewise.
33144 (dlmopen): Likewise.
33145
33146 2013-08-27 Roland McGrath <roland@hack.frob.com>
33147
33148 * include/netdb.h [!_ISOMAC]:
33149 Don't include <tls.h>.
33150 (h_errno, __libc_h_errno): Move declaration and macros out of
33151 [_LIBC_REENTRANT].
33152
33153 * include/resolv.h [_RESOLV_H_]:
33154 Don't include <tls.h>.
33155 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33156 * resolv/res_libc.c: Don't include <tls.h>.
33157 (_res): Use __attribute__ ((nocommon)) in place of
33158 __attribute__ ((section (".bss"))).
33159
33160 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33161 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33162
33163 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33164
33165 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33166 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33167
33168 * resolv/res_mkquery.c: Include <sys/time.h>.
33169
33170 * inet/ifreq.c: Moved to ...
33171 * sysdeps/unix/ifreq.c: ... here.
33172 * inet/ifreq.c: New file, true stub version.
33173
33174 * socket/sa_len.c: New file.
33175 * socket/Makefile (aux): Add it.
33176 * sysdeps/unix/sysv/linux/Makefile
33177 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33178 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33179 and #include <socket/sa_len.c>.
33180 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33181 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33182
33183 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33184 * bits/socket.h: ... here.
33185
33186 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33187 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33188 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33189
33190 2013-08-27 Andreas Schwab <schwab@suse.de>
33191
33192 [BZ #15736]
33193 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33194 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33195 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33196 * string/test-strcasecmp.c (test_main): Run tests in several
33197 locales.
33198 * string/test-strncasecmp.c (test_main): Likewise.
33199
33200 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33201 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33202 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33204 (__strncasecmp_ssse3) [PIC]: Likewise.
33205
33206 2013-08-26 Roland McGrath <roland@hack.frob.com>
33207
33208 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33209
33210 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33211 instead of explicitly declaring xdecrypt.
33212 * nis/nss_nis/nis-publickey.c: Likewise.
33213
33214 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33215
33216 [BZ #15890]
33217 * nscd/aicache.c: Include res_hconf.h.
33218 (addhstaiX): Initialize res_hconf.
33219
33220 2013-08-26 Andreas Schwab <schwab@suse.de>
33221
33222 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33223 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33224
33225 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33226
33227 * nscd/aicache.c (addhstaiX): Fix indentation.
33228
33229 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33230
33231 * configure.ac: Quote $build_pt_chown test.
33232 * configure: Regenerated.
33233
33234 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33235
33236 [BZ #15532]
33237 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33238 * math/s_cexpf.c (__cexpf): Likewise.
33239 * math/s_cexpl.c (__cexpl): Likewise.
33240 * math/libm-test.inc (cexp_test_data): Correct expected return
33241 value for NaN + i0. Add another test.
33242
33243 2013-08-22 David S. Miller <davem@davemloft.net>
33244
33245 * po/ca.po: Update Catalan translation from translation project.
33246 * po/uk.po: Add Ukrainian translations from translation project.
33247
33248 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33249
33250 [BZ #15797]
33251 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33252 is infinite, not alongside NaN test.
33253 * math/s_fdimf.c (__fdimf): Likewise.
33254 * math/s_fdiml.c (__fdiml): Likewise.
33255 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33256 errno is unchanged.
33257
33258 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33259
33260 * argp/argp-help.c: Fix typos.
33261 * crypt/speeds.c: Likewise.
33262 * csu/check_fds.c: Likewise.
33263 * elf/dl-load.c: Likewise.
33264 * elf/dl-open.c: Likewise.
33265 * elf/reldep3.c: Likewise.
33266 * elf/reldep.c: Likewise.
33267 * elf/sprof.c: Likewise.
33268 * iconv/iconv_charmap.c: Likewise.
33269 * iconv/skeleton.c: Likewise.
33270 * iconv/strtab.c: Likewise.
33271 * io/lockf64.c: Likewise.
33272 * libio/libioP.h: Likewise.
33273 * resolv/gai_notify.c: Likewise.
33274 * resolv/ns_name.c: Likewise.
33275 * resolv/ns_samedomain.c: Likewise.
33276 * resolv/res_send.c: Likewise.
33277 * stdlib/random.c: Likewise.
33278 * sunrpc/rpc/xdr.h: Likewise.
33279 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33280 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33281 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33282 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33287 * sysdeps/mach/hurd/check_fds.c: Likewise.
33288 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33289 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33290 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33292 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33293 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33294 * sysdeps/pthread/aio_notify.c: Likewise.
33295 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33296 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33297 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33299 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33300
33301 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33302
33303 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33304 version if bit_Slow_SSE4_2 is set.
33305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33307
33308 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33309
33310 [BZ #15867]
33311 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33312 trampoline stack frame information.
33313 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33315 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33316 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33317 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33318 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33319 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33320 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33321 sa_flags value.
33322 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33323 interrupting a syscall and set with option SA_SIGINFO.
33324
33325 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33326
33327 [BZ #15531]
33328 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33329 argument is infinite.
33330 * math/s_cprojf.c (__cprojf): Likewise.
33331 * math/s_cprojl.c (__cprojl): Likewise.
33332 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33333 * math/libm-test.inc (cproj_test_data): Add more tests.
33334
33335 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33336
33337 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33338 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33339 size. Use __ffs to determine corresponding shift.
33340
33341 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33342 Roland McGrath <roland@hack.frob.com>
33343
33344 * Makefile (INSTALL): Remove trailing blank lines from output of
33345 makeinfo.
33346
33347 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33348
33349 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33350 Align 32 bit compat elf_greg to 8 bytes.
33351
33352 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33353
33354 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33355
33356 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33357
33358 * string/strcoll_l.c (coll_seq): New structure.
33359 (get_next_seq_cached): New function.
33360 (get_next_seq): New function.
33361 (do_compare): New function.
33362 (STRCOLL): Use GNU style definition. Simplify implementation
33363 by using get_next_seq, get_next_seq_cached and do_compare.
33364
33365 2013-08-16 Florian Weimer <fweimer@redhat.com>
33366
33367 [BZ #14699]
33368 CVE-2013-4237
33369 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33370 member.
33371 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33372 member.
33373 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33374 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33375 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33376 conditional.
33377 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33378 GETDENTS_64BIT_ALIGNED.
33379 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33380 * manual/filesys.texi (Reading/Closing Directory): Document
33381 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33382 strongly.
33383 * manual/conf.texi (Limits for Files): Add portability note to
33384 NAME_MAX, PATH_MAX.
33385 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33386
33387 2013-08-13 Andreas Schwab <schwab@suse.de>
33388
33389 [BZ #15749]
33390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33391 of fabs.
33392 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33393 LDBL_MAX_EXP >= 16384]: Add tests for it.
33394
33395 2013-08-12 David S. Miller <davem@davemloft.net>
33396
33397 * version.h (RELEASE): Set to "development".
33398 (VERSION): Set to "2.18.90".
33399 * NEWS: Add 2.19 section.
33400
33401 2013-08-03 David S. Miller <davem@davemloft.net>
33402
33403 * po/ko.po: Update Korean translation from translation project.
33404
33405 2013-08-01 David S. Miller <davem@davemloft.net>
33406
33407 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33408 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33409 Bilka.
33410
33411 2013-07-30 David S. Miller <davem@davemloft.net>
33412
33413 * po/fr.po: Update French translation from translation project.
33414
33415 2013-07-28 David S. Miller <davem@davemloft.net>
33416
33417 * po/cs.po: Update Czech translation from translation project.
33418
33419 * po/sv.po: Update Swedish translation from translation project.
33420
33421 2013-07-27 David S. Miller <davem@davemloft.net>
33422
33423 * po/eo.po: Update Esperanto translation from translation project.
33424
33425 * po/vi.po: Update Vietnamese translation from translation project.
33426
33427 * po/de.po: Update German translation from translation project.
33428
33429 2013-07-26 David S. Miller <davem@davemloft.net>
33430
33431 * po/bg.po: Update Bulgarian translation from translation project.
33432
33433 * po/nl.po: Update Dutch translation from translation project.
33434 * po/pl.po: Update Polish translation from translation project.
33435 * po/ru.po: Update Russian translation from translation project.
33436
33437 2013-07-24 David S. Miller <davem@davemloft.net>
33438
33439 * po/libc.pot: Update.
33440
33441 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33442
33443 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33444 variable page size.
33445 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33446 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33447 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33448
33449 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33450
33451 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33452
33453 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33454 Andreas Schwab <schwab@suse.de>
33455 Roland McGrath <roland@hack.frob.com>
33456 Joseph Myers <joseph@codesourcery.com>
33457 Carlos O'Donell <carlos@redhat.com>
33458
33459 [BZ #15755]
33460 * config.h.in: Define HAVE_PT_CHOWN.
33461 * config.make.in (build-pt-chown): New variable.
33462 * configure.in (--enable-pt_chown): New configure option.
33463 * configure: Regenerate.
33464 * login/Makefile: Include Makeconfig. Build pt_chown only if
33465 build-pt-chown is enabled.
33466 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33467 pt_chown to fix pty ownership.
33468 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33469 CLOSE_ALL_FDS.
33470 * manual/install.texi (Configuring and compiling): Mention
33471 --enable-pt_chown. Add @findex for grantpt.
33472 * INSTALL: Regenerate.
33473
33474 2013-07-20 David S. Miller <davem@davemloft.net>
33475
33476 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33477 difference between 32-bit and 64-bit.
33478
33479 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33480
33481 [BZ #15711]
33482 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33483 Avoid system header dependency with -ffreestanding.
33484 ($(objpfx)bits/syscall%d): Likewise.
33485
33486 2013-07-13 David S. Miller <davem@davemloft.net>
33487
33488 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33489 underflows from atanl/atan2l due to bug 15319.
33490 (casinh_test_data): Likewise.
33491
33492 2013-07-07 David S. Miller <davem@davemloft.net>
33493
33494 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33495
33496 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33497
33498 * sysdeps/i386/fpu/libm-test-ulps: Update.
33499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33500
33501 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33502
33503 * configure.in (--enable-lock-elision): Fix message text.
33504 * INSTALL: Regenerate.
33505 * configure: Regenerate.
33506
33507 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33508
33509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33510
33511 2013-07-03 Andreas Jaeger <aj@suse.de>
33512
33513 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33514 define.
33515 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33516 (ptrace_peeksiginfo_args): Add.
33517 (__ptrace_peeksiginfo_flags): Add.
33518 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33521
33522 2013-07-03 Allan McRae <allan@archlinux.org>
33523
33524 * sysdeps/i386/fpu/libm-test-ulps: Update.
33525
33526 2013-07-02 David S. Miller <davem@davemloft.net>
33527
33528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33529
33530 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33531
33532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33533
33534 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33535
33536 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33538
33539 2013-07-02 Andi Kleen <ak@linux.intel.com>
33540
33541 * config.h.in (ENABLE_LOCK_ELISION): Add.
33542 * configure.in (--enable-lock-elision): Add option.
33543 * manual/install.texi: Document --enable lock elision.
33544 * configure: Regenerate
33545 * INSTALL: Regenerate.
33546
33547 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33550 SSE4.2 strcasecmp for libc.a.
33551 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33552
33553 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33554
33555 [BZ #13304]
33556 * soft-fp/op-common.h (_FP_FMA): New macro.
33557 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33558 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33559 (_FP_MUL_MEAT_1_imm): ... here.
33560 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33561 (_FP_MUL_MEAT_1_wide): ... here.
33562 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33563 (_FP_MUL_MEAT_1_hard): ... here.
33564 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33565 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33566 (_FP_MUL_MEAT_2_wide): ... here.
33567 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33568 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33569 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33570 (_FP_MUL_MEAT_2_gmp): ... here.
33571 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33572 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33573 (_FP_MUL_MEAT_4_wide): ... here.
33574 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33575 (_FP_MUL_MEAT_4_gmp): ... here.
33576 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33577 (_FP_WFRACBITS_DW_S): Likewise.
33578 (_FP_WFRACXBITS_DW_S): Likewise.
33579 (_FP_HIGHBIT_DW_S): Likewise.
33580 (FP_FMA_S): Likewise.
33581 (_FP_FRAC_HIGH_DW_S): Likewise.
33582 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33583 (_FP_WFRACBITS_DW_D): Likewise.
33584 (_FP_WFRACXBITS_DW_D): Likewise.
33585 (_FP_HIGHBIT_DW_D): Likewise.
33586 (FP_FMA_D): Likewise.
33587 (_FP_FRAC_HIGH_DW_D): Likewise.
33588 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33589 (_FP_WFRACBITS_DW_E): Likewise.
33590 (_FP_WFRACXBITS_DW_E): Likewise.
33591 (_FP_HIGHBIT_DW_E): Likewise.
33592 (FP_FMA_E): Likewise.
33593 (_FP_FRAC_HIGH_DW_E): Likewise.
33594 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33595 (_FP_WFRACBITS_DW_Q): Likewise.
33596 (_FP_WFRACXBITS_DW_Q): Likewise.
33597 (_FP_HIGHBIT_DW_Q): Likewise.
33598 (FP_FMA_Q): Likewise.
33599 (_FP_FRAC_HIGH_DW_Q): Likewise.
33600 * soft-fp/fmasf4.c: New file.
33601 * soft-fp/fmadf4.c: Likewise.
33602 * soft-fp/fmatf4.c: Likewise.
33603
33604 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33605
33606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33607 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33608 Silvermont.
33609 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33610 macro.
33611 (index_Slow_SSE4_2): Likewise.
33612 (index_Prefer_PMINUB_for_stringop): Likewise.
33613 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33614 bit_Slow_SSE4_2 is set.
33615 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33616 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33617
33618 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33619
33620 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33621 rtld_global._dl_hwcap2.
33622 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33623 POWER8.
33624 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33625 POWER8 feature descriptions defined in _dl_hwcap2.
33626 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33627 string handling for POWER8 feature bits.
33628 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33629 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33630 _dl_powerpc_cap_flags.
33631 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33632 * sysdeps/powerpc/rtld-global-offsets.sym
33633 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33634 _dl_hwcap2 in the rtld_global_ro structure.
33635
33636 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33637
33638 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33639 hardware capabilities in support of AT_HWCAP2.
33640 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33641 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33642 GLRO(dl_hwcap2).
33643 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33644 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33645 explicitly the unknown a_type display mechanism is used.
33646 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33647 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33648 struct member.
33649 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33650 to macro prototype for AT_HWCAP2 support.
33651 * sysdeps/i386/dl-procinfo.h: Likewise.
33652 * sysdeps/s390/dl-procinfo.h: Likewise.
33653 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33654 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33655 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33656 return -1 for unknown a_type display fallback.
33657 * sysdeps/sparc/dl-procinfo.h: Likewise.
33658 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33659 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33660
33661 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33662
33663 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33664 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33665
33666 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33667
33668 [BZ #12492]
33669 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33670 mprotect making __stack_prot writable.
33671
33672 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33673 Joseph Myers <joseph@codesourcery.com>
33674
33675 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33676 as being properly aligned.
33677
33678 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33679
33680 * dlfcn/modstatic5.c: New file.
33681 * dlfcn/tststatic5.c: New file.
33682 * dlfcn/Makefile (tests): Add tststatic5.
33683 (tests-static): Likewise.
33684 (modules-names): Add modstatic5.
33685 (tststatic5-ENV): New variable.
33686 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33687
33688 [BZ #15022]
33689 * elf/dl-support.c (_dl_main_map): New variable.
33690 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33691 (_dl_nns, _dl_load_adds): Set to 1.
33692 (_dl_initial_searchlist): Refer to _dl_main_map.
33693 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33694 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33695 call to _dl_get_origin.
33696 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33697 around call_map.
33698 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33699 * dlfcn/modstatic3.c: New file.
33700 * dlfcn/tststatic3.c: New file.
33701 * dlfcn/tststatic4.c: New file.
33702 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33703 (tests-static): Likewise.
33704 (modules-names): Add modstatic3.
33705 (tststatic3-ENV, tststatic4-ENV): New variables.
33706 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33707 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33708
33709 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33710
33711 * configure.in (CC): Require GCC version 4.4 or later.
33712 * configure: Regenerated.
33713 * manual/install.texi (Tools for Compilation): Update GCC version
33714 requirement.
33715 * INSTALL: Regenerated.
33716
33717 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33718
33719 [BZ #15674]
33720 * string/test-memcmp.c (check2): New.
33721 (main): Call check2.
33722
33723 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33724
33725 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33726
33727 [BZ #15022]
33728 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33729 over to...
33730 (dl_open_worker) [!SHARED]: ... here.
33731
33732 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33733
33734 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33735
33736 2013-06-25 Richard Henderson <rth@redhat.com>
33737
33738 * locale/programs/locarchive.c: Include <libc-internal.h>
33739
33740 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33741
33742 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33743 trailing whitespace removed.
33744
33745 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33746
33747 [BZ #10283]
33748 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33749 * locale/programs/locarchive.c: Include libc-mmap.h.
33750 (prepare_address_space): Take two new outputs (the mmap base and len).
33751 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33752 values.
33753 (create_archive): Declare new mmap base and len values for
33754 prepare_address_space, and store the result in ah.
33755 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33756 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33757 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33758 Declare new mmap base and len values for
33759 prepare_address_space, and store the result in new_ah.
33760 (open_archive): Declare new mmap base and len values for
33761 prepare_address_space, and store the result in ah.
33762 (close_archive): If ah->mmap_base is not NULL, use that and
33763 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33764 * sysdeps/generic/libc-mmap.h: New file.
33765
33766 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33767
33768 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33769 (ALIGN_UP): Likewise.
33770 (PTR_ALIGN_DOWN): Likewise.
33771 (PTR_ALIGN_UP): Likewise.
33772
33773 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33774
33775 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33776 entry mapped to PPC_PLATFORM_POWER8.
33777 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33778 POWER8.
33779 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33780 (_dl_string_platform): Add case for exporting platform position for
33781 POWER8.
33782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33783 search path to sysdeps/powerpc/powerpc32/power8 directory.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33785 search path to sysdeps/powerpc/powerpc64/power8 directory.
33786 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33787 power7 directories.
33788 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33789 power7 directories.
33790
33791 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33792
33793 * INSTALL: Regenerate.
33794
33795 * nscd/connections.c (nscd_init): Fix comment.
33796
33797 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33798
33799 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33800
33801 [BZ #15667]
33802 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33803 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33804
33805 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33806
33807 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33808 DL_DST_REQ_STATIC.
33809 (DL_DST_REQ_STATIC): Remove macro.
33810
33811 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33812
33813 [BZ #7006]
33814 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33815 with a shift of 0 bits.
33816
33817 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33818
33819 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33820 $(tststatic-ENV).
33821
33822 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33823
33824 [BZ #15655]
33825 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33826
33827 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33828
33829 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33830 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33831 accepts -fno-tree-loop-distribute-patterns.
33832 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33833 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33834 recursive call.
33835 * string/memset.c (memset): Likewise.
33836 * string/test-memmove.c (simple_memmove): Disable loop transformation
33837 to library calls.
33838 * string/test-memset.c (simple_memset): Likewise.
33839 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33840 * benchtests/bench-memset.c (simple_memset): Likewise.
33841 * configure: Regenerated.
33842
33843 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33844
33845 * math/test-misc.c (main): Ignore fesetround failure when failures
33846 of subsequent rounding tests would be ignored.
33847
33848 [BZ #15654]
33849 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33850 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33851 * math/fegetenv.c (__fegetenv): Return 0.
33852 * math/fegetexcept.c (fegetexcept): Return 0.
33853 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33854 FE_TONEAREST.
33855 * math/feholdexcpt.c (feholdexcept): Return 0.
33856 * math/fesetenv.c (__fesetenv): Return 0.
33857 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33858 argument FE_TONEAREST.
33859 * math/feupdateenv.c (__feupdateenv): Return 0.
33860 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33861
33862 2013-06-18 Roland McGrath <roland@hack.frob.com>
33863
33864 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33865 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33866 ($(objpfx)rtld-%.os rules): Use them.
33867
33868 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33869
33870 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33871 fields.
33872
33873 2013-06-17 Roland McGrath <roland@hack.frob.com>
33874
33875 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33876 length of target pattern, then descending length of dependency pattern.
33877 * configure.in (AWK): Require gawk 3.1.2 or newer.
33878 * manual/install.texi (Tools for Compilation): Say that we do.
33879 * configure: Regenerated.
33880
33881 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33882 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33883 * scripts/sysd-rules.awk: ... this new script.
33884 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33885 than a glob-style pattern.
33886
33887 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33888
33889 * math/test-misc.c (main): Do not treat incorrectly rounded
33890 conversions as failure unless ROUNDING_TESTS passes.
33891
33892 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33893
33894 [BZ #15631]
33895 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33896 restore exception state around main square root computation, then
33897 check for inexactness explicitly.
33898
33899 * math/libm-test.inc (fma_test_data): Add another test.
33900
33901 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33902
33903 * manual/threads.texi (Non-POSIX Extensions): New document
33904 node. Document pthread_getattr_default_np and
33905 pthread_setattr_default_np.
33906
33907 * Versions.def (libpthread): Add GLIBC_2.18.
33908 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33910 Likewise.
33911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33912 Likewise.
33913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33914 Likewise.
33915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33916 Likewise.
33917 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33918 Likewise.
33919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33920 Likewise.
33921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33922 Likewise.
33923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33924 Likewise.
33925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33926 Likewise.
33927
33928 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33929
33930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33931 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33932
33933 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33934 H.J. Lu <hjl.tools@gmail.com>
33935
33936 [BZ #15627]
33937 * sysdeps/x86_64/rtld-memset.c: Remove file.
33938 * sysdeps/x86_64/rtld-memset.S: New file.
33939
33940 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33941
33942 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33943 (test_in_one_mode): Take arguments for whether the rounding mode
33944 is supported for each floating-point type.
33945 (do_test): Pass new arguments to test_in_one_mode using
33946 ROUNDING_TESTS.
33947
33948 2013-06-13 Roland McGrath <roland@hack.frob.com>
33949
33950 * posix/tst-waitid.c (do_test): Distinguish different instances of
33951 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33952 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33953 before entering the kernel for waitpid.
33954
33955 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33956
33957 * NEWS: Fix note on clock function precision. Text by Roland
33958 McGrath.
33959
33960 2013-06-13 Roland McGrath <roland@hack.frob.com>
33961
33962 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33963 it into place only when and if the sanity check passes.
33964
33965 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33966
33967 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33968 output for whether conversion result is exact. Take argument
33969 indicating whether type is IBM long double.
33970 (round_for_all): Change need_exact field to ibm_ld.
33971 * stdlib/tst-strtod-round.c (struct exactness): New type.
33972 (struct test): Change bool ld_ok field to struct exactness exact.
33973 (TEST): Update all definitions for change to field.
33974 (tests): Regenerate array contents.
33975 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33976 field value. Check for IBM long double here.
33977 (do_test): Update calls to test_in_one_mode.
33978
33979 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33980
33981 [BZ #12515]
33982 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33983 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33984
33985 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33986
33987 [BZ #15605]
33988 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33989 generated by the compiler on loop optimizations.
33990 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33991 general definitions.
33992
33993 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33994
33995 * math/bug-nextafter.c: Include <math-tests.h>.
33996 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33997 the relevant type.
33998 * math/bug-nexttoward.c: Include <math-tests.h>.
33999 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34000 the relevant type.
34001 * math/test-misc.c: Include <math-tests.h>.
34002 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34003 the relevant type.
34004
34005 2013-06-12 Andreas Jaeger <aj@suse.de>
34006
34007 * po/ia.po: Update Interlingua translation from translation
34008 project.
34009
34010 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34011
34012 * include/fenv.h: Include stdbool.h.
34013 (struct rm_ctx): New structure.
34014 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34015 Define macro.
34016 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34017 (SET_RESTORE_ROUNDF): Likewise.
34018 (SET_RESTORE_ROUNDL): Likewise.
34019 (SET_RESTORE_ROUND_NOEX): Likewise.
34020 (SET_RESTORE_ROUND_NOEXF): Likewise.
34021 (SET_RESTORE_ROUND_NOEXL): Likewise.
34022 (SET_RESTORE_ROUND_53BIT): Likewise.
34023 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34024 (libc_feresetround_noexf_ctx): Likewise.
34025 (libc_feresetround_noexl_ctx): Likewise.
34026 (libc_feholdsetround_53bit_ctx): Likewise.
34027 (libc_feresetround_53bit_ctx): Likewise.
34028 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34029 (libc_feholdexcept_setround_sse_ctx): New function.
34030 (libc_fesetenv_sse_ctx): Likewise.
34031 (libc_feupdateenv_sse_ctx): Likewise.
34032 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34033 (libc_feholdexcept_setround_387_ctx): Likewise.
34034 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34035 (libc_feholdsetround_387_prec_ctx): Likewise.
34036 (libc_feholdsetround_387_ctx): Likewise.
34037 (libc_feholdsetround_387_53bit_ctx): Likewise.
34038 (libc_feholdsetround_sse_ctx): Likewise.
34039 (libc_feresetround_sse_ctx): Likewise.
34040 (libc_feresetround_387_ctx): Likewise.
34041 (libc_feupdateenv_387_ctx): Likewise.
34042 (libc_feholdexcept_setroundf_ctx): Define macro.
34043 (libc_fesetenvf_ctx): Likewise.
34044 (libc_feupdateenvf_ctx): Likewise.
34045 (libc_feholdsetroundf_ctx): Likewise.
34046 (libc_feresetroundf_ctx): Likewise.
34047 (libc_feholdexcept_setround_ctx): Likewise.
34048 (libc_fesetenv_ctx): Likewise.
34049 (libc_feupdateenv_ctx): Likewise.
34050 (libc_feholdsetround_ctx): Likewise.
34051 (libc_feresetround_ctx): Likewise.
34052 (libc_feholdexcept_setroundl_ctx): Likewise.
34053 (libc_feupdateenvl_ctx): Likewise.
34054 (libc_feholdsetroundl_ctx): Likewise.
34055 (libc_feresetroundl_ctx): Likewise.
34056 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34057 (libc_feresetround_53bit_ctx): Likewise.
34058
34059 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34060
34061 * locale/iso-639.def: Convert to UTF-8.
34062
34063 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34064
34065 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34066 (EXCEPTION_TESTS_double): Likewise.
34067 (EXCEPTION_TESTS_long_double): Likewise.
34068 (EXCEPTION_TESTS): Likewise.
34069 * math/libm-test.inc (test_exceptions): Only test exceptions if
34070 EXCEPTION_TESTS (FLOAT).
34071
34072 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34073
34074 * benchtests/Makefile (string-bench): Add strcpy_chk and
34075 stpcpy_chk.
34076 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34077 * benchtests/bench-stpcpy_chk.c: New file.
34078 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34079 * benchtests/bench-strcpy_chk.c: New file.
34080 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34081 code.
34082 (do_test): Likewise.
34083
34084 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34085
34086 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34087 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34088 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34089 with tabs where appropriate.
34090 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34091 dl-procinfo.h.
34092 [PPC_PLATFORM_PPC440]: Likewise.
34093 [PPC_PLATFORM_PPC464]: Likewise.
34094 [PPC_PLATFORM_PPC476]: Likewise.
34095 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34096 ppc464, and ppc476 platform strings merging from ports/
34097 dl-procinfo.h.
34098
34099 2013-06-11 Andreas Schwab <schwab@suse.de>
34100
34101 [BZ #14991]
34102 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34103 (from_ucs4_idx): Regenerate.
34104 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34105 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34106 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34107 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34108 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34109 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34110 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34111 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34112 from FROM_LOOP and TO_LOOP specific macros.
34113 (BODY): Handle combining characters.
34114 * iconvdata/BIG5HKSCS.irreversible: Update.
34115 * iconvdata/BIG5HKSCS.precomposed: New file.
34116 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34117 characters.
34118 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34119
34120 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34121
34122 * include/sys/time.h: Fix indentation and add copyright header.
34123
34124 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34125 (do_test): Likewise.
34126 * string/test-memchr.c (do_one_test): Likewise.
34127 (do_test): Likewise.
34128 * string/test-memcmp.c (do_one_test): Likewise.
34129 (do_test): Likewise.
34130 * string/test-memcpy.c (do_one_test): Likewise.
34131 (do_test): Likewise.
34132 * string/test-memmem.c (do_one_test): Likewise.
34133 (do_test): Likewise.
34134 (do_random_tests): Likewise.
34135 * string/test-memmove.c (do_one_test): Likewise.
34136 (do_test): Likewise.
34137 * string/test-memset.c (do_one_test): Likewise.
34138 (do_test): Likewise.
34139 * string/test-rawmemchr.c (do_one_test): Likewise.
34140 (do_test): Likewise.
34141 * string/test-strcasecmp.c (do_one_test): Likewise.
34142 (do_test): Likewise.
34143 * string/test-strcasestr.c (do_one_test): Likewise.
34144 (do_test): Likewise.
34145 * string/test-strcat.c (do_one_test): Likewise.
34146 (do_test): Likewise.
34147 * string/test-strchr.c (do_one_test): Likewise.
34148 (do_test): Likewise.
34149 * string/test-strcmp.c (do_one_test): Likewise.
34150 (do_test): Likewise.
34151 * string/test-strcpy.c (do_one_test): Likewise.
34152 (do_test): Likewise.
34153 * string/test-string.h: Likewise.
34154 (test_init): Likewise.
34155 * string/test-strlen.c (do_one_test): Likewise.
34156 (do_test): Likewise.
34157 * string/test-strncasecmp.c (do_one_test): Likewise.
34158 (do_test): Likewise.
34159 * string/test-strncat.c (do_one_test): Likewise.
34160 (do_test): Likewise.
34161 * string/test-strncmp.c (do_one_test): Likewise.
34162 (do_test_limit): Likewise.
34163 (do_test): Likewise.
34164 * string/test-strncpy.c (do_one_test): Likewise.
34165 (do_test): Likewise.
34166 * string/test-strnlen.c (do_one_test): Likewise.
34167 (do_test): Likewise.
34168 * string/test-strpbrk.c (do_one_test): Likewise.
34169 (do_test): Likewise.
34170 * string/test-strrchr.c (do_one_test): Likewise.
34171 (do_test): Likewise.
34172 * string/test-strspn.c (do_one_test): Likewise.
34173 (do_test): Likewise.
34174 * string/test-strstr.c (do_one_test): Likewise.
34175 (do_test): Likewise.
34176
34177 * benchtests/Makefile (string-bench): Add string benchmarks.
34178 * benchtests/bench-bcopy-ifunc.c: New file.
34179 * benchtests/bench-bcopy.c: New file.
34180 * benchtests/bench-bzero-ifunc.c: New file.
34181 * benchtests/bench-bzero.c: New file.
34182 * benchtests/bench-memccpy-ifunc.c: New file.
34183 * benchtests/bench-memccpy.c: New file.
34184 * benchtests/bench-memchr-ifunc.c: New file.
34185 * benchtests/bench-memchr.c: New file.
34186 * benchtests/bench-memcmp-ifunc.c: New file.
34187 * benchtests/bench-memcmp.c: New file.
34188 * benchtests/bench-memmem-ifunc.c: New file.
34189 * benchtests/bench-memmem.c: New file.
34190 * benchtests/bench-memmove-ifunc.c: New file.
34191 * benchtests/bench-memmove.c: New file.
34192 * benchtests/bench-mempcpy-ifunc.c: New file.
34193 * benchtests/bench-mempcpy.c: New file.
34194 * benchtests/bench-memset-ifunc.c: New file.
34195 * benchtests/bench-memset.c: New file.
34196 * benchtests/bench-rawmemchr-ifunc.c: New file.
34197 * benchtests/bench-rawmemchr.c: New file.
34198 * benchtests/bench-stpcpy-ifunc.c: New file.
34199 * benchtests/bench-stpcpy.c: New file.
34200 * benchtests/bench-stpncpy-ifunc.c: New file.
34201 * benchtests/bench-stpncpy.c: New file.
34202 * benchtests/bench-strcasecmp-ifunc.c: New file.
34203 * benchtests/bench-strcasecmp.c: New file.
34204 * benchtests/bench-strcasestr-ifunc.c: New file.
34205 * benchtests/bench-strcasestr.c: New file.
34206 * benchtests/bench-strcat-ifunc.c: New file.
34207 * benchtests/bench-strcat.c: New file.
34208 * benchtests/bench-strchr-ifunc.c: New file.
34209 * benchtests/bench-strchr.c: New file.
34210 * benchtests/bench-strchrnul-ifunc.c: New file.
34211 * benchtests/bench-strchrnul.c: New file.
34212 * benchtests/bench-strcmp-ifunc.c: New file.
34213 * benchtests/bench-strcmp.c: New file.
34214 * benchtests/bench-strcpy-ifunc.c: New file.
34215 * benchtests/bench-strcpy.c: New file.
34216 * benchtests/bench-strcspn-ifunc.c: New file.
34217 * benchtests/bench-strcspn.c: New file.
34218 * benchtests/bench-strlen-ifunc.c: New file.
34219 * benchtests/bench-strlen.c: New file.
34220 * benchtests/bench-strncasecmp-ifunc.c: New file.
34221 * benchtests/bench-strncasecmp.c: New file.
34222 * benchtests/bench-strncat-ifunc.c: New file.
34223 * benchtests/bench-strncat.c: New file.
34224 * benchtests/bench-strncmp-ifunc.c: New file.
34225 * benchtests/bench-strncmp.c: New file.
34226 * benchtests/bench-strncpy-ifunc.c: New file.
34227 * benchtests/bench-strncpy.c: New file.
34228 * benchtests/bench-strnlen-ifunc.c: New file.
34229 * benchtests/bench-strnlen.c: New file.
34230 * benchtests/bench-strpbrk-ifunc.c: New file.
34231 * benchtests/bench-strpbrk.c: New file.
34232 * benchtests/bench-strrchr-ifunc.c: New file.
34233 * benchtests/bench-strrchr.c: New file.
34234 * benchtests/bench-strspn-ifunc.c: New file.
34235 * benchtests/bench-strspn.c: New file.
34236 * benchtests/bench-strstr-ifunc.c: New file.
34237 * benchtests/bench-strstr.c: New file.
34238
34239 * benchtests/Makefile: Disable parallel execution of targets.
34240 (string-bench): Add memcpy.
34241 (benchset): New variable to store a list of benchmark sets.
34242 (bench-func): Renamed from bench.
34243 (bench-set): New target.
34244 (bench): Depend on bench-func and bench-set.
34245 * benchtests/README: Add section on benchmark sets.
34246 * benchtests/bench-memcpy-ifunc.c: New file.
34247 * benchtests/bench-memcpy.c: New file.
34248 * benchtests/bench-string.h: New file.
34249
34250 2013-06-11 Andreas Schwab <schwab@suse.de>
34251
34252 [BZ #15577]
34253 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34254 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34255 values in the triple.
34256 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34257 terminator in the group key.
34258
34259 2013-06-11 Andreas Jaeger <aj@suse.de>
34260
34261 * po/zh_TW.po: Update Chinese (traditional) translation from
34262 translation project.
34263
34264 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34265
34266 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34267 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34268 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34270 (clock_getcpuclockid): Likewise.
34271 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34272 Add weak_alias and libc_hidden_def.
34273 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34274 * rt/clock_gettime.c (clock_gettime): Rename to
34275 __clock_gettime. Add weak_alias and libc_hidden_def.
34276 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34277 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34278 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34279 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34280 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34281 Likewise.
34282 * rt/clock_settime.c (clock_settime): Rename to
34283 __clock_settime. Add weak_alias and libc_hidden_def.
34284 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34285
34286 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34287
34288 * mach/err_boot.sub: Remove trailing whitespace.
34289 * mach/err_ipc.sub: Likewise.
34290 * mach/err_mach.sub: Likewise.
34291
34292 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34293 (ROUNDING_TESTS_double): Likewise.
34294 (ROUNDING_TESTS_long_double): Likewise.
34295 (ROUNDING_TESTS): Likewise.
34296 * math/libm-test.inc: Include <math-tests.h>.
34297 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34298 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34299 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34300 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34301
34302 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34303
34304 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34305 of assigning.
34306
34307 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34308
34309 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34310 otherwise empty TRANS lines.
34311 * sysdeps/gnu/errlist.c: Regenerated.
34312
34313 * catgets/gencat.c (error_print): Use (void) in function
34314 definition.
34315 * crypt/crypt_util.c (__init_des): Likewise.
34316 * crypt/speeds.c (Stop): Likewise.
34317 (main): Likewise.
34318 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34319 * inet/ruserpass.c (token): Likewise.
34320 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34321 * intl/localealias.c (extend_alias_table): Likewise.
34322 * intl/plural-exp.c (init_germanic_plural): Likewise.
34323 * libio/fcloseall.c (__fcloseall): Likewise.
34324 * libio/genops.c (_IO_flush_all): Likewise.
34325 (_IO_flush_all_linebuffered): Likewise.
34326 (_IO_cleanup): Likewise.
34327 (_IO_iter_begin): Likewise.
34328 (_IO_iter_end): Likewise.
34329 (_IO_list_lock): Likewise.
34330 (_IO_list_unlock): Likewise.
34331 (_IO_list_resetlock): Likewise.
34332 * libio/getchar.c (getchar): Likewise.
34333 * libio/getchar_u.c (getchar_unlocked): Likewise.
34334 * libio/getwchar.c (getwchar): Likewise.
34335 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34336 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34337 * login/getpt.c (__getpt): Likewise.
34338 * login/tst-utmp.c (main): Likewise.
34339 * malloc/hooks.c (__malloc_check_init): Likewise.
34340 * malloc/malloc.c (__malloc_stats): Likewise.
34341 * malloc/mtrace.c (tr_break): Likewise.
34342 (mtrace): Likewise.
34343 (muntrace): Likewise.
34344 * misc/fstab.c (endfsent): Likewise.
34345 * misc/getclktck.c (__getclktck): Likewise.
34346 * misc/getdtsz.c (__getdtablesize): Likewise.
34347 * misc/gethostid.c (gethostid): Likewise.
34348 * misc/getpagesize.c (__getpagesize): Likewise.
34349 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34350 (__get_nprocs): Likewise.
34351 (__get_phys_pages): Likewise.
34352 (__get_avphys_pages): Likewise.
34353 * misc/getttyent.c (getttyent): Likewise.
34354 (setttyent): Likewise.
34355 (endttyent): Likewise.
34356 * misc/getusershell.c (getusershell): Likewise.
34357 (endusershell): Likewise.
34358 (setusershell): Likewise.
34359 (initshells): Likewise.
34360 * misc/hsearch.c (__hdestroy): Likewise.
34361 * misc/sync.c (sync): Likewise.
34362 * misc/syslog.c (closelog_internal): Likewise.
34363 (closelog): Likewise.
34364 * misc/ttyslot.c (ttyslot): Likewise.
34365 * misc/vhangup.c (vhangup): Likewise.
34366 * posix/fork.c (__fork): Likewise.
34367 * posix/getegid.c (__getegid): Likewise.
34368 * posix/geteuid.c (__geteuid): Likewise.
34369 * posix/getgid.c (__getgid): Likewise.
34370 * posix/getpid.c (__getpid): Likewise.
34371 * posix/getppid.c (__getppid): Likewise.
34372 * posix/getuid.c (__getuid): Likewise.
34373 * posix/pause.c (pause): Likewise.
34374 * posix/setpgrp.c (setpgrp): Likewise.
34375 * posix/setsid.c (__setsid): Likewise.
34376 * posix/test-vfork.c (noop): Likewise.
34377 * resolv/gethnamaddr.c (_endhtent): Likewise.
34378 (_gethtent): Likewise.
34379 (ht_endhostent): Likewise.
34380 (gethostent): Likewise.
34381 (dns_service): Likewise.
34382 * stdlib/drand48.c (drand48): Likewise.
34383 * stdlib/lrand48.c (lrand48): Likewise.
34384 * stdlib/mrand48.c (mrand48): Likewise.
34385 * stdlib/rand.c (rand): Likewise.
34386 * stdlib/random.c (__random): Likewise.
34387 * stdlib/setenv.c (clearenv): Likewise.
34388 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34389 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34390 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34391 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34392 (__get_nprocs): Likewise.
34393 (__get_phys_pages): Likewise.
34394 (__get_avphys_pages): Likewise.
34395 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34396 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34397 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34398 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34399 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34400 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34401 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34402 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34403 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34404 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34405 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34406 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34407 * sysdeps/posix/clock.c (clock): Likewise.
34408 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34409 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34410 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34411 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34412 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34414 (__get_nprocs_conf): Likewise.
34415 (__get_phys_pages): Likewise.
34416 (__get_avphys_pages): Likewise.
34417 * time/clock.c (clock): Likewise.
34418 * time/tzset.c (__tzname_max): Likewise.
34419
34420 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34421
34422 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34423 (__bswap_32): Do not use "register".
34424 * crypt/crypt.c (_ufc_doit_r): Likewise.
34425 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34426 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34427 * gmon/gmon.c (__monstartup): Likewise.
34428 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34429 * hurd/hurdmalloc.c (more_memory): Likewise.
34430 (malloc): Likewise.
34431 (free): Likewise.
34432 (realloc): Likewise.
34433 (malloc_fork_prepare): Likewise.
34434 (malloc_fork_parent): Likewise.
34435 (malloc_fork_child): Likewise.
34436 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34437 (_svcauth_des): Likewise.
34438 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34439 * inet/inet_net.c (inet_network): Likewise.
34440 * inet/inet_netof.c (inet_netof): Likewise.
34441 * inet/rcmd.c (__validuser2_sa): Likewise.
34442 * io/fts.c (fts_open): Likewise.
34443 (fts_load): Likewise.
34444 (fts_close): Likewise.
34445 (fts_read): Likewise.
34446 (fts_children): Likewise.
34447 (fts_build): Likewise.
34448 (fts_stat): Likewise.
34449 (fts_sort): Likewise.
34450 (fts_alloc): Likewise.
34451 (fts_lfree): Likewise.
34452 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34453 (_IO_file_xsgetn): Likewise.
34454 (_IO_file_xsgetn_mmap): Likewise.
34455 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34456 (_IO_cookie_write): Likewise.
34457 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34458 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34459 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34460 * malloc/obstack.c (_obstack_begin): Likewise.
34461 (_obstack_begin_1): Likewise.
34462 (_obstack_newchunk): Likewise.
34463 (_obstack_allocated_p): Likewise.
34464 (obstack_free): Likewise.
34465 (_obstack_memory_used): Likewise.
34466 * misc/getttyent.c (getttynam): Likewise.
34467 (getttyent): Likewise.
34468 (skip): Likewise.
34469 (value): Likewise.
34470 * misc/getusershell.c (initshells): Likewise.
34471 * misc/syslog.c (__vsyslog_chk): Likewise.
34472 * misc/ttyslot.c (ttyslot): Likewise.
34473 * nis/nis_hash.c (__nis_hash): Likewise.
34474 * posix/fnmatch_loop.c (FCT): Likewise.
34475 * posix/getconf.c (print_all): Likewise.
34476 (main): Likewise.
34477 * posix/getopt.c (exchange): Likewise.
34478 * posix/glob.c (globfree): Likewise.
34479 (prefix_array): Likewise.
34480 (__glob_pattern_type): Likewise.
34481 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34482 (NS_GET32): Likewise.
34483 (NS_PUT16): Likewise.
34484 (NS_PUT32): Likewise.
34485 * resolv/gethnamaddr.c (getanswer): Likewise.
34486 (gethostbyname2): Likewise.
34487 (gethostbyaddr): Likewise.
34488 (_gethtent): Likewise.
34489 (_gethtbyname2): Likewise.
34490 (_gethtbyaddr): Likewise.
34491 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34492 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34493 * resolv/res_init.c (__res_vinit): Likewise.
34494 (net_mask): Likewise.
34495 * resolv/res_mkquery.c (outchar): Likewise.
34496 (PRINT): Likewise.
34497 * stdio-common/printf_fp.c (outchar): Likewise.
34498 (PRINT): Likewise.
34499 * stdio-common/printf_fphex.c (outchar): Likewise.
34500 (PRINT): Likewise.
34501 * stdio-common/printf_size.c (outchar): Likewise.
34502 (PRINT): Likewise.
34503 * stdio-common/test_rdwr.c (main): Likewise.
34504 * stdio-common/tfformat.c (matches): Likewise.
34505 * stdio-common/vfprintf.c (outchar): Likewise.
34506 (printf_unknown): Likewise.
34507 (buffered_vfprintf): Likewise.
34508 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34509 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34510 (ReadFile): Likewise.
34511 * stdlib/qsort.c (SWAP): Likewise.
34512 (_quicksort): Likewise.
34513 * stdlib/setenv.c (__add_to_environ): Likewise.
34514 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34515 * stdlib/strtol_l.c (__strtol_l): Likewise.
34516 * stdlib/tst-strtod.c (main): Likewise.
34517 * stdlib/tst-strtol.c (main): Likewise.
34518 * stdlib/tst-strtoll.c (main): Likewise.
34519 * string/bits/string2.h (__strcmp_cc): Likewise.
34520 (__strcmp_cg): Likewise.
34521 (__strcspn_c1): Likewise.
34522 (__strcspn_c2): Likewise.
34523 (__strcspn_c3): Likewise.
34524 (__strspn_c1): Likewise.
34525 (__strspn_c2): Likewise.
34526 (__strspn_c3): Likewise.
34527 (__strsep_1c): Likewise.
34528 (__strsep_2c): Likewise.
34529 (__strsep_3c): Likewise.
34530 * string/memccpy.c (__memccpy): Likewise.
34531 * string/stpcpy.c (__stpcpy): Likewise.
34532 * string/strcmp.c (strcmp): Likewise.
34533 * string/strrchr.c (strrchr): Likewise.
34534 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34535 Likewise.
34536 * sysdeps/mach/hurd/getcwd.c
34537 (_hurd_canonicalize_directory_name_internal): Likewise.
34538 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34539 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34540 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34541 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34542 Likewise, in both definitions.
34543 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34544 definitions.
34545 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34546 64] (__bswap_64): Likewise.
34547 * time/test_time.c (main): Likewise.
34548 * time/tzfile.c (__tzfile_read): Likewise.
34549 (__tzfile_compute): Likewise.
34550 * time/tzset.c (__tzset_parse_tz): Likewise.
34551 (tzset_internal): Likewise.
34552 (compute_change): Likewise.
34553 * wcsmbs/wcscat.c (__wcscat): Likewise.
34554 * wcsmbs/wcschr.c (wcschr): Likewise.
34555 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34556 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34557 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34558 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34559 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34560 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34561 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34562 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34563 * wcsmbs/wmemset.c (wmemset): Likewise.
34564
34565 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34566
34567 * scripts/config.guess: Update to version 2013-05-16.
34568 * scripts/config.sub: Update to version 2013-04-24.
34569 * scripts/install-sh: Update to version 2011-11-20.07.
34570 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34571 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34572
34573 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34574
34575 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34576 * elf/sln.c: Likewise.
34577 * hurd/hurd/ioctl.h: Likewise.
34578 * hurd/hurdmalloc.c: Likewise.
34579 * hurd/xattr.c: Likewise.
34580 * include/shlib-compat.h: Likewise.
34581 * inet/ruserpass.c: Likewise.
34582 * libio/iofgets_u.c: Likewise.
34583 * libio/iofgetws_u.c: Likewise.
34584 * locale/programs/ld-identification.c: Likewise.
34585 * locale/programs/ld-time.c: Likewise.
34586 * mach/msg-destroy.c: Likewise.
34587 * nss/nss_files/files-netgrp.c: Likewise.
34588 * resolv/res_data.c: Likewise.
34589 * soft-fp/op-1.h: Likewise.
34590 * soft-fp/op-2.h: Likewise.
34591 * soft-fp/op-4.h: Likewise.
34592 * soft-fp/op-common.h: Likewise.
34593 * stdio-common/printf_fphex.c: Likewise.
34594 * stdlib/strtod_l.c: Likewise.
34595 * sunrpc/rpc/clnt.h: Likewise.
34596 * sysdeps/generic/framestate.c: Likewise.
34597 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34598 * sysdeps/i386/bsd-setjmp.S: Likewise.
34599 * sysdeps/i386/__longjmp.S: Likewise.
34600 * sysdeps/i386/setjmp.S: Likewise.
34601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34602 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34604 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34605 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34607 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34610 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34611 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34612 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34613 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34614 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34615 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34617 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34618 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34619 * sysdeps/ieee754/support.c: Likewise.
34620 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34621 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34622 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34623 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34624 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34625 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34626 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34627 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34628 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34629 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34630 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34631 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34632 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34633 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34634 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34635 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34636 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34638
34639 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34640
34641 * posix/transbug.c: Remove executable mode.
34642
34643 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34644
34645 * crypt/speeds.c: Remove trailing whitespace.
34646 * dlfcn/default.c: Likewise.
34647 * elf/ifuncdep2.c: Likewise.
34648 * elf/ifuncmain1.c: Likewise.
34649 * elf/ifuncmain1vis.c: Likewise.
34650 * elf/testobj.h: Likewise.
34651 * elf/tst-stackguard1.c: Likewise.
34652 * gmon/sys/gmon.h: Likewise.
34653 * hurd/hurdmsg.c: Likewise.
34654 * hurd/new-fd.c: Likewise.
34655 * hurd/ports-get.c: Likewise.
34656 * iconvdata/ibm1008_420.c: Likewise.
34657 * inet/tst-getni1.c: Likewise.
34658 * inet/tst-getni2.c: Likewise.
34659 * libio/ioungetc.c: Likewise.
34660 * libio/wfiledoalloc.c: Likewise.
34661 * manual/libm-err-tab.pl: Likewise.
34662 * math/w_dremf.c: Likewise.
34663 * misc/ftruncate.c: Likewise.
34664 * posix/bug-glob2.c: Likewise.
34665 * posix/tst-pcre.c: Likewise.
34666 * posix/wait4.c: Likewise.
34667 * resolv/README: Likewise.
34668 * resolv/res_debug.h: Likewise.
34669 * resolv/tst-inet_ntop.c: Likewise.
34670 * setjmp/bug269-setjmp.c: Likewise.
34671 * soft-fp/extended.h: Likewise.
34672 * soft-fp/op-1.h: Likewise.
34673 * soft-fp/op-2.h: Likewise.
34674 * soft-fp/op-4.h: Likewise.
34675 * soft-fp/op-8.h: Likewise.
34676 * soft-fp/testit.c: Likewise.
34677 * stdio-common/bug16.c: Likewise.
34678 * stdlib/random.c: Likewise.
34679 * sunrpc/rpcsvc/rquota.x: Likewise.
34680 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34684 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34685 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34686 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34687 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34688 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34690 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34709 * sysdeps/ieee754/s_lib_version.c: Likewise.
34710 * sysdeps/mach/hurd/check_fds.c: Likewise.
34711 * sysdeps/mach/hurd/getsockname.c: Likewise.
34712 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34713 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34714 * sysdeps/powerpc/bits/link.h: Likewise.
34715 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34716 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34717 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34718 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34719 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34720 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34721 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34722 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34723 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34724 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34725 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34726 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34727 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34728 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34729 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34730 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34732 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34735 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34736 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34738 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34739 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34740 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34742 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34743 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34744 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34745 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34748 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34749 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34750 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34751 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34752 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34753 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34754 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34755 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34756 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34757 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34758 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34759 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34760 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34761 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34762 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34763 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34764 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34767 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34768 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34769 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34770 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34771 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34772 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34773 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34774 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34775 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34776 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34777 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34778 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34779 * sysdeps/powerpc/sysdep.h: Likewise.
34780 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34781 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34782 * sysdeps/sh/dl-trampoline.S: Likewise.
34783 * sysdeps/sh/memset.S: Likewise.
34784 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34785 * sysdeps/sh/strlen.S: Likewise.
34786 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34787 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34788 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34789 * sysdeps/sparc/sparc32/rem.S: Likewise.
34790 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34791 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34792 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34793 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34794 * sysdeps/sparc/sparc32/urem.S: Likewise.
34795 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34796 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34797 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34798 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34799 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34800 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34801 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34802 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34803 * sysdeps/unix/bsd/times.c: Likewise.
34804 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34805 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34809 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34810 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34811 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34812 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34813 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34814 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34815 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34816 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34817 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34818 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34819 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34820 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34821 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34822 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34823 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34824 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34825 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34826 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34827 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34828 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34829 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34830 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34831 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34832 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34833 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34834 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34835 * sysdeps/x86_64/strcspn.S: Likewise.
34836
34837 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34838
34839 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34840 generated file. Regenerate properly from gen-translit.pl.
34841 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34842 locale/C-translit.h.
34843
34844 2013-06-05 Andreas Schwab <schwab@suse.de>
34845
34846 [BZ #15100]
34847 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34848 week as 6 instead of -1.
34849 * time/tst-strptime.c (day_tests): Add test case.
34850
34851 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34852
34853 * sysdeps/generic/math_private.h
34854 (libc_feholdexcept_setround_53bit): Replace with
34855 libc_feholdsetround_53bit.
34856 (libc_feupdateenv_53bit): Replace with
34857 libc_feresetround_53bit.
34858 (SET_RESTORE_ROUND_53BIT): Adjust.
34859
34860 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34861
34862 * string/test-strchrnul.c: Add copyright header.
34863
34864 * posix/tst-getaddrinfo4.c: Increase test timeout.
34865
34866 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34867
34868 [BZ #15536]
34869 * math/libm-test.inc (MAX_EXP): Remove
34870 (MIN_EXP): Define.
34871 (ulp): Use MIN_EXP - MANT_DIG.
34872 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34873
34874 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34875
34876 * po/be.po: Revert last change.
34877 * po/zh_CN.po: Likewise.
34878 * po/header.pot: Likewise.
34879
34880 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34881
34882 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34883 link-libc-deps to empty as target-specific variable.
34884 * Makerules (link-libc-args): New variable.
34885 (libc-for-link): Likewise.
34886 (link-libc-deps): Likewise.
34887 (lib%.so): Depend on $(link-libc-deps). Link with
34888 $(link-libc-args).
34889 (build-module): Link with $(link-libc-args).
34890 (build-module-asneeded): Likewise.
34891 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34892 list of objects.
34893 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34894 target-specific variable.
34895 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34896 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34897 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34898 libc.
34899 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34900 libc and ld.so.
34901 ($(objpfx)libpcprofile.so): Likewise.
34902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34903 libc_nonshared.a.
34904 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34905 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34906 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34907 $(link-libc-deps).
34908 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34909 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34910 * login/Makefile ($(objpfx)libutil.so): Likewise.
34911 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34912 * math/Makefile ($(objpfx)libm.so): Likewise.
34913 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34914 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34915 variable instead of depending directly on libc.
34916 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34917 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34918 $(link-libc-deps).
34919 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34920 libc.
34921 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34922 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34923 ($(objpfx)libanl.so): Likewise.
34924 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34925 ld.so.
34926 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34927 $(link-libc-deps).
34928 * sysdeps/i386/fpu/Makefile: Remove file.
34929 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34930 ($(objpfx)libm.so): Remove dependency on ld.so.
34931
34932 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34933
34934 [BZ # 15553]
34935 * nis/yp_xdr.c (XDRMAXNAME): Define.
34936 (XDRMAXRECORD): Define.
34937 (xdr_domainname): Use XDRMAXNAME.
34938 (xdr_mapname): Likewise.
34939 (xdr_peername): Likewise.
34940 (xdr_keydat): Use XDRMAXRECORD.
34941 (xdr_valdat): Likewise.
34942
34943 2013-05-30 Jeff Law <law@redhat.com>
34944
34945 [BZ #14256]
34946 * manual/errno.texi (ESTALE): Update to account for more than
34947 just NFS file systems.
34948 * sysdeps/gnu/errlist.c: Regenerated.
34949
34950 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34951
34952 [BZ #15465]
34953 * elf/Makefile (tests): Add tst-null-argv.
34954 (modules-names): Add tst-null-argv-lib.
34955 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34956 (tst-null-argv-ENV): Set environment for tst-null-argv.
34957 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34958 (RTLD_PROGNAME): New macro.
34959 * elf/tst-null-argv.c: New test case.
34960 * elf/tst-null-argv-lib.c: Library for test case.
34961 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34962 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34963 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34964 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34965 * elf/dl-init.c (call_init): Likewise.
34966 (_dl_init): Likewise.
34967 * elf/dl-load.c (print_search_path): Likewise.
34968 (_dl_map_object): Likewise.
34969 * elf/dl-lookup.c (do_lookup_x): Likewise.
34970 (add_dependency): Likewise.
34971 (_dl_lookup_symbol_x): Likewise.
34972 (_dl_debug_bindings): Likewise.
34973 * elf/dl-open.c (_dl_show_scope): Likewise.
34974 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34975 * elf/dl-version.c (match_symbol): Likewise.
34976 (_dl_check_map_versions): Likewise.
34977 * elf/rtld.c (dl_main): Likewise.
34978 (print_unresolved): Use RTLD_PROGNAME.
34979 (print_missing_version): Likewise.
34980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34981 (elf_machine_rela): Likewise.
34982 * sysdeps/powerpc/powerpc32/dl-machine.c
34983 (__process_machine_rela): Likewise.
34984 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34985 Likewise.
34986 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34987 Likewise.
34988 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34989 Likewise.
34990 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34991 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34992 Likewise.
34993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34994 Likewise.
34995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34996
34997 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34998
34999 * po/be.po: Add descriptive title.
35000 * po/zh_CN.po: Likewise.
35001 * po/header.pot: Likewise.
35002
35003 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35004
35005 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35006 error message.
35007 (enlarge_archive): Likewise.
35008
35009 2013-05-28 Ben North <ben@redfrontdoor.org>
35010
35011 * manual/arith.texi (frexp): It is the magnitude of the return
35012 value which lies in [0.5, 1), not the return value itself.
35013
35014 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35015
35016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35017
35018 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35019
35020 * stdio-common/bug26.c (main): Correct fscanf template.
35021
35022 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35023 declare _dl_skip_args.
35024
35025 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35026 Don't declare.
35027
35028 * manual/platform.texi: Add missing @end deftypefun.
35029
35030 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35031
35032 [BZ #15529]
35033 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35034 bit of mantissa of 2^16382.
35035 * math/libm-test.inc (hypot_test_data): Add more tests.
35036
35037 * math/libm-test.inc: Add drem and pow10 to list of tested
35038 functions.
35039 (pow10_test): New function.
35040 (drem_test): Likewise.
35041 (drem_test_tonearest): Likewise.
35042 (drem_test_towardzero): Likewise.
35043 (drem_test_downward): Likewise.
35044 (drem_test_upward): Likewise.
35045 (main): Call the new functions.
35046
35047 * math/libm-test.inc (finite_test_data): Remove.
35048 (finite_test): Run tests from isfinite_test_data.
35049 (gamma_test_data): Remove.
35050 (gamma_test): Run tests from lgamma_test_data.
35051 * sysdeps/i386/fpu/libm-test-ulps: Update.
35052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35053
35054 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35055
35056 * manual/platform.texi: Add PowerPC PPR function set documentation.
35057 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35058 implementation.
35059
35060 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35061
35062 * math/libm-test.inc (MAX_EXP): Define.
35063 (ULPDIFF): Define.
35064 (ulp): New function.
35065 (check_float_internal): Use ULPDIFF.
35066 (cpow_test): Disable failing test.
35067 (check_ulp): Test ulp() implemetnation.
35068 (main): Call check_ulp before starting tests.
35069
35070 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35071
35072 * math/gen-libm-test.pl (generate_testfile): Do not handle
35073 START_DATA and END_DATA.
35074 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35075 END_DATA.
35076 (acos_tonearest_test_data): Likewise.
35077 (acos_towardzero_test_data): Likewise.
35078 (acos_downward_test_data): Likewise.
35079 (acos_upward_test_data): Likewise.
35080 (acosh_test_data): Likewise.
35081 (asin_test_data): Likewise.
35082 (asin_tonearest_test_data): Likewise.
35083 (asin_towardzero_test_data): Likewise.
35084 (asin_downward_test_data): Likewise.
35085 (asin_upward_test_data): Likewise.
35086 (asinh_test_data): Likewise.
35087 (atan_test_data): Likewise.
35088 (atanh_test_data): Likewise.
35089 (atan2_test_data): Likewise.
35090 (cabs_test_data): Likewise.
35091 (cacos_test_data): Likewise.
35092 (cacosh_test_data): Likewise.
35093 (carg_test_data): Likewise.
35094 (casin_test_data): Likewise.
35095 (casinh_test_data): Likewise.
35096 (catan_test_data): Likewise.
35097 (catanh_test_data): Likewise.
35098 (cbrt_test_data): Likewise.
35099 (ccos_test_data): Likewise.
35100 (ccosh_test_data): Likewise.
35101 (ceil_test_data): Likewise.
35102 (cexp_test_data): Likewise.
35103 (cimag_test_data): Likewise.
35104 (clog_test_data): Likewise.
35105 (clog10_test_data): Likewise.
35106 (conj_test_data): Likewise.
35107 (copysign_test_data): Likewise.
35108 (cos_test_data): Likewise.
35109 (cos_tonearest_test_data): Likewise.
35110 (cos_towardzero_test_data): Likewise.
35111 (cos_downward_test_data): Likewise.
35112 (cos_upward_test_data): Likewise.
35113 (cosh_test_data): Likewise.
35114 (cosh_tonearest_test_data): Likewise.
35115 (cosh_towardzero_test_data): Likewise.
35116 (cosh_downward_test_data): Likewise.
35117 (cosh_upward_test_data): Likewise.
35118 (cpow_test_data): Likewise.
35119 (cproj_test_data): Likewise.
35120 (creal_test_data): Likewise.
35121 (csin_test_data): Likewise.
35122 (csinh_test_data): Likewise.
35123 (csqrt_test_data): Likewise.
35124 (ctan_test_data): Likewise.
35125 (ctan_tonearest_test_data): Likewise.
35126 (ctan_towardzero_test_data): Likewise.
35127 (ctan_downward_test_data): Likewise.
35128 (ctan_upward_test_data): Likewise.
35129 (ctanh_test_data): Likewise.
35130 (ctanh_tonearest_test_data): Likewise.
35131 (ctanh_towardzero_test_data): Likewise.
35132 (ctanh_downward_test_data): Likewise.
35133 (ctanh_upward_test_data): Likewise.
35134 (erf_test_data): Likewise.
35135 (erfc_test_data): Likewise.
35136 (exp_test_data): Likewise.
35137 (exp_tonearest_test_data): Likewise.
35138 (exp_towardzero_test_data): Likewise.
35139 (exp_downward_test_data): Likewise.
35140 (exp_upward_test_data): Likewise.
35141 (exp10_test_data): Likewise.
35142 (exp2_test_data): Likewise.
35143 (expm1_test_data): Likewise.
35144 (fabs_test_data): Likewise.
35145 (fdim_test_data): Likewise.
35146 (finite_test_data): Likewise.
35147 (floor_test_data): Likewise.
35148 (fma_test_data): Likewise.
35149 (fma_towardzero_test_data): Likewise.
35150 (fma_downward_test_data): Likewise.
35151 (fma_upward_test_data): Likewise.
35152 (fmax_test_data): Likewise.
35153 (fmin_test_data): Likewise.
35154 (fmod_test_data): Likewise.
35155 (fpclassify_test_data): Likewise.
35156 (frexp_test_data): Likewise.
35157 (gamma_test_data): Likewise.
35158 (hypot_test_data): Likewise.
35159 (ilogb_test_data): Likewise.
35160 (isfinite_test_data): Likewise.
35161 (isgreater_test_data): Likewise.
35162 (isgreaterequal_test_data): Likewise.
35163 (isinf_test_data): Likewise.
35164 (isless_test_data): Likewise.
35165 (islessequal_test_data): Likewise.
35166 (islessgreater_test_data): Likewise.
35167 (isnan_test_data): Likewise.
35168 (isnormal_test_data): Likewise.
35169 (issignaling_test_data): Likewise.
35170 (isunordered_test_data): Likewise.
35171 (j0_test_data): Likewise.
35172 (j1_test_data): Likewise.
35173 (jn_test_data): Likewise.
35174 (ldexp_test_data): Likewise.
35175 (lgamma_test_data): Likewise.
35176 (lrint_test_data): Likewise.
35177 (lrint_tonearest_test_data): Likewise.
35178 (lrint_towardzero_test_data): Likewise.
35179 (lrint_downward_test_data): Likewise.
35180 (lrint_upward_test_data): Likewise.
35181 (llrint_test_data): Likewise.
35182 (llrint_tonearest_test_data): Likewise.
35183 (llrint_towardzero_test_data): Likewise.
35184 (llrint_downward_test_data): Likewise.
35185 (llrint_upward_test_data): Likewise.
35186 (log_test_data): Likewise.
35187 (log10_test_data): Likewise.
35188 (log1p_test_data): Likewise.
35189 (log2_test_data): Likewise.
35190 (logb_test_data): Likewise.
35191 (logb_downward_test_data): Likewise.
35192 (lround_test_data): Likewise.
35193 (llround_test_data): Likewise.
35194 (modf_test_data): Likewise.
35195 (nearbyint_test_data): Likewise.
35196 (nextafter_test_data): Likewise.
35197 (nexttoward_test_data): Likewise.
35198 (pow_test_data): Likewise.
35199 (pow_tonearest_test_data): Likewise.
35200 (pow_towardzero_test_data): Likewise.
35201 (pow_downward_test_data): Likewise.
35202 (pow_upward_test_data): Likewise.
35203 (remainder_test_data): Likewise.
35204 (remainder_tonearest_test_data): Likewise.
35205 (remainder_towardzero_test_data): Likewise.
35206 (remainder_downward_test_data): Likewise.
35207 (remainder_upward_test_data): Likewise.
35208 (remquo_test_data): Likewise.
35209 (rint_test_data): Likewise.
35210 (rint_tonearest_test_data): Likewise.
35211 (rint_towardzero_test_data): Likewise.
35212 (rint_downward_test_data): Likewise.
35213 (rint_upward_test_data): Likewise.
35214 (round_test_data): Likewise.
35215 (scalb_test_data): Likewise.
35216 (scalbn_test_data): Likewise.
35217 (scalbln_test_data): Likewise.
35218 (signbit_test_data): Likewise.
35219 (sin_test_data): Likewise.
35220 (sin_tonearest_test_data): Likewise.
35221 (sin_towardzero_test_data): Likewise.
35222 (sin_downward_test_data): Likewise.
35223 (sin_upward_test_data): Likewise.
35224 (sincos_test_data): Likewise.
35225 (sinh_test_data): Likewise.
35226 (sinh_tonearest_test_data): Likewise.
35227 (sinh_towardzero_test_data): Likewise.
35228 (sinh_downward_test_data): Likewise.
35229 (sinh_upward_test_data): Likewise.
35230 (sqrt_test_data): Likewise.
35231 (tan_test_data): Likewise.
35232 (tan_tonearest_test_data): Likewise.
35233 (tan_towardzero_test_data): Likewise.
35234 (tan_downward_test_data): Likewise.
35235 (tan_upward_test_data): Likewise.
35236 (tanh_test_data): Likewise.
35237 (tgamma_test_data): Likewise.
35238 (trunc_test_data): Likewise.
35239 (y0_test_data): Likewise.
35240 (y1_test_data): Likewise.
35241 (yn_test_data): Likewise.
35242 (significand_test_data): Likewise.
35243
35244 * math/gen-libm-test.pl (@functions): Remove variable.
35245 (generate_testfile): Don't handle START and END lines.
35246 * math/libm-test.inc (START): New macro.
35247 (END): Likewise.
35248 (END_COMPLEX): Likewise.
35249 (acos_test): Use END macro without arguments.
35250 (acos_test_tonearest): Likewise.
35251 (acos_test_towardzero): Likewise.
35252 (acos_test_downward): Likewise.
35253 (acos_test_upward): Likewise.
35254 (acosh_test): Likewise.
35255 (asin_test): Likewise.
35256 (asin_test_tonearest): Likewise.
35257 (asin_test_towardzero): Likewise.
35258 (asin_test_downward): Likewise.
35259 (asin_test_upward): Likewise.
35260 (asinh_test): Likewise.
35261 (atan_test): Likewise.
35262 (atanh_test): Likewise.
35263 (atan2_test): Likewise.
35264 (cabs_test): Likewise.
35265 (cacos_test): Use END_COMPLEX macro without arguments.
35266 (cacosh_test): Likewise.
35267 (carg_test): Use END macro without arguments.
35268 (casin_test): Use END_COMPLEX macro without arguments.
35269 (casinh_test): Likewise.
35270 (catan_test): Likewise.
35271 (catanh_test): Likewise.
35272 (cbrt_test): Use END macro without arguments.
35273 (ccos_test): Use END_COMPLEX macro without arguments.
35274 (ccosh_test): Likewise.
35275 (ceil_test): Use END macro without arguments.
35276 (cexp_test): Use END_COMPLEX macro without arguments.
35277 (cimag_test): Use END macro without arguments.
35278 (clog_test): Use END_COMPLEX macro without arguments.
35279 (clog10_test): Likewise.
35280 (conj_test): Likewise.
35281 (copysign_test): Use END macro without arguments.
35282 (cos_test): Likewise.
35283 (cos_test_tonearest): Likewise.
35284 (cos_test_towardzero): Likewise.
35285 (cos_test_downward): Likewise.
35286 (cos_test_upward): Likewise.
35287 (cosh_test): Likewise.
35288 (cosh_test_tonearest): Likewise.
35289 (cosh_test_towardzero): Likewise.
35290 (cosh_test_downward): Likewise.
35291 (cosh_test_upward): Likewise.
35292 (cpow_test): Use END_COMPLEX macro without arguments.
35293 (cproj_test): Likewise.
35294 (creal_test): Use END macro without arguments.
35295 (csin_test): Use END_COMPLEX macro without arguments.
35296 (csinh_test): Likewise.
35297 (csqrt_test): Likewise.
35298 (ctan_test): Likewise.
35299 (ctan_test_tonearest): Likewise.
35300 (ctan_test_towardzero): Likewise.
35301 (ctan_test_downward): Likewise.
35302 (ctan_test_upward): Likewise.
35303 (ctanh_test): Likewise.
35304 (ctanh_test_tonearest): Likewise.
35305 (ctanh_test_towardzero): Likewise.
35306 (ctanh_test_downward): Likewise.
35307 (ctanh_test_upward): Likewise.
35308 (erf_test): Use END macro without arguments.
35309 (erfc_test): Likewise.
35310 (exp_test): Likewise.
35311 (exp_test_tonearest): Likewise.
35312 (exp_test_towardzero): Likewise.
35313 (exp_test_downward): Likewise.
35314 (exp_test_upward): Likewise.
35315 (exp10_test): Likewise.
35316 (exp2_test): Likewise.
35317 (expm1_test): Likewise.
35318 (fabs_test): Likewise.
35319 (fdim_test): Likewise.
35320 (finite_test): Likewise.
35321 (floor_test): Likewise.
35322 (fma_test): Likewise.
35323 (fma_test_towardzero): Likewise.
35324 (fma_test_downward): Likewise.
35325 (fma_test_upward): Likewise.
35326 (fmax_test): Likewise.
35327 (fmin_test): Likewise.
35328 (fmod_test): Likewise.
35329 (fpclassify_test): Likewise.
35330 (frexp_test): Likewise.
35331 (gamma_test): Likewise.
35332 (hypot_test): Likewise.
35333 (ilogb_test): Likewise.
35334 (isfinite_test): Likewise.
35335 (isgreater_test): Likewise.
35336 (isgreaterequal_test): Likewise.
35337 (isinf_test): Likewise.
35338 (isless_test): Likewise.
35339 (islessequal_test): Likewise.
35340 (islessgreater_test): Likewise.
35341 (isnan_test): Likewise.
35342 (isnormal_test): Likewise.
35343 (issignaling_test): Likewise.
35344 (isunordered_test): Likewise.
35345 (j0_test): Likewise.
35346 (j1_test): Likewise.
35347 (jn_test): Likewise.
35348 (ldexp_test): Likewise.
35349 (lgamma_test): Likewise.
35350 (lrint_test): Likewise.
35351 (lrint_test_tonearest): Likewise.
35352 (lrint_test_towardzero): Likewise.
35353 (lrint_test_downward): Likewise.
35354 (lrint_test_upward): Likewise.
35355 (llrint_test): Likewise.
35356 (llrint_test_tonearest): Likewise.
35357 (llrint_test_towardzero): Likewise.
35358 (llrint_test_downward): Likewise.
35359 (llrint_test_upward): Likewise.
35360 (log_test): Likewise.
35361 (log10_test): Likewise.
35362 (log1p_test): Likewise.
35363 (log2_test): Likewise.
35364 (logb_test): Likewise.
35365 (logb_test_downward): Likewise.
35366 (lround_test): Likewise.
35367 (llround_test): Likewise.
35368 (modf_test): Likewise.
35369 (nearbyint_test): Likewise.
35370 (nextafter_test): Likewise.
35371 (nexttoward_test): Likewise.
35372 (pow_test): Likewise.
35373 (pow_test_tonearest): Likewise.
35374 (pow_test_towardzero): Likewise.
35375 (pow_test_downward): Likewise.
35376 (pow_test_upward): Likewise.
35377 (remainder_test): Likewise.
35378 (remainder_test_tonearest): Likewise.
35379 (remainder_test_towardzero): Likewise.
35380 (remainder_test_downward): Likewise.
35381 (remainder_test_upward): Likewise.
35382 (remquo_test): Likewise.
35383 (rint_test): Likewise.
35384 (rint_test_tonearest): Likewise.
35385 (rint_test_towardzero): Likewise.
35386 (rint_test_downward): Likewise.
35387 (rint_test_upward): Likewise.
35388 (round_test): Likewise.
35389 (scalb_test): Likewise.
35390 (scalbn_test): Likewise.
35391 (scalbln_test): Likewise.
35392 (signbit_test): Likewise.
35393 (sin_test): Likewise.
35394 (sin_test_tonearest): Likewise.
35395 (sin_test_towardzero): Likewise.
35396 (sin_test_downward): Likewise.
35397 (sin_test_upward): Likewise.
35398 (sincos_test): Likewise.
35399 (sinh_test): Likewise.
35400 (sinh_test_tonearest): Likewise.
35401 (sinh_test_towardzero): Likewise.
35402 (sinh_test_downward): Likewise.
35403 (sinh_test_upward): Likewise.
35404 (sqrt_test): Likewise.
35405 (tan_test): Likewise.
35406 (tan_test_tonearest): Likewise.
35407 (tan_test_towardzero): Likewise.
35408 (tan_test_downward): Likewise.
35409 (tan_test_upward): Likewise.
35410 (tanh_test): Likewise.
35411 (tgamma_test): Likewise.
35412 (trunc_test): Likewise.
35413 (y0_test): Likewise.
35414 (y1_test): Likewise.
35415 (yn_test): Likewise.
35416 (significand_test): Likewise.
35417
35418 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35419
35420 [BZ #15381]
35421 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35422
35423 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35424
35425 [BZ #14894]
35426 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35427 __ppc_mdoio and __ppc_mdoom.
35428 * manual/platform.texi: Document new functions __ppc_yield,
35429 __ppc_mdoio and __ppc_mdoom.
35430
35431 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35432
35433 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35434 (main): Mention "tls" pseudo-hwcap is legacy.
35435 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35436
35437 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35438
35439 * math/gen-libm-test.pl (parse_args): Output only string of
35440 arguments as text for test name, not full call or descriptions of
35441 tests for extra outputs.
35442 (generate_testfile): Do not pass function name to parse_args.
35443 Generate this_func variable from START.
35444 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35445 field to arg_str.
35446 (struct test_ff_f_data): Likewise.
35447 (test_ff_f_data_nexttoward): Likewise.
35448 (struct test_fi_f_data): Likewise.
35449 (struct test_fl_f_data): Likewise.
35450 (struct test_if_f_data): Likewise.
35451 (struct test_fff_f_data): Likewise.
35452 (struct test_c_f_data): Likewise.
35453 (struct test_f_f1_data): Likewise. Remove field extra_name.
35454 (struct test_fF_f1_data): Likewise.
35455 (struct test_ffI_f1_data): Likewise.
35456 (struct test_c_c_data): Rename test_name field to arg_str.
35457 (struct test_cc_c_data): Likewise.
35458 (struct test_f_i_data): Likewise.
35459 (struct test_ff_i_data): Likewise.
35460 (struct test_f_l_data): Likewise.
35461 (struct test_f_L_data): Likewise.
35462 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35463 and extra2_name.
35464 (COMMON_TEST_SETUP): New macro.
35465 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35466 (COMMON_TEST_CLEANUP): Likewise.
35467 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35468 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35469 macros.
35470 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35471 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35472 macros.
35473 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35474 (RUN_TEST_fff_f): Take argument string. Call new setup and
35475 cleanup macros.
35476 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35477 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35478 macros.
35479 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35480 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35481 macros.
35482 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35483 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35484 cleanup macros.
35485 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35486 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35487 cleanup macros.
35488 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35489 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35490 cleanup macros.
35491 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35492 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35493 macros.
35494 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35495 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35496 macros.
35497 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35498 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35499 macros.
35500 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35501 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35502 cleanup macros.
35503 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35504 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35505 cleanup macros.
35506 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35507 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35508 macros.
35509 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35510 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35511 cleanup macros.
35512 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35513 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35514 macros.
35515 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35516 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35517 macros.
35518 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35519 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35520 cleanup macros.
35521 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35522
35523 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35524
35525 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35526 to _sifields.sigfault.
35527 (si_addr_lsb): Define new macro.
35528 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35530 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35531
35532 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35533
35534 [BZ #15441]
35535 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35536 returns -1.
35537 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35538 null return -1.
35539 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35540 loading the domain.
35541
35542 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35543
35544 * math/gen-libm-test.pl (parse_args): Do not include expected
35545 result in test name.
35546 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35548 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35549 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35550 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35552
35553 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35554
35555 * benchtests/Makefile: Sort function entries.
35556
35557 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35558 tanh, asinh, acosh, atanh.
35559 * benchtests/acos-inputs: New file.
35560 * benchtests/acosh-inputs: New file.
35561 * benchtests/asin-inputs: New file.
35562 * benchtests/asinh-inputs: New file.
35563 * benchtests/atanh-inputs: New file.
35564 * benchtests/cosh-inputs: New file.
35565 * benchtests/log-inputs: New file.
35566 * benchtests/sinh-inputs: New file.
35567 * benchtests/tanh-inputs: New file.
35568
35569 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35570
35571 [BZ #15339]
35572 * posix/tst-getaddrinfo4.c: New test.
35573 * posix/Makefile (tests): Add it.
35574
35575 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35576
35577 [BZ #15339]
35578 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35579 when no services were used.
35580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35581 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35582
35583 2013-05-21 Andreas Schwab <schwab@suse.de>
35584
35585 [BZ #15014]
35586 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35587 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35588 successful.
35589 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35590 redundant variable declarations and reallocation of buffer when
35591 parsing as IPv6 address. Always set NSS status when called from
35592 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35593 buffer too small. Correct computation of needed size.
35594 * nss/Makefile (tests): Add test-digits-dots.
35595 * nss/test-digits-dots.c: New test.
35596
35597 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35598
35599 * benchtests/Makefile: Remove instructions for adding
35600 benchmark tests.
35601 * benchtests/README: New file to explain how to execute and
35602 enhance the benchmark tests.
35603
35604 2013-05-21 Andreas Schwab <schwab@suse.de>
35605
35606 [BZ #15493]
35607 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35608 * setjmp/tst-sigsetjmp.c: New test.
35609
35610 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35611
35612 * sysdeps/x86_64/memset.S (memset): New implementation.
35613 (__bzero): Likewise.
35614 (__memset_tail): New function.
35615
35616 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35617
35618 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35619 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35620 __memcpy_sse2_unaligned ifunc selection.
35621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35622 Add memcpy-sse2-unaligned.S.
35623 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35624 Add: __memcpy_sse2_unaligned.
35625
35626 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35627
35628 [BZ #15490]
35629 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35630 math_force_eval before restoring floating-point envrionment.
35631 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35633 Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35635 <math_private.h>.
35636 (__nearbyintl): Use math_force_eval before restoring
35637 floating-point environment.
35638 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35639
35640 * math/gen-libm-test.pl (special_functions): Remove.
35641 (parse_args): Don't handle TEST_extra. Handle functions with no
35642 return value.
35643 * math/libm-test.inc (struct test_sincos_data): Replace with
35644 struct test_fFF_11_data.
35645 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35646 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35647 (sincos_test_data): Change element type to struct
35648 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35649 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35650 RUN_TEST_LOOP_sincos.
35651 * math/README.libm-test: Don't mention special handling of
35652 individual functions.
35653 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35654 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35655 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35656 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35657 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35659
35660 * math/gen-libm-test.pl (get_variable): Remove function.
35661 (parse_args): Don't show pointer parameters to call in test
35662 names. Use "extra output N" in test names for extra outputs
35663 rather than naming variables.
35664
35665 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35666
35667 [BZ #15488]
35668 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35669 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35670 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35671 double tests.
35672 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35673 disable.
35674 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35675 check_long_double.
35676
35677 * math/gen-libm-test.pl (@tests): Remove variable.
35678 ($count): Likewise.
35679 (new_test): Remove function.
35680 (show_exceptions): New function.
35681 (special_functions): Use show_exceptions instead of new_test.
35682 (parse_args): Likewise.
35683 (generate_testfile): Pass only function name in generated call to
35684 print_max_error or print_complex_max_error.
35685 (get_ulps): Do not handle complex tests specially.
35686 (output_test): Rename to ...
35687 (get_all_ulps_for_test): ... this. Return a string rather than
35688 printing to a file. Require ulps to be present.
35689 (output_ulps): Generate arrays rather than #defines.
35690 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35691 (struct ulp_data): New type.
35692 (BUILD_COMPLEX_ULP): Remove macro.
35693 (compare_ulp_data): New function.
35694 (find_ulps): Likewise.
35695 (find_test_ulps): Likewise.
35696 (find_function_ulps): Likewise.
35697 (find_complex_function_ulps): Likewise.
35698 (print_max_error): Determine allowed ulps using
35699 find_function_ulps.
35700 (print_complex_max_error): Determine allowed ulps using
35701 find_complex_function_ulps.
35702 (check_float_internal): Determine max ulps using find_test_ulps.
35703 (check_float): Do not take max_ulp parameter. Update call to
35704 check_float_internal.
35705 (check_complex): Likewise.
35706 (check_int): Do not take max_ulp parameter.
35707 (check_long): Likewise.
35708 (check_bool): Likewise.
35709 (check_longlong): Likewise.
35710 (struct test_f_f_data): Remove max_ulp field.
35711 (struct test_ff_f_data): Likewise.
35712 (struct test_ff_f_data_nexttoward): Likewise.
35713 (struct test_fi_f_data): Likewise.
35714 (struct test_fl_f_data): Likewise.
35715 (struct test_if_f_data): Likewise.
35716 (struct test_fff_f_data): Likewise.
35717 (struct test_c_f_data): Likewise.
35718 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35719 (struct test_fF_f1_data): Likewise.
35720 (struct test_ffI_f1_data): Likewise.
35721 (struct test_c_c_data): Remove max_ulp field.
35722 (struct test_cc_c_data): Likewise.
35723 (struct test_f_i_data): Likewise.
35724 (struct test_ff_i_data): Likewise.
35725 (struct test_f_l_data): Likewise.
35726 (struct test_f_L_data): Likewise.
35727 (struct test_sincos_data): Likewise.
35728 (RUN_TEST_f_f): Do not handle ulps.
35729 (RUN_TEST_LOOP_f_f): Likewise.
35730 (RUN_TEST_2_f): Likewise.
35731 (RUN_TEST_LOOP_2_f): Likewise.
35732 (RUN_TEST_fff_f): Likewise.
35733 (RUN_TEST_LOOP_fff_f): Likewise.
35734 (RUN_TEST_c_f): Likewise.
35735 (RUN_TEST_LOOP_c_f): Likewise.
35736 (RUN_TEST_f_f1): Likewise.
35737 (RUN_TEST_LOOP_f_f1): Likewise.
35738 (RUN_TEST_fF_f1): Likewise.
35739 (RUN_TEST_LOOP_fF_f1): Likewise.
35740 (RUN_TEST_fI_f1): Likewise.
35741 (RUN_TEST_LOOP_fI_f1): Likewise.
35742 (RUN_TEST_ffI_f1): Likewise.
35743 (RUN_TEST_LOOP_ffI_f1): Likewise.
35744 (RUN_TEST_c_c): Likewise.
35745 (RUN_TEST_LOOP_c_c): Likewise.
35746 (RUN_TEST_cc_c): Likewise.
35747 (RUN_TEST_LOOP_cc_c): Likewise.
35748 (RUN_TEST_f_i): Likewise.
35749 (RUN_TEST_LOOP_f_i): Likewise.
35750 (RUN_TEST_f_i_tg): Likewise.
35751 (RUN_TEST_LOOP_f_i_tg): Likewise.
35752 (RUN_TEST_ff_i_tg): Likewise.
35753 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35754 (RUN_TEST_f_b): Likewise.
35755 (RUN_TEST_LOOP_f_b): Likewise.
35756 (RUN_TEST_f_b_tg): Likewise.
35757 (RUN_TEST_LOOP_f_b_tg): Likewise.
35758 (RUN_TEST_f_l): Likewise.
35759 (RUN_TEST_LOOP_f_l): Likewise.
35760 (RUN_TEST_f_L): Likewise.
35761 (RUN_TEST_LOOP_f_L): Likewise.
35762 (RUN_TEST_sincos): Likewise.
35763 (RUN_TEST_LOOP_sincos): Likewise.
35764
35765 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35766
35767 [BZ #15480]
35768 [BZ #15485]
35769 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35770 main case of finite arguments, set rounding mode to FE_TONEAREST
35771 and discard exceptions.
35772 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35773 exceptions.
35774 (remainder_tonearest_test_data): New variable.
35775 (remainder_test_tonearest): New function.
35776 (remainder_towardzero_test_data): New variable.
35777 (remainder_test_towardzero): New function.
35778 (remainder_downward_test_data): New variable.
35779 (remainder_test_downward): New function.
35780 (remainder_upward_test_data): New variable.
35781 (remainder_test_upward): New function.
35782 (main): Call the new test functions.
35783
35784 * math/libm-test.inc (struct test_f_f1_data): Remove field
35785 extra_init.
35786 (struct test_fF_f1_data): Likewise.
35787 (struct test_ffI_f1_data): Likewise.
35788 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35789 based on value of EXTRA_EXPECTED.
35790 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35791 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35792 EXTRA_VAR based on value of EXTRA_EXPECTED.
35793 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35794 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35795 EXTRA_VAR based on value of EXTRA_EXPECTED.
35796 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35797 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35798 EXTRA_VAR based on value of EXTRA_EXPECTED.
35799 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35800 * math/gen-libm-test.pl (parse_args): Don't output initializers
35801 for extra output values.
35802
35803 * math/libm-test.inc (check_int): Expect result to be exactly
35804 equal to expected value and do not handle ulps.
35805 (check_long): Likewise.
35806 (check_longlong): Likewise.
35807
35808 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35809 exceptions.
35810 (cimag_test_data): Likewise.
35811 (conj_test_data): Likewise.
35812 (copysign_test_data): Likewise.
35813 (cproj_test_data): Likewise.
35814 (creal_test_data): Likewise.
35815 (fabs_test_data): Likewise.
35816 (fdim_test_data): Likewise.
35817 (finite_test_data): Likewise.
35818 (floor_test_data): Likewise.
35819 (fmax_test_data): Likewise.
35820 (fmin_test_data): Likewise.
35821 (fmod_test_data): Likewise.
35822 (fpclassify_test_data): Likewise.
35823 (frexp_test_data): Likewise.
35824 (ilogb_test_data): Likewise.
35825 (isfinite_test_data): Likewise.
35826 (isgreater_test_data): Likewise.
35827 (isgreaterequal_test_data): Likewise.
35828 (isinf_test_data): Likewise.
35829 (isless_test_data): Likewise.
35830 (islessequal_test_data): Likewise.
35831 (islessgreater_test_data): Likewise.
35832 (isnan_test_data): Likewise.
35833 (isnormal_test_data): Likewise.
35834 (issignaling_test_data): Likewise.
35835 (isunordered_test_data): Likewise.
35836 (ldexp_test_data): Likewise.
35837 (lrint_test_data): Likewise.
35838 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35839 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35840 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35841 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35842 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35843 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35844 test input.
35845 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35846 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35847 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35848 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35849 that test input.
35850 (lrint_downward_test_data): Test for "inexact" exceptions.
35851 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35852 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35853 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35854 test input.
35855 (lrint_upward_test_data): Test for "inexact" exceptions.
35856 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35857 test input.
35858 (llrint_test_data): Test for "inexact" exceptions.
35859 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35860 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35861 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35862 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35863 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35864 (llrint_downward_test_data): Test for "inexact" exceptions.
35865 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35866 (llrint_upward_test_data): Test for "inexact" exceptions.
35867 (logb_test_data): Likewise.
35868 (logb_downward_test_data): Likewise.
35869 (nextafter_test_data): Likewise.
35870 (nexttoward_test_data): Likewise.
35871 (remainder_test_data): Likewise.
35872 (remquo_test_data): Likewise.
35873 (scalbn_test_data): Likewise.
35874 (scalbln_test_data): Likewise.
35875 (signbit_test_data): Likewise.
35876 (sqrt_test_data): Likewise.
35877 (significand_test_data): Likewise.
35878
35879 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35880
35881 [BZ #15424]
35882 * benchtests/bench-modf.c (struct args): Mark arg0 as
35883 volatile.
35884 * scripts/bench.pl: Mark members of struct args as volatile.
35885
35886 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35887
35888 [BZ # 15497]
35889 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35890 negative infinity on POWER6 or lower.
35891 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35892
35893 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35894
35895 [BZ #15442]
35896 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35897 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35898 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35899 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35900 (_FP_SETQNAN): New macro.
35901 (_FP_SETQNAN_SEMIRAW): Likewise.
35902 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35903 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35904 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35905 (FP_EXTEND): Use _FP_FRAC_SNANP.
35906 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35907 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35908 into account.
35909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35910 New macro.
35911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35912 Likewise.
35913
35914 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35915
35916 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35917 with DIVIDE_BY_ZERO_EXCEPTION.
35918 (gamma_test_data): Likewise.
35919 (lgamma_test_data): Likewise.
35920 (log_test_data): Likewise.
35921 (log10_test_data): Likewise.
35922 (log2_test_data): Likewise.
35923 (tgamma_test_data): Likewise.
35924
35925 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35926 (acos_test_tonearest): Likewise.
35927 (acos_test_towardzero): Likewise.
35928 (acos_test_downward): Likewise.
35929 (acos_test_upward): Likewise.
35930 (acosh_test): Likewise.
35931 (asin_test): Likewise.
35932 (asin_test_tonearest): Likewise.
35933 (asin_test_towardzero): Likewise.
35934 (asin_test_downward): Likewise.
35935 (asin_test_upward): Likewise.
35936 (asinh_test): Likewise.
35937 (atan_test): Likewise.
35938 (atanh_test): Likewise.
35939 (atan2_test): Likewise.
35940 (cabs_test): Likewise.
35941 (cacos_test): Likewise.
35942 (cacosh_test): Likewise.
35943 (casin_test): Likewise.
35944 (casinh_test): Likewise.
35945 (catan_test): Likewise.
35946 (catanh_test): Likewise.
35947 (cbrt_test): Likewise.
35948 (ccos_test): Likewise.
35949 (ccosh_test): Likewise.
35950 (cexp_test): Likewise.
35951 (clog_test): Likewise.
35952 (clog10_test): Likewise.
35953 (cos_test): Likewise.
35954 (cos_test_tonearest): Likewise.
35955 (cos_test_towardzero): Likewise.
35956 (cos_test_downward): Likewise.
35957 (cos_test_upward): Likewise.
35958 (cosh_test): Likewise.
35959 (cosh_test_tonearest): Likewise.
35960 (cosh_test_towardzero): Likewise.
35961 (cosh_test_downward): Likewise.
35962 (cosh_test_upward): Likewise.
35963 (cpow_test): Likewise.
35964 (csin_test): Likewise.
35965 (csinh_test): Likewise.
35966 (csqrt_test): Likewise.
35967 (ctan_test): Likewise.
35968 (ctan_test_tonearest): Likewise.
35969 (ctan_test_towardzero): Likewise.
35970 (ctan_test_downward): Likewise.
35971 (ctan_test_upward): Likewise.
35972 (ctanh_test): Likewise.
35973 (ctanh_test_tonearest): Likewise.
35974 (ctanh_test_towardzero): Likewise.
35975 (ctanh_test_downward): Likewise.
35976 (ctanh_test_upward): Likewise.
35977 (erf_test): Likewise.
35978 (erfc_test): Likewise.
35979 (exp_test): Likewise.
35980 (exp_test_tonearest): Likewise.
35981 (exp_test_towardzero): Likewise.
35982 (exp_test_downward): Likewise.
35983 (exp_test_upward): Likewise.
35984 (exp10_test): Likewise.
35985 (exp2_test): Likewise.
35986 (expm1_test): Likewise.
35987 (fmod_test): Likewise.
35988 (gamma_test): Likewise.
35989 (hypot_test): Likewise.
35990 (j0_test): Likewise.
35991 (j1_test): Likewise.
35992 (jn_test): Likewise.
35993 (lgamma_test): Likewise.
35994 (log_test): Likewise.
35995 (log10_test): Likewise.
35996 (log1p_test): Likewise.
35997 (log2_test): Likewise.
35998 (logb_test_downward): Likewise.
35999 (pow_test): Likewise.
36000 (pow_test_tonearest): Likewise.
36001 (pow_test_towardzero): Likewise.
36002 (pow_test_downward): Likewise.
36003 (pow_test_upward): Likewise.
36004 (remainder_test): Likewise.
36005 (remquo_test): Likewise.
36006 (sin_test): Likewise.
36007 (sin_test_tonearest): Likewise.
36008 (sin_test_towardzero): Likewise.
36009 (sin_test_downward): Likewise.
36010 (sin_test_upward): Likewise.
36011 (sincos_test): Likewise.
36012 (sinh_test): Likewise.
36013 (sinh_test_tonearest): Likewise.
36014 (sinh_test_towardzero): Likewise.
36015 (sinh_test_downward): Likewise.
36016 (sinh_test_upward): Likewise.
36017 (sqrt_test): Likewise.
36018 (tan_test): Likewise.
36019 (tan_test_tonearest): Likewise.
36020 (tan_test_towardzero): Likewise.
36021 (tan_test_downward): Likewise.
36022 (tan_test_upward): Likewise.
36023 (tanh_test): Likewise.
36024 (tgamma_test): Likewise.
36025 (y0_test): Likewise.
36026 (y1_test): Likewise.
36027 (yn_test): Likewise.
36028
36029 * math/gen-libm-test.pl (adjust_arg): Remove function.
36030 (special_function): Remove argument $in_func. Only handle
36031 generating output for tables of tests, not inside functions.
36032 (parse_args): Likewise.
36033 (generate_testfile): Remove variable $in_func. Update call to
36034 parse_args.
36035 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36036 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36037 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36038 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36039 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36040 (MAX_VALUE_INIT): Rename macro to max_value.
36041 (MIN_VALUE_INIT): Rename macro to min_value.
36042 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36043 (plus_zero): Remove variable.
36044 (minus_zero): Likewise.
36045 (plus_infty): Likewise.
36046 (minus_infty): Likewise.
36047 (qnan_value): Likewise.
36048 (max_value): Likewise.
36049 (min_value): Likewise.
36050 (min_subnorm_value): Likewise.
36051
36052 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36053
36054 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36055 uint64_t or uint32_t usage.
36056 * crypt/sha256-block.c: Likewise.
36057 * crypt/sha256-crypt.c: Likewise.
36058 * crypt/sha256.c: Likewise.
36059 * crypt/sha512-block.c: Likewise.
36060 * crypt/sha512-crypt.c: Likewise.
36061 * crypt/sha512.c: Likewise.
36062 * debug/backtrace-tst.c: Likewise.
36063 * debug/pcprofiledump.c: Likewise.
36064 * elf/cache.c: Likewise.
36065 * elf/dl-cache.c: Likewise.
36066 * elf/dl-misc.c: Likewise.
36067 * elf/dl-profile.c: Likewise.
36068 * elf/dl-support.c: Likewise.
36069 * elf/ldconfig.c: Likewise.
36070 * elf/sprof.c: Likewise.
36071 * iconv/dummy-repertoire.c: Likewise.
36072 * iconv/iconv_charmap.c: Likewise.
36073 * iconv/skeleton.c: Likewise.
36074 * iconvdata/8bit-generic.c: Likewise.
36075 * iconvdata/cp737.h: Likewise.
36076 * iconvdata/cp775.h: Likewise.
36077 * iconvdata/ibm1008.h: Likewise.
36078 * iconvdata/ibm1025.h: Likewise.
36079 * iconvdata/ibm1046.h: Likewise.
36080 * iconvdata/ibm1097.h: Likewise.
36081 * iconvdata/ibm1112.h: Likewise.
36082 * iconvdata/ibm1122.h: Likewise.
36083 * iconvdata/ibm1123.h: Likewise.
36084 * iconvdata/ibm1124.h: Likewise.
36085 * iconvdata/ibm1129.h: Likewise.
36086 * iconvdata/ibm1130.h: Likewise.
36087 * iconvdata/ibm1132.h: Likewise.
36088 * iconvdata/ibm1133.h: Likewise.
36089 * iconvdata/ibm1137.h: Likewise.
36090 * iconvdata/ibm1140.h: Likewise.
36091 * iconvdata/ibm1141.h: Likewise.
36092 * iconvdata/ibm1142.h: Likewise.
36093 * iconvdata/ibm1143.h: Likewise.
36094 * iconvdata/ibm1144.h: Likewise.
36095 * iconvdata/ibm1145.h: Likewise.
36096 * iconvdata/ibm1146.h: Likewise.
36097 * iconvdata/ibm1147.h: Likewise.
36098 * iconvdata/ibm1148.h: Likewise.
36099 * iconvdata/ibm1149.h: Likewise.
36100 * iconvdata/ibm1153.h: Likewise.
36101 * iconvdata/ibm1154.h: Likewise.
36102 * iconvdata/ibm1155.h: Likewise.
36103 * iconvdata/ibm1156.h: Likewise.
36104 * iconvdata/ibm1157.h: Likewise.
36105 * iconvdata/ibm1158.h: Likewise.
36106 * iconvdata/ibm1160.h: Likewise.
36107 * iconvdata/ibm1161.h: Likewise.
36108 * iconvdata/ibm1162.h: Likewise.
36109 * iconvdata/ibm1163.h: Likewise.
36110 * iconvdata/ibm1164.h: Likewise.
36111 * iconvdata/ibm1166.h: Likewise.
36112 * iconvdata/ibm1167.h: Likewise.
36113 * iconvdata/ibm12712.h: Likewise.
36114 * iconvdata/ibm1390.h: Likewise.
36115 * iconvdata/ibm1399.h: Likewise.
36116 * iconvdata/ibm16804.h: Likewise.
36117 * iconvdata/ibm4517.h: Likewise.
36118 * iconvdata/ibm4899.h: Likewise.
36119 * iconvdata/ibm4909.h: Likewise.
36120 * iconvdata/ibm4971.h: Likewise.
36121 * iconvdata/ibm5347.h: Likewise.
36122 * iconvdata/ibm803.h: Likewise.
36123 * iconvdata/ibm856.h: Likewise.
36124 * iconvdata/ibm901.h: Likewise.
36125 * iconvdata/ibm902.h: Likewise.
36126 * iconvdata/ibm9030.h: Likewise.
36127 * iconvdata/ibm9066.h: Likewise.
36128 * iconvdata/ibm921.h: Likewise.
36129 * iconvdata/ibm922.h: Likewise.
36130 * iconvdata/ibm9448.h: Likewise.
36131 * iconvdata/isiri-3342.h: Likewise.
36132 * iconvdata/jis0201.h: Likewise.
36133 * include/link.h: Likewise.
36134 * include/netdb.h: Likewise.
36135 * inet/check_native.c: Likewise.
36136 * inet/check_pf.c: Likewise.
36137 * inet/getipv4sourcefilter.c: Likewise.
36138 * inet/getnameinfo.c: Likewise.
36139 * inet/getsourcefilter.c: Likewise.
36140 * inet/htonl.c: Likewise.
36141 * inet/setipv4sourcefilter.c: Likewise.
36142 * inet/setsourcefilter.c: Likewise.
36143 * inet/test-inet6_opt.c: Likewise.
36144 * inet/tst-network.c: Likewise.
36145 * locale/C-collate.c: Likewise.
36146 * locale/C-ctype.c: Likewise.
36147 * locale/C-time.c: Likewise.
36148 * locale/C-translit.h: Likewise.
36149 * locale/loadarchive.c: Likewise.
36150 * locale/programs/3level.h: Likewise.
36151 * locale/programs/charmap.c: Likewise.
36152 * locale/programs/charmap.h: Likewise.
36153 * locale/programs/ld-address.c: Likewise.
36154 * locale/programs/ld-collate.c: Likewise.
36155 * locale/programs/ld-ctype.c: Likewise.
36156 * locale/programs/ld-identification.c: Likewise.
36157 * locale/programs/ld-measurement.c: Likewise.
36158 * locale/programs/ld-messages.c: Likewise.
36159 * locale/programs/ld-monetary.c: Likewise.
36160 * locale/programs/ld-name.c: Likewise.
36161 * locale/programs/ld-numeric.c: Likewise.
36162 * locale/programs/ld-paper.c: Likewise.
36163 * locale/programs/ld-telephone.c: Likewise.
36164 * locale/programs/ld-time.c: Likewise.
36165 * locale/programs/linereader.c: Likewise.
36166 * locale/programs/locale.c: Likewise.
36167 * locale/programs/locarchive.c: Likewise.
36168 * locale/programs/locfile.h: Likewise.
36169 * locale/programs/repertoire.c: Likewise.
36170 * locale/programs/simple-hash.c: Likewise.
36171 * locale/programs/simple-hash.h: Likewise.
36172 * malloc/memusage.c: Likewise.
36173 * malloc/memusagestat.c: Likewise.
36174 * nis/nis_defaults.c: Likewise.
36175 * nis/nis_hash.c: Likewise.
36176 * nis/nis_print.c: Likewise.
36177 * nis/nis_xdr.c: Likewise.
36178 * nscd/connections.c: Likewise.
36179 * nscd/hstcache.c: Likewise.
36180 * nscd/nscd_gethst_r.c: Likewise.
36181 * nscd/nscd_getserv_r.c: Likewise.
36182 * nscd/nscd_helper.c: Likewise.
36183 * nscd/servicescache.c: Likewise.
36184 * nss/makedb.c: Likewise.
36185 * nss/nss_db/db-XXX.c: Likewise.
36186 * nss/nss_db/db-initgroups.c: Likewise.
36187 * nss/nss_db/db-netgrp.c: Likewise.
36188 * nss/nss_files/files-network.c: Likewise.
36189 * nss/nss_files/files-parse.c: Likewise.
36190 * posix/bug-regex5.c: Likewise.
36191 * posix/fnmatch_loop.c: Likewise.
36192 * posix/regcomp.c: Likewise.
36193 * posix/regexec.c: Likewise.
36194 * posix/tst-rfc3484-2.c: Likewise.
36195 * posix/tst-rfc3484-3.c: Likewise.
36196 * posix/tst-rfc3484.c: Likewise.
36197 * resolv/nss_dns/dns-canon.c: Likewise.
36198 * resolv/nss_dns/dns-network.c: Likewise.
36199 * resolv/res_init.c: Likewise.
36200 * resolv/res_mkquery.c: Likewise.
36201 * resolv/tst-aton.c: Likewise.
36202 * stdlib/cxa_atexit.c: Likewise.
36203 * stdlib/cxa_finalize.c: Likewise.
36204 * stdlib/gen-fpioconst.c: Likewise.
36205 * stdlib/strtol_l.c: Likewise.
36206 * string/tst-endian.c: Likewise.
36207 * sunrpc/auth_des.c: Likewise.
36208 * sunrpc/clnt_udp.c: Likewise.
36209 * sunrpc/rtime.c: Likewise.
36210 * sunrpc/svcauth_des.c: Likewise.
36211 * sunrpc/xdr.c: Likewise.
36212 * sunrpc/xdr_intXX_t.c: Likewise.
36213 * sunrpc/xdr_rec.c: Likewise.
36214 * sysdeps/generic/ldconfig.h: Likewise.
36215 * sysdeps/generic/ldsodefs.h: Likewise.
36216 * sysdeps/generic/memusage.h: Likewise.
36217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36218 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36219 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36221 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36223 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36224 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36227 * sysdeps/posix/getaddrinfo.c: Likewise.
36228 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36229 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36230 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36231 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36232 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36233 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36234 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36235 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36236 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36237 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36238 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36239 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36240 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36241 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36242 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36243 * sysdeps/x86_64/dl-tls.h: Likewise.
36244 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36245 * time/alt_digit.c: Likewise.
36246 * time/era.c: Likewise.
36247 * wcsmbs/tst-c16c32-1.c: Likewise.
36248
36249 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36250
36251 * math/libm-test.inc (struct test_sincos_data): New type.
36252 (RUN_TEST_LOOP_sincos): New macro.
36253 (sincos_test_data): New variable.
36254 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36255
36256 2013-05-16 Richard Henderson <rth@redhat.com>
36257
36258 * math/atest-exp2.c (LIMB64): New macro.
36259 (CONSTSZ): New macro.
36260 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36261 (hexdig): Move ...
36262 (print_mpn_fp): ... to function scope.
36263 (read_mpn_hex): Remove.
36264 (get_log2): Remove.
36265 (exp2_mpn): Use mp_log2.
36266 (main): Use mp_exp1.
36267
36268 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36269
36270 * math/libm-test.inc: Remove comment about not testing "inexact"
36271 exceptions.
36272 (INEXACT_EXCEPTION): New macro.
36273 (NO_INEXACT_EXCEPTION): Likewise.
36274 (INVALID_EXCEPTION_OK): Update value.
36275 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36276 (OVERFLOW_EXCEPTION_OK): Likewise.
36277 (UNDERFLOW_EXCEPTION_OK): Likewise.
36278 (IGNORE_ZERO_INF_SIGN): Likewise.
36279 (ERRNO_UNCHANGED): Likewise.
36280 (ERRNO_EDOM): Likewise.
36281 (ERRNO_ERANGE): Likewise.
36282 (test_exceptions): Handle testing "inexact" exceptions.
36283 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36284 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36285 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36286 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36287 INEXACT_EXCEPTION.
36288 (rint_towardzero_test_data): Likewise.
36289 (rint_downward_test_data): Likewise.
36290 (rint_upward_test_data): Likewise.
36291
36292 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36293 with OVERFLOW_EXCEPTION.
36294 (exp10_test_data): Likewise.
36295 (exp2_test_data): Likewise.
36296 (expm1_test_data): Likewise.
36297 (lgamma_test_data): Likewise.
36298 (pow_test_data): Likewise.
36299 (tgamma_test_data): Likewise.
36300 (yn_test_data): Remove duplicate test of overflow.
36301
36302 * math/libm-test.inc (struct test_cc_c_data): New type.
36303 (RUN_TEST_LOOP_cc_c): New macro.
36304 (cpow_test_data): New variable.
36305 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36306
36307 * math/libm-test.inc (struct test_f_L_data): New type.
36308 (RUN_TEST_LOOP_f_L): New macro.
36309 (llrint_test_data): New variable.
36310 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36311 (llrint_tonearest_test_data): New variable.
36312 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36313 (llrint_towardzero_test_data): New variable.
36314 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36315 (llrint_downward_test_data): New variable.
36316 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36317 (llrint_upward_test_data): New variable.
36318 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36319 (llround_test_data): New variable.
36320 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36321
36322 2013-05-13 Peter Collingbourne <pcc@google.com>
36323
36324 * math/atest-exp2.c (get_log2): Remove const attribute.
36325
36326 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36327
36328 * math/libm-test.inc (struct test_f_l_data): New type.
36329 (RUN_TEST_LOOP_f_l): New macro.
36330 (lrint_test_data): New variable.
36331 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36332 (lrint_tonearest_test_data): New variable.
36333 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36334 (lrint_towardzero_test_data): New variable.
36335 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36336 (lrint_downward_test_data): New variable.
36337 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36338 (lrint_upward_test_data): New variable.
36339 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36340 (lround_test_data): New variable.
36341 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36342
36343 2013-05-15 Peter Collingbourne <pcc@google.com>
36344
36345 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36346 (EXTRACT_WORDS64) Use where appropriate.
36347 (INSERT_WORDS64) Likewise.
36348
36349 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36350 constraints with x constraints.
36351 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36352
36353 * malloc/obstack.c (_obstack_compat): Add initializer.
36354
36355 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36356
36357 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36358 si_trapno and add si_addr_lsb to _sifields.sigfault.
36359 (si_trapno): Remove macro.
36360 (si_addr_lsb): Define new macro.
36361 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36362
36363 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36364
36365 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36366 instead of TEST_f_l.
36367 (llrint_test_tonearest): Likewise.
36368 (llrint_test_towardzero): Likewise.
36369 (llrint_test_downward): Likewise.
36370 (llrint_test_upward): Likewise.
36371 (llround_test): Likewise.
36372
36373 * math/libm-test.inc (struct test_f_i_data): Add comment.
36374 (RUN_TEST_LOOP_f_b): New macro.
36375 (RUN_TEST_LOOP_f_b_tg): Likewise.
36376 (finite_test_data): New variable.
36377 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36378 (isfinite_test_data): New variable.
36379 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36380 (isinf_test_data): New variable.
36381 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36382 (isnan_test_data): New variable.
36383 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36384 (isnormal_test_data): New variable.
36385 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36386 (issignaling_test_data): New variable.
36387 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36388 (signbit_test_data): New variable.
36389 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36390
36391 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36392 with INVALID_EXCEPTION.
36393 (acosh_test_data): Likewise.
36394 (asin_test_data): Likewise.
36395 (atanh_test_data): Likewise.
36396 (fmod_test_data): Likewise.
36397 (log_test_data): Likewise.
36398 (log10_test_data): Likewise.
36399 (log2_test_data): Likewise.
36400 (pow_test_data): Likewise.
36401 (sqrt_test_data): Likewise.
36402 (y0_test_data): Likewise.
36403 (y1_test_data): Likewise.
36404 (yn_test_data): Likewise.
36405
36406 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36407 function contents.
36408
36409 * math/libm-test.inc (struct test_ff_i_data): New type.
36410 (RUN_TEST_LOOP_ff_i_tg): New macro.
36411 (isgreater_test_data): New variable.
36412 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36413 (isgreaterequal_test_data): New variable.
36414 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36415 (isless_test_data): New variable.
36416 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36417 (islessequal_test_data): New variable.
36418 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36419 (islessgreater_test_data): New variable.
36420 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36421 (isunordered_test_data): New variable.
36422 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36423
36424 2013-05-14 David S. Miller <davem@davemloft.net>
36425
36426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36427
36428 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36429
36430 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36431
36432 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36433 extra_test to int.
36434 (struct test_f_i_data): Change type of max_ulp to int.
36435
36436 * math/libm-test.inc (test_ffI_f1_data): New type.
36437 (RUN_TEST_LOOP_ffI_f1): New macro.
36438 (remquo_test_data): New variable.
36439 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36440
36441 * setjmp/tst-setjmp-fp.c: New file.
36442 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36443 (link-libm): New variable.
36444 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36445
36446 * math/libm-test.inc (struct test_f_i_data): New type.
36447 (RUN_TEST_LOOP_f_i): New macro.
36448 (RUN_TEST_LOOP_f_i_tg): Likewise.
36449 (fpclassify_test_data): New variable.
36450 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36451 (ilogb_test_data): New variable.
36452 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36453
36454 * math/libm-test.inc (scalbln_test): Correct function name in END
36455 call.
36456
36457 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36458 (RUN_TEST_LOOP_fI_f1): New macro.
36459 (frexp_test_data): New variable.
36460 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36461
36462 * math/libm-test.inc (struct test_fF_f1_data): New type.
36463 (RUN_TEST_LOOP_fF_f1): New macro.
36464 (modf_test_data): New variable.
36465 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36466
36467 * math/libm-test.inc (struct test_f_f1_data): New type.
36468 (RUN_TEST_LOOP_f_f1): New macro.
36469 (gamma_test_data): New variable.
36470 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36471 (lgamma_test_data): New variable.
36472 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36473
36474 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36475
36476 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36477 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36478 (main): Comment "tls" pseudo-hwcap.
36479
36480 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36481
36482 * math/libm-test.inc (struct test_fl_f_data): New type.
36483 (RUN_TEST_LOOP_fl_f): New variable.
36484 (scalbln_test_data): New variable.
36485 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36486
36487 * math/libm-test.inc (struct test_fi_f_data): New type.
36488 (RUN_TEST_LOOP_fi_f): New macro.
36489 (ldexp_test_data): New variable.
36490 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36491 (scalbn_test_data): New variable.
36492 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36493
36494 * math/libm-test.inc (struct test_c_f_data): New type.
36495 (RUN_TEST_LOOP_c_f): New macro.
36496 (cabs_test_data): New variable.
36497 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36498 (carg_test_data): New variable.
36499 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36500 (cimag_test_data): New variable.
36501 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36502 (creal_test_data): New variable.
36503 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36504
36505 * math/libm-test.inc (struct test_if_f_data): New type.
36506 (RUN_TEST_LOOP_if_f): New macro.
36507 (jn_test_data): New variable.
36508 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36509 (yn_test_data): New variable.
36510 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36511
36512 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36513
36514 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36515
36516 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36517 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36518
36519 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36520
36521 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36522 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36523 (bench-deps): Add bench-timing.h.
36524 * benchtests-bench-skeleton.c: Include bench-timing.h.
36525 (main): Use TIMING_* macros instead of clock_gettime.
36526 * benchtests/bench-timing.h: New file.
36527
36528 [BZ #14582]
36529 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36530 Renamed from _LIB_VERSION.
36531 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36532
36533 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36534
36535 * math/libm-test.inc (struct test_fff_f_data): New type.
36536 (RUN_TEST_LOOP_fff_f): New macro.
36537 (fma_test_data): New variable.
36538 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36539 (fma_towardzero_test_data): New variable.
36540 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36541 (fma_downward_test_data): New variable.
36542 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36543 (fma_upward_test_data): New variable.
36544 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36545
36546 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36547 (struct test_c_c_data): New type.
36548 (RUN_TEST_LOOP_c_c): New macro.
36549 (cacos_test_data): New variable.
36550 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36551 (cacosh_test_data): New variable.
36552 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36553 (casin_test_data): New variable.
36554 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36555 (casinh_test_data): New variable.
36556 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36557 (catan_test_data): New variable.
36558 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36559 (catanh_test_data): New variable.
36560 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36561 (ccos_test_data): New variable.
36562 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36563 (ccosh_test_data): New variable.
36564 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36565 (cexp_test_data): New variable.
36566 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36567 (clog_test_data): New variable.
36568 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36569 (clog10_test_data): New variable.
36570 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36571 (conj_test_data): New variable.
36572 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36573 (cproj_test_data): New variable.
36574 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36575 (csin_test_data): New variable.
36576 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36577 (csinh_test_data): New variable.
36578 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36579 (csqrt_test_data): New variable.
36580 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36581 (ctan_test_data): New variable.
36582 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36583 (ctan_tonearest_test_data): New variable.
36584 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36585 (ctan_towardzero_test_data): New variable.
36586 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36587 (ctan_downward_test_data): New variable.
36588 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36589 (ctan_upward_test_data): New variable.
36590 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36591 (ctanh_test_data): New variable.
36592 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36593 (ctanh_tonearest_test_data): New variable.
36594 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36595 (ctanh_towardzero_test_data): New variable.
36596 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36597 (ctanh_downward_test_data): New variable.
36598 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36599 (ctanh_upward_test_data): New variable.
36600 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36601 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36602 of BUILD_COMPLEX.
36603
36604 * math/libm-test.inc (struct test_ff_f_data): New type.
36605 (struct test_ff_f_data_nexttoward): Likewise.
36606 (RUN_TEST_LOOP_2_f): New macro.
36607 (RUN_TEST_LOOP_ff_f): Likewise.
36608 (atan2_test_data): New variable.
36609 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36610 (copysign_test_data): New variable.
36611 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36612 (fdim_test_data): New variable.
36613 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36614 (fmax_test_data): New variable.
36615 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36616 (fmin_test_data): New variable.
36617 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36618 (fmod_test_data): New variable.
36619 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36620 (hypot_test_data): New variable.
36621 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36622 (nextafter_test_data): New variable.
36623 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36624 (nexttoward_test_data): New variable.
36625 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36626 (pow_test_data): New variable.
36627 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36628 (pow_tonearest_test_data): New variable.
36629 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36630 (pow_towardzero_test_data): New variable.
36631 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36632 (pow_downward_test_data): New variable.
36633 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36634 (pow_upward_test_data): New variable.
36635 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36636 (remainder_test_data): New variable.
36637 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36638 (scalb_test_data): New variable.
36639 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36640 * sysdeps/i386/fpu/libm-test-ulps: Update.
36641
36642 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36643
36644 * math/libm-test.inc (fma_test): Use max_value instead of local
36645 variable fltmax.
36646 (nextafter_test): Likewise.
36647
36648 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36649 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36650 (acos_downward_test_data): New variable.
36651 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36652 (acos_upward_test_data): New variable.
36653 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36654 (acosh_test_data): New variable.
36655 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36656 (asin_test_data): New variable.
36657 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36658 (asin_tonearest_test_data): New variable.
36659 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36660 (asin_towardzero_test_data): New variable.
36661 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36662 (asin_downward_test_data): New variable.
36663 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36664 (asin_upward_test_data): New variable.
36665 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36666 (asinh_test_data): New variable.
36667 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36668 (atan_test_data): New variable.
36669 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36670 (atanh_test_data): New variable.
36671 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36672 (cbrt_test_data): New variable.
36673 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36674 (ceil_test_data): New variable.
36675 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36676 (cos_test_data): New variable.
36677 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36678 (cos_tonearest_test_data): New variable.
36679 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36680 (cos_towardzero_test_data): New variable.
36681 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36682 (cos_downward_test_data): New variable.
36683 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36684 (cos_upward_test_data): New variable.
36685 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36686 (cosh_test_data): New variable.
36687 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36688 (cosh_tonearest_test_data): New variable.
36689 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36690 (cosh_towardzero_test_data): New variable.
36691 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36692 (cosh_downward_test_data): New variable.
36693 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36694 (cosh_upward_test_data): New variable.
36695 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36696 (erf_test_data): New variable.
36697 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36698 (erfc_test_data): New variable.
36699 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36700 (exp_test_data): New variable.
36701 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36702 (exp_tonearest_test_data): New variable.
36703 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36704 (exp_towardzero_test_data): New variable.
36705 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36706 (exp_downward_test_data): New variable.
36707 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36708 (exp_upward_test_data): New variable.
36709 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36710 (exp10_test_data): New variable.
36711 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36712 (exp2_test_data): New variable.
36713 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36714 (expm1_test_data): New variable.
36715 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36716 (fabs_test_data): New variable.
36717 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36718 (floor_test_data): New variable.
36719 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36720 (j0_test_data): New variable.
36721 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36722 (j1_test_data): New variable.
36723 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36724 (log_test_data): New variable.
36725 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36726 (log10_test_data): New variable.
36727 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36728 (log1p_test_data): New variable.
36729 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36730 (log2_test_data): New variable.
36731 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36732 (logb_test_data): New variable.
36733 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36734 (logb_downward_test_data): New variable.
36735 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36736 (nearbyint_test_data): New variable.
36737 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36738 (rint_test_data): New variable.
36739 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36740 (rint_tonearest_test_data): New variable.
36741 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36742 (rint_towardzero_test_data): New variable.
36743 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36744 (rint_downward_test_data): New variable.
36745 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36746 (rint_upward_test_data): New variable.
36747 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36748 (round_test_data): New variable.
36749 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36750 (sin_test_data): New variable.
36751 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36752 (sin_tonearest_test_data): New variable.
36753 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36754 (sin_towardzero_test_data): New variable.
36755 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36756 (sin_downward_test_data): New variable.
36757 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36758 (sin_upward_test_data): New variable.
36759 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36760 (sinh_test_data): New variable.
36761 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36762 (sinh_tonearest_test_data): New variable.
36763 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36764 (sinh_towardzero_test_data): New variable.
36765 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36766 (sinh_downward_test_data): New variable.
36767 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36768 (sinh_upward_test_data): New variable.
36769 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36770 (sqrt_test_data): New variable.
36771 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36772 (tan_test_data): New variable.
36773 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36774 (tan_tonearest_test_data): New variable.
36775 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36776 (tan_towardzero_test_data): New variable.
36777 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36778 (tan_downward_test_data): New variable.
36779 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36780 (tan_upward_test_data): New variable.
36781 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36782 (tanh_test_data): New variable.
36783 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36784 (tgamma_test_data): New variable.
36785 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36786 (trunc_test_data): New variable.
36787 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36788 (y0_test_data): New variable.
36789 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36790 (y1_test_data): New variable.
36791 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36792 (significand_test_data): New variable.
36793 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36794
36795 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36796
36797 [BZ #12387]
36798 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36799
36800 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36801
36802 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36803
36804 2013-05-10 Andreas Jaeger <aj@suse.de>
36805
36806 [BZ #15448]
36807 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36808 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36809
36810 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36811
36812 * math/gen-libm-test.pl (adjust_arg): New function.
36813 (special_functions): Handle generating output in both functions
36814 and arrays.
36815 (parse_args): Likewise.
36816 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36817 $in_func argument to parse_args.
36818 * math/libm-test.inc (struct test_f_f_data): New type.
36819 (IF_ROUND_INIT_): New macro.
36820 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36821 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36822 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36823 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36824 (ROUND_RESTORE_): Likewise.
36825 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36826 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36827 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36828 (ROUND_RESTORE_FE_UPWARD): Likewise.
36829 (RUN_TEST_LOOP_f_f): New macro.
36830 (acos_test_data): New variable.
36831 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36832 (acos_tonearest_test_data): New variable.
36833 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36834
36835 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36836
36837 * benchtests/bench-skeleton.c (startup): Fix coding style.
36838
36839 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36840
36841 [BZ #6809]
36842 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36843 negative infinity argument.
36844 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36845 negative infinity argument.
36846 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36847 negative infinity argument.
36848 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36849 domain errors.
36850
36851 2013-05-10 Florian Weimer <fweimer@redhat.com>
36852
36853 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36854 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36855 * iconv/iconv_prog.c (main): Likewise.
36856 * locale/programs/charmap-dir.c (charmap_readdir)
36857 (fopen_uncompressed): Likewise.
36858 * locale/programs/locfile.c (siblings_uncached)
36859 (write_locale_data): Use lstat64 instead of lstat.
36860 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36861 stat.
36862
36863 2013-05-10 Andreas Jaeger <aj@suse.de>
36864
36865 [BZ #15395]
36866 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36867 localization.
36868 Include <locale.h>.
36869
36870 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36871
36872 * elf/dl-close.c (_dl_close_worker): Add comments.
36873
36874 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36875
36876 [BZ #15359]
36877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36878 high part of pi/2.
36879 (__ieee754_rem_pio2l): Update comments.
36880
36881 [BZ #15429]
36882 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36883 high part of pi/2.
36884 (__ieee754_rem_pio2l): Update comments.
36885
36886 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36887 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36888
36889 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36890 M_PI_4l.
36891
36892 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36893 (M_PI_34_LOG10El): Likewise.
36894 (M_PI2_LOG10El): Likewise.
36895 (M_PI4_LOG10El): Likewise.
36896 (M_PI_LOG10El): Likewise.
36897
36898 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36899
36900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36901
36902 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36903
36904 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36905 (MINUS_ZERO_INIT): Likewise.
36906 (PLUS_INFTY_INIT): Likewise.
36907 (MINUS_INFTY_INIT): Likewise.
36908 (QNAN_VALUE_INIT): Likewise.
36909 (MAX_VALUE_INIT): Likewise.
36910 (MIN_VALUE_INIT): Likewise.
36911 (MIN_SUBNORM_VALUE_INIT): Likewise.
36912 (plus_zero): Initialize with PLUS_ZERO_INIT.
36913 (minus_zero): Initialize with MINUS_ZERO_INIT.
36914 (plus_infty): Initialize with PLUS_INFTY_INIT.
36915 (minus_infty): Initialize with MINUS_INFTY_INIT.
36916 (qnan_value): Initialize with QNAN_VALUE_INIT.
36917 (max_value): Initialize with MAX_VALUE_INIT.
36918 (min_value): Initialize with MIN_VALUE_INIT.
36919 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36920
36921 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36922 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36923 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36924 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36925
36926 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36927 (RUN_TEST_2_f): Likewise.
36928 (RUN_TEST_ff_f): Likewise.
36929 (RUN_TEST_fi_f): Likewise.
36930 (RUN_TEST_fl_f): Likewise.
36931 (RUN_TEST_fff_f): Likewise.
36932 (RUN_TEST_c_f): Likewise.
36933 (RUN_TEST_f_f1): Likewise.
36934 (RUN_TEST_fF_f1): Likewise.
36935 (RUN_TEST_fI_f1): Likewise.
36936 (RUN_TEST_ffI_f1): Likewise.
36937 (RUN_TEST_c_c): Likewise.
36938 (RUN_TEST_cc_c): Likewise.
36939 (RUN_TEST_f_i): Likewise.
36940 (RUN_TEST_f_i_tg): Likewise.
36941 (RUN_TEST_ff_i_tg): Likewise.
36942 (RUN_TEST_f_b): Likewise.
36943 (RUN_TEST_f_b_tg): Likewise.
36944 (RUN_TEST_f_l): Likewise.
36945 (RUN_TEST_f_L): Likewise.
36946 (RUN_TEST_sincos): Likewise.
36947 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36948 whether to show exceptions. Do not include ");\n" in return
36949 value.
36950 (special_functions): Output call to RUN_TEST_sincos instead of
36951 check_float calls. Update calls to new_test.
36952 (parse_args): Output call to single RUN_TEST_* macro instead of
36953 check_* calls and other assignments. Update calls to new_test.
36954
36955 [BZ #2546]
36956 [BZ #2560]
36957 [BZ #5159]
36958 [BZ #15426]
36959 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36960 input to result for tgamma overflow.
36961 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36962 (gamma_coeff): New variable.
36963 (NCOEFF): New macro.
36964 (gamma_positive): New function.
36965 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36966 underflow here. Use gamma_positive instead of exp (lgamma) for
36967 other arguments.
36968 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36969 (gamma_coeff): New variable.
36970 (NCOEFF): New macro.
36971 (gammaf_positive): New function.
36972 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36973 underflow here. Use gamma_positive instead of exp (lgamma) for
36974 other arguments.
36975 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36976 (gamma_coeff): New variable.
36977 (NCOEFF): New macro.
36978 (gammal_positive): New function.
36979 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36980 underflow here. Use gamma_positive instead of exp (lgamma) for
36981 other arguments.
36982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36983 (gamma_coeff): New variable.
36984 (NCOEFF): New macro.
36985 (gammal_positive): New function.
36986 (__ieee754_gammal_r): Handle positive infinity, overflow and
36987 underflow here. Handle NaN the same as positive infinity. Remove
36988 check x < 0xffffffff for negative integers. Use gamma_positive
36989 instead of exp (lgamma) for other arguments.
36990 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36991 (gamma_coeff): New variable.
36992 (NCOEFF): New macro.
36993 (gammal_positive): New function.
36994 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36995 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36996 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36997 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36998 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36999 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37000 * sysdeps/generic/math_private.h (__gamma_productf): New
37001 prototype.
37002 (__gamma_product): Likewise.
37003 (__gamma_productl): Likewise.
37004 * math/Makefile (libm-calls): Add gamma_product.
37005 * math/libm-test.inc (tgamma_test): Add more tests.
37006 * sysdeps/i386/fpu/libm-test-ulps: Update.
37007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37008
37009 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37010
37011 * benchtests/bench-skeleton.c (main): Preheat CPU.
37012
37013 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37014
37015 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37016
37017 2013-05-07 Roland McGrath <roland@hack.frob.com>
37018
37019 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37020 and _dl_skip_args_internal.
37021
37022 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37023
37024 * manual/message.texi (Message Translation): Talk about users.
37025 Message to key mapping impacts design.
37026
37027 2013-05-06 Roland McGrath <roland@hack.frob.com>
37028
37029 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37030
37031 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37032
37033 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37034 * sysdeps/wordsize-64/glob64.c: ... here.
37035
37036 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37037 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37038 New macros.
37039
37040 * debug/getlogin_r_chk.c: Moved to ...
37041 * login/getlogin_r_chk.c: ... here.
37042 * debug/Makefile (routines): Move getlogin_r_chk to ...
37043 * login/Makefile (routines): ... here.
37044 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37045 * login/Versions (libc: GLIBC_2.4): ... here.
37046
37047 * io/poll.c (__poll): Renamed from poll.
37048 Add libc_hidden_def.
37049 (poll): Define as weak alias.
37050
37051 * debug/ptsname_r_chk.c: Moved to ...
37052 * login/ptsname_r_chk.c: ... here.
37053 * debug/Makefile (routines): Move ptsname_r_chk to ...
37054 * login/Makefile (routines): ... here.
37055 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37056 * login/Versions (libc: GLIBC_2.4): ... here.
37057
37058 * posix/getlogin.c: Moved to ...
37059 * login/getlogin.c: ... here.
37060 * posix/getlogin_r.c: Moved to ...
37061 * login/getlogin_r.c: ... here.
37062 * posix/getlogin_r.c: Moved to ...
37063 * login/getlogin_r.c: ... here.
37064 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37065 * login/Makefile (routines): ... here.
37066 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37067 * login/Versions (libc: GLIBC_2.0): ... here.
37068
37069 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37070 (setrlimit): Define as weak alias.
37071
37072 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37073 Call __ names for open, ftruncate, and close.
37074 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37075 (truncate): Define as weak alias.
37076
37077 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37078
37079 * math/gen-libm-test.pl (parse_args): Initialize x before each
37080 test of frexp, modf and remquo.
37081
37082 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37083 test signgam value.
37084
37085 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37086
37087 [BZ #15418]
37088 [BZ #15419]
37089 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37090 internal tests.
37091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37092
37093 2013-05-06 Roland McGrath <roland@hack.frob.com>
37094
37095 * elf/dl-writev.h: New file.
37096 * elf/dl-misc.c: Include it.
37097 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37098 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37099
37100 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37101
37102 * math/libm-test.inc (noXFails): Remove variable.
37103 (noXPasses): Likewise.
37104 (BUILD_COMPLEX_INT): Remove macro.
37105 (print_screen): Remove xfail argument.
37106 (print_screen_max_error): Likewise.
37107 (update_stats): Likewise.
37108 (print_max_error): Likewise. Update calls to other affected
37109 functions.
37110 (print_complex_max_error): Likewise.
37111 (test_single_exception): Update calls to print_screen.
37112 (test_single_errno): Likewise.
37113 (check_float_internal): Remove xfail argument. Update calls to
37114 other affected functions.
37115 (check_float): Likewise.
37116 (check_complex): Likewise.
37117 (check_int): Likewise.
37118 (check_long): Likewise.
37119 (check_bool): Likewise.
37120 (check_longlong): Likewise.
37121 (main): Don't print noXFails and noXPasses.
37122 * math/gen-libm-test.pl (top level): Don't mention expected
37123 failure handling in comment.
37124 (new_test): Don't handle expected failures.
37125 (parse_args): Don't mention expected failure handling in comment.
37126 (generate_testfile): Don't handle expected failures.
37127 (parse_ulps): Likewise.
37128 (print_ulps_file): Likewise.
37129 (get_failure): Remove function.
37130 (output_test): Don't handle expected failures.
37131 * make/README.libm-test: Don't mention expected failure handling.
37132
37133 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37134 (minus_zero): Likewise.
37135 (plus_infty): Likewise.
37136 (minus_infty): Likewise.
37137 (qnan_value): Likewise.
37138 (max_value): Likewise.
37139 (min_value): Likewise.
37140 (min_subnorm_value): Likewise.
37141 (initialize): Do not initialize those variables dynamically.
37142
37143 2013-05-03 Roland McGrath <roland@hack.frob.com>
37144
37145 * io/open.c (__open_2): Moved to ...
37146 * io/open_2.c: ... this new file.
37147 * io/open64.c (__open64_2): Moved to ...
37148 * io/open64_2.c: ... this new file.
37149 * io/openat.c (__openat_2): Moved to ...
37150 * io/openat_2.c: ... this new file.
37151 * io/openat64.c (__openat64_2): Moved to ...
37152 * io/openat64_2.c: ... this new file.
37153 * io/Makefile (routines): Add them.
37154 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37155 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37156 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37157 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37158 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37159 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37160 (__openat64): Add hidden_ver.
37161 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37162 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37163
37164 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37165 Separately conditionalize setting of GLRO(dl_sysinfo) so
37166 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37167 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37168
37169 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37170
37171 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37172 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37173 definition.
37174 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37175 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37176 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37177 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37178 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37179
37180 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37181
37182 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37183 test signgam value.
37184
37185 * math/libm-test.inc (hypot_test): Do not use
37186 IGNORE_ZERO_INF_SIGN.
37187
37188 2013-05-03 Andreas Jaeger <aj@suse.de>
37189
37190 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37191 Linux 3.9.
37192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37193 (PF_MAX): Adjust for VSOCK change.
37194
37195 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37196
37197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37198
37199 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37200
37201 [BZ #15264]
37202 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37203 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37204 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37205
37206 2013-05-02 David S. Miller <davem@davemloft.net>
37207
37208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37209
37210 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37211
37212 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37213
37214 2013-05-01 Roland McGrath <roland@hack.frob.com>
37215
37216 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37217
37218 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37219
37220 [BZ #14952]
37221 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37222 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37223 Use __attribute__ ((__gnu_inline__)).
37224 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37225 Don't use __attribute__ ((__gnu_inline__)).
37226
37227 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37228
37229 [BZ #15423]
37230 * math/s_catan.c (__catan): Handle small real or imaginary part of
37231 input specially to avoid spurious underflow.
37232 * math/s_catanf.c (__catanf): Likewise.
37233 * math/s_catanh.c (__catanh): Likewise.
37234 * math/s_catanhf.c (__catanhf): Likewise.
37235 * math/s_catanhl.c (__catanhl): Likewise.
37236 * math/s_catanl.c (__catanl): Likewise.
37237 * math/libm-test.inc (catan_test): Add more tests.
37238 (catanh_test): Likewise.
37239 * sysdeps/i386/fpu/libm-test-ulps: Update.
37240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37241
37242 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37243
37244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37245
37246 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37247
37248 [BZ #15416]
37249 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37250 accurately for denominator in atan2.
37251 * math/s_catanf.c (__catanf): Likewise.
37252 * math/s_catanh.c (__catanh): Likewise.
37253 * math/s_catanhf.c (__catanhf): Likewise.
37254 * math/s_catanhl.c (__catanhl): Likewise.
37255 * math/s_catanl.c (__catanl): Likewise.
37256 * math/libm-test.inc (catan_test): Add more tests.
37257 (catanh_test): Likewise.
37258 * sysdeps/i386/fpu/libm-test-ulps: Update.
37259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37260
37261 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37262
37263 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37264
37265 * benchtests/Makefile (bench): Remove slow benchmarks.
37266 * benchtests/atan-inputs: Add slow benchmark inputs.
37267 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37268 (BENCH_FUNC): Accept variant offset.
37269 (VARIANT): Define.
37270 * benchtests/bench-skeleton.c (main): Run benchmark for each
37271 variant.
37272 * benchtests/cos-inputs: Add slow benchmark inputs.
37273 * benchtests/exp-inputs: Likewise.
37274 * benchtests/pow-inputs: Likewise.
37275 * benchtests/sin-inputs: Likewise.
37276 * benchtests/slowatan-inputs: Remove.
37277 * benchtests/slowatan.c: Remove.
37278 * benchtests/slowcos-inputs: Remove.
37279 * benchtests/slowcos.c: Remove.
37280 * benchtests/slowexp-inputs: Remove.
37281 * benchtests/slowexp.c: Remove.
37282 * benchtests/slowpow-inputs: Remove.
37283 * benchtests/slowpow.c: Remove.
37284 * benchtests/slowsin-inputs: Remove.
37285 * benchtests/slowsin.c: Remove.
37286 * benchtests/slowtan-inputs: Remove.
37287 * benchtests/slowtan.c: Remove.
37288 * benchtests/tan-inputs: Add slow benchmark inputs.
37289 * scripts/bench.pl: Parse comments and directives.
37290
37291 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37292 in CPPFLAGS.
37293 ($(objpfx)bench-%.c): Remove *-ITER.
37294 * benchtests/bench-modf.c: Remove definition of ITER.
37295 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37296 (main): Loop for DURATION seconds instead of fixed number of
37297 iterations.
37298 * scripts/bench.pl: Don't expect iterations in parameters.
37299
37300 2013-04-29 Roland McGrath <roland@hack.frob.com>
37301
37302 * io/fchdir.c (__fchdir): Renamed from fchdir.
37303 (fchdir): Define as weak alias.
37304
37305 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37306
37307 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37308 (ERRNO_EDOM): Likewise.
37309 (ERRNO_ERANGE): Likewise.
37310 (noErrnoTests): New variable.
37311 (init_max_error): Set errno to 0.
37312 (test_single_errno): New function.
37313 (test_errno): Likewise.
37314 (check_float_internal): Call test_errno. Set errno to 0.
37315 (check_complex): Refer to errno tests in comment.
37316 (check_int): Call test_errno. Set errno to 0.
37317 (check_long): Likewise.
37318 (check_bool): Likewise.
37319 (check_longlong): Likewise.
37320 (cos_test): Use ERRNO_* flags for errno tests instead of
37321 check_int.
37322 (expm1_test): Likewise.
37323 (fmod_test): Likewise.
37324 (ilogb_test): Likewise.
37325 (lgamma_test): Likewise.
37326 (pow_test): Likewise.
37327 (remainder_test): Likewise.
37328 (sin_test): Likewise.
37329 (tan_test): Likewise.
37330 (yn_test): Likewise.
37331 (initialize): Set errno to 0.
37332 (main): Print number of errno tests.
37333 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37334
37335 2013-04-29 Andreas Jaeger <aj@suse.de>
37336
37337 [BZ #15084]
37338 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37339 and RES_USEVC.
37340
37341 [BZ #15085]
37342 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37343 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37344 unimplemented.
37345
37346 [BZ #15380]
37347 * stdlib/random.c (__initstate): Return NULL if
37348 __initstate fails.
37349
37350 [BZ #15086]
37351 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37352 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37353 RES_SNGLKUPREOP.
37354
37355 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37356
37357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37358
37359 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37360
37361 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37362 of individual tests.
37363 (casin_test): Likewise.
37364 (casinh_test): Likewise.
37365
37366 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37367
37368 [BZ #15409]
37369 * math/s_catan.c (__catan): Handle arguments with large real or
37370 imaginary part separately without squaring.
37371 * math/s_catanf.c (__catanf): Likewise.
37372 * math/s_catanh.c (__catanh): Likewise.
37373 * math/s_catanhf.c (__catanhf): Likewise.
37374 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37375 and redefine.
37376 (__catanhl): Handle arguments with large real or imaginary part
37377 separately without squaring.
37378 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37379 and redefine.
37380 (__catanl): Handle arguments with large real or imaginary part
37381 separately without squaring.
37382 * math/libm-test.inc (catan_test): Add more tests.
37383 (catanh_test): Likewise.
37384 * sysdeps/i386/fpu/libm-test-ulps: Update.
37385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37386
37387 2013-04-27 Andreas Jaeger <aj@suse.de>
37388
37389 [BZ #15007]
37390 * stdlib/stdlib.h: Update guards for qecvt.
37391 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37392 <stdlib.h>.
37393
37394 2013-04-27 Allan McRae <allan@archlinux.org>
37395
37396 * sysdeps/i386/fpu/libm-test-ulps: Update.
37397
37398 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37399
37400 [BZ #15406]
37401 * math/s_catan.c: Include <float.h>.
37402 (__catan): Ensure underflow exception occurs for underflowed
37403 result.
37404 * math/s_catanf.c: Include <float.h>.
37405 (__catanf): Ensure underflow exception occurs for underflowed
37406 result.
37407 * math/s_catanh.c: Include <float.h>.
37408 (__catanh): Ensure underflow exception occurs for underflowed
37409 result.
37410 * math/s_catanhf.c: Include <float.h>.
37411 (__catanhf): Ensure underflow exception occurs for underflowed
37412 result.
37413 * math/s_catanhl.c: Include <float.h>.
37414 (__catanhl): Ensure underflow exception occurs for underflowed
37415 result.
37416 * math/s_catanl.c: Include <float.h>.
37417 (__catanl): Ensure underflow exception occurs for underflowed
37418 result.
37419 * math/libm-test.inc (catan_test): Add more tests.
37420 (catanh_test): Likewise.
37421
37422 [BZ #15405]
37423 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37424 underflowed result.
37425 * math/s_ccoshf.c (__ccoshf): Likewise.
37426 * math/s_ccoshl.c (__ccoshl): Likewise.
37427 * math/s_csin.c (__csin): Likewise.
37428 * math/s_csinf.c (__csinf): Likewise.
37429 * math/s_csinh.c (__csinh): Likewise.
37430 * math/s_csinhf.c (__csinhf): Likewise.
37431 * math/s_csinhl.c (__csinhl): Likewise.
37432 * math/s_csinl.c (__csinl): Likewise.
37433 * math/libm-test.inc (ccos_test): Add more tests.
37434 (ccosh_test): Likewise.
37435 (csin_test): Likewise.
37436 (csinh_test): Likewise.
37437
37438 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37439
37440 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37441 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37442 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37443 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37444 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37445 powerpc/power5+/fpu folders.
37446 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37447
37448
37449 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37450
37451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37452
37453 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37454
37455 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37456 additions to variable.
37457 [$(config-machine) = x86_64] (modules-names): Likewise.
37458 ($(objpfx)tst-audit3): Remove dependency.
37459 ($(objpfx)tst-audit3.out): Likewise.
37460 ($(objpfx)tst-audit4): Likewise.
37461 ($(objpfx)tst-audit4.out): Likewise.
37462 ($(objpfx)tst-audit5): Likewise.
37463 ($(objpfx)tst-audit5.out): Likewise.
37464 ($(objpfx)tst-audit6): Likewise.
37465 ($(objpfx)tst-audit6.out): Likewise.
37466 ($(objpfx)tst-audit7): Likewise.
37467 ($(objpfx)tst-audit7.out): Likewise.
37468 (tst-audit3-ENV): Remove variable.
37469 (tst-audit4-ENV): Likewise.
37470 (tst-audit5-ENV): Likewise.
37471 (tst-audit6-ENV): Likewise.
37472 (tst-audit7-ENV): Likewise.
37473 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37474 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37475 addition to variable.
37476 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37477 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37478 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37479 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37480 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37481 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37482 tst-audit3, tst-audit4 and tst-audit5.
37483 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37484 tst-audit6 and tst-audit7.
37485 [$(subdir) = elf] (modules-names): Add audit modules for those
37486 tests.
37487 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37488 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37489 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37490 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37491 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37492 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37493 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37494 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37495 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37496 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37497 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37498 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37499 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37500 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37501 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37502 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37503 Likewise.
37504 [$(subdir) = elf && $(config-cflags-avx) = yes]
37505 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37506 [$(subdir) = elf && $(config-cflags-avx) = yes]
37507 (CFLAGS-tst-auditmod4a.c): Likewise.
37508 [$(subdir) = elf && $(config-cflags-avx) = yes]
37509 (CFLAGS-tst-auditmod4b.c): Likewise.
37510 [$(subdir) = elf && $(config-cflags-avx) = yes]
37511 (CFLAGS-tst-auditmod6b.c): Likewise.
37512 [$(subdir) = elf && $(config-cflags-avx) = yes]
37513 (CFLAGS-tst-auditmod6c.c): Likewise.
37514 [$(subdir) = elf && $(config-cflags-avx) = yes]
37515 (CFLAGS-tst-auditmod7b.c): Likewise.
37516 * elf/tst-audit3.c: Move to ...
37517 * sysdeps/x86_64/tst-audit3.c: ... here.
37518 * elf/tst-audit4.c: Move to ...
37519 * sysdeps/x86_64/tst-audit4.c: ... here.
37520 * elf/tst-audit5.c: Move to ...
37521 * sysdeps/x86_64/tst-audit5.c: ... here.
37522 * elf/tst-audit6.c: Move to ...
37523 * sysdeps/x86_64/tst-audit6.c: ... here.
37524 * elf/tst-audit7.c: Move to ...
37525 * sysdeps/x86_64/tst-audit7.c: ... here.
37526 * elf/tst-auditmod3a.c: Move to ...
37527 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37528 * elf/tst-auditmod3b.c: Move to ...
37529 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37530 * elf/tst-auditmod4a.c: Move to ...
37531 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37532 * elf/tst-auditmod4b.c: Move to ...
37533 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37534 * elf/tst-auditmod5a.c: Move to ...
37535 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37536 * elf/tst-auditmod5b.c: Move to ...
37537 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37538 * elf/tst-auditmod6a.c: Move to ...
37539 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37540 * elf/tst-auditmod6b.c: Move to ...
37541 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37542 * elf/tst-auditmod6c.c: Move to ...
37543 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37544 * elf/tst-auditmod7a.c: Move to ...
37545 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37546 * elf/tst-auditmod7b.c: Move to ...
37547 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37548
37549 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37550
37551 [BZ #15366]
37552 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37553 define unconditionally.
37554 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37555 define unconditionally.
37556 (INT8_C, INT16_C, etc.): Likewise.
37557
37558 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37559
37560 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37561 __ehdr_start with hidden visibility.
37562
37563 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37564
37565 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37566
37567 * math/libm-test.inc (cos_test): Use accurate hex constants.
37568 (sincost_test): Likewise.
37569
37570 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37571
37572 * math/libm-test.inc (catan_test): Add more tests.
37573 (catanh_test): Likewise.
37574
37575 * math/s_catanf.c (__catanf): Use suffixed floating-point
37576 constants.
37577 * math/s_catanhf.c (__catanhf): Likewise.
37578 * math/s_catanhl.c (__catanhl): Likewise.
37579 * math/s_catanl.c (__catanl): Likewise.
37580
37581 [BZ #15394]
37582 * math/s_catan.c (__catan): Calculate imaginary part of result
37583 with log1p not log unless computing log of number close to 0.
37584 * math/s_catanf.c (__catanf): Likewise.
37585 * math/s_catanl.c (__catanl): Likewise.
37586 * math/s_catanh.c (__catanh): Calculate real part of result with
37587 log1p not log unless computing log of number close to 0.
37588 * math/s_catanhf.c (__catanhf): Likewise.
37589 * math/s_catanhl.c (__catanhl): Likewise.
37590 * math/libm-test.inc (catan_test): Add more tests.
37591 (catanh_test): Likewise.
37592 * sysdeps/i386/fpu/libm-test-ulps: Update.
37593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37594
37595 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37596
37597 * benchtests/Makefile: Mention files in which fast and slow
37598 paths of math functions are implemented.
37599
37600 2013-04-23 Roland McGrath <roland@hack.frob.com>
37601
37602 * sysdeps/posix/timespec_get.c: New file.
37603
37604 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37605
37606 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37607 POWER.
37608 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37609 for POWER.
37610 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37611 powerpc/power5/fpu folders.
37612 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37613 * benchtests/Makefile: Add modf testcase.
37614 * benchtests/bench-modf.c: New file: Benchmark test for mo
37615
37616 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37617
37618 [BZ #14888]
37619 * time/Makefile (tests): Add tst-strptime-whitespace.
37620 * time/strptime_l.c (get_number): Use ISSPACE.
37621 (__strptime_internal): Likewise.
37622 * time/tst-strptime-whitespace.c: New test case.
37623
37624 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37625
37626 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37627 member.
37628 (_nss_files_init): Set it here.
37629
37630 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37631
37632 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37633 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37634 unsigned.
37635
37636 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37637
37638 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37639
37640 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37641
37642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37643 size just once.
37644
37645 2013-04-21 David S. Miller <davem@davemloft.net>
37646
37647 * po/ru.po: Update Russion translation from translation project.
37648
37649 2013-04-17 Adam Conrad <adconrad@0c3.net>
37650
37651 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37652 and setfsgid.
37653
37654 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37655
37656 * configure.in: Remove i386 configure warning. Remove i386 case.
37657 * configure: Regenerate.
37658 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37659 Add example to error message.
37660 * sysdeps/i386/configure: Regenerate.
37661
37662 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37663
37664 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37665 slowtan.
37666 * benchtests/cos-inputs: New file.
37667 * benchtests/slowcos-inputs: New file.
37668 * benchtests/slowcos.c: New file.
37669 * benchtests/slowtan-inputs: New file.
37670 * benchtests/slowtan.c: New file.
37671 * benchtests/tan-inputs: New file.
37672
37673 2013-04-16 Roland McGrath <roland@hack.frob.com>
37674
37675 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37676 considered kosher.
37677
37678 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37679
37680 * benchtests/Makefile: Include cppflags-iterator.mk to add
37681 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37682
37683 * Makefile.in (bench-clean): New target.
37684 * benchtests/Makefile (bench-clean): Likewise.
37685
37686 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37687
37688 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37689
37690 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37691
37692 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37693
37694 2013-04-15 Andreas Schwab <schwab@suse.de>
37695
37696 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37697 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37698 * nscd/pwdcache.c (cache_addpw): Likewise.
37699 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37700 more than recsize.
37701
37702 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37703
37704 * benchtests/Makefile (bench): Write all output to
37705 bench-out.tmp together.
37706
37707 2013-04-15 Andreas Schwab <schwab@suse.de>
37708
37709 * nscd/nscd.c (main): Don't fork again after closing files.
37710
37711 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37712
37713 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37714
37715 * benchtests/Rules (bench-deps): Collect dependencies into a
37716 single variable. Add Makefile to dependencies.
37717 ($(objpfx)bench-%.c): Depend on bench-deps.
37718
37719 2013-04-12 Roland McGrath <roland@hack.frob.com>
37720 Xavier Roche <roche+kml2@exalead.com>
37721
37722 [BZ #15361]
37723 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37724 just that it's a file descriptor.
37725 * manual/llio.texi (Synchronizing AIO Operations): Update description
37726 for EBADF error from aio_fsync.
37727
37728 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37729
37730 * Rules (bench): Move target definition...
37731 * benchtests/Makefile: ... here.
37732
37733 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37734
37735 * math/libm-test.inc (cos_test): Fix PI/2 test.
37736 (sincos_test): Likewise.
37737 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37738 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37739
37740 2013-04-11 Andreas Schwab <schwab@suse.de>
37741
37742 [BZ #13988]
37743 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37744 accept exponent character only when digits were seen.
37745 * stdio-common/Makefile (tests): Add bug26.
37746 * stdio-common/bug26.c: New file.
37747
37748 [BZ #14293]
37749 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37750 non-freeable.
37751
37752 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37753
37754 * Makeconfig (rtld-prefix): Define built linker prefix.
37755 * Rules (run-bench): Use it.
37756 * math/Makefile (run-regen-ulps): Likewise.
37757
37758 * Rules (bench): Remove eval.
37759
37760 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37761 Roland McGrath <roland@hack.frob.com>
37762 Ondrej Bilka <neleai@seznam.cz>
37763
37764 [BZ #15346]
37765 * time/getdate.c: Include ctype.h and alloca.h.
37766 (__getdate_r): Trim leading and trailing spaces of input.
37767 * time/tst-getdate.c (tests): Add tests with leading and
37768 trailing spaces.
37769
37770 2013-04-08 Roland McGrath <roland@hack.frob.com>
37771
37772 [BZ #14280]
37773 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37774 when computing value.
37775
37776 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37777
37778 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37779 Use testrun.sh to run libm tests.
37780
37781 [BZ #15309]
37782 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37783
37784 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37785
37786 [BZ #15264]
37787 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37788
37789 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37790
37791 * Makefile.in (regen-ulps): New target.
37792 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37793 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37794 [ifneq (no,$(PERL)] (regen-ulps): New target.
37795 [ifeq (no,$(PERL)] (regen-ulps): New target.
37796 * math/libm-test.inc (ulps_file_name): Define.
37797 (output_dir): New variable.
37798 (options): Add "output-dir" option.
37799 (parse_opt): Handle 'o' case.
37800 (main): If output_dir is non-NULL use it as a prefix
37801 otherwise use "".
37802 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37803
37804 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37805
37806 [BZ #10060, #10062]
37807 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37808 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37809 fail configure if __sync_val_compare_and_swap is not inlined.
37810 * sysdeps/i386/configure: Regenerate.
37811 * configure.in: Build for i686 when configured for i386.
37812 * configure: Regenerate.
37813 * README: Remove i386 reference.
37814
37815 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37816
37817 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37819
37820 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37821
37822 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37823 (lmsnanval): New variables.
37824 (F): Add conversion tests.
37825 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37826 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37827
37828 * stdio-common/tstdiomisc.c (F): Properly collect individual
37829 tests' results.
37830
37831 [BZ #14686, #15336]
37832 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37833 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37834 Instead, use input NaN values or generate a qNaN by arithmetic
37835 operation. Also fix bugs to comply with the standard.
37836 * math/libm-test.inc (remainder_test): Add more tests.
37837
37838 [BZ #15335, #15342]
37839 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37841 input NaN values or generate a qNaN by arithmetic operation.
37842
37843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37844 unreachable code.
37845
37846 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37847 definitions.
37848
37849 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37850
37851 [BZ #14478]
37852 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37853 underflowed result.
37854 * math/s_cexpf.c (__cexpf): Likewise.
37855 * math/s_cexpl.c (__cexpl): Likewise.
37856 * math/libm-test.inc (cexp_test): Add more tests.
37857
37858 2013-04-03 Andreas Schwab <schwab@suse.de>
37859
37860 [BZ #15330]
37861 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37862 order arrays from heap if bigger than alloca cutoff.
37863
37864 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37865
37866 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37867 (SNAN_TESTS_double): Refer to GCC PR56831.
37868 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37869 GCC PR56828.
37870
37871 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37872
37873 * Rules (bench): Move bench.out after the run is complete.
37874
37875 * Rules (bench): Echo currently running benchmark.
37876
37877 * benchtests/Makefile (bench): Add atan and slowatan.
37878 * benchtests/atan-inputs: New file.
37879 * benchtests/slowatan-inputs: New file.
37880 * benchtests/slowatan.c: New file.
37881
37882 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37884 its value.
37885
37886 [BZ #15305]
37887 * sysdeps/unix/sysv/linux/kernel-features.h
37888 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37889 __ASSUME_XFS_RESTRICTED_CHOWN.
37890 * sysdeps/unix/sysv/linux/pathconf.c
37891 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37892 Save and restore errno.
37893
37894 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37895
37896 [BZ #15327]
37897 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37898 arguments using __kernel_casinh.
37899 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37900 arguments using __kernel_casinhf.
37901 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37902 arguments using __kernel_casinhl.
37903 * math/libm-test.inc (cacosh_test): Add more tests.
37904 * sysdeps/i386/fpu/libm-test-ulps: Update.
37905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37906
37907 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37908
37909 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37911
37912 * bench/Makefile (bench): Add sin and slowsin.
37913 * benchtests/sin-inputs: New file.
37914 * benchtests/slowsin-inputs: New file.
37915 * benchtests/slowsin.c: New file.
37916
37917 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37918 (bench): Add slowexp and slowpow.
37919 (exp-ITER): Increase iterations.
37920 (pow-ITER): Likewise.
37921 * benchtests/exp-inputs: Change input.
37922 * benchtests/pow-inputs: Likewise.
37923 * benchtests/slowexp-inputs: New file.
37924 * benchtests/slowexp.c: New file.
37925 * benchtests/slowpow-inputs: New file.
37926 * benchtests/slowpow.c: New file.
37927
37928 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37929
37930 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37931 instructions.
37932 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37933 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37934 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37935 * benchtests/Makefile: Add rint benchtest.
37936 * benchtests/rint-inputs: Input for rint benchtest.
37937
37938 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37939
37940 * Versions.def (libm): Add GLIBC_2.18.
37941 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37942 hidden libm prototypes.
37943 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37944 * math/Makefile (libm-calls): Add s_issignaling.
37945 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37946 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37947 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37948 declaration.
37949 * math/math.h [__USE_GNU] (issignaling): New macro.
37950 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37951 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37952 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37956 * manual/arith.texi (issignaling): New section.
37957 * manual/libm-err-tab.pl (@all_functions): Update comment.
37958 * math/gen-libm-test.pl (parse_args): Apply special handling for
37959 issignaling.
37960 * math/libm-test.inc (print_float, issignaling_test): New
37961 functions.
37962 (check_float_internal): Add issignaling checks.
37963 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37964 default definition.
37965 * sysdeps/powerpc/math-tests.h: New file.
37966 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37967 tests.
37968 * math/test-snan.c (TEST_FUNC): Likewise.
37969
37970 2013-03-30 David S. Miller <davem@davemloft.net>
37971
37972 * po/de.po: Update from translation team.
37973
37974 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37975
37976 [BZ #10357]
37977 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37978 imaginary part less than 1.0 and real part less than 0.5
37979 specially.
37980 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37981 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37982 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37983 (cacos_test): Add more tests.
37984 (casin_test): Likewise.
37985 (casinh_test): Likewise.
37986 * sysdeps/i386/fpu/libm-test-ulps: Update.
37987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37988
37989 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37990
37991 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37992 ONE with its value.
37993
37994 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37995 (__pow_mp): Replace ONE and MONE with their values.
37996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37999 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38000 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38002
38003 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38004
38005 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38006 (__pow_mp): Replace ZERO and MZERO with their values.
38007 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38009 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38011 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38012 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38013 (__sqr): Likewise.
38014
38015 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38016
38017 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38018
38019 2013-03-28 Roland McGrath <roland@hack.frob.com>
38020
38021 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38022 Declare with __attribute__ ((weak)).
38023 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38024 Call __call_tls_dtors only if it's not NULL.
38025
38026 2013-03-28 Roland McGrath <roland@hack.frob.com>
38027
38028 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38029 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38030 magic __ehdr_start linker symbol if it's defined.
38031 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38032 them up here if it was already done.
38033
38034 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38035 (_dl_aux_init): Use const in cast when setting it.
38036 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38037 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38038 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38039
38040 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38041 Declare them here.
38042 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38043 * csu/libc-tls.c: Nor here.
38044 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38045
38046 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38047 (__libc_message): Never call vsyslog.
38048
38049 2013-03-28 Alan Modra <amodra@gmail.com>
38050
38051 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38052 Define as empty.
38053 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38054 Likewise.
38055
38056 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38057
38058 [BZ #15214]
38059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38060 underflow.
38061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38062
38063 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38064
38065 [BZ #15304]
38066 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38067 Don't add gid passed as argument.
38068
38069 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38070
38071 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38072
38073 [BZ #15307]
38074 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38075 imaginary part between 1.0 and 1.5 and real part less than 0.5
38076 specially.
38077 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38078 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38079 * math/libm-test.inc (cacos_test): Add more tests.
38080 (casin_test): Likewise.
38081 (casinh_test): Likewise.
38082 * sysdeps/i386/fpu/libm-test-ulps: Update.
38083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38084
38085 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38086
38087 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38088 constants.
38089 (norm): Likewise.
38090 (denorm): Likewise.
38091 (__dbl_mp): Likewise.
38092 (add_magnitudes): Likewise.
38093 (sub_magnitudes): Likewise.
38094 (__add): Likewise.
38095 (__sub): Likewise.
38096 (__mul): Likewise.
38097 (__sqr): Likewise.
38098 (__inv): Likewise.
38099 (__dvd): Likewise.
38100
38101 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38102 commented code.
38103 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38104 (__dubcos): Likewise.
38105 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38106 (__ieee754_acos): Likewise.
38107 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38108 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38109 (__exp1): Likewise.
38110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38112 (log1): Likewise.
38113 (my_log2): Likewise.
38114 (checkint): Likewise.
38115 * sysdeps/ieee754/dbl-64/e_remainder.c
38116 (__ieee754_remainder): Likewise.
38117 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38118 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38119 (bsloww): Likewise.
38120 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38121
38122 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38123 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38124 MANTISSA_STORE_T to store computations on mantissa. Use
38125 macros for rounding and division.
38126 (denorm): Likewise.
38127 (__dbl_mp): Likewise.
38128 (add_magnitudes): Likewise.
38129 (sub_magnitudes): Likewise.
38130 (__mul): Likewise.
38131 (__sqr): Likewise.
38132 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38133 powers of two in terms of TWOPOW macro.
38134 (mp_no): Make type of mantissa as MANTISSA_T.
38135 [!RADIXI]: Define RADIXI.
38136 [!TWO52]: Define TWO52.
38137 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38138
38139 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38140
38141 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38142 llroundl symbol when building for PPC32.
38143
38144 2013-03-24 Mark H Weaver <mhw@netris.org>
38145
38146 * manual/arith.texi (Normalization Functions): Fix prototypes for
38147 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38148
38149 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38150
38151 [BZ #13889]
38152 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38153 high value to check if expl overflow.
38154 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38155 to check for underflow and overflow.
38156 * math/libm-test.inc: Add exp test.
38157
38158 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38159
38160 [BZ #11120]
38161 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38162 with NOT_IN_libc.
38163
38164 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38165
38166 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38167 symbol.
38168
38169 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38170
38171 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38172 wrap blocks consisting of several statements.
38173
38174 * sysdeps/generic/math-tests.h: New file.
38175 * sysdeps/i386/fpu/math-tests.h: Likewise.
38176 * math/test-snan.c: Include it.
38177 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38178
38179 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38180
38181 [BZ #15285]
38182 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38183 (__ieee754_j0l): Do not improve calculations using cos of twice
38184 input for inputs above LDBL_MAX / 2.0L.
38185 (__ieee754_y0l): Likewise.
38186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38187 (__ieee754_j1l): Do not improve calculations using cos of twice
38188 input for inputs above LDBL_MAX / 2.0L.
38189 (__ieee754_y1l): Likewise.
38190 * math/libm-test.inc (j0_test): Add another test.
38191 (j1_test): Likewise.
38192 (y0_test): Likewise.
38193 (y1_test): Likewise.
38194 * sysdeps/i386/fpu/libm-test-ulps: Update.
38195
38196 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38197
38198 * Rules ($(objpfx)bench-%.c): Include code from a C source
38199 file.
38200
38201 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38202
38203 [BZ #15287]
38204 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38205 imaginary part 1.0 and real part less than 0.5 specially.
38206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38208 * math/libm-test.inc (cacos_test): Add more tests.
38209 (casin_test): Likewise.
38210 (casinh_test): Likewise.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38213
38214 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38215
38216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38217 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38218
38219 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38220
38221 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38222 * config.make.in (config-cflags-sse4): Remove variable.
38223 (config-cflags-avx): Likewise.
38224 (config-cflags-sse2avx): Likewise.
38225 (config-cflags-novzeroupper): Likewise.
38226 (config-asflags-i686): Likewise.
38227 (have-mfma4): Likewise.
38228 (have-as-vis3): Likewise.
38229 (MIG): Likewise.
38230 * configure.in (MIG): Do not AC_SUBST.
38231 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38232 (libc_cv_cc_sse4): Do not AC_SUBST.
38233 (libc_cv_cc_avx): Likewise.
38234 (libc_cv_cc_sse2avx): Likewise.
38235 (libc_cv_cc_novzeroupper): Likewise.
38236 (libc_cv_cc_fma4): Likewise.
38237 (libc_cv_as_i686): Likewise.
38238 (libc_cv_sparc_as_vis3): Likewise.
38239 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38240 LIBC_CONFIG_VAR.
38241 (config-asflags-i686): Likewise.
38242 (config-cflags-avx): Likewise.
38243 (config-cflags-sse2avx): Likewise.
38244 (have-mfma4): Likewise.
38245 (config-cflags-novzeroupper): Likewise.
38246 * sysdeps/mach/configure.in (MIG): Likewise.
38247 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38248 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38249 LIBC_CONFIG_VAR.
38250 (config-cflags-avx): Likewise.
38251 (config-cflags-sse2avx): Likewise.
38252 (have-mfma4): Likewise.
38253 (config-cflags-novzeroupper): Likewise.
38254 * configure: Regenerated.
38255 * sysdeps/i386/configure: Likewise.
38256 * sysdeps/mach/configure: Likewise.
38257 * sysdeps/sparc/configure: Likewise.
38258 * sysdeps/x86_64/configure: Likewise.
38259
38260 2013-03-20 Roland McGrath <roland@hack.frob.com>
38261
38262 [BZ #14812]
38263 * locale/programs/localedef.c (options): Put N_ translation marker
38264 on argument names, not just descriptions.
38265
38266 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38267
38268 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38269
38270 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38271
38272 [BZ #14176]
38273 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38274
38275 2013-03-19 Roland McGrath <roland@hack.frob.com>
38276
38277 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38278 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38279 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38280 [!BEFORE_ABORT] (before_abort): New function.
38281 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38282 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38283 (writev_for_fatal): New function.
38284 (WRITEV_FOR_FATAL): New macro; call that.
38285 (backtrace_and_maps): New function.
38286 (BEFORE_ABORT): New macro; call that.
38287 (struct str_list): Type removed.
38288 (__libc_message, __libc_fatal): Functions removed.
38289 Include <sysdeps/posix/libc_fatal.c> instead.
38290
38291 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38292
38293 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38294 constants.
38295 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38296 double constants.
38297
38298 2013-03-19 Andreas Schwab <schwab@suse.de>
38299
38300 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38301 * sysdeps/gnu/configure: Regenerate.
38302
38303 * configure.in: Substitute libc_cv_rtlddir.
38304 * configure: Regenerate.
38305 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38306 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38307 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38308 * elf/Makefile (install-others, CFLAGS-interp.c)
38309 (ldso_install, common-ldd-rewrite): Likewise.
38310 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38311 $(inst_slibdir)/$(rtld-installed-name).
38312 * scripts/rellns-sh: Add -p option.
38313 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38314 for source.
38315
38316 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38317
38318 * manual/nptl.texi: Renamed to ...
38319 * manual/threads.texi: ... this.
38320 * manual/Makefile (chapters): Update.
38321
38322 2013-03-18 Roland McGrath <roland@hack.frob.com>
38323
38324 [BZ #14812]
38325 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38326 on argument names, not just descriptions.
38327 * malloc/memusagestat.c (options): Likewise.
38328 * nss/getent.c (options): Likewise.
38329
38330 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38331
38332 [BZ #14812]
38333 * iconv/iconv_prog.c (options): Put N_ translation marker
38334 on argument names, not just descriptions.
38335 * iconv/iconvconfig.c (options): Likewise.
38336
38337 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38338
38339 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38340 implementation which is faster on all x86_64 architectures.
38341 Tested on AMD, Intel Nehalem, SNB, IVB.
38342 * sysdeps/x86_64/strnlen.S: Likewise.
38343
38344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38345 Remove all multiarch strlen and strnlen versions.
38346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38347 Remove strlen and strnlen related parts.
38348
38349 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38350 Inline strlen part.
38351 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38352
38353 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38354 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38355 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38356 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38357 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38358 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38359
38360 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38361
38362 * manual/memory.texi (Malloc Tunable Parameters):
38363 Sort parameters alphabetically. Add comments for missing entries.
38364
38365 2013-03-17 David S. Miller <davem@davemloft.net>
38366
38367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38368
38369 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38370
38371 [BZ #15283]
38372 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38373 for arguments at most half maximum finite value.
38374 * math/libm-test.inc (j0_test): Add more tests.
38375 (j1_test): Likewise.
38376 (y0_test): Likewise.
38377 (y1_test): Likewise.
38378 * sysdeps/i386/fpu/libm-test-ulps: Update.
38379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38380
38381 [BZ #14155]
38382 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38383 1 / x and functions P and Q for arguments above 0x1p256L.
38384 (__ieee754_y0l): Likewise.
38385 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38386 (__ieee754_y1l): Likewise.
38387 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38388 (j1_test): Likewise.
38389 (y0_test): Likewise.
38390 (y1_test): Likewise.
38391
38392 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38393
38394 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38395 variable.
38396
38397 2013-03-15 Roland McGrath <roland@hack.frob.com>
38398
38399 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38400 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38401 zero since it's initialized to EXEC_PAGESIZE.
38402
38403 * sysdeps/unix/sysv/linux/ldsodefs.h
38404 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38405 * sysdeps/generic/ldsodefs.h: ... here.
38406
38407 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38408
38409 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38410
38411 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38412 math/test-snan.c.
38413 * math/test-snan.c: Renamed from
38414 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38415 * math/Makefile (tests): Add test-snan.
38416 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38417 test-powerpc-snan.
38418
38419 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38420 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38421 functions.
38422 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38423 __builtin_nan family of functions.
38424 * math/libm-test.inc (initialize): Initialize qnan_value with
38425 __builtin_nan family of functions.
38426 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38427 Remove variables.
38428 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38429 Remove functions.
38430 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38431 storage class. Initialize qNaN_var and sNaN_var with
38432 __builtin_nan and __builtin_nans families of functions,
38433 respectively.
38434
38435 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38436 (sqrt_test): Remove duplicate test with qNaN input.
38437 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38438 (round_test, signbit_test, significand_test): Note missing +/-Inf
38439 as well as qNaN tests.
38440
38441 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38442 qNaN_var. Fix a few strings, too.
38443 * math/libm-test.inc (nan_value): Rename to qnan_value.
38444 * math/gen-libm-test.pl (%beautify): Adjust to that.
38445 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38446 * math/test-misc.c (main): Likewise.
38447 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38448 to __qnan_bytes, and __qnan_union, respectively.
38449 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38450 Likewise.
38451 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38452 and lqnanval, respectively.
38453 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38454 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38455 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38456 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38457
38458 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38459 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38460 doubles.
38461
38462 * math/test-misc.c (main): Fix copy'n'pastos.
38463 * misc/tst-efgcvt.c (special): Likewise.
38464
38465 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38466 Remove declarations.
38467
38468 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38469
38470 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38471 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38472 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38473 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38474
38475 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38476
38477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38478 macro to return vdso values correctly in IFUNC implementations.
38479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38480 Optimization by using IFUNC.
38481
38482 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38483 Richard Henderson <rth@redhat.com>
38484 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38485
38486 * Makefile.in (bench): New target.
38487 * NEWS: Mention the benchmark framework.
38488 * Rules (bench): Likewise.
38489 (binaries-bench): Generate binaries for functions to
38490 benchmark.
38491 * benchtests/Makefile: New makefile for benchmark tests.
38492 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38493 programs.
38494 * benchtests/exp-inputs: New input file for EXP function.
38495 * benchtests/pow-inputs: New input file for POW function.
38496 * scripts/bench.pl: New script to generate source files for
38497 benchmark programs.
38498
38499 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38500
38501 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38502 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38503 computations on mantissa. Use macros for rounding and
38504 division.
38505 (denorm): Likewise.
38506 (__dbl_mp): Likewise.
38507 (add_magnitudes): Likewise.
38508 (sub_magnitudes): Likewise.
38509 (__mul): Likewise.
38510 (__sqr): Likewise.
38511 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38512 powers of two in terms of TWOPOW macro.
38513 (mp_no): Make type of mantissa as MANTISSA_T.
38514 [!RADIXI]: Define RADIXI.
38515 [!TWO52]: Define TWO52.
38516 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38517
38518 * manual/nptl.texi (cindex): Modify threads to pthreads.
38519
38520 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38521
38522 * sysdeps/x86_64/preconfigure: Regenerated.
38523
38524 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38525
38526 [BZ #14155]
38527 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38528 0x1p28 and above.
38529 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38530 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38531 0x1p28 and above.
38532 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38533 * math/libm-test.inc (j0_test): Do not allow one spurious
38534 underflow exception.
38535 (y1_test): Likewise.
38536
38537 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38538
38539 * manual/Makefile (chapters): Add nptl.
38540 * manual/debug.texi (Debugging Support): Add link to Threads
38541 chapter.
38542 * manual/nptl.texi: New file.
38543
38544 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38545
38546 2013-03-14 Petr Baudis <pasky@ucw.cz>
38547
38548 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38549 for non-NULL pointer before the memory validity test. Pointed
38550 out by Holger Brunck <holger.brunck@keymile.com>.
38551
38552 2013-03-13 Andreas Schwab <schwab@suse.de>
38553
38554 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38555 instead of .os.
38556
38557 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38558
38559 * timezone/zic.c: Update from tzcode 2013b.
38560
38561 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38562
38563 * manual/install.texi (Configuring and compiling):
38564 Mention i686 and i586.
38565 * INSTALL: Regenerate.
38566
38567 2013-03-12 Roland McGrath <roland@hack.frob.com>
38568
38569 * sysdeps/init_array/elf-init.c: New file.
38570 * csu/elf-init.c
38571 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38572 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38573
38574 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38575 __gmon_start__ as global, but as static with a .preinit_array pointer.
38576 * sysdeps/init_array/gmon-start.c: New file. Use that.
38577 * sysdeps/init_array/crti.S: New file, empty except for comments.
38578 * sysdeps/init_array/crtn.S: Likewise.
38579
38580 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38581
38582 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38583 definining bcopy.
38584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38585 Remove Prefer_SSE_for_memop.
38586 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38587 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38588 HAS_PREFER_SSE_FOR_MEMOP.
38589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38590 memset-x86-64.
38591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38592 Remove bzero, memset ifunc support.
38593 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38594 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38595 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38596 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38597
38598 2013-03-11 Andreas Schwab <schwab@suse.de>
38599
38600 [BZ #15234]
38601 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38602 by SHLIB_COMPAT.
38603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38604 (GLIBC_2.16): Remove pthread_atfork.
38605
38606 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38607
38608 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38609 (ptestcases.h): Likewise.
38610
38611 2013-03-08 Roland McGrath <roland@hack.frob.com>
38612
38613 * Makeconfig ($(common-objpfx)config.status): Depend on
38614 sysdeps/*/preconfigure{,.in} too.
38615
38616 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38617
38618 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38619 (__free_hook): Use void * instead of __malloc_ptr_t.
38620 (__malloc_hook): Likewise.
38621 (__realloc_hook): Likewise.
38622 (__memalign_hook): Likewise.
38623 (__after_morecore_hook): Likewise.
38624 * malloc/arena.c (save_malloc_hook): Likewise.
38625 (save_free_hook): Likewise.
38626 * malloc/hooks.c (malloc_hook_ini): Likewise.
38627 (realloc_hook_ini): Likewise.
38628 (memalign_hook_ini): Likewise.
38629 * malloc/malloc.c (malloc_hook_ini): Likewise.
38630 (realloc_hook_ini): Likewise.
38631 (memalign_hook_ini): Likewise.
38632 (__free_hook): Likewise.
38633 (__malloc_hook): Likewise.
38634 (__realloc_hook): Likewise.
38635 (__memalign_hook): Likewise.
38636 (__libc_malloc): Likewise.
38637 (__libc_free): Likewise.
38638 (__libc_realloc): Likewise.
38639 (__libc_memalign): Likewise.
38640 (__libc_valloc): Likewise.
38641 (__libc_pvalloc): Likewise.
38642 (__libc_calloc): Likewise.
38643 (__posix_memalign): Likewise.
38644 * malloc/morecore.c (__sbrk): Likewise.
38645 (__default_morecore): Likewise.
38646
38647 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38648
38649 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38650 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38651 __malloc_ptrdiff_t.
38652
38653 * malloc/malloc.h (__malloc_size_t): Remove macro.
38654 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38655 __malloc_size_t.
38656 (old_memalign_hook): Likewise.
38657 (old_realloc_hook): Likewise.
38658 (struct hdr): Likewise.
38659 (flood): Likewise.
38660 (mallochook): Likewise.
38661 (memalignhook): Likewise.
38662 (reallochook): Likewise.
38663 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38664 (tr_old_realloc_hook): Likewise.
38665 (tr_old_memalign_hook): Likewise.
38666 (tr_mallochook): Likewise.
38667 (tr_reallochook): Likewise.
38668 (tr_memalignhook): Likewise.
38669
38670 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38671
38672 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38673 default_ldbl_pack and using as default implementation.
38674 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38675 implementation.
38676 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38677 redundant definition.
38678 (ldbl_insert_mantissa): Likewise.
38679 (ldbl_canonicalize): Likewise.
38680 (ldbl_nearbyint): Likewise.
38681 (ldbl_pack): Rename to ldbl_pack_ppc.
38682 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38683 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38684 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38685
38686 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38687
38688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38689 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38691 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38693 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38694 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38695 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38696
38697 2013-03-07 Andreas Jaeger <aj@suse.de>
38698
38699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38700 bits/mman-linux.h.
38701
38702 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38703
38704 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38705 Include mpa.h and declare __MPEXP.
38706 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38707 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38708 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38709 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38710 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38711 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38712 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38713
38714 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38715 (__slowpow): Use long double EXPL and LOGL functions to
38716 compute POW.
38717 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38718 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38719 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38721 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38722 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38723
38724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38725 intermediate variable to calculate exponent.
38726 (__sqr): Likewise.
38727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38728 Likewise.
38729 (__sqr): Likewise.
38730
38731 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38732 [!NO__SQR]: Define __sqr.
38733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38734 and NO__SQR. Remove all code except __mul and __sqr. Include
38735 sysdeps/ieee754/dbl-64/mpa.c.
38736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38737
38738 [BZ #12723]
38739 * posix/Makefile (tests): Add tst-pathconf.
38740 * posix/tst-pathconf.c: New test case.
38741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38742 _PC_PIPE_BUF.
38743 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38744
38745 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38746
38747 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38748
38749 2013-03-06 Andreas Jaeger <aj@suse.de>
38750
38751 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38752 definition via __MAP_ANONYMOUS.
38753
38754 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38755 it's not part of Linux headers.
38756
38757 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38758 (MAP_HUGE_MASK): Define.
38759
38760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38761 Define.
38762 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38764 Define.
38765 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38766 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38767 Define.
38768 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38770 Define.
38771 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38772
38773 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38774 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38775 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38776 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38777 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38778 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38779
38780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38781 Handle f2fs.
38782
38783 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38784 Handle f2fs and efivarfs.
38785
38786 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38787 f2fs.
38788
38789 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38790 (EFIVARFS_MAGIC): Add.
38791 (F2FS_LINK_MAX): Add.
38792
38793 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38794
38795 * stdio-common/vfprintf.c: Replace __builtin_expect with
38796 __glibc_unlikely.
38797
38798 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38799
38800 [BZ #13550]
38801 * sysdeps/generic/bp-sym.h: Remove file.
38802 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38803 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38804 <bp-sym.h> and <bp-asm.h>.
38805 (__longjmp): Don't use BP_SYM.
38806 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38807 and <bp-asm.h>.
38808 (memcpy): Don't use BP_SYM.
38809 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38810 <bp-sym.h> and <bp-asm.h>.
38811 (memcpy): Don't use BP_SYM.
38812 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38813 <bp-asm.h>.
38814 (memcpy): Don't use BP_SYM.
38815 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38816 <bp-asm.h>.
38817 (memset): Don't use BP_SYM.
38818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38820 (__bzero): Don't use BP_SYM.
38821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38824 <bp-sym.h> and <bp-asm.h>.
38825 (memcmp): Don't use BP_SYM. Remove comment about bounded
38826 pointers.
38827 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38828 <bp-sym.h> and <bp-asm.h>.
38829 (memcpy): Don't use BP_SYM.
38830 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38831 <bp-sym.h> and <bp-asm.h>.
38832 (memset): Don't use BP_SYM.
38833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38835 (__bzero): Don't use BP_SYM.
38836 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38837 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38838 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38839 <bp-sym.h> and <bp-asm.h>.
38840 (strncmp): Don't use BP_SYM. Remove comment about bounded
38841 pointers.
38842 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38843 <bp-sym.h> and <bp-asm.h>.
38844 (memcpy): Don't use BP_SYM.
38845 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38846 <bp-sym.h> and <bp-asm.h>.
38847 (memset): Don't use BP_SYM.
38848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38850 (__bzero): Don't use BP_SYM.
38851 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38852 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38854 <bp-sym.h> and <bp-asm.h>.
38855 (__memchr): Don't use BP_SYM.
38856 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38857 <bp-sym.h> and <bp-asm.h>.
38858 (memcmp): Don't use BP_SYM. Remove comment about bounded
38859 pointers.
38860 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38861 <bp-sym.h> and <bp-asm.h>.
38862 (memcpy): Don't use BP_SYM.
38863 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38864 <bp-sym.h> and <bp-asm.h>.
38865 (__mempcpy): Don't use BP_SYM.
38866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38867 <bp-sym.h> and <bp-asm.h>.
38868 (__memrchr): Don't use BP_SYM.
38869 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38870 <bp-sym.h> and <bp-asm.h>.
38871 (memset): Don't use BP_SYM.
38872 (__bzero): Likewise.
38873 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38874 <bp-sym.h> and <bp-asm.h>.
38875 (__rawmemchr): Don't use BP_SYM.
38876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38877 <bp-sym.h> and <bp-asm.h>.
38878 (__STRCMP): Don't use BP_SYM.
38879 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38880 <bp-sym.h> and <bp-asm.h>.
38881 (strchr): Don't use BP_SYM.
38882 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38883 <bp-sym.h> and <bp-asm.h>.
38884 (__strchrnul): Don't use BP_SYM.
38885 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38886 <bp-sym.h> and <bp-asm.h>.
38887 (strlen): Don't use BP_SYM.
38888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38889 <bp-sym.h> and <bp-asm.h>.
38890 (strncmp): Don't use BP_SYM. Remove comment about bounded
38891 pointers.
38892 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38893 <bp-sym.h> and <bp-asm.h>.
38894 (__strnlen): Don't use BP_SYM.
38895 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38896 <bp-sym.h> and <bp-asm.h>.
38897 (__GI__setjmp): Don't use BP_SYM.
38898 (_setjmp): Likewise.
38899 (__sigsetjmp): Likewise.
38900 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38901 (L(start_addresses)): Don't use BP_SYM.
38902 (_start): Likewise.
38903 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38904 <bp-asm.h>.
38905 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38906 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38907 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38908 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38909 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38910 <bp-asm.h>.
38911 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38912 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38913 about bounded pointers.
38914 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38915 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38916 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38917 <bp-asm.h>.
38918 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38919 about bounded pointers. Remove GKM FIXME comments.
38920 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38921 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38922 <bp-asm.h>.
38923 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38924 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38925 Remove GKM FIXME comments.
38926 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38927 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38928 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38929 <bp-asm.h>.
38930 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38931 about bounded pointers. Remove GKM FIXME comment.
38932 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38933 and <bp-asm.h>.
38934 (strncmp): Don't use BP_SYM. Remove comment about bounded
38935 pointers.
38936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38937 <bp-sym.h> and <bp-asm.h>.
38938 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38940 <bp-sym.h> and <bp-asm.h>.
38941 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38942 comment.
38943
38944 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38945
38946 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38947 call free(NULL).
38948
38949 2013-03-05 David S. Miller <davem@davemloft.net>
38950
38951 * po/es.po: Update from translation team.
38952
38953 2013-03-05 Andreas Jaeger <aj@suse.de>
38954
38955 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38956 <bits/mman-linux.h>.
38957 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38958 is fine.
38959 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38960 <bits/mman-linux.h> to end of file.
38961 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38962 is fine.
38963 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38964 <bits/mman-linux.h> to end of file.
38965 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38966 is fine.
38967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38968 <bits/mman-linux.h> to end of file.
38969
38970 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38971 (MCL_CURRENT, MCL_FUTURE): Define here.
38972
38973 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38974
38975 [BZ #15232]
38976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38977 attribute_hidden.
38978 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38979
38980 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38981
38982 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38983 fourth parameter needed for rt_sigprocmask syscall.
38984 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38985 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38986 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38987 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38988 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38989 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38990
38991 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38992
38993 [BZ #13550]
38994 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38995 comment about bounded pointers.
38996 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38997 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38998
38999 2013-03-04 Andreas Jaeger <aj@suse.de>
39000
39001 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39002 common definitions.
39003
39004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39005 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39006 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39007 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39009 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39010
39011 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39012
39013 [BZ #15055]
39014 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39015 __ieee754_sqrl instead of __sqrl.
39016
39017 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39018
39019 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39020 * sysdeps/powerpc/fpu_control.h: ... here.
39021 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39022 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39023 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39024 * sysdeps/powerpc/bits/mathinline.h: ... here.
39025
39026 2013-03-01 Roland McGrath <roland@hack.frob.com>
39027
39028 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39029 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39030 to just [NEED_DL_SYSINFO_DSO].
39031 * elf/dl-support.c: Likewise.
39032 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39033 * elf/rtld.c (dl_main): Likewise.
39034 * elf/setup-vdso.h (setup_vdso): Likewise.
39035 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39036 * sysdeps/unix/sysv/linux/dl-sysdep.c
39037 (_dl_discover_osversion): Likewise.
39038
39039 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39040
39041 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39042 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39043
39044 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39045
39046 * NEWS: Mention libm performance improvements and non-x86 PI
39047 futex support.
39048
39049 * csu/libc-start.c (__pthread_initialize_minimal): Change
39050 function arguments.
39051 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39052
39053 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39054
39055 [BZ #13550]
39056 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39057 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39058 <bp-sym.h> and <bp-asm.h>.
39059 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39060 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39061 and <bp-asm.h>.
39062 (memcpy): Don't use BP_SYM.
39063 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39064 <bp-asm.h>.
39065 (__mpn_add_n): Don't use BP_SYM.
39066 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39067 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39068 and <bp-asm.h>.
39069 (__mpn_addmul_1): Don't use BP_SYM.
39070 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39071 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39072 <bp-sym.h>.
39073 (_setjmp): Don't use BP_SYM.
39074 (__novmx_setjmp): Likewise.
39075 (__GI__setjmp): Likewise.
39076 (__vmx_setjmp): Likewise.
39077 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39078 <bp-sym.h>.
39079 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39080 (__bzero): Don't use BP_SYM.
39081 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39082 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39083 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39084 <bp-sym.h> and <bp-asm.h>.
39085 (memcpy): Don't use BP_SYM.
39086 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39087 <bp-sym.h> and <bp-asm.h>.
39088 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39090 <bp-sym.h> and <bp-asm.h>.
39091 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39092 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39093 <bp-asm.h>.
39094 (__mpn_lshift): Don't use BP_SYM.
39095 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39096 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39097 <bp-asm.h>.
39098 (memset): Don't use BP_SYM.
39099 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39100 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39101 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39102 <bp-asm.h>.
39103 (__mpn_mul_1): Don't use BP_SYM.
39104 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39105 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39106 <bp-sym.h> and <bp-asm.h>.
39107 (memcmp): Don't use BP_SYM.
39108 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39109 <bp-sym.h> and <bp-asm.h>.
39110 (memcpy): Don't use BP_SYM.
39111 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39112 <bp-sym.h> and <bp-asm.h>.
39113 (memset): Don't use BP_SYM.
39114 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39115 <bp-sym.h> and <bp-asm.h>.
39116 (strncmp): Don't use BP_SYM.
39117 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39118 <bp-sym.h> and <bp-asm.h>.
39119 (memcpy): Don't use BP_SYM.
39120 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39121 <bp-sym.h> and <bp-asm.h>.
39122 (memset): Don't use BP_SYM.
39123 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39124 <bp-sym.h> and <bp-asm.h>.
39125 (__memchr): Don't use BP_SYM.
39126 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39127 <bp-sym.h> and <bp-asm.h>.
39128 (memcmp): Don't use BP_SYM.
39129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39130 <bp-sym.h> and <bp-asm.h>.
39131 (memcpy): Don't use BP_SYM.
39132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39133 <bp-sym.h> and <bp-asm.h>.
39134 (__mempcpy): Don't use BP_SYM.
39135 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39136 <bp-sym.h> and <bp-asm.h>.
39137 (__memrchr): Don't use BP_SYM.
39138 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39139 <bp-sym.h> and <bp-asm.h>.
39140 (memset): Don't use BP_SYM.
39141 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39142 <bp-sym.h> and <bp-asm.h>.
39143 (__rawmemchr): Don't use BP_SYM.
39144 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39145 <bp-sym.h> and <bp-asm.h>.
39146 (__STRCMP): Don't use BP_SYM.
39147 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39148 <bp-sym.h> and <bp-asm.h>.
39149 (strchr): Don't use BP_SYM.
39150 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39151 <bp-sym.h> and <bp-asm.h>.
39152 (__strchrnul): Don't use BP_SYM.
39153 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39154 <bp-sym.h> and <bp-asm.h>.
39155 (strlen): Don't use BP_SYM.
39156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39157 <bp-sym.h> and <bp-asm.h>.
39158 (strncmp): Don't use BP_SYM.
39159 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39160 <bp-sym.h> and <bp-asm.h>.
39161 (__strnlen): Don't use BP_SYM.
39162 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39163 <bp-asm.h>.
39164 (__mpn_rshift): Don't use BP_SYM.
39165 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39166 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39167 <bp-sym.h> and <bp-asm.h>.
39168 (__sigsetjmp): Don't use BP_SYM.
39169 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39170 (L(start_addresses)): Don't use BP_SYM.
39171 (_start): Likewise.
39172 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39173 <bp-asm.h>.
39174 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39175 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39176 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39177 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39178 <bp-asm.h>.
39179 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39180 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39181 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39182 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39183 <bp-asm.h>.
39184 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39185 comments.
39186 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39187 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39188 <bp-asm.h>.
39189 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39190 FIXME comments.
39191 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39192 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39193 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39194 <bp-asm.h>.
39195 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39196 comment.
39197 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39198 and <bp-asm.h>.
39199 (strncmp): Don't use BP_SYM,
39200 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39201 <bp-asm.h>.
39202 (__mpn_sub_n): Don't use BP_SYM.
39203 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39204 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39205 and <bp-asm.h>.
39206 (__mpn_submul_1): Don't use BP_SYM.
39207 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39209 <bp-sym.h> and <bp-asm.h>.
39210 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39212 <bp-sym.h> and <bp-asm.h>.
39213 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39214 comment.
39215
39216 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39217
39218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39219 Use ZK to minimize writes to Z.
39220 (sub_magnitudes): Simplify code a bit.
39221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39222 Use ZK to minimize writes to Z.
39223 (sub_magnitudes): Simplify code a bit.
39224
39225 2013-02-27 Roland McGrath <roland@hack.frob.com>
39226
39227 * csu/gmon-start.c: Add special exception to license text.
39228
39229 2013-02-27 Richard Henderson <rth@redhat.com>
39230
39231 * scripts/config.guess: Update from config.git.
39232 * scripts/config.sub: Likewise.
39233
39234 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39235
39236 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39237
39238 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39239
39240 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39241
39242 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39243
39244 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39245
39246 2013-02-26 Roland McGrath <roland@hack.frob.com>
39247
39248 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39249 [$(build-shared = yes].
39250
39251 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39252
39253 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39254 (__mul): Reduce iterations for calculating mantissa.
39255
39256 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39257 MPTWO.
39258 (__mpranred): Likewise.
39259
39260 [BZ #15160]
39261 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39262 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39263
39264 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39265
39266 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39267 Define __attribute__.
39268
39269 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39270
39271 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39272 unused.
39273 * posix/regex_internal.h (__attribute): Remove.
39274 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39275 (re_string_context_at): Likewise.
39276 (bitset_not): Use __attribute__ and mark function as possibly
39277 unused.
39278 (bitset_merge): Likewise.
39279 (bitset_mask): Likewise.
39280 (re_string_char_size_at): Likewise.
39281 (re_string_wchar_at): Likewise.
39282 (re_string_elem_size_at): Likewise.
39283
39284 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39285
39286 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39287 code.
39288 (cc32): Likewise.
39289
39290 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39291 (__acr): Likewise.
39292 (__cpy): Likewise.
39293 (norm): Likewise.
39294 (denorm): Likewise.
39295 (__dbl_mp): Likewise.
39296 (add_magnitudes): Likewise.
39297 (sub_magnitudes): Likewise.
39298 (__mul): Likewise.
39299 (__inv): Likewise.
39300
39301 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39302 style.
39303
39304 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39305 style.
39306
39307 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39308 code.
39309
39310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39311 up changes with default code.
39312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39313 Likewise.
39314
39315 2013-02-24 Allan McRae <allan@archlinux.org>
39316
39317 * manual/socket.texi (The Internet Namespace): Order menu items
39318 to match that in the file.
39319
39320 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39321 node listing of the info page menu.
39322
39323 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39324
39325 [BZ #13550]
39326 * sysdeps/i386/bp-asm.h: Remove file.
39327 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39328 (PARMS): Do not use macros from bp-asm.h.
39329 (S1): Likewise.
39330 (S2): Likewise.
39331 (SIZE): Likewise.
39332 (__mpn_add_n): Do not use BP_SYM
39333 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39334 "bp-asm.h".
39335 (PARMS): Do not use macros from bp-asm.h.
39336 (S1): Likewise.
39337 (SIZE): Likewise.
39338 (__mpn_addmul_1): Do not use BP_SYM
39339 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39340 "bp-asm.h".
39341 (PARMS): Do not use macros from bp-asm.h.
39342 (SIGMSK): Likewise.
39343 (_setjmp): Likewise. Do not use BP_SYM.
39344 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39345 "bp-asm.h".
39346 (PARMS): Do not use macros from bp-asm.h.
39347 (SIGMSK): Likewise.
39348 (setjmp): Likewise. Do not use BP_SYM.
39349 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39350 "bp-asm.h".
39351 (PARMS): Do not use macros from bp-asm.h.
39352 (__frexp): Do not use BP_SYM.
39353 (frexp): Likewise.
39354 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39355 "bp-asm.h".
39356 (PARMS): Do not use macros from bp-asm.h.
39357 (__frexpf): Do not use BP_SYM.
39358 (frexpf): Likewise.
39359 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39360 "bp-asm.h".
39361 (PARMS): Do not use macros from bp-asm.h.
39362 (__frexpl): Do not use BP_SYM.
39363 (frexpl): Likewise.
39364 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39365 "bp-asm.h".
39366 (PARMS): Do not use macros from bp-asm.h.
39367 (__remquo): Do not use BP_SYM.
39368 (remquo): Likewise.
39369 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39370 "bp-asm.h".
39371 (PARMS): Do not use macros from bp-asm.h.
39372 (__remquof): Do not use BP_SYM.
39373 (remquof): Likewise.
39374 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39375 "bp-asm.h".
39376 (PARMS): Do not use macros from bp-asm.h.
39377 (__remquol): Do not use BP_SYM.
39378 (remquol): Likewise.
39379 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39380 "bp-asm.h".
39381 (PARMS): Do not use macros from bp-asm.h.
39382 (DEST): Likewise.
39383 (SRC): Likewise.
39384 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39385 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39386 "bp-asm.h".
39387 (PARMS): Do not use macros from bp-asm.h.
39388 (strlen): Do not use BP_SYM.
39389 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39390 "bp-asm.h".
39391 (PARMS): Do not use macros from bp-asm.h.
39392 (S1): Likewise.
39393 (S2): Likewise.
39394 (SIZE): Likewise.
39395 (__mpn_add_n): Do not use BP_SYM.
39396 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39397 "bp-asm.h".
39398 (PARMS): Do not use macros from bp-asm.h.
39399 (S1): Likewise.
39400 (SIZE): Likewise.
39401 (__mpn_addmul_1): Do not use BP_SYM.
39402 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39403 weak_alias.
39404 (bzero): Likewise.
39405 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39406 "bp-asm.h".
39407 (PARMS): Do not use macros from bp-asm.h.
39408 (S): Likewise.
39409 (SIZE): Likewise.
39410 (__mpn_lshift): Do not use BP_SYM.
39411 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39412 "bp-asm.h".
39413 (PARMS): Do not use macros from bp-asm.h.
39414 (DEST): Likewise.
39415 (SRC): Likewise.
39416 (LEN): Likewise.
39417 (memcpy): Likewise. Do not use BP_SYM.
39418 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39419 libc_hidden_def and weak_alias.
39420 (mempcpy): Do not use BP_SYM in weak_alias.
39421 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39422 "bp-asm.h".
39423 (PARMS): Do not use macros from bp-asm.h.
39424 (DEST): Likewise.
39425 (LEN): Likewise.
39426 [!BZERO_P] (CHR): Likewise.
39427 (memset): Likewise. Do not use BP_SYM.
39428 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39429 "bp-asm.h".
39430 (PARMS): Do not use macros from bp-asm.h.
39431 (S1): Likewise.
39432 (SIZE): Likewise.
39433 (__mpn_mul_1): Do not use BP_SYM.
39434 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39435 "bp-asm.h".
39436 (PARMS): Do not use macros from bp-asm.h.
39437 (S): Likewise.
39438 (SIZE): Likewise.
39439 (__mpn_rshift): Do not use BP_SYM.
39440 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39441 "bp-asm.h".
39442 (PARMS): Do not use macros from bp-asm.h.
39443 (STR): Likewise.
39444 (CHR): Likewise.
39445 (strchr): Likewise. Do not use BP_SYM.
39446 (index): Do not use BP_SYM in weak_alias.
39447 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39448 "bp-asm.h".
39449 (PARMS): Do not use macros from bp-asm.h.
39450 (DEST): Likewise.
39451 (SRC): Likewise.
39452 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39453 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39454 "bp-asm.h".
39455 (PARMS): Do not use macros from bp-asm.h.
39456 (strlen): Do not use BP_SYM.
39457 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39458 "bp-asm.h".
39459 (PARMS): Do not use macros from bp-asm.h.
39460 (S1): Likewise.
39461 (S2): Likewise.
39462 (SIZE): Likewise.
39463 (__mpn_sub_n): Do not use BP_SYM.
39464 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39465 "bp-asm.h".
39466 (PARMS): Do not use macros from bp-asm.h.
39467 (S1): Likewise.
39468 (SIZE): Likewise.
39469 (__mpn_submul_1): Do not use BP_SYM.
39470 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39471 "bp-asm.h".
39472 (PARMS): Do not use macros from bp-asm.h.
39473 (S1): Likewise.
39474 (S2): Likewise.
39475 (SIZE): Likewise.
39476 (__mpn_add_n): Do not use BP_SYM.
39477 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39478 weak_alias.
39479 (bzero): Likewise.
39480 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39481 "bp-asm.h".
39482 (PARMS): Do not use macros from bp-asm.h.
39483 (BLK2): Likewise.
39484 (LEN): Likewise.
39485 (memcmp): Do not use BP_SYM.
39486 (bcmp): Do not use BP_SYM in weak_alias.
39487 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39488 "bp-asm.h".
39489 (PARMS): Do not use macros from bp-asm.h.
39490 (DEST): Likewise.
39491 (SRC): Likewise.
39492 (LEN): Likewise.
39493 (memcpy): Likewise. Do not use BP_SYM.
39494 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39495 "bp-asm.h".
39496 (PARMS): Do not use macros from bp-asm.h.
39497 (DEST): Likewise.
39498 (SRC): Likewise.
39499 (LEN): Likewise.
39500 (memmove): Likewise. Do not use BP_SYM.
39501 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39502 "bp-asm.h".
39503 (PARMS): Do not use macros from bp-asm.h.
39504 (DEST): Likewise.
39505 (SRC): Likewise.
39506 (LEN): Likewise.
39507 (__mempcpy): Likewise. Do not use BP_SYM.
39508 (mempcpy): Do not use BP_SYM in weak_alias.
39509 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39510 "bp-asm.h".
39511 (PARMS): Do not use macros from bp-asm.h.
39512 (DEST): Likewise.
39513 (LEN): Likewise.
39514 [!BZERO_P] (CHR): Likewise.
39515 (memset): Likewise. Do not use BP_SYM.
39516 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39517 "bp-asm.h".
39518 (PARMS): Do not use macros from bp-asm.h.
39519 (STR2): Likewise.
39520 (strcmp): Do not use BP_SYM.
39521 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39522 "bp-asm.h".
39523 (PARMS): Do not use macros from bp-asm.h.
39524 (STR): Likewise.
39525 (DELIM): Likewise.
39526 [USE_AS_STRTOK_R] (SAVE): Likewise.
39527 (FUNCTION): Likewise. Do not use BP_SYM.
39528 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39529 aliases.
39530 (strtok_r): Likewise.
39531 (__GI___strtok_r): Likewise.
39532 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39533 (PARMS): Do not use macros from bp-asm.h.
39534 (S): Likewise.
39535 (SIZE): Likewise.
39536 (__mpn_lshift): Do not use BP_SYM.
39537 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39538 (PARMS): Do not use macros from bp-asm.h.
39539 (STR): Likewise.
39540 (CHR): Likewise.
39541 (__memchr): Do not use BP_SYM.
39542 (memchr): Do not use BP_SYM in weak_alias.
39543 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39544 (PARMS): Do not use macros from bp-asm.h.
39545 (BLK2): Likewise.
39546 (LEN): Likewise.
39547 (memcmp): Do not use BP_SYM.
39548 (bcmp): Do not use BP_SYM in weak_alias.
39549 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39550 (PARMS): Do not use macros from bp-asm.h.
39551 (S1): Likewise.
39552 (SIZE): Likewise.
39553 (__mpn_mul_1): Do not use BP_SYM.
39554 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39555 "bp-asm.h".
39556 (PARMS): Do not use macros from bp-asm.h.
39557 (STR): Likewise.
39558 (CHR): Likewise.
39559 (__rawmemchr): Do not use BP_SYM.
39560 (rawmemchr): Do not use BP_SYM in weak_alias.
39561 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39562 (PARMS): Do not use macros from bp-asm.h.
39563 (S): Likewise.
39564 (SIZE): Likewise.
39565 (__mpn_rshift): Do not use BP_SYM.
39566 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39567 (PARMS): Do not use macros from bp-asm.h.
39568 (SIGMSK): Likewise.
39569 (__sigsetjmp): Likewise. Do not use BP_SYM.
39570 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39571 (_start): Do not use BP_SYM.
39572 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39573 (PARMS): Do not use macros from bp-asm.h.
39574 (DEST): Likewise.
39575 (SRC): Likewise.
39576 (__stpcpy): Likewise. Do not use BP_SYM.
39577 (stpcpy): Do not use BP_SYM in weak_alias.
39578 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39579 "bp-asm.h".
39580 (PARMS): Do not use macros from bp-asm.h.
39581 (DEST): Likewise.
39582 (SRC): Likewise.
39583 (LEN): Likewise.
39584 (__stpncpy): Likewise. Do not use BP_SYM.
39585 (stpncpy): Do not use BP_SYM in weak_alias.
39586 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39587 (PARMS): Do not use macros from bp-asm.h.
39588 (STR): Likewise.
39589 (CHR): Likewise.
39590 (strchr): Likewise. Do not use BP_SYM.
39591 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39592 "bp-asm.h".
39593 (PARMS): Do not use macros from bp-asm.h.
39594 (STR): Likewise.
39595 (CHR): Likewise.
39596 (__strchrnul): Likewise. Do not use BP_SYM.
39597 (strchrnul): Do not use BP_SYM in weak_alias.
39598 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39599 "bp-asm.h".
39600 (PARMS): Do not use macros from bp-asm.h.
39601 (STOP): Likewise.
39602 (strcspn): Do not use BP_SYM.
39603 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39604 "bp-asm.h".
39605 (PARMS): Do not use macros from bp-asm.h.
39606 (STR): Likewise.
39607 (STOP): Likewise.
39608 (strpbrk): Likewise. Do not use BP_SYM.
39609 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39610 "bp-asm.h".
39611 (PARMS): Do not use macros from bp-asm.h.
39612 (STR): Likewise.
39613 (CHR): Likewise.
39614 (strrchr): Likewise. Do not use BP_SYM.
39615 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39616 (PARMS): Do not use macros from bp-asm.h.
39617 (SKIP): Likewise.
39618 (strspn): Do not use BP_SYM.
39619 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39620 (PARMS): Do not use macros from bp-asm.h.
39621 (STR): Likewise.
39622 (DELIM): Likewise.
39623 (SAVE): Likewise.
39624 (FUNCTION): Likewise. Do not use BP_SYM.
39625 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39626 aliases.
39627 (strtok_r): Likewise.
39628 (__GI___strtok_r): Likewise.
39629 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39630 (PARMS): Do not use macros from bp-asm.h.
39631 (S1): Likewise.
39632 (S2): Likewise.
39633 (SIZE): Likewise.
39634 (__mpn_sub_n): Do not use BP_SYM.
39635 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39636 "bp-asm.h".
39637 (PARMS): Do not use macros from bp-asm.h.
39638 (S1): Likewise.
39639 (SIZE): Likewise.
39640 (__mpn_submul_1): Do not use BP_SYM.
39641 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39642 <bp-sym.h>.
39643 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39644 and <bp-asm.h>.
39645 (PARMS): Do not use macros from bp-asm.h.
39646 (FLAGS): Likewise.
39647 (PTID): Likewise.
39648 (TLS): Likewise.
39649 (CTID): Likewise.
39650 (__clone): Do not use BP_SYM.
39651 (clone): Do not use BP_SYM in weak_alias.
39652 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39653 and <bp-asm.h>.
39654 (PARMS): Do not use macros from bp-asm.h.
39655 (LEN): Likewise.
39656 (__mmap64): Do not use BP_SYM.
39657 (mmap64): Do not use BP_SYM in weak_alias.
39658 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39659 <bp-sym.h> and <bp-asm.h>.
39660 (PARMS): Do not use macros from bp-asm.h.
39661 (__posix_fadvise64_l64): Do not use BP_SYM.
39662 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39663 (PARMS): Do not use macros from bp-asm.h.
39664 (NSOPS): Likewise.
39665 (semtimedop): Do not use BP_SYM.
39666 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39667 and <bp-asm.h>.
39668
39669 2013-02-21 Allan McRae <allan@archlinux.org>
39670
39671 * manual/message.texi (Charset conversion in gettext):
39672 Move @end statement to beginning of line.
39673
39674 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39675
39676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39677 static.
39678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39679 Likewise.
39680
39681 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39682 (denorm): Likewise.
39683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39685
39686 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39687
39688 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39689 tail-call to the resolved function if pltexit isn't needed.
39690
39691 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39692
39693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39694 or Y being zero as being unlikely.
39695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39696 Likewise.
39697
39698 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39699
39700 * manual/nss.texi (System Databases and Name Service Switch):
39701 Remove frobnicate @pxref.
39702
39703 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39704
39705 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39706 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39707
39708 2013-02-20 Petr Machata <pmachata@redhat.com>
39709
39710 * elf/elf.h (R_ARM_TARGET1): New macro.
39711 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39712 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39713 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39714 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39715 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39716 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39717 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39718 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39719 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39720 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39721 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39722 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39723 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39724 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39725 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39726 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39727 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39728 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39729 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39730 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39731 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39732 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39733 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39734 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39735 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39736 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39737 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39738 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39739 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39740 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39741 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39742 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39743 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39744 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39745 (R_ARM_THM_GOT_BREL12): Likewise.
39746 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39747 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39748 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39749 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39750 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39751 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39752 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39753 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39754 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39755
39756 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39757
39758 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39759 __attribute_used__ to __attribute__ ((unused)).
39760
39761 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39762
39763 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39764 powerpc mpa.c.
39765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39766 comment formatting.
39767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39768
39769 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39770
39771 [BZ #13550]
39772 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39773 Remove macro.
39774 (ENTER): Remove both macro definitions.
39775 (LEAVE): Likewise.
39776 (CHECK_BOUNDS_LOW): Likewise.
39777 (CHECK_BOUNDS_HIGH): Likewise.
39778 (CHECK_BOUNDS_BOTH): Likewise.
39779 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39780 (RETURN_BOUNDED_POINTER): Likewise.
39781 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39782 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39783 (POP_ERRNO_LOCATION_RETURN): Likewise.
39784 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39785 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39786 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39787 macros.
39788 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39789 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39790 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39791 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39792 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39793 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39794 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39795 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39796 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39797 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39798 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39799 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39800 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39801 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39802 removed macros.
39803 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39804 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39805 macros.
39806 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39807 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39808 * sysdeps/i386/i586/memset.S (memset): Likewise.
39809 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39810 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39811 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39812 macros.
39813 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39814 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39815 Change uses of L(2) to L(out).
39816 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39817 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39818 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39819 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39820 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39821 removed macros.
39822 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39823 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39824 macros.
39825 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39826 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39827 (RETURN): Do not use macro LEAVE.
39828 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39829 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39830 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39831 * sysdeps/i386/i686/memset.S (memset): Likewise.
39832 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39833 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39834 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39835 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39836 Likewise.
39837 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39838 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39839 L(1_2) and L(1_3) into L(1).
39840 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39841 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39843 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39844 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39845 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39846 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39847 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39848 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39849 macros.
39850 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39851 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39852 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39853 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39854 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39855 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39856 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39857 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39858 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39859 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39860 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39861 * sysdeps/i386/strspn.S (strspn): Likewise.
39862 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39863 conditional code.
39864 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39865 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39866 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39867 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39868 L(1_3) into L(1_1).
39869 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39870 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39871 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39872 macros.
39873 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39874
39875 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39876
39877 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39878 macro.
39879
39880 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39881
39882 * math/atest-exp.c (exp_mpn): Remove ROUND.
39883 * math/atest-exp2.c (exp_mpn): Likewise.
39884 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39885
39886 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39887 * stdlib/tst-tls-atexit-lib.c: Likewise.
39888 * stdlib/tst-tls-atexit.c: Likewise.
39889
39890 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39891
39892 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39893 and __attribute_alloc_size__.
39894
39895 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39896
39897 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39898 __attribute_alloc_size__.
39899 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39900 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39901
39902 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39903
39904 * include/programs/xmalloc.h: New file.
39905 * catgets/gencat.c: Include it.
39906 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39907 * elf/pldd.c: Likewise.
39908 * iconv/iconv_charmap.c: Likewise.
39909 * iconv/iconvconfig.c: Likewise.
39910 * iconv/strtab.c: Likewise.
39911 * locale/programs/locale.c: Likewise.
39912 * locale/programs/localedef.h: Likewise.
39913 * locale/programs/simple-hash.c: Likewise.
39914 * nscd/nscd.h: Likewise.
39915 * nss/makedb.c: Likewise.
39916 * sysdeps/generic/ldconfig.h: Likewise.
39917
39918 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39919
39920 * Versions.def: Add GLIBC_2.18.
39921 * include/link.h (struct link_map): New member l_tls_dtor_count.
39922 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39923 (__call_tls_dtors): Likewise.
39924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39925 __cxa_thread_atexit_impl.
39926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39927 Likewise.
39928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39929 Likewise.
39930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39931 Likewise.
39932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39933 Likewise.
39934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39936 Likewise.
39937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39938 Likewise.
39939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39941 Likewise.
39942 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39943 (tests): Add test case tst-tls-atexit.
39944 (modules-names): Add shared library for tst-tls-atexit.
39945 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39946 (GLIBC_PRIVATE): Add __call_tls_dtors.
39947 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39948 for libstdc++.
39949 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39950 * stdlib/tst-tls-atexit.c: New test case.
39951 * stdlib/tst-tls-atexit-lib.c: New test case.
39952
39953 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39954
39955 * elf/Versions (ld): Add _dl_find_dso_for_object.
39956 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39957 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39958 (dl_open_worker): Use _dl_find_dso_for_object.
39959 * elf/dl-sym.c (do_sym): Likewise.
39960 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39961
39962 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39963
39964 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39965 Syntactic changes only.
39966 (_dl_runtime_profile): Do a tail-call to the resolved function.
39967
39968 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39969
39970 [BZ #13550]
39971 * sysdeps/x86_64/bp-asm.h: Remove file.
39972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39973 <bp-sym.h> and <bp-asm.h>.
39974 (__clone): Do not use BP_SYM.
39975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39976 <bp-sym.h> and <bp-asm.h>.
39977 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39978 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39979 "bp-asm.h".
39980 (_setjmp): Do not use BP_SYM.
39981 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39982 "bp-asm.h".
39983 (setjmp): Do not use BP_SYM.
39984 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39985 libc_hidden_def.
39986 (mempcpy): Do not use BP_SYM in weak_alias.
39987 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39988 "bp-asm.h".
39989 (strchr): Do not use BP_SYM.
39990 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39991 "bp-asm.h".
39992 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39993 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39994 (_start): Do not use BP_SYM.
39995 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39996 "bp-asm.h".
39997 (strcat): Do not use BP_SYM.
39998 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39999 "bp-asm.h".
40000 (STRCMP): Do not use BP_SYM.
40001 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40002 "bp-asm.h".
40003 (STRCPY): Do not use BP_SYM.
40004 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40005 "bp-asm.h".
40006 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40007 "bp-asm.h".
40008 (FUNCTION): Do not use BP_SYM.
40009 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40010 weak_alias.
40011 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40012
40013 2013-02-17 Andreas Jaeger <aj@suse.de>
40014
40015 * time/Versions: Sort entries.
40016 * string/Versions: Likewise.
40017 * resolv/Versions: Likewise.
40018 * posix/Versions: Likewise.
40019 * iconv/Versions: Likewise.
40020 * elf/Versions: Likewise.
40021 * wcsmbs/Versions: Likewise.
40022
40023 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40024
40025 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40026 loop termination condition.
40027
40028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40029 variable to calculate EZ.
40030 (__sqr): Likewise.
40031
40032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40033 the lower precision input.
40034
40035 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40036
40037 [BZ #13550]
40038 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40039 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40040 (run-via-rtld-prefix): Do not handle %-bp tests.
40041 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40042 (all-object-suffixes): Remove .ob.
40043 (bppfx): Remove variable.
40044 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40045 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40046 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40047 [$(build-bounded) = yes] (libtype.ob): Likewise.
40048 * Makerules (elide-routines.ob): Remove variable.
40049 (do-tests-clean): Do not handle *-bp.out.
40050 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40051 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40052 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40053 (tests): Do not include $(tests-bp.out).
40054 (xtests): Do not include $(xtests-bp.out).
40055 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40056 [$(build-bounded) = yes] ($(addprefix
40057 $(objpfx),$(binaries-bounded))): Remove rule.
40058 ($(objpfx)%-bp.out): Remove rule.
40059 * config.make.in (build-bounded): Remove variable.
40060 * crypt/Makefile [$(build-bounded) = yes]
40061 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40062 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40063 append to variable.
40064 [$(build-bounded) = yes] (install-lib): Likewise.
40065 [$(build-bounded) = yes] (generated): Likewise.
40066 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40067 Remove rule.
40068 * intl/Makefile [$(build-bounded) = yes]
40069 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40070 * math/Makefile [$(build-bounded) = yes]
40071 ($(tests:%=$(objpfx)%-bp): Likewise.
40072 * misc/Makefile [$(build-bounded) = yes]
40073 ($(objpfx)tst-tsearch-bp): Likewise.
40074 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40075 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40076 Remove dependency.
40077 * string/Makefile (o-objects.ob): Remove variable.
40078 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40079 (CFLAGS-.ob): Remove variable.
40080 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40081 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40082 both definitions of variable.
40083 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40084 (ASFLAGS-.ob): Remove variable.
40085
40086 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40087
40088 [BZ #13550]
40089 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40090 Remove __BOUNDED_POINTERS__ from condition.
40091 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40092 * string/bits/string2.h [!__NO_STRING_INLINES &&
40093 !__BOUNDED_POINTERS__]: Likewise.
40094 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40095 Likewise.
40096 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40097 Remove conditional code.
40098 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40099 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40100 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40101 condition.
40102
40103 [BZ #13550]
40104 * csu/libc-start.c: Do not include <bp-sym.h>.
40105 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40106 * elf/dl-open.c: Do not include <bp-sym.h>.
40107 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40108 * math/fegetenv.c: Do not include <bp-sym.h>.
40109 (fegetenv): Do not use BP_SYM in versioned symbols.
40110 * nptl/sysdeps/pthread/bits/libc-lockP.h
40111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40112 <bp-sym.h>.
40113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40114 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40116 (__pthread_mutex_destroy): Likewise.
40117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40118 (__pthread_mutex_lock): Likewise.
40119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40120 (__pthread_mutex_trylock): Likewise.
40121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40122 (__pthread_mutex_unlock): Likewise.
40123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40124 (__pthread_mutexattr_init): Likewise.
40125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40126 (__pthread_mutexattr_destroy): Likewise.
40127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40128 (__pthread_mutexattr_settype): Likewise.
40129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40130 (__pthread_rwlock_init): Likewise.
40131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40132 (__pthread_rwlock_destroy): Likewise.
40133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40134 (__pthread_rwlock_rdlock): Likewise.
40135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40136 (__pthread_rwlock_tryrdlock): Likewise.
40137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40138 (__pthread_rwlock_wrlock): Likewise.
40139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40140 (__pthread_rwlock_trywrlock): Likewise.
40141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40142 (__pthread_rwlock_unlock): Likewise.
40143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40144 (__pthread_key_create): Likewise.
40145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40146 (__pthread_setspecific): Likewise.
40147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40148 (__pthread_getspecific): Likewise.
40149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40150 Likewise.
40151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40152 (_pthread_cleanup_push_defer): Likewise.
40153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40154 (_pthread_cleanup_pop_restore): Likewise.
40155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40156 (pthread_setcancelstate): Likewise.
40157 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40158 <bp-sym.h>.
40159 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40160 (memchr): Do not use BP_SYM in weak_alias.
40161 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40162 (fegetenv): Do not use BP_SYM in versioned symbols.
40163 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40164 (fesetenv): Do not use BP_SYM in versioned symbols.
40165 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40166 (feupdateenv): Do not use BP_SYM in versioned symbols.
40167 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40168 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40169 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40170 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40171 (open64): Do not use BP_SYM in weak_alias.
40172 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40173 (fegetenv): Do not use BP_SYM in versioned symbols.
40174 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40175 (fesetenv): Do not use BP_SYM in versioned symbols.
40176 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40177 (feupdateenv): Do not use BP_SYM in versioned symbols.
40178 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40179 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40180 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40181 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40182 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40183 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40185 <bp-sym.h>.
40186 (__libc_start_main): Do not use BP_SYM.
40187
40188 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40189
40190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40191 redundant return line.
40192 (norm): Likewise.
40193 (denorm): Likewise.
40194 (dbl_mp): Likewise.
40195 (sub_magnitudes): Likewise.
40196 (__add): Likewise.
40197 (__sub): Likewise.
40198 (__mul): Likewise.
40199 (__inv): Likewise.
40200 (__dvd): Likewise.
40201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40202 (norm): Likewise.
40203 (denorm): Likewise.
40204 (dbl_mp): Likewise.
40205 (sub_magnitudes): Likewise.
40206 (__add): Likewise.
40207 (__sub): Likewise.
40208 (__mul): Likewise.
40209 (__inv): Likewise.
40210 (__dvd): Likewise.
40211
40212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40213 instead of __mul.
40214 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40215 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40216 (cc32): Likewise.
40217
40218 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40219 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40221 of __mul for squares.
40222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40223 function
40224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40225 Likewise.
40226 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40227 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40228
40229 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40230
40231 [BZ #13550]
40232 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40233 code.
40234 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40235 prototype or function definition. Rename ubp_* variables and
40236 parameters. Remove argv definitions conditional on
40237 [__BOUNDED_POINTERS__].
40238 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40239 * elf/dl-runtime.c (_dl_fixup): Likewise.
40240 * include/set-hooks.h (RUN_HOOK): Likewise.
40241 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40242 definition.
40243 * string/strcpy.c (strcpy): Do not use __unbounded.
40244 * sysdeps/generic/frame.h (struct layout): Likewise.
40245 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40246 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40247 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40248 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40249 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40250 (__backtrace): Likewise.
40251 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40252 use __ptrvalue.
40253 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40254 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40255 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40256 Likewise.
40257 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40258 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40259 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40260 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40261 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40262 Do not use __unbounded.
40263 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40264 Rename __unboundedrlimits parameter to rlimits in prototype.
40265 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40266 Do not use __unbounded.
40267 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40268 not use __ptrvalue.
40269 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40270 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40271 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40272 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40273 __ptrvalue or __unbounded.
40274 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40275 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40276 use __unbounded.
40277 (__new_msgctl): Do not use __ptrvalue.
40278 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40279 __unbounded.
40280 (__libc_msgrcv): Do not use __ptrvalue.
40281 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40282 startup_info): Do not use __unbounded.
40283 (__libc_start_main): Likewise. Rename ubp_* variables and
40284 parameters. Remove argv definitions conditional on
40285 [__BOUNDED_POINTERS__].
40286 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40287 __ptrvalue.
40288 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40289 use __unbounded.
40290 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40291 or __ptrvalue.
40292 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40293 use __unbounded.
40294 (__new_shmctl): Do not use __ptrvalue.
40295 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40296 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40297 Likewise.
40298 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40300 (__libc_sigaction): Likewise.
40301 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40302 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40303 Likewise.
40304 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40305
40306 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40307
40308 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40309
40310 * string/mempcpy.c: Implement by calling memcpy.
40311
40312 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40313
40314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40315
40316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40317 evaluation.
40318
40319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40320 values in the mantissa.
40321
40322 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40323 minimize writes to Z.
40324 (sub_magnitudes): Simplify code a bit.
40325
40326 2013-02-12 Roland McGrath <roland@hack.frob.com>
40327
40328 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40329 from the message. The linker prefixes all warnings with that already.
40330
40331 2013-02-12 Andreas Schwab <schwab@suse.de>
40332
40333 [BZ #15078]
40334 * posix/regexec.c (extend_buffers): Add parameter min_len.
40335 (check_matching): Pass minimum needed length.
40336 (clean_state_log_if_needed): Likewise.
40337 (get_subexp): Likewise.
40338 * posix/Makefile (tests): Add bug-regex34.
40339 (bug-regex34-ENV): Define.
40340 * posix/bug-regex34.c: New file.
40341
40342 [BZ #11561]
40343 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40344 elements compare against the byte sequence of it, not its name.
40345 * posix/Makefile (tests): Add bug-regex35.
40346 (bug-regex35-ENV): Define.
40347 * posix/bug-regex35.c: New file.
40348
40349 2013-02-11 Tom de Vries <tom@codesourcery.com>
40350
40351 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40352 comment.
40353 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40354 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40355 (CHECK_EOL): Add undef.
40356
40357 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40358
40359 * bits/stdlib-bsearch.h: New file.
40360 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40361 * stdlib/stdlib.h: Likewise.
40362
40363 2013-02-11 Roland McGrath <roland@hack.frob.com>
40364
40365 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40366 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40367 declaration.
40368 * manual/search.texi (Array Search Function): Add missing const in
40369 lfind prototype.
40370 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40371 declaration to use rlim_t.
40372 (Basic Scheduling Functions): Remove erroneous const from
40373 sched_getparam prototype. Remove erroneous * from
40374 sched_get_priority_max and sched_get_priority_min prototypes.
40375 (Resource Usage): Fix summary @comment on vtimes to refer to
40376 sys/vtimes.h rather than vtimes.h.
40377 Add missing *s in vtimes prototype.
40378 (Limits on Resources): Fix ulimit prototype to return long int.
40379 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40380 prototypes to use long int rather than double.
40381 (BSD Random): Fix initstate and setstate to use char *, not void *.
40382 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40383 prototype to make second argument 'struct aiocb64 *const[]'.
40384 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40385 (Status of AIO Operations): Remove erroneous const in aio_return and
40386 aio_return64 prototypes.
40387 (Synchronizing I/O): Fix sync prototype to return void.
40388 * manual/startup.texi (Suboptions): Remove an erroneous const in
40389 getsubopt prototype.
40390 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40391 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40392 use size_t rather than int.
40393 (Scanning All Users): Likewise for getpwent_r.
40394 (Setting Groups): Add missing const to setgroups prototype.
40395 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40396 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40397 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40398 'const void *' rather than 'const char *'.
40399 (Host Address Functions): Likewise for inet_ntop.
40400 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40401 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40402 ssize_t for return value.
40403 (Sending Data): Likewise for send, sendto, sendmsg.
40404 (Socket Option Functions): Add a missing const in setsockopt prototype.
40405 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40406 use wchar_t for the argument.
40407 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40408 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40409 take no arguments.
40410 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40411 double/float/long double for second argument.
40412 Fix return types of significand, significandf, significandl.
40413 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40414 argument in fchmod prototype.
40415 (File Owner): Use uid_t and gid_t in fchown prototype.
40416 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40417 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40418 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40419 use 'const struct dirent **' as argument types to CMP function pointer
40420 argument.
40421 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40422 (File Times): Fix summary magic @comment for struct utimbuf and utime
40423 to refer to utime.h, not time.h.
40424 * manual/string.texi (Argz Functions): Add missing const in
40425 argz_extract and argz_next prototypes.
40426 (Finding Tokens in a String): Likewise for basename.
40427 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40428 (Copying and Concatenation): Fix typo in wmemmove prototype.
40429 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40430 (Signal Stack): Remove erroneous const in sigstack prototype.
40431 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40432 prototype.
40433 (Simple Calendar Time): Likewise for stime.
40434 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40435 prototype.
40436 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40437 say sys/sysctl.h instead.
40438 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40439 and vsyslog prototypes.
40440
40441 2013-02-11 Tom de Vries <tom@codesourcery.com>
40442
40443 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40444 Remove.
40445
40446 2013-02-11 Roland McGrath <roland@hack.frob.com>
40447
40448 * misc/sys/mman.h: Fix typo in mremap comment.
40449
40450 2013-02-08 Roland McGrath <roland@hack.frob.com>
40451
40452 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40453 the '\0' terminator.
40454
40455 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40456
40457 [BZ #13550]
40458 * debug/segfault.c: Don't include <bp-checks.h>.
40459 * sysdeps/generic/bp-checks.h: Remove file.
40460 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40461 (__GETDENTS): Don't use CHECK_N.
40462 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40463 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40464 (__getgroups): Don't use CHECK_N.
40465 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40466 (setgroups): Don't use CHECK_N.
40467 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40468 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40469 (__libc_msgrcv): Don't use CHECK_N.
40470 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40471 (__libc_msgsnd): Don't use CHECK_N.
40472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40473 <bp-checks.h>.
40474 (__libc_pread): Don't use CHECK_N.
40475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40476 include <bp-checks.h>.
40477 (__libc_pread64): Don't use CHECK_N.
40478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40479 include <bp-checks.h>.
40480 (__libc_pwrite): Don't use CHECK_N.
40481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40482 include <bp-checks.h>.
40483 (__libc_pwrite64): Don't use CHECK_N.
40484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40485 <bp-checks.h>.
40486 (__libc_pread): Don't use CHECK_N.
40487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40488 include <bp-checks.h>.
40489 (__libc_pread64): Don't use CHECK_N.
40490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40491 include <bp-checks.h>.
40492 (__libc_pwrite): Don't use CHECK_N.
40493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40494 include <bp-checks.h>.
40495 (__libc_pwrite64): Don't use CHECK_N.
40496 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40497 (do_pread): Don't use CHECK_N.
40498 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40499 (do_pread64): Don't use CHECK_N.
40500 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40501 (do_pwrite): Don't use CHECK_N.
40502 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40503 (do_pwrite64): Don't use CHECK_N.
40504 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40505 (__libc_readv): Don't use CHECK_N.
40506 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40507 (semop): Don't use CHECK_N.
40508 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40509 <bp-checks.h>.
40510 (semtimedop): Don't use CHECK_N.
40511 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40512 (__libc_pread): Don't use CHECK_N.
40513 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40514 <bp-checks.h>.
40515 (__libc_pread64): Don't use CHECK_N.
40516 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40517 <bp-checks.h>.
40518 (__libc_pwrite): Don't use CHECK_N.
40519 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40520 <bp-checks.h>.
40521 (__libc_pwrite64): Don't use CHECK_N.
40522 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40523 <bp-checks.h>.
40524 (__libc_msgrcv): Don't use CHECK_N.
40525 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40526 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40527 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40528 (__libc_writev): Don't use CHECK_N.
40529
40530 2013-02-08 Roland McGrath <roland@hack.frob.com>
40531
40532 * string/strcpy.c: Removed unused variable.
40533
40534 * Makeconfig (+sysdep-includes): Define with := rather than =.
40535 Use an existing include/ subdir of each sysdeps dir before it.
40536
40537 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40538
40539 * nscd/connection.c (register_traced_file): Comment function.
40540 [HAVE_INOTIFY] (union __inev): Define.
40541 [HAVE_INOTIFY] (inotify_check_files): New function.
40542 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40543 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40544 clear_db_cache.
40545 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40546
40547 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40548
40549 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40550 loaded if not already and that a failure is permanent.
40551
40552 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40553
40554 [BZ #15006]
40555 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40556 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40557
40558 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40559
40560 [BZ #13550]
40561 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40562 (CHECK_1_NULL_OK): Likewise.
40563 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40564 (__fxstat): Do not use CHECK_1.
40565 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40566 <bp-checks.h>.
40567 (___fxstat64): Do not use CHECK_1.
40568 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40569 <bp-checks.h>.
40570 (__fxstatat): Do not use CHECK_1.
40571 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40572 <bp-checks.h>.
40573 (__fxstatat64): Do not use CHECK_1.
40574 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40575 <bp-checks.h>.
40576 (__fxstat): Do not use CHECK_1.
40577 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40578 <bp-checks.h>.
40579 (__fxstatat): Do not use CHECK_1.
40580 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40581 <bp-checks.h>.
40582 (__getresgid): Do not use CHECK_1.
40583 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40584 <bp-checks.h>.
40585 (__getresuid): Do not use CHECK_1.
40586 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40587 <bp-checks.h>.
40588 (__lxstat): Do not use CHECK_1.
40589 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40590 <bp-checks.h>.
40591 (__old_msgctl): Do not use CHECK_1.
40592 (__new_msgctl): Likewise.
40593 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40594 <bp-checks.h>.
40595 (__new_setrlimit): Do not use CHECK_1.
40596 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40597 <bp-checks.h>.
40598 (__old_shmctl): Do not use CHECK_1.
40599 (__new_shmctl): Likewise.
40600 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40601 <bp-checks.h>.
40602 (__xstat): Do not use CHECK_1.
40603 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40604 (__lxstat): Do not use CHECK_1.
40605 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40606 <bp-checks.h>.
40607 (___lxstat64): Do not use CHECK_1.
40608 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40609 (__old_msgctl): Do not use CHECK_1.
40610 (__new_msgctl): Likewise.
40611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40612 <bp-checks.h>.
40613 (__gettimeofday): Do not use CHECK_1.
40614 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40615 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40616 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40617 <bp-checks.h>.
40618 (__gettimeofday): Do not use CHECK_1.
40619 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40620 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40621 (__new_shmctl): Do not use CHECK_1.
40622 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40623 <bp-checks.h>.
40624 (do_sigtimedwait): Do not use CHECK_1.
40625 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40626 <bp-checks.h>.
40627 (do_sigwaitinfo): Do not use CHECK_1.
40628 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40629 <bp-checks.h>.
40630 (msgctl): Do not use CHECK_1.
40631 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40632 <bp-checks.h>.
40633 (shmctl): Do not use CHECK_1.
40634 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40635 (ustat): Do not use CHECK_1.
40636 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40637 <bp-checks.h>.
40638 (__fxstat): Do not use CHECK_1.
40639 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40640 <bp-checks.h>.
40641 (__fxstatat): Do not use CHECK_1.
40642 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40643 <bp-checks.h>.
40644 (__lxstat): Do not use CHECK_1.
40645 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40646 <bp-checks.h>.
40647 (__xstat): Do not use CHECK_1.
40648 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40649 (__xstat): Do not use CHECK_1.
40650 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40651 (___xstat64): Do not use CHECK_1.
40652
40653 [BZ #13550]
40654 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40655 definitions.
40656 (CHECK_BOUNDS_HIGH): Likewise.
40657 * string/strcpy.c: Do not include <bp-checks.h>.
40658 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40659
40660 2013-02-07 Roland McGrath <roland@hack.frob.com>
40661
40662 * nscd/nscd-client.h (__nscd_drop_map_ref):
40663 Add __attribute__ ((unused)).
40664 * nis/nss-nisplus.h (niserr2nss): Likewise.
40665
40666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40667 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40668
40669 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40670 Remove inline keyword.
40671 * include/rounding-mode.h (round_away): Likewise.
40672 * libio/wfileops.c (adjust_wide_data): Likewise.
40673 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40674 (__m128i_strloadu_tolower): Likewise.
40675 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40676 (__m128i_strloadu_tolower): Likewise.
40677 * time/mktime.c (ydhms_diff): Likewise.
40678 * locale/elem-hash.h (elem_hash): Likewise.
40679 * locale/setlocale.c (setdata): Likewise.
40680 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40681 (re_string_wchar_at): Likewise.
40682 (bitset_not, bitset_merge, bitset_mask): Likewise.
40683 [!(__GNUC__ > 3)] (inline): Remove macro.
40684 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40685 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40686 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40687 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40688 * string/memcmp.c (memcmp_bytes): Likewise.
40689 * locale/programs/locarchive.c (compute_hashval): Likewise.
40690 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40691 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40692 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40693 * nss/getent.c (print_rpc, print_protocols): Likewise.
40694 (print_passwd, print_group, print_aliases): Likewise.
40695 * nis/nss-nisplus.h (niserr2nss): Likewise.
40696 * nscd/connections.c (restart_p): Likewise.
40697 Change return type to bool.
40698
40699 2013-02-05 Roland McGrath <roland@hack.frob.com>
40700
40701 * Makeconfig (all-Depend-files): Add existing
40702 $(sorted-subdirs:=/Depend) files.
40703 (all-subdirs): Remove nss.
40704 * sysdeps/unix/inet/Subdirs: Add it here instead.
40705 * hesiod/Depend: New file.
40706
40707 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40708 instead of calling alloca.
40709
40710 * io/lseek.c (__lseek): Rename to __libc_lseek.
40711 Define __lseek as an alias.
40712
40713 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40714
40715 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40716
40717 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40718 else clause and remove check for non-standard endianness.
40719
40720 2013-02-04 David S. Miller <davem@davemloft.net>
40721
40722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40723
40724 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40725
40726 [BZ #13550]
40727 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40728 (__ubp_memchr): Remove prototype.
40729 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40730 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40731 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40732 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40733 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40734 Remove alias.
40735 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40736 (__ubp_memchr): Likewise.
40737 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40738 (__ubp_memchr): Likewise.
40739 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40740 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40741 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40742 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40743 CHECK_STRING.
40744 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40745 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40746 (__getcwd): Do not use CHECK_STRING.
40747 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40748 <bp-checks.h>.
40749 (__real_chown): Do not use CHECK_STRING.
40750 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40751 <bp-checks.h>.
40752 (fchownat): Do not use CHECK_STRING.
40753 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40754 CHECK_STRING.
40755 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40756 <bp-checks.h>.
40757 (__lchown): Do not use CHECK_STRING.
40758 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40759 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40760 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40761 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40763 include <bp-checks.h>.
40764 (truncate64): Do not use CHECK_STRING.
40765 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40766 <bp-checks.h>.
40767 (__real_chown): Do not use CHECK_STRING.
40768 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40769 <bp-checks.h>.
40770 (__lchown): Do not use CHECK_STRING.
40771 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40772 <bp-checks.h>.
40773 (__chown): Do not use CHECK_STRING.
40774 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40775 <bp-checks.h>.
40776 (truncate64): Do not use CHECK_STRING.
40777 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40778 Likewise.
40779 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40780 (__xmknod): Do not use CHECK_STRING.
40781 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40782 <bp-checks.h>.
40783 (__xmknodat): Do not use CHECK_STRING.
40784 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40785 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40786
40787 2013-02-04 Andreas Schwab <schwab@suse.de>
40788
40789 [BZ #14142]
40790 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40791 * include/netdb.h: Likewise for h_errno.
40792 * elf/tst-stackguard1.c: Include <tls.h>.
40793
40794 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40795
40796 * elf/link.h (struct link_map): Extend the l_addr comment.
40797 * include/link.h (struct link_map): Likewise.
40798
40799 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40800
40801 [BZ #13550]
40802 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40803 (BOUNDED_1): Remove macro.
40804 * debug/backtrace.c: Don't include <bp-checks.h>.
40805 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40806 (__backtrace): Likewise.
40807 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40808 <bp-checks.h>.
40809 (__backtrace): Don't use BOUNDED_1.
40810 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40811 <bp-checks.h>.
40812 (__backtrace): Don't use BOUNDED_1.
40813 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40814 (__backtrace): Don't use BOUNDED_1.
40815 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40816 (shmat): Don't use BOUNDED_N.
40817
40818 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40819
40820 [BZ #13550]
40821 * sysdeps/generic/bp-start.h: Remove file.
40822 * csu/libc-start.c: Don't include <bp-start.h>.
40823 (LIBC_START_MAIN): Set up __environ directly instead of using
40824 INIT_ARGV_and_ENVIRON.
40825 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40826 <bp-start.h>.
40827
40828 [BZ #13550]
40829 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40830 definitions.
40831 (CHECK_FCNTL): Likewise.
40832 (CHECK_N_PAGES): Likewise.
40833
40834 [BZ #13550]
40835 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40836 definitions.
40837 (CHECK_SIGSET_NULL_OK): Likewise.
40838 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40839 <bp-checks.h>.
40840 (sigpending): Don't use CHECK_SIGSET.
40841 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40842 <bp-checks.h>.
40843 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40844 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40845 <bp-checks.h>.
40846 (do_sigsuspend): Don't use CHECK_SIGSET.
40847 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40848 use CHECK_SIGSET.
40849 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40850 (do_sigwait): Don't use CHECK_SIGSET.
40851 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40852 use CHECK_SIGSET.
40853 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40854 include <bp-checks.h>.
40855 (sigpending): Don't use CHECK_SIGSET.
40856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40857 include <bp-checks.h>.
40858 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40859 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40860 <bp-checks.h>.
40861 (sigpending): Don't use CHECK_SIGSET.
40862 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40863 <bp-checks.h>.
40864 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40865
40866 [BZ #13550]
40867 * sysdeps/generic/bp-semctl.h: Remove file.
40868 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40869 <bp-checks.h> and <bp-semctl.h>.
40870 (__old_semctl): Don't use CHECK_SEMCTL.
40871 (__new_semctl): Likewise.
40872 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40873 and <bp-semctl.h>.
40874 (__old_semctl): Don't use CHECK_SEMCTL.
40875 (__new_semctl): Likewise.
40876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40877 <bp-checks.h> and <bp-semctl.h>.
40878 (__old_semctl): Don't use CHECK_SEMCTL.
40879 (__new_semctl): Likewise.
40880 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40881 <bp-checks.h> and <bp-semctl.h>.
40882 (semctl): Don't use CHECK_SEMCTL.
40883
40884 [BZ #13550]
40885 * Makerules (elide-bp-thunks): Remove variable.
40886 (elide-routines.oS): Don't use $(elide-bp-thunks).
40887 (elide-routines.os): Likewise.
40888 (elide-routines.o): Likewise.
40889 (elide-routines.op): Likewise.
40890 (elide-routines.og): Likewise.
40891 (objects): Don't use $(bp-thunks).
40892 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40893 include.
40894 (common-generated): Do not add s-proto-bp.d.
40895 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40896 (int): Likewise.
40897 (typ): Likewise.
40898 Do not generate makefile rules for bounded-pointer thunks.
40899 * sysdeps/generic/bp-thunks.h: Remove file.
40900 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40901 * sysdeps/unix/s-proto-bp.S: Likewise.
40902
40903 [BZ #15062]
40904 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40905 parts of result separately when argument is not close to line from
40906 -i to i and one part of argument is small.
40907 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40908 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40909 * math/libm-test.inc (cacos_test): Add more tests.
40910 (casin_test): Likewise.
40911 (casinh_test): Likewise.
40912 * sysdeps/i386/fpu/libm-test-ulps: Update.
40913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40914
40915 2013-01-31 David S. Miller <davem@davemloft.net>
40916
40917 * po/de.po: Update from translation team.
40918
40919 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40920
40921 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40922
40923 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40924
40925 * configure.in (_AC_PROG_CC_C89): New definition.
40926 * configure: Regenerate.
40927
40928 * configure.in (AC_PROG_CPP): New definition.
40929 * configure: Regenerate.
40930
40931 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40932
40933 * debug/tst-backtrace.h: New file.
40934 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40935 (ret): Remove variable.
40936 (x): Likewise.
40937 (FAIL): Remove macro.
40938 (NO_INLINE): Likewise.
40939 (fn1): Use match function instead of strstr.
40940 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40941 (ret): Remove variable.
40942 (x): Likewise.
40943 (FAIL): Remove macro.
40944 (NO_INLINE): Likewise.
40945 (fn): Use match function instead of strstr.
40946 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40947 (ret): Remove variable.
40948 (x): Likewise.
40949 (FAIL): Remove macro.
40950 (NO_INLINE): Likewise.
40951 (handle_signal): Use match function instead of strstr.
40952 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40953 (ret): Remove variable.
40954 (x): Likewise.
40955 (FAIL): Remove macro.
40956 (NO_INLINE): Likewise.
40957 (handle_signal): Use match function instead of strstr.
40958
40959 2013-01-23 Roland McGrath <roland@hack.frob.com>
40960
40961 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40962
40963 2013-01-23 David S. Miller <davem@davemloft.net>
40964
40965 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40966 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40967 argument of CAS if possible.
40968 * sysdeps/sparc/sparc64/bits/atomic.h
40969 (__arch_compare_and_exchange_val_32_acq): Likewise.
40970 (__arch_compare_and_exchange_val_64_acq): Likewise.
40971
40972 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40973
40974 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40975 * sysdeps/posix/ulimit.c: ... this.
40976 Include <limits.h>.
40977 * sysdeps/unix/bsd/ulimit.c: Remove file.
40978
40979 2013-01-23 Adam Conrad <adconrad@0c3.net>
40980
40981 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40982 (LDFLAGS-tst-array5): Likewise.
40983
40984 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40985
40986 [BZ #15036]
40987 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40988 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40989 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40990 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40991
40992 2013-01-21 David S. Miller <davem@davemloft.net>
40993
40994 * sysdeps/sparc/backtrace.c: New file.
40995 * sysdeps/sparc/sparc32/backtrace.h: New file.
40996 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40997 * sysdeps/sparc/sparc64/backtrace.h: New file.
40998 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40999 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41000 -funwind-tables.
41001
41002 2013-01-21 Andreas Schwab <schwab@suse.de>
41003
41004 [BZ #15020]
41005 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41006 closed its stdout.
41007
41008 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41009
41010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41011 "mpa2.h".
41012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41013
41014 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41015 Mark Mitchell <mark@codesourcery.com>
41016 Tom de Vries <tom@codesourcery.com>
41017 Paul Pluzhnikov <ppluzhnikov@google.com>
41018
41019 * debug/tst-backtrace2.c: New file.
41020 * debug/tst-backtrace3.c: Likewise.
41021 * debug/tst-backtrace4.c: Likewise.
41022 * debug/tst-backtrace5.c: Likewise.
41023 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41024 (CFLAGS-tst-backtrace3.c): Likewise.
41025 (CFLAGS-tst-backtrace4.c): Likewise.
41026 (CFLAGS-tst-backtrace5.c): Likewise.
41027 (LDFLAGS-tst-backtrace2): Likewise.
41028 (LDFLAGS-tst-backtrace3): Likewise.
41029 (LDFLAGS-tst-backtrace4): Likewise.
41030 (LDFLAGS-tst-backtrace5): Likewise.
41031 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41032 tst-backtrace4 and tst-backtrace5.
41033
41034 2013-01-18 Anton Blanchard <anton@samba.org>
41035 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41036
41037 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41038 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41040 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41042 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41043 "+r" and remove output regs list as redundant. Add explicit inline
41044 asm to specify register of return val to work around compiler codegen
41045 bug. Remove (int) cast on return value. Add return type parameter to
41046 use in macro so that this macro does not truncate return value for
41047 64-bit values.
41048 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41049 pass to INTERNAL_VSYSCALL_NCS.
41050 (INLINE_VSYSCALL): Add 'long int' as return type to
41051 INTERNAL_VSYSCALL_NCS macro invocation.
41052 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41053 INTERNAL_VSYSCALL_NCS macro invocation.
41054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41055
41056 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41057
41058 [BZ #14496]
41059 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41060 Fix application of SIMD FP exception mask.
41061
41062 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41063 mp_no from a power of two.
41064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41065 __mpexp_twomm1. Use __pow_mp.
41066
41067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41068 multiplication.
41069
41070 2013-01-17 David S. Miller <davem@davemloft.net>
41071
41072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41073
41074 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41075
41076 [BZ #15023]
41077 * include/complex.h: Condition contents on [!_COMPLEX_H].
41078 (__kernel_casinhf): New prototype.
41079 (__kernel_casinh): Likewise.
41080 (__kernel_casinhl): Likewise.
41081 * math/Makefile (libm_calls): Add k_casinh.
41082 * math/k_casinh.c: New file.
41083 * math/k_casinhf.c: Likewise.
41084 * math/k_casinhl.c: Likewise.
41085 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41086 finite nonzero arguments.
41087 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41088 finite nonzero arguments.
41089 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41090 finite nonzero arguments.
41091 * math/s_casinh.c: Do not include <float.h>.
41092 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41093 * math/s_casinhf.c: Do not include <float.h>.
41094 (__casinhf): Move code for finite nonzero arguments to
41095 k_casinhf.c.
41096 * math/s_casinhl.c: Do not include <float.h>.
41097 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41098 redefine.
41099 (__casinhl): Move code for finite nonzero arguments to
41100 k_casinhl.c.
41101 * math/libm-test.inc (cacos_test): Add more tests.
41102 * sysdeps/i386/fpu/libm-test-ulps: Update.
41103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41104
41105 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41106
41107 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41108 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41109 [!HAVE_MREMAP]: Remove [defined linux] case.
41110 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41111
41112 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41113
41114 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41115
41116 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41117
41118 * elf/elf.h (R_386_SIZE32): New relocation.
41119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41120 R_386_SIZE32.
41121 (elf_machine_rela): Likewise.
41122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41123 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41124
41125 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41126
41127 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41128 (FP_FAST_FMA): Do not define.
41129 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41130 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41131 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41132 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41133 !_SOFT_FLOAT]: Likewise.
41134 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41135 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41136 value.
41137 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41138 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41139 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41140 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41141 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41142 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41143 file.
41144
41145 2013-01-16 Andreas Schwab <schwab@suse.de>
41146
41147 [BZ #14327]
41148 * include/stdlib.h (__mktemp): Add declaration.
41149 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41150 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41151
41152 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41153
41154 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41155 definitions.
41156 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41157 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41158 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41159 definitions here.
41160 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41161 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41162 definitions.
41163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41164 and ONE.
41165 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41166 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41168 definitions.
41169 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41170 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41171 definitions.
41172 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41173
41174 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41175
41176 2013-01-15 David S. Miller <davem@davemloft.net>
41177
41178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41179 trunc{,f} to libm-sysdep_routes.
41180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41182 file.
41183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41185 file.
41186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41187 file.
41188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41190 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41191 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41192 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41193 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41194 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41195 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41196
41197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41198 nearbyint{,f} to libm-sysdep_routes.
41199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41201 New file.
41202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41203 file.
41204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41205 New file.
41206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41207 file.
41208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41210 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41211 file.
41212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41214 file.
41215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41216 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41217 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41218
41219 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41220 libc_feholdexcept and libc_fesetenv.
41221
41222 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41223
41224 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41225
41226 2013-01-14 David S. Miller <davem@davemloft.net>
41227
41228 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41229 (SPARC_ASM_VIS2_IFUNC): Likewise.
41230 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41232 use of 'siam' instruction.
41233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41234 Likewise.
41235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41236 Likewise.
41237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41238 Likewise.
41239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41244 file.
41245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41246 file.
41247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41248 file.
41249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41250 file.
41251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41256 new VIS2 routines.
41257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41260 Likewise.
41261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41266 routines to libm-sysdep_routines.
41267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41268
41269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41270 fdim/fdimf to libm-sysdep_routines.
41271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41272 file.
41273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41275 file.
41276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41279 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41280 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41281 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41282 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41283
41284 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41285
41286 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41287 to optimize copies.
41288
41289 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41292
41293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41294 local variable MPTWO.
41295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41296 Likewise.
41297
41298 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41299
41300 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41301 GLOB_NOESCAPE.
41302
41303 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41304
41305 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41306
41307 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41308
41309 * manual/pattern.texi (glob_t): Document gl_flags.
41310 (glob64_t): Likewise.
41311
41312 2013-01-11 David S. Miller <davem@davemloft.net>
41313
41314 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41315 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41316 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41317 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41318 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41319 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41320 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41321 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41322 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41323 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41324 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41325 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41326 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41327
41328 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41329 sparc V9 rather than using V8 code.
41330 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41331 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41332
41333 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41334 Move to...
41335 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41336 Here.
41337
41338 2013-01-11 Roland McGrath <roland@hack.frob.com>
41339
41340 [BZ #14941]
41341 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41342 not in the main loop.
41343 * configure: Regenerated.
41344
41345 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41346
41347 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41348 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41349 to just #else.
41350 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41351 [!__GLIBC_HAVE_LONG_LONG] case.
41352 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41353 condition to just #else.
41354 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41355 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41356 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41357 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41358 unconditional.
41359 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41360 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41361 #elif condition to just #else.
41362 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41363 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41364 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41365 #elif condition to just #else.
41366
41367 2013-01-11 Steve Ellcey <sellcey@mips.com>
41368
41369 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41370 (EF_MIPS_ARCH_64): Fix value.
41371 (EF_MIPS_ARCH_32R2): New.
41372 (EF_MIPS_ARCH_64R2): New.
41373
41374 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41375
41376 * Makeconfig (+link-pie-before-libc): New.
41377 (+link-pie-after-libc): Likewise.
41378 (+link-pie-tests): Likewise.
41379 (+link-pie): Rewritten.
41380 (link-before-libc): Remove $(config-LDFLAGS).
41381 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41382 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41383 (config-LDFLAGS): Renamed to ...
41384 (rtld-LDFLAGS): This.
41385 (rtld-tests-LDFLAGS): New macro.
41386 (link-libc-rpath-link): Likewise.
41387 (link-libc-tests-rpath-link): Likewise.
41388 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41389 (link-libc): Prepand $(link-libc-rpath-link).
41390 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41391 (test-program-prefix): New macro.
41392 (test-via-rtld-prefix): Likewise.
41393 (test-program-cmd): Likewise.
41394 (host-test-program-cmd): Likewise.
41395 * Makefile ($(common-objpfx)testrun.sh): Replace
41396 $(run-program-prefix) with $(test-program-prefix).
41397 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41398 $(rtld-LDFLAGS).
41399 ($(common-objpfx)shlib.lds): Likewise.
41400 (build-module-helper): Likewise.
41401 ($(common-objpfx)format.lds): Likewise.
41402 * Rules (binaries-pie-tests): New.
41403 (binaries-pie-notests): Likewise.
41404 (binaries-pie): Rewritten.
41405 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41406 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41407 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41408 (make-test-out): Replace $(host-built-program-cmd) with
41409 $(host-test-program-cmd).
41410 * config.make.in (build-hardcoded-path-in-tests): New variable.
41411 * configure.in (--enable-hardcoded-path-in-tests): New configure
41412 option.
41413 (hardcoded_path_in_tests): New AC_SUBST.
41414 * configure: Regenerated.
41415 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41416 $(built-program-cmd) with $(test-program-cmd).
41417 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41418 (test_program_cmd): This.
41419 * elf/Makefile ($(objpfx)order.out): Run test with
41420 $(test-program-prefix).
41421 ($(objpfx)order2.out): Likewise.
41422 ($(objpfx)tst-initorder.out): Likewise.
41423 ($(objpfx)tst-initorder2.out): Likewise.
41424 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41425 $(test-program-cmd).
41426 ($(objpfx)tst-array1-static.out): Likewise.
41427 ($(objpfx)tst-array2.out): Likewise.
41428 ($(objpfx)tst-array3.out): Likewise.
41429 ($(objpfx)tst-array4.out): Likewise.
41430 ($(objpfx)tst-array5.out): Likewise.
41431 ($(objpfx)tst-array5-static.out): Likewise.
41432 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41433 $(test-program-cmd).
41434 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41435 $(run-program-prefix) with $(test-program-prefix).
41436 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41437 (test_program_prefix): This.
41438 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41439 $(run-program-prefix) with $(test-program-prefix).
41440 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41441 (test_program_prefix): This.
41442 * iconvdata/tst-tables.sh: Likewise.
41443 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41444 $(run-program-prefix) with $(test-program-prefix).
41445 ($(objpfx)tst-translit.out): Likewise.
41446 ($(objpfx)tst-gettext2.out): Likewise.
41447 ($(objpfx)tst-gettext4.out): Likewise.
41448 ($(objpfx)tst-gettext6.out): Likewise.
41449 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41450 (test_program_prefix): This.
41451 * intl/tst-gettext2.sh: Likewise.
41452 * intl/tst-gettext4.sh Likewise.
41453 * intl/tst-gettext6.sh: Likewise.
41454 * intl/tst-translit.sh: Likewise.
41455 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41456 with $(test-program-cmd).
41457 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41458 $(run-program-prefix) with $(test-program-prefix).
41459 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41460 (test_program_prefix): This.
41461 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41462 $(run-program-prefix) with $(test-program-prefix).
41463 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41464 (test_program_prefix): This.
41465 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41466 * posix/Makefile ($(objpfx)globtest.out): Replace
41467 $(run-via-rtld-prefix) and $(test-wrapper) with
41468 $(test-program-prefix) and $(test-via-rtld-prefix).
41469 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41470 $(test-program-prefix).
41471 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41472 $(host-test-program-cmd).
41473 (tst-spawn-ARGS): Likewise.
41474 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41475 $(test-program-prefix).
41476 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41477 (test_via_rtld_prefix): This.
41478 (test_wrapper): Renamed to ...
41479 (test_program_prefix): This.
41480 (run_program_prefix): Replaced by test_program_prefix.
41481 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41482 (test_program_prefix): This.
41483 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41484 with $(host-test-program-cmd).
41485 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41486 $(run-program-prefix) with $(test-program-prefix).
41487 ($(objpfx)tst-printf.out): Likewise.
41488 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41489 $(test-program-cmd).
41490 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41491 (test_program_prefix): This.
41492 * stdio-common/tst-unbputc.sh: Likewise.
41493 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41494 $(run-program-prefix) with $(test-program-prefix).
41495 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41496 (test_program_prefix): This.
41497 * string/Makefile ($(objpfx)tst-svc.out): Replace
41498 $(built-program-cmd) with $(test-program-cmd).
41499
41500 2013-01-11 Andreas Jaeger <aj@suse.de>
41501
41502 [BZ #15003]
41503 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41504 value. Sync with Linux 3.7.
41505
41506 2013-01-10 David S. Miller <davem@davemloft.net>
41507
41508 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41511
41512 2013-01-10 Roland McGrath <roland@hack.frob.com>
41513
41514 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41515 never set.
41516 * configure: Regenerated.
41517
41518 2013-01-10 David S. Miller <davem@davemloft.net>
41519
41520 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41521 sparc V9 rather than using V8 code.
41522 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41523 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41524
41525 2013-01-10 Roland McGrath <roland@hack.frob.com>
41526
41527 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41528 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41529 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41530 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41531 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41532 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41533 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41534 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41535 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41536 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41537 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41538 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41539 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41540 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41541 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41542 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41543 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41544 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41545 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41546 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41547 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41548 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41549 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41550 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41551 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41552 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41553 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41554
41555 2013-01-10 David S. Miller <davem@davemloft.net>
41556
41557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41558
41559 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41560
41561 * posix/Makefile (tests-static): New variable.
41562 (tests): Add $(tests-static).
41563 (tst-exec-static-ARGS): New variable.
41564 (tst-spawn-static-ARGS): Likewise.
41565 * posix/tst-exec-static.c: New file.
41566 * posix/tst-spawn-static.c: Likewise.
41567 * posix/tst-exec.c: Support run directly.
41568 * posix/tst-spawn.c: Likewise.
41569
41570 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41571
41572 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41573 long.
41574 * math/bits/mathcalls.h (llrint): Likewise.
41575 (llround): Likewise.
41576 * stdlib/stdlib.h (struct drand48_data): Likewise.
41577 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41578 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41579 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41580 Likewise.
41581 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41582 Likewise.
41583 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41584 (elf_greg_t): Likewise.
41585 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41586 (__jmp_buf): Likewise.
41587 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41588 definitions.
41589 (llrint): Likewise, for all definitions.
41590 (llrintl): Likewise.
41591
41592 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41593 Remove [__GNUC__] condition.
41594 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41595 condition to just [__USE_ISOC99].
41596 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41597
41598 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41599
41600 [BZ #14200]
41601 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41602 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41603 defined.
41604 (_POSIX_V6_ILP32_OFF32): Likewise.
41605 (_XBS5_ILP32_OFF32): Likewise.
41606 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41607 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41608
41609 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41610
41611 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41612
41613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41614 doubles __mpexp_twomm1. Adjust usage.
41615 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41616 Remove.
41617
41618 2013-01-10 Andreas Schwab <schwab@suse.de>
41619
41620 [BZ #14964]
41621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41622 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41623
41624 2013-01-09 David S. Miller <davem@davemloft.net>
41625
41626 [BZ #15003]
41627 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41628 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41629 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41630 (TCP_FASTOPEN): Define.
41631 (tcp_repair_opt): New structure.
41632 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41633 enum values.
41634 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41635 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41636 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41637 (tcp_cookie_transactions): New structure.
41638
41639 2013-01-09 Anton Blanchard <anton@samba.org>
41640
41641 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41642 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41644 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41645
41646 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41647
41648 * include/features.h (__USE_ANSI): Remove.
41649
41650 2013-01-09 Roland McGrath <roland@hack.frob.com>
41651
41652 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41653
41654 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41655
41656 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41657
41658 * sysdeps/s390/fpu/libm-test-ulps: Update.
41659
41660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41661
41662 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41663 (__acr): Likewise.
41664 (__cpy): Likewise.
41665 (norm): Likewise.
41666 (denorm): Likewise.
41667 (__mp_dbl): Likewise.
41668 (__dbl_mp): Likewise.
41669 (add_magnitudes): Likewise.
41670 (sub_magnitudes): Likewise.
41671 (__add): Likewise.
41672 (__sub): Likewise.
41673 (__mul): Likewise.
41674 (__inv): Likewise.
41675 (__dvd): Likewise.
41676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41677 (__acr): Likewise.
41678 (__cpy): Likewise.
41679 (norm): Likewise.
41680 (denorm): Likewise.
41681 (__mp_dbl): Likewise.
41682 (__dbl_mp): Likewise.
41683 (add_magnitudes): Likewise.
41684 (sub_magnitudes): Likewise.
41685 (__add): Likewise.
41686 (__sub): Likewise.
41687 (__mul): Likewise.
41688 (__inv): Likewise.
41689 (__dvd): Likewise.
41690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41691 (__acr): Likewise.
41692 (__cpy): Likewise.
41693 (norm): Likewise.
41694 (denorm): Likewise.
41695 (__mp_dbl): Likewise.
41696 (__dbl_mp): Likewise.
41697 (add_magnitudes): Likewise.
41698 (sub_magnitudes): Likewise.
41699 (__add): Likewise.
41700 (__sub): Likewise.
41701 (__mul): Likewise.
41702 (__inv): Likewise.
41703 (__dvd): Likewise.
41704
41705 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41706
41707 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41708 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41709 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41710 2 && __USE_EXTERN_INLINES]: Likewise.
41711
41712 2013-01-08 Andreas Jaeger <aj@suse.de>
41713
41714 [BZ# 14985]
41715 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41716 Remove.
41717 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41718 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41719
41720 2013-01-07 Anton Blanchard <anton@samba.org>
41721
41722 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41723 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41724 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41725 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41726 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41727 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41728 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41729 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41731 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41732 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41733 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41734 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41735 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41736 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41737 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41738 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41740 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41741 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41743 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41745 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41746 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41747 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41748 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41749 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41751 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41752 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41754 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41755 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41756 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41757 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41758 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41759 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41760 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41761 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41762 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41763 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41764 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41765
41766 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41767
41768 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41769 (__MALLOC_PMT): Likewise.
41770 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41771 [__GNUC__], only on [_LIBC].
41772 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41773 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41774 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41775 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41776 forward declaration.
41777 (realloc_hook_ini): Likewise.
41778 (memalign_hook_ini): Likewise.
41779 (__libc_memalign): Do not use __MALLOC_PMT in variable
41780 declaration.
41781 (__libc_valloc): Likewise.
41782 (__libc_pvalloc): Likewise.
41783 (__libc_calloc): Likewise.
41784 (__posix_memalign): Likewise.
41785
41786 [BZ #14996]
41787 * math/s_casinh.c: Include <float.h>.
41788 (__casinh): Do not do computation with squaring and square root
41789 for large arguments.
41790 * math/s_casinhf.c: Include <float.h>.
41791 (__casinhf): Do not do computation with squaring and square root
41792 for large arguments.
41793 * math/s_casinhl.c: Include <float.h>.
41794 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41795 (__casinhl): Do not do computation with squaring and square root
41796 for large arguments.
41797 * math/libm-test.inc (casin_test): Add more tests.
41798 (casinh_test): Likewise.
41799 * sysdeps/i386/fpu/libm-test-ulps: Update.
41800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41801
41802 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41803
41804 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41805 (__x86_64_raw_data_cache_size): Likewise.
41806 (__x86_64_data_cache_size_half): Likewise.
41807 (__x86_64_raw_data_cache_size_half): Likewise.
41808 (__x86_64_shared_cache_size): Likewise.
41809 (__x86_64_raw_shared_cache_size): Likewise.
41810 (__x86_64_shared_cache_size_half): Likewise.
41811 (__x86_64_raw_shared_cache_size_half): Likewise.
41812 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41813 to ...
41814 (__x86_data_cache_size): This.
41815 (__x86_64_raw_data_cache_size): Renamed to ...
41816 (__x86_raw_data_cache_size): This.
41817 (__x86_64_data_cache_size_half): Renamed to ...
41818 (__x86_data_cache_size_half): This.
41819 (__x86_64_raw_data_cache_size_half): Renamed to ...
41820 (__x86_raw_data_cache_size_half): This.
41821 (__x86_64_shared_cache_size): Renamed to ...
41822 (__x86_shared_cache_size): This.
41823 (__x86_64_raw_shared_cache_size): Renamed to ...
41824 (__x86_raw_shared_cache_size): This.
41825 (__x86_64_shared_cache_size_half): Renamed to ...
41826 (__x86_shared_cache_size_half): This.
41827 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41828 (__x86_raw_shared_cache_size_half): This.
41829 * sysdeps/x86_64/memcpy.S: Updated.
41830 * sysdeps/x86_64/memset.S: Likewise.
41831 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41832 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41833 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41834
41835 2013-01-04 David S. Miller <davem@davemloft.net>
41836
41837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41838
41839 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41840
41841 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41842 1 to avoid redefinition warning.
41843 (__USE_GNU): Don't define.
41844 (init_signaling_nan): Protoize.
41845
41846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41847
41848 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41849
41850 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41852 (__cpymn): Likewise.
41853 (norm): Remove commented code.
41854 (denorm): Likewise.
41855 (__mp_dbl): Likewise.
41856 (__inv): Likewise.
41857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41858 (__cpymn): Likewise.
41859 (norm): Remove commented code.
41860 (denorm): Likewise.
41861 (__mp_dbl): Likewise.
41862 (__inv): Likewise.
41863
41864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41865 mp_no value for 1.0 and 2.0.
41866 (norm): Use RADIXI instead of radixi.d.
41867 (denorm): Likewise.
41868 (__mul): Use 0.0 instead of zero.d.
41869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41870 mp_no value for 1.0 and 2.0.
41871 (norm): Use RADIXI instead of radixi.d.
41872 (denorm): Likewise.
41873 (__mul): Use 0.0 instead of zero.d.
41874
41875 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41876
41877 [BZ #14994]
41878 * math/s_casinh.c (__casinh): Reduce finite argument to first
41879 quadrant then set signs of results at the end.
41880 * math/s_casinhf.c (__casinhf): Likewise.
41881 * math/s_casinhl.c (__casinhl): Likewise.
41882 * math/libm-test.inc (casin_test): Add more tests.
41883 (casinh_test): Likewise.
41884 * sysdeps/i386/fpu/libm-test-ulps: Update.
41885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41886
41887 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41888
41889 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41890
41891 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41892
41893 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41894 declarations.
41895 (denorm): Likewise.
41896 (__mp_dbl): Likewise.
41897 (__inv): Likewise.
41898
41899 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41900 and adjust the header comment.
41901
41902 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41903 variable name from declaration.
41904
41905 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41906
41907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41908 Initialize COMMON_CPUID_INDEX_7 element.
41909 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41910 (CPUID_RTM): Likewise.
41911 (HAS_RTM): Likewise.
41912 (COMMON_CPUID_INDEX_7): New enum.
41913
41914 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41915
41916 [BZ #14981]
41917 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41918 size is zero, record memory as freed.
41919
41920 2013-01-03 Andreas Jaeger <aj@suse.de>
41921
41922 * po/ia.po: Add new Interlingua translation.
41923
41924 2012-01-03 Allan McRae <allan@archlinux.org>
41925
41926 * locale/programs/localedef.c: Fix description of '--posix' flag.
41927
41928 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41929
41930 * NEWS: Update dates in second copyright notice.
41931 * README: Update copyright dates in example.
41932 * manual/libc.texinfo: Update copyright dates.
41933 * scripts/test-installation.pl: Update copyright date in --version
41934 output.
41935
41936 * hurd/ctty-input.c: Fix copyright notice formatting.
41937 * hurd/ctty-output.c: Likewise.
41938 * hurd/dtable.c: Likewise.
41939 * hurd/hurd-raise.c: Likewise.
41940 * hurd/hurdprio.c: Likewise.
41941 * hurd/msgportdemux.c: Likewise.
41942 * misc/sys/file.h: Likewise.
41943 * misc/sys/ioctl.h: Likewise.
41944 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41945 * sysdeps/mach/hurd/chdir.c: Likewise.
41946 * sysdeps/mach/hurd/fchdir.c: Likewise.
41947 * sysdeps/mach/hurd/rename.c: Likewise.
41948 * sysdeps/mach/hurd/rmdir.c: Likewise.
41949 * sysdeps/mach/hurd/seekdir.c: Likewise.
41950 * sysdeps/mach/hurd/setsid.c: Likewise.
41951 * sysdeps/posix/wait3.c: Likewise.
41952
41953 * All files with FSF copyright notices: Update copyright dates
41954 using scripts/update-copyrights.
41955 * intl/plural.c: Regenerated.
41956 * locale/programs/charmap-kw.h: Likewise.
41957 * locale/programs/locfile-kw.h: Likewise.
41958
41959 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41960
41961 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41962 four values.
41963
41964 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41965 calculation loop and add branch prediction.
41966
41967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41968 check access beyond bounds of m1np.
41969
41970 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41971 MPTWO.
41972 (__inv): Remove local variable MPTWO to use the global
41973 constant.
41974 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41975 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41976 variable MPTWO.
41977 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41978 MP3HALFS static const.
41979
41980 2013-01-01 David S. Miller <davem@davemloft.net>
41981
41982 * po/ca.po: Update from translation team.
41983
41984 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41985
41986 * scripts/update-copyrights: New file.
41987 * Makeconfig: Reformat copyright notice.
41988 * ctype/ctype.h: Likewise.
41989 * debug/swprintf_chk.c: Likewise.
41990 * elf/dl-cache.c: Likewise.
41991 * elf/dl-debug.c: Likewise.
41992 * elf/dl-object.c: Likewise.
41993 * grp/initgroups.c: Likewise.
41994 * hurd/Makefile: Likewise.
41995 * hurd/hurd/signal.h: Likewise.
41996 * hurd/hurdfault.c: Likewise.
41997 * hurd/hurdioctl.c: Likewise.
41998 * hurd/hurdlookup.c: Likewise.
41999 * hurd/intr-msg.c: Likewise.
42000 * iconv/gconv_open.c: Likewise.
42001 * libio/swprintf.c: Likewise.
42002 * locale/lc-ctype.c: Likewise.
42003 * locale/nl_langinfo.c: Likewise.
42004 * mach/Machrules: Likewise.
42005 * mach/Makefile: Likewise.
42006 * malloc/obstack.h: Likewise.
42007 * manual/Makefile: Likewise.
42008 * manual/tsort.awk: Likewise.
42009 * misc/bits/stab.def: Likewise.
42010 * nis/nis_print_group_entry.c: Likewise.
42011 * nis/nis_table.c: Likewise.
42012 * nis/nss_compat/compat-pwd.c: Likewise.
42013 * nis/nss_compat/compat-spwd.c: Likewise.
42014 * po/Makefile: Likewise.
42015 * posix/fnmatch.c: Likewise.
42016 * posix/regex.h: Likewise.
42017 * resolv/Makefile: Likewise.
42018 * resolv/nss_dns/dns-network.c: Likewise.
42019 * resolv/res_hconf.c: Likewise.
42020 * scripts/gen-sorted.awk: Likewise.
42021 * soft-fp/soft-fp.h: Likewise.
42022 * stdio-common/printf.h: Likewise.
42023 * stdlib/monetary.h: Likewise.
42024 * stdlib/random.c: Likewise.
42025 * stdlib/random_r.c: Likewise.
42026 * sysdeps/generic/Makefile: Likewise.
42027 * sysdeps/gnu/Makefile: Likewise.
42028 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42032 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42036 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42038 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42039 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42040 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42041 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42042 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42044 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42045 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42046 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42048 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42049 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42050 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42056 * sysdeps/mach/hurd/errnos.awk: Likewise.
42057 * sysdeps/mach/hurd/fork.c: Likewise.
42058 * sysdeps/mach/hurd/getcwd.c: Likewise.
42059 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42060 * sysdeps/mach/hurd/mmap.c: Likewise.
42061 * sysdeps/mach/hurd/utimes.c: Likewise.
42062 * sysdeps/mach/hurd/xmknod.c: Likewise.
42063 * sysdeps/posix/profil.c: Likewise.
42064 * sysdeps/posix/readdir_r.c: Likewise.
42065 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42066 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42067 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42068 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42070 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42071 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42072 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42074 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42075 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42076 * sysdeps/pthread/lio_listio.c: Likewise.
42077 * sysdeps/sparc/dl-procinfo.h: Likewise.
42078 * sysdeps/unix/i386/sysdep.S: Likewise.
42079 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42080 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42081 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42082 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42084 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42085 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42086 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42087 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42088 * sysdeps/wordsize-32/divdi3.c: Likewise.
42089 * time/sys/time.h: Likewise.
42090 * wcsmbs/Makefile: Likewise.
42091
42092 2013-01-01 David S. Miller <davem@davemloft.net>
42093
42094 * po/fr.po: Update from translation team.
42095
42096 * catgets/gencat.c: Update copyright year.
42097 * csu/version.c: Likewise.
42098 * debug/catchsegv.sh: Likewise.
42099 * debug/pcprofiledump.c: Likewise.
42100 * debug/xtrace.sh: Likewise.
42101 * elf/ldconfig.c: Likewise.
42102 * elf/ldd.bash.in: Likewise.
42103 * elf/pldd.c: Likewise.
42104 * elf/sotruss.ksh: Likewise.
42105 * elf/sprof.c: Likewise.
42106 * iconv/iconv_prog.c: Likewise.
42107 * iconv/iconvconfig.c: Likewise.
42108 * locale/programs/locale.c: Likewise.
42109 * locale/programs/localedef.c: Likewise.
42110 * login/programs/pt_chown.c: Likewise.
42111 * malloc/memusage.sh: Likewise.
42112 * malloc/memusagestat.c: Likewise.
42113 * malloc/mtrace.pl: Likewise.
42114 * nscd/nscd.c: Likewise.
42115 * nss/getent.c: Likewise.
42116 * nss/makedb.c: Likewise.
42117 * posix/getconf.c: Likewise.
42118
42119 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42120
42121 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42122 numbers.
42123
42124 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42125
42126 * math/bits/mathcalls.h (modf): Use __nonnull.
42127
42128 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42129
42130 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42131 (split): Use macro CN instead of the bare value.
42132 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42133 could be used.
42134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42135 instead of the bare value.
42136 (power1): Likewise.
42137
42138 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42139
42140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42141 __ATAN_TWOM.
42142 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42143
42144 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42145 their values.
42146 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42147 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42148 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42149 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42150
42151 2012-12-28 Andreas Jaeger <aj@suse.de>
42152
42153 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42154 values are from Linux 3.7.
42155
42156 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42157 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42158
42159 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42160
42161 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42162 TRUE case.
42163
42164 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42165 (norm): Likewise.
42166 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42167 variables with preprocessor constants.
42168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42169 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42170 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42171
42172 2012-12-27 Bruno Haible <bruno@clisp.org>
42173
42174 [BZ #14317]
42175 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42176 only if needed.
42177
42178 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42179
42180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42181 and use variable directly.
42182 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42183
42184 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42185 MPONE.
42186 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42188 variable MPONE.
42189 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42191 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42192 include directive. Remove local variable MPONE.
42193 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42194 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42195 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42196
42197 2012-12-25 David S. Miller <davem@davemloft.net>
42198
42199 * version.h (RELEASE): Set to "development".
42200 (VERSION): Set to "2.17.90".
42201 * NEWS: Add 2.18 section.
42202
42203 2012-12-21 David S. Miller <davem@davemloft.net>
42204
42205 * po/hr.po: Update from translation team.
42206
42207 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42208
42209 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42210
42211 2012-12-19 Steve Ellcey <sellcey@mips.com>
42212
42213 * NEWS: Mention new memcpy for MIPS.
42214
42215 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42216
42217 * manual/contrib.texi (Contributors): Spelling correction.
42218
42219 2012-12-15 David S. Miller <davem@davemloft.net>
42220
42221 * po/ru.po: Update from translation team.
42222
42223 2012-12-13 David S. Miller <davem@davemloft.net>
42224
42225 * NEWS: Mention IFUNC testsuite enhancements.
42226
42227 * po/pl.po: Update from translation team.
42228 * po/bg.po: Likewise.
42229
42230 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42231 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42232
42233 2012-12-11 David S. Miller <davem@davemloft.net>
42234
42235 * po/sv.po: Update from translation team.
42236
42237 * po/vi.po: Update from translation team.
42238
42239 * po/cs.po: Update from translation team.
42240
42241 * po/de.po: Update from translation team.
42242 * po/eo.po: Likewise.
42243 * po/nl.po: Likewise.
42244
42245 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42246
42247 [BZ #14246]
42248 * manual/argp.texi (Argp Helper Functions): Move node to follow
42249 Argp Parsing State.
42250
42251 [BZ #14872]
42252 * manual/conf.texi (Limits on File System Capacity): Mention if
42253 terminating null is included in the max size.
42254
42255 2012-12-10 Andreas Jaeger <aj@suse.de>
42256
42257 * po/cs.po: Update from translation team.
42258
42259 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42260
42261 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42262 void pointer and cast to uintptr_t.
42263 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42264 path.
42265 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42266 * sysdeps/s390/s390-64/memset.S: Likewise.
42267
42268 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42269
42270 [BZ #14833]
42271 * menual/message.texi (Message Translation): Fix typos.
42272 (Helper programs for gettext): Likewise.
42273
42274 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42275
42276 [BZ #14898]
42277 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42278 Change to -1.
42279
42280 2012-12-07 David S. Miller <davem@davemloft.net>
42281
42282 * po/libc.pot: Update.
42283
42284 2012-12-07 Richard Henderson <rth@redhat.com>
42285
42286 [BZ #10114]
42287 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42288 normal/normal case to before the switch.
42289 (_FP_DIV): Likewise.
42290
42291 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42292 Mike Frysinger <vapier@gentoo.org>
42293
42294 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42295 check for __NR_fadvise64_64.
42296
42297 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42298
42299 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42300 0, not just to plain "0" as a statement.
42301 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42302 with cw.
42303
42304 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42305
42306 * NEWS: Use sourceware.org in Bugzilla URL.
42307
42308 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42309
42310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42311 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42312
42313 * stdio-common/tst-put-error.c (do_test): Add newline to the
42314 padded test to ensure flush.
42315
42316 2012-12-05 Jeff Law <law@redhat.com>
42317
42318 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42319
42320 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42321
42322 * README: Don't refer to ports add-on as distributed separately.
42323 Mention AArch64 in list of systems supported in the ports add-on.
42324
42325 * LICENSES: Add more non-FSF copyright and license notices.
42326
42327 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42328 ((unused)).
42329
42330 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42331
42332 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42333 10000 as width of padded output.
42334
42335 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42336
42337 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42338
42339 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42340 variable LX with __attribute__ ((unused)).
42341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42342 Likewise.
42343 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42345 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42346 with __attribute__ ((unused)).
42347
42348 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42349
42350 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42351
42352 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42353
42354 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42355 (CFLAGS-nldbl-acos.c): New variable.
42356 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42357 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42358 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42359 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42360 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42361 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42362 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42363 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42364 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42365 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42366 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42367 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42368 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42369 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42370 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42371 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42372 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42373 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42374 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42375 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42376 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42377 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42378 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42379 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42380 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42381 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42382 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42383 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42384 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42385 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42386 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42387 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42388 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42389 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42390 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42391 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42392 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42393 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42394 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42395 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42396 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42397 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42398 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42399 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42400 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42401 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42402 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42403 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42404 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42405 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42406 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42407 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42408 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42409 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42410 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42411 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42412 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42413 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42414 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42415 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42416 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42417 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42418 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42419 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42420 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42421 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42422 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42423 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42424 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42425 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42426 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42427 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42428 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42429 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42430 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42431 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42432 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42433 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42434 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42435 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42436 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42437 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42438 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42439 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42440 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42441 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42442 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42443 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42444 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42445 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42446 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42447 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42448 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42449 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42450 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42451 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42452 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42453
42454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42455 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42456
42457 [BZ #14914]
42458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42459 whole low double instead of just low 47 bits when splitting values
42460 into two parts.
42461
42462 2012-12-03 Allan McRae <allan@archlinux.org>
42463
42464 * manual/stdio.texi (Predefined Printf Handlers): Remove
42465 @hsep and @vsep usage.
42466
42467 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42468
42469 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42470 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42471
42472 2012-12-03 Jeff Law <law@redhat.com>
42473
42474 * time/sys/time.h (settimeofday): Do not mark TV argument
42475 as __nonnull.
42476
42477 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42478
42479 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42480 when currently writing and seek to current position when not.
42481 * libio/Makefile (tests): Remove bug-fclose1.
42482 * libio/bug-fclose1.c: Delete.
42483
42484 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42485
42486 * manual/arith.texi (feenableexcept): Fix typo.
42487 (fedisableexcept): Likewise.
42488
42489 2012-11-30 Roland McGrath <roland@hack.frob.com>
42490
42491 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42492 second, differently-typed declaration, rather than a cast.
42493
42494 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42495
42496 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42497 * include/rpc/svc.h: ... here.
42498
42499 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42500
42501 [BZ #13013]
42502 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42503 depending n and resplen2 to catch cases where answer
42504 equals answerp2.
42505
42506 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42507
42508 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42509 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42510
42511 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42512
42513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42514
42515 2012-11-29 Roland McGrath <roland@hack.frob.com>
42516
42517 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42518
42519 2012-11-28 Jeff Law <law@redhat.com>
42520
42521 [BZ #13761]
42522 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42523 dataset_temporary. Track alloca usage into alloca_used.
42524 If dataset is large allocate and release it via malloc/free.
42525
42526 2012-06-04 Florian Weimer <fweimer@redhat.com>
42527
42528 [BZ #14197]
42529 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42530
42531 2012-11-28 David S. Miller <davem@davemloft.net>
42532
42533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42534
42535 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42536
42537 [BZ #14803]
42538 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42539 of pi/2 rounded to nearest to 64 bits.
42540 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42541 nearest to 64 bits.
42542 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42543 bits.
42544
42545 2012-11-28 Jeff Law <law@redhat.com>
42546 Martin Osvald <mosvald@redhat.com>
42547
42548 [BZ #14889]
42549 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42550 * sunrpc/svc.c: Include time.h.
42551 (__svc_accept_failed): New function.
42552 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42553 any reason other than EINTR, call __svc_accept_failed.
42554 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42555 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42556
42557 2012-11-28 Andreas Schwab <schwab@suse.de>
42558
42559 * scripts/abilist.awk: Also handle indirect functions in .opd
42560 section.
42561
42562 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42563
42564 [BZ #13881]
42565 * sysdeps/x86/fpu/powl_helper.c: New file.
42566 * sysdeps/x86/fpu/Makefile: Likewise.
42567 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42568 (p3): New object.
42569 (__ieee754_powl): Use __powl_helper for finite arguments except
42570 integer exponents below 8.
42571 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42572 (p3): New object.
42573 (__ieee754_powl): Use __powl_helper for finite arguments except
42574 integer exponents below 8.
42575 * math/libm-test.inc (pow_test): Add more tests and enable some
42576 previously disabled tests.
42577 * sysdeps/i386/fpu/libm-test-ulps: Update.
42578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42579
42580 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42581 Carlos O'Donell <carlos_odonell@mentor.com>
42582
42583 * nss/makedb.c (is_prime): Assert that input is odd and greater
42584 than 4. Note that fact in a comment too.
42585 (next_prime): Add 4 to input.
42586
42587 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42588
42589 [BZ #11741]
42590 * libio/Makefile (tests): Add test case tst-fwrite-error.
42591 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42592 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42593 * libio/tst-fwrite-error.c: New test case.
42594
42595 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42596
42597 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42598 before casting to void *.
42599 * include/libc-internal.h (__pointer_type): New macro.
42600 (__integer_if_pointer_type_sub): Likewise.
42601 (__integer_if_pointer_type): Likewise.
42602 (cast_to_integer): Likewise.
42603 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42604 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42605 before casting to atomic64_t.
42606 (atomic_exchange_acq): Likewise.
42607 (__arch_exchange_and_add_body): Likewise.
42608 (__arch_add_body): Likewise.
42609 (atomic_add_negative): Likewise.
42610 (atomic_add_zero): Likewise.
42611
42612 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42613
42614 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42615 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42616 (add_fdes): Likewise.
42617 (linear_search_fdes): Likewise.
42618 (binary_search_unencoded_fdes): Likewise.
42619
42620 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42621
42622 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42623
42624 2012-11-24 Adam Conrad <adconrad@0c3.net>
42625
42626 * configure.in: Autodetect C++ header directories.
42627 * configure: Regenerated.
42628
42629 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42630
42631 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42632
42633 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42634
42635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42636
42637 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42638
42639 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42640 LDBL_MANT_DIG == 106]: Disable some tests.
42641 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42642 Likewise.
42643 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42644 Likewise.
42645
42646 [BZ #14871]
42647 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42648 input for small inputs. Return +/- pi/2 for large inputs.
42649 * math/libm-test.inc (atan_test): Add more tests.
42650
42651 * sysdeps/generic/unwind-dw2-fde-glibc.c
42652 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42653 __attribute__ ((unused)).
42654
42655 [BZ #14645]
42656 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42657 x * y if x and y are nonzero and z is zero.
42658
42659 [BZ #14811]
42660 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42661 nonzero exponents with absolute value below 0x1p-117 to +/-
42662 0x1p-117.
42663
42664 [BZ #14869]
42665 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42666 up arguments below 2**-450, not just those below 2**-500.
42667 * math/libm-test.inc (hypot_test): Add another test.
42668
42669 [BZ #14868]
42670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42671 Return a+b for ratio over 2**120, not 2**60.
42672 * math/libm-test.inc (hypot_test): Add another test.
42673
42674 * math/libm-test.inc (clog_test): Use
42675 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42676 (clog10_test): Likewise.
42677
42678 [BZ #6778]
42679 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42680
42681 2012-11-22 Andreas Schwab <schwab@suse.de>
42682
42683 * sysdeps/i386/fpu/libm-test-ulps: Update.
42684
42685 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42686
42687 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42688 printf output with newline.
42689
42690 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42691
42692 [BZ #14865]
42693 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42694 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42695 -z nodlopen, -z initfirst and -z execstack support.
42696 * configure: Regenerated.
42697
42698 * elf/elf.h (DF_1_NODIRECT): New macro.
42699 (DF_1_IGNMULDEF): Likewise.
42700 (DF_1_NOKSYMS): Likewise.
42701 (DF_1_NOHDR): Likewise.
42702 (DF_1_EDITED): Likewise.
42703 (DF_1_NORELOC): Likewise.
42704 (DF_1_SYMINTPOSE): Likewise.
42705 (DF_1_GLOBAUDIT): Likewise.
42706 (DF_1_SINGLETON): Likewise.
42707 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42708 DT_1_SUPPORTED_MASK bits.
42709 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42710
42711 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42712
42713 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42714
42715 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42716
42717 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42718 macro.
42719
42720 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42721 (sendmmsg): Move declarations...
42722 * socket/sys/socket.h: ... here.
42723 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42724 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42725 include it from...
42726 * socket/recvmmsg.c: ... this new file.
42727 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42728 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42729 definition of __sendmmsg hidden.
42730 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42731 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42732 Move ENOSYS stub into and include it from...
42733 * socket/sendmmsg.c: ... this new file.
42734 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42735 (sysdep_routines): Move recvmmsg and sendmmsg...
42736 * socket/Makefile (routines): ... here.
42737 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42738 (GLIBC_PRIVATE): Add __sendmmsg.
42739 * include/sys/socket.h (__sendmmsg): Add declarations.
42740 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42741 sendmmsg.
42742
42743 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42744
42745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42746 variable I1 with __attribute__ ((unused)).
42747 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42748
42749 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42750
42751 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42752 DUMMY variables with __attribute__ ((unused)).
42753
42754 * bits/byteswap.h: Include <bits/types.h>.
42755 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42756
42757 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42758
42759 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42760 string_t. Do not manually set errno.
42761 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42762 length with __strnlen. Make sure to both set errno and return it on
42763 failure.
42764
42765 2012-11-19 David S. Miller <davem@davemloft.net>
42766
42767 With help from Joseph Myers.
42768 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42769 very large arguments properly.
42770 * math/libm-test.inc (atan_test): New tests.
42771 (atan2_test): New tests.
42772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42774
42775 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42776
42777 [BZ #14856]
42778 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42779 Define to 3.
42780
42781 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42782 [POSIX] (EADDRNOTAVAIL): Likewise.
42783 [POSIX] (EAFNOSUPPORT): Likewise.
42784 [POSIX] (EALREADY): Likewise.
42785 [POSIX] (ECONNABORTED): Likewise.
42786 [POSIX] (ECONNREFUSED): Likewise.
42787 [POSIX] (ECONNRESET): Likewise.
42788 [POSIX] (EDESTADDRREQ): Likewise.
42789 [POSIX] (EDQUOT): Likewise.
42790 [POSIX] (EHOSTUNREACH): Likewise.
42791 [POSIX] (EIDRM): Likewise.
42792 [POSIX] (EISCONN): Likewise.
42793 [POSIX] (ELOOP): Likewise.
42794 [POSIX] (EMULTIHOP): Likewise.
42795 [POSIX] (ENETDOWN): Likewise.
42796 [POSIX] (ENETUNREACH): Likewise.
42797 [POSIX] (ENOBUFS): Likewise.
42798 [POSIX] (ENODATA): Likewise.
42799 [POSIX] (ENOLINK): Likewise.
42800 [POSIX] (ENOMSG): Likewise.
42801 [POSIX] (ENOPROTOOPT): Likewise.
42802 [POSIX] (ENOSR): Likewise.
42803 [POSIX] (ENOSTR): Likewise.
42804 [POSIX] (ENOTCONN): Likewise.
42805 [POSIX] (ENOTSOCK): Likewise.
42806 [POSIX] (EOPNOTSUPP): Likewise.
42807 [POSIX] (EOVERFLOW): Likewise.
42808 [POSIX] (EPROTO): Likewise.
42809 [POSIX] (EPROTONOSUPPORT): Likewise.
42810 [POSIX] (EPROTOTYPE): Likewise.
42811 [POSIX] (ESTALE): Likewise.
42812 [POSIX] (ETIME): Likewise.
42813 [POSIX] (ETXTBSY): Likewise.
42814 [POSIX] (EWOULDBLOCK): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42816 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42817 [POSIX] (SEEK_CUR): Likewise.
42818 [POSIX] (SEEK_END): Likewise.
42819 [POSIX || UNIX98] (mode_t): Do not require.
42820 [POSIX] (off_t): Likewise.
42821 [POSIX] (pid_t): Likewise.
42822 [POSIX] (sys/stat.h): Do not allow header.
42823 [POSIX] (unistd.h): Likewise.
42824 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42825 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42826 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42827 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42828 require.
42829 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42830 sigevent): Specify elements.
42831 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42832 entry.
42833 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42834 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42835
42836 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42837 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42838 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42839 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42840 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42841 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42842 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42843 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42845 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42846 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42847 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42848 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42849 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42850 Likewise.
42851 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42852 Likewise.
42853 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42854 Likewise.
42855 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42856 Likewise.
42857 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42858 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42859 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42860 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42861 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42862 Specify lower bound on value.
42863 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42864 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42865 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42866 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42867 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42868 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42869 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42870 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42871 value.
42872 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42873 as optional.
42874 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42875 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42876 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42877 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42878 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42879 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42880 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42881 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42882 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42883 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42884 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42885 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42886 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42887 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42888 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42889 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42890 entry.
42891 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42892 optional.
42893 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42894 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42895 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42896 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42897 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42898 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42899 Likewise.
42900 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42901 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42902 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42903 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42904 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42905 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42906 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42907 as optional.
42908 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42909 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42911 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42912 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42913 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42914 specify as optional.
42915 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42916 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42917 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42918 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42919 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42920 [XPG3] (NL_LANGMAX): Likewise.
42921 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42922 [POSIX || XPG3] (NL_NMAX): Likewise.
42923 [POSIX || XPG3] (NL_SETMAX): Likewise.
42924 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42925 [XPG3] (NZERO): Likewise.
42926 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42927 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42928 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42929 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42930 (REG_ERANGE): Expect.
42931 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42932 optional-constant.
42933 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42934 Use (void) in prototype.
42935 [POSIX] (*_t): Allow.
42936 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42937 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42938 (WRDE_BADVAL): Expect.
42939
42940 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42941 expect.
42942 [XPG3 || XPG4] (O_RSYNC): Likewise.
42943 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42944 Likewise.
42945 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42946 [XPG3 || XPG4] (sigqueue): Likewise.
42947 [XPG3 || XPG4] (sigtimedwait): Likewise.
42948 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42949 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42950 [XPG3 || XPG4] (vsnprintf): Likewise.
42951 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42952 Likewise.
42953 [XPG3 || XPG4] (blksize_t): Likewise.
42954 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42955 Likewise.
42956 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42957 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42958 [XPG3 || XPG4] (struct itimerspec): Likewise.
42959 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42960 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42961 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42962 [XPG3 || XPG4] (clockid_t): Likewise.
42963 [XPG3 || XPG4] (timer_t): Likewise.
42964 [XPG3 || XPG4] (clock_getres): Likewise.
42965 [XPG3 || XPG4] (clock_gettime): Likewise.
42966 [XPG3 || XPG4] (clock_settime): Likewise.
42967 [XPG3 || XPG4] (nanosleep): Likewise.
42968 [XPG3 || XPG4] (timer_create): Likewise.
42969 [XPG3 || XPG4] (timer_delete): Likewise.
42970 [XPG3 || XPG4] (timer_gettime): Likewise.
42971 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42972 [XPG3 || XPG4] (timer_settime): Likewise.
42973 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42974 [XPG3 || XPG4] (getlogin_r): Likewise.
42975 [XPG3 || XPG4] (pread): Likewise.
42976 [XPG3 || XPG4] (pthread_atfork): Likewise.
42977 [XPG3 || XPG4] (pwrite): Likewise.
42978
42979 [BZ #14835]
42980 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42981 <bits/siginfo.h>.
42982
42983 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42984
42985 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42986 finalizing MALLSTREAM.
42987
42988 * sysdeps/mach/hurd/syncfs.c: New file.
42989
42990 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42991
42992 [BZ #14719]
42993 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42994 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42995 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42996 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42997 (_nss_dns_gethostbyname4_r): Likewise.
42998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42999 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43000
43001 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43002
43003 [BZ #13763]
43004 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43005
43006 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43007
43008 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43009 * elf/cache.c (print_entry): Print ",AArch64" for
43010 FLAG_AARCH64_LIB64
43011
43012 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43013 * elf/cache.c (print_entry): Print ",hard-float" for
43014 FLAG_ARM_LIBHF.
43015
43016 2012-11-18 David S. Miller <davem@davemloft.net>
43017
43018 With help from Joseph Myers.
43019 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43020 cutoff to 2**-13.
43021 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43022 cutoff to 2**-25.
43023 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43024 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43025 small.
43026 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43027 * math/libm-test.inc (y0_test): New tests.
43028 (y1_test): New tests.
43029 * sysdeps/i386/fpu/libm-test-ulps: Update.
43030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43032
43033 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43034
43035 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43036 64-bit targets.
43037 * configure: Regenerated.
43038
43039 2012-11-17 David S. Miller <davem@davemloft.net>
43040
43041 [BZ #14811]
43042 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43043 nonzero exponents with absolute value below 0x1p-128 to +/-
43044 0x1p-128.
43045
43046 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43047
43048 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43049
43050 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43051
43052 * posix/getconf-speclist.c: New file.
43053 * posix/posix-envs.def: Likewise.
43054 * posix/confstr.c (START_ENV_GROUP): New macro.
43055 (END_ENV_GROUP): Likewise.
43056 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43057 (KNOWN_PRESENT_ENV_STRING): Likewise.
43058 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43059 (UNKNOWN_ENVIRONMENT): Likewise.
43060 (confstr): Include posix-envs.def instead of handling
43061 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43062 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43063 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43064 (END_ENV_GROUP): Likewise.
43065 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43066 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43067 (UNKNOWN_ENVIRONMENT): Likewise.
43068 (__sysconf): Include posix-envs.def instead of handling associated
43069 cases directly here.
43070 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43071 preprocessing getconf-speclist.c rather than running getconf or
43072 generating empty file.
43073
43074 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43075
43076 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43077
43078 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43079
43080 [BZ #14672]
43081 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43082
43083 2012-11-16 David S. Miller <davem@davemloft.net>
43084
43085 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43086 smaller than LDBL_EPSILON/2.0L, just return xm1.
43087
43088 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43089
43090 * elf/tst-array1.c (init): Set constructor priority to 1000.
43091 (fini): Set destructor priority to 1000.
43092 * elf/tst-array2dep.c: Likewise.
43093
43094 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43095
43096 [BZ #11741]
43097 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43098 (_IO_new_file_xsputn): Also return EOF if none of the input
43099 data was written when overflow failed.
43100 * libio/iopadn.c (_IO_padn): Likewise.
43101 * libio/iowpadn.c (_IO_wpadn): Likewise.
43102 * stdio-common/tst-put-error.c: Add copyright notice.
43103 (do_test): Add case for printing padded string.
43104 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43105 _IO_padn returned error.
43106 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43107 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43108 return EOF.
43109
43110 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43111
43112 * libio/libioP.h: Add comment note that the references to C++
43113 bits are now obsolete.
43114
43115 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43116
43117 * math/libm-test.inc (check_complex): Use asprintf.
43118
43119 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43120
43121 * debug/pcprofiledump.c (print_version): Update copyright year.
43122 * malloc/memusagestat.c (print_version): Likewise.
43123
43124 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43125
43126 [BZ #14831]
43127 * elf/Makefile (tests): Add tst-audit8.
43128 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43129 ($(objpfx)tst-audit8.out): New target.
43130 (tst-audit8-ENV): New variable.
43131 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43132 audit if l_reloc_result is NULL.
43133 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43134 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43135 * elf/tst-audit8.c: New file.
43136
43137 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43138
43139 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43140 * misc/Makefile (CFLAGS-select.c): Define.
43141 * posix/Makefile (CFLAGS-pause.c): Define.
43142
43143 2012-11-13 David S. Miller <davem@davemloft.net>
43144
43145 * crypt/Makefile: Move test targets after toplevel Rules
43146 inclusion. Grab any necessary sysdep routines when linking.
43147 * crypt/md5.c (md5_process_block): Remove define, we will always
43148 name it __md5_process_block.
43149 (md5_finish_ctx): Update md5_process_block call.
43150 (md5_stream): Likewise.
43151 (md5_process_bytes): Likewise.
43152 (md5_process_block): Rename to __md5_process_block and move to ...
43153 * crypt/md5-block.c: ... here.
43154 * crypt/sha256.c (sha256_process_block): Move to ...
43155 * crypt/sha256-block.c: ... here.
43156 * crypt/sha512.c (sha512_process_block): Move to ...
43157 * crypt/sha512-block.c: ... here.
43158 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43159 path.
43160 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43161 * sysdeps/sparc/sparc64/multiarch/Makefile
43162 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43163 crypt subdir.
43164 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43165 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43166 multiarch changes.
43167 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43168 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43169 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43170 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43171 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43172 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43173 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43174 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43175 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43176 file.
43177 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43178 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43179 file.
43180 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43181
43182 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43183
43184 * timezone/tzselect.ksh: Update from tzcode git revision
43185 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43186 * timezone/zdump.c: Likewise.
43187 * timezone/zic.c: Likewise.
43188 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43189 in TZVERSION setting, not $(PKGVERSION).
43190 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43191 REPORT_BUGS_TO settings.
43192
43193 [BZ #14838]
43194 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43195 macro.
43196
43197 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43198
43199 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43200 detection to immediately after _FP_ROUND().
43201 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43202 bits are 0.
43203
43204 2012-11-11 David S. Miller <davem@davemloft.net>
43205
43206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43207 inttypes.h
43208 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43209 __close rather than their public counterparts.
43210
43211 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43212
43213 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43214 file.
43215 [UNIX98] (sem_timedwait): Do not expect.
43216 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43217 [XPG4 || UNIX98] (sockatmark): Do not expect.
43218 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43219 (clock_getcpuclockid): Do not expect.
43220 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43221 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43222 Do not expect.
43223 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43224 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43225 [UNIX98] (vwscanf): Likewise.
43226 [UNIX98] (vswscanf): Likewise.
43227
43228 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43229
43230 * timezone/version.h: Remove file.
43231 * timezone/README: Do not refer to version.h.
43232 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43233 $(objpfx)version.h.
43234 ($(objpfx)zdump.o): Likewise.
43235 ($(objpfx)version.h): New target.
43236
43237 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43238 2012i.
43239 * timezone/README: Don't mention modification to tzselect.ksh.
43240 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43241 work on unmodified tzselect.ksh. Substitute version numbers in
43242 tzselect.ksh.
43243
43244 * Makefile (format-me): Remove.
43245 (INSTALL): Adjust indentation. Use commands directly instead of
43246 using $(format-me).
43247
43248 * aclocal.m4 (ACX_PKGVERSION): New macro.
43249 (ACX_BUGURL): Likewise.
43250 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43251 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43252 (REPORT_BUGS_TO): Likewise.
43253 * configure: Regenerated.
43254 * config.h.in (PKGVERSION): New macro.
43255 (REPORT_BUGS_TO): Likewise.
43256 * config.make.in (PKGVERSION): New variable.
43257 (PKGVERSION_TEXI): Likewise.
43258 (REPORT_BUGS_TO): Likewise.
43259 (REPORT_BUGS_TEXI): Likewise.
43260 * Makefile (format-me): Use -I$(common-objpfx)manual.
43261 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43262 ($(common-objpfx)manual/%): New target.
43263 (manual/%): Remove target.
43264 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43265 (print_version): Use PKGVERSION.
43266 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43267 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43268 and REPORT_BUGS_TO.
43269 ($(objpfx)xtrace): Likewise.
43270 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43271 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43272 (print_version): Use PKGVERSION.
43273 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43274 (do_version): Use PKGVERSION.
43275 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43276 REPORT_BUGS_TO.
43277 (common-ldd-rewrite): Likewise.
43278 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43279 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43280 (print_version): Use PKGVERSION.
43281 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43282 * elf/pldd.c (argp_program_bug_address): Remove variable.
43283 (more_help): New function.
43284 (argp): Use more_help.
43285 (print_version): Use PKGVERSION.
43286 * elf/sln.c (main): Use PKGVERSION.
43287 (usage): Use REPORT_BUGS_TO.
43288 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43289 (top level): Use PKGVERSION.
43290 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43291 (print_version): Use PKGVERSION.
43292 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43293 (print_version): Use PKGVERSION.
43294 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43295 (print_version): Use PKGVERSION.
43296 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43297 (print_version): Use PKGVERSION.
43298 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43299 (print_version): Use PKGVERSION.
43300 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43301 (print_version): Use PKGVERSION.
43302 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43303 and BUGURL.
43304 ($(objpfx)memusage): Likewise.
43305 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43306 (do_version): Use PKGVERSION.
43307 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43308 (print_version): Use PKGVERSION.
43309 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43310 ($PKGVERSION): New variable.
43311 ($REPORT_BUGS_TO): Likewise.
43312 (usage): Use $REPORT_BUGS_TO.
43313 (top level): Use $PKGVERSION.
43314 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43315 ($(objpfx)pkgvers.texi): New rule.
43316 ($(objpfx)stamp-pkgvers): Likewise.
43317 * manual/install.texi: Include pkgvers.texi.
43318 (--with-pkgversion): Document new configure option.
43319 (--with-bugurl): Likewise.
43320 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43321 than necessarily for this particular distribution. Use
43322 REPORT_BUGS_TO for where to report bugs.
43323 * INSTALL: Regenerated.
43324 * manual/libc.texinfo: Include pkgvers.texi.
43325 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43326 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43327 (print_version): Use PKGVERSION.
43328 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43329 (print_version): Use PKGVERSION.
43330 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43331 (print_version): Use PKGVERSION.
43332 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43333 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43334 macro.
43335 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43336 (print_version): Use PKGVERSION.
43337 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43338 (print_version): Use PKGVERSION.
43339 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43340 and PKGVERSION.
43341
43342 * timezone/checktab.awk: Update from tzcode 2012i.
43343 * timezone/ialloc.c: Likewise.
43344 * timezone/private.h: Likewise.
43345 * timezone/scheck.c: Likewise.
43346 * timezone/tzfile.h: Likewise.
43347 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43348 (TZVERSION): Hardcode tzcode version number.
43349 * timezone/zdump.c: Update from tzcode 2012i.
43350 * timezone/zic.c: Likewise.
43351 * timezone/version.h: New file.
43352 * timezone/README: Describe version.h. Update upstream location.
43353
43354 [BZ #14824]
43355 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43356 (mktemp): Enable declaration.
43357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43361 Likewise.
43362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43363 Likewise.
43364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43365 Likewise.
43366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43367 Likewise.
43368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43369 Likewise.
43370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43371 Likewise.
43372
43373 [BZ #14821]
43374 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43375 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43376 for copies of such integer values.
43377 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43378 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43379
43380 2012-11-09 Andreas Jaeger <aj@suse.de>
43381
43382 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43383 definitions and declarations that are provided by
43384 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43385
43386 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43387
43388 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43389 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43390 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43391 definition.
43392
43393 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43394
43395 * elf/elf.h: Update comment before AArch64 relocations.
43396
43397 2012-11-07 David S. Miller <davem@davemloft.net>
43398
43399 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43400 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43401 (__start_context): Declare.
43402 (__makecontext_ret): Delete.
43403 (__makecontext): Hook up __start_context instead of
43404 __makecontext_ret.
43405 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43406 (sysdep_routines): Add __start_context when in stdlib.
43407
43408 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43409
43410 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43411 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43412 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43413 hardcoded "nm".
43414 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43415 (READELF): New variable. Use it instead of hardcoded "readelf".
43416
43417 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43418
43419 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43420 * sysdeps/x86/Makefile: Here.
43421 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43422 * sysdeps/x86/tst-xmmymm.sh: This.
43423
43424 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43425
43426 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43427 expectations.
43428 [UNIX98] (pthread_barrier_t): Do not expect.
43429 [UNIX98] (pthread_barrierattr_t): Likewise.
43430 [UNIX98] (pthread_spinlock_t): Likewise.
43431 [UNIX98] (pthread_barrier_destroy): Likewise.
43432 [UNIX98] (pthread_barrier_init): Likewise.
43433 [UNIX98] (pthread_barrier_wait): Likewise.
43434 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43435 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43436 [UNIX98] (pthread_barrierattr_init): Likewise.
43437 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43438 [UNIX98] (pthread_getcpuclockid): Likewise.
43439 [UNIX98] (pthread_mutex_timedlock): Likewise.
43440 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43441 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43442 [UNIX98] (pthread_sigmask): Likewise.
43443 [UNIX98] (pthread_spin_destroy): Likewise.
43444 [UNIX98] (pthread_spin_init): Likewise.
43445 [UNIX98] (pthread_spin_lock): Likewise.
43446 [UNIX98] (pthread_spin_trylock): Likewise.
43447 [UNIX98] (pthread_spin_unlock): Likewise.
43448 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43449 Do not expect.
43450 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43451 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43452 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43453 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43454 [XPG3 || XPG4] (pthread_key_t): Likewise.
43455 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43456 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43457 [XPG3 || XPG4] (pthread_once_t): Likewise.
43458 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43459 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43460 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43461 [XPG3 || XPG4] (pthread_t): Likewise.
43462
43463 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43464 not expect.
43465 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43466
43467 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43468 Change function return type to int.
43469
43470 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43471 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43472 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43473 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43474 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43475 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43476 [!POSIX] (posix_madvise): Likewise.
43477 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43478 && !UNIX98].
43479 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43480 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43481 (mode_t): Likewise.
43482 (posix_mem_offset): Likewise.
43483 (posix_typed_mem_get_info): Likewise.
43484 (posix_typed_mem_open): Likewise.
43485
43486 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43487 Change condition to [XOPEN2K8].
43488
43489 * conform/conformtest.pl: Preprocess allow-header data with -x c
43490 instead of from stdin.
43491 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43492 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43493 [C99-based standards] (cerfc): Likewise.
43494 [C99-based standards] (cexp2): Likewise.
43495 [C99-based standards] (cexpm1): Likewise.
43496 [C99-based standards] (clog10): Likewise.
43497 [C99-based standards] (clog1p): Likewise.
43498 [C99-based standards] (clog2): Likewise.
43499 [C99-based standards] (clgamma): Likewise.
43500 [C99-based standards] (ctgamma): Likewise.
43501 [C99-based standards] (cerff): Likewise.
43502 [C99-based standards] (cerfcf): Likewise.
43503 [C99-based standards] (cexp2f): Likewise.
43504 [C99-based standards] (cexpm1f): Likewise.
43505 [C99-based standards] (clog10f): Likewise.
43506 [C99-based standards] (clog1pf): Likewise.
43507 [C99-based standards] (clog2f): Likewise.
43508 [C99-based standards] (clgammaf): Likewise.
43509 [C99-based standards] (ctgammaf): Likewise.
43510 [C99-based standards] (cerfl): Likewise.
43511 [C99-based standards] (cerfcl): Likewise.
43512 [C99-based standards] (cexp2l): Likewise.
43513 [C99-based standards] (cexpm1l): Likewise.
43514 [C99-based standards] (clog10l): Likewise.
43515 [C99-based standards] (clog1pl): Likewise.
43516 [C99-based standards] (clog2l): Likewise.
43517 [C99-based standards] (clgammal): Likewise.
43518 [C99-based standards] (ctgammal): Likewise.
43519 * conform/data/inttypes.h-data [C99-based standards]: Include
43520 stdint.h-data. Remove all expectations for stdint.h contents.
43521 [C99-based standards] (PRI*): Do not allow.
43522 [C99-based standards] (SCN*): Likewise.
43523 [C99-based standards] (*_t): Likewise.
43524 [C99-based-standards] (PRId8): Expect macro.
43525 [C99-based-standards] (PRIi8): Likewise.
43526 [C99-based-standards] (PRIo8): Likewise.
43527 [C99-based-standards] (PRIu8): Likewise.
43528 [C99-based-standards] (PRIx8): Likewise.
43529 [C99-based-standards] (PRIX8): Likewise.
43530 [C99-based-standards] (SCNd8): Likewise.
43531 [C99-based-standards] (SCNi8): Likewise.
43532 [C99-based-standards] (SCNo8): Likewise.
43533 [C99-based-standards] (SCNu8): Likewise.
43534 [C99-based-standards] (SCNx8): Likewise.
43535 [C99-based-standards] (PRIdLEAST8): Likewise.
43536 [C99-based-standards] (PRIiLEAST8): Likewise.
43537 [C99-based-standards] (PRIoLEAST8): Likewise.
43538 [C99-based-standards] (PRIuLEAST8): Likewise.
43539 [C99-based-standards] (PRIxLEAST8): Likewise.
43540 [C99-based-standards] (PRIXLEAST8): Likewise.
43541 [C99-based-standards] (SCNdLEAST8): Likewise.
43542 [C99-based-standards] (SCNiLEAST8): Likewise.
43543 [C99-based-standards] (SCNoLEAST8): Likewise.
43544 [C99-based-standards] (SCNuLEAST8): Likewise.
43545 [C99-based-standards] (SCNxLEAST8): Likewise.
43546 [C99-based-standards] (PRIdFAST8): Likewise.
43547 [C99-based-standards] (PRIiFAST8): Likewise.
43548 [C99-based-standards] (PRIoFAST8): Likewise.
43549 [C99-based-standards] (PRIuFAST8): Likewise.
43550 [C99-based-standards] (PRIxFAST8): Likewise.
43551 [C99-based-standards] (PRIXFAST8): Likewise.
43552 [C99-based-standards] (SCNdFAST8): Likewise.
43553 [C99-based-standards] (SCNiFAST8): Likewise.
43554 [C99-based-standards] (SCNoFAST8): Likewise.
43555 [C99-based-standards] (SCNuFAST8): Likewise.
43556 [C99-based-standards] (SCNxFAST8): Likewise.
43557 [C99-based-standards] (PRId16): Likewise.
43558 [C99-based-standards] (PRIi16): Likewise.
43559 [C99-based-standards] (PRIo16): Likewise.
43560 [C99-based-standards] (PRIu16): Likewise.
43561 [C99-based-standards] (PRIx16): Likewise.
43562 [C99-based-standards] (PRIX16): Likewise.
43563 [C99-based-standards] (SCNd16): Likewise.
43564 [C99-based-standards] (SCNi16): Likewise.
43565 [C99-based-standards] (SCNo16): Likewise.
43566 [C99-based-standards] (SCNu16): Likewise.
43567 [C99-based-standards] (SCNx16): Likewise.
43568 [C99-based-standards] (PRIdLEAST16): Likewise.
43569 [C99-based-standards] (PRIiLEAST16): Likewise.
43570 [C99-based-standards] (PRIoLEAST16): Likewise.
43571 [C99-based-standards] (PRIuLEAST16): Likewise.
43572 [C99-based-standards] (PRIxLEAST16): Likewise.
43573 [C99-based-standards] (PRIXLEAST16): Likewise.
43574 [C99-based-standards] (SCNdLEAST16): Likewise.
43575 [C99-based-standards] (SCNiLEAST16): Likewise.
43576 [C99-based-standards] (SCNoLEAST16): Likewise.
43577 [C99-based-standards] (SCNuLEAST16): Likewise.
43578 [C99-based-standards] (SCNxLEAST16): Likewise.
43579 [C99-based-standards] (PRIdFAST16): Likewise.
43580 [C99-based-standards] (PRIiFAST16): Likewise.
43581 [C99-based-standards] (PRIoFAST16): Likewise.
43582 [C99-based-standards] (PRIuFAST16): Likewise.
43583 [C99-based-standards] (PRIxFAST16): Likewise.
43584 [C99-based-standards] (PRIXFAST16): Likewise.
43585 [C99-based-standards] (SCNdFAST16): Likewise.
43586 [C99-based-standards] (SCNiFAST16): Likewise.
43587 [C99-based-standards] (SCNoFAST16): Likewise.
43588 [C99-based-standards] (SCNuFAST16): Likewise.
43589 [C99-based-standards] (SCNxFAST16): Likewise.
43590 [C99-based-standards] (PRId32): Likewise.
43591 [C99-based-standards] (PRIi32): Likewise.
43592 [C99-based-standards] (PRIo32): Likewise.
43593 [C99-based-standards] (PRIu32): Likewise.
43594 [C99-based-standards] (PRIx32): Likewise.
43595 [C99-based-standards] (PRIX32): Likewise.
43596 [C99-based-standards] (SCNd32): Likewise.
43597 [C99-based-standards] (SCNi32): Likewise.
43598 [C99-based-standards] (SCNo32): Likewise.
43599 [C99-based-standards] (SCNu32): Likewise.
43600 [C99-based-standards] (SCNx32): Likewise.
43601 [C99-based-standards] (PRIdLEAST32): Likewise.
43602 [C99-based-standards] (PRIiLEAST32): Likewise.
43603 [C99-based-standards] (PRIoLEAST32): Likewise.
43604 [C99-based-standards] (PRIuLEAST32): Likewise.
43605 [C99-based-standards] (PRIxLEAST32): Likewise.
43606 [C99-based-standards] (PRIXLEAST32): Likewise.
43607 [C99-based-standards] (SCNdLEAST32): Likewise.
43608 [C99-based-standards] (SCNiLEAST32): Likewise.
43609 [C99-based-standards] (SCNoLEAST32): Likewise.
43610 [C99-based-standards] (SCNuLEAST32): Likewise.
43611 [C99-based-standards] (SCNxLEAST32): Likewise.
43612 [C99-based-standards] (PRIdFAST32): Likewise.
43613 [C99-based-standards] (PRIiFAST32): Likewise.
43614 [C99-based-standards] (PRIoFAST32): Likewise.
43615 [C99-based-standards] (PRIuFAST32): Likewise.
43616 [C99-based-standards] (PRIxFAST32): Likewise.
43617 [C99-based-standards] (PRIXFAST32): Likewise.
43618 [C99-based-standards] (SCNdFAST32): Likewise.
43619 [C99-based-standards] (SCNiFAST32): Likewise.
43620 [C99-based-standards] (SCNoFAST32): Likewise.
43621 [C99-based-standards] (SCNuFAST32): Likewise.
43622 [C99-based-standards] (SCNxFAST32): Likewise.
43623 [C99-based-standards] (PRId64): Likewise.
43624 [C99-based-standards] (PRIi64): Likewise.
43625 [C99-based-standards] (PRIo64): Likewise.
43626 [C99-based-standards] (PRIu64): Likewise.
43627 [C99-based-standards] (PRIx64): Likewise.
43628 [C99-based-standards] (PRIX64): Likewise.
43629 [C99-based-standards] (SCNd64): Likewise.
43630 [C99-based-standards] (SCNi64): Likewise.
43631 [C99-based-standards] (SCNo64): Likewise.
43632 [C99-based-standards] (SCNu64): Likewise.
43633 [C99-based-standards] (SCNx64): Likewise.
43634 [C99-based-standards] (PRIdLEAST64): Likewise.
43635 [C99-based-standards] (PRIiLEAST64): Likewise.
43636 [C99-based-standards] (PRIoLEAST64): Likewise.
43637 [C99-based-standards] (PRIuLEAST64): Likewise.
43638 [C99-based-standards] (PRIxLEAST64): Likewise.
43639 [C99-based-standards] (PRIXLEAST64): Likewise.
43640 [C99-based-standards] (SCNdLEAST64): Likewise.
43641 [C99-based-standards] (SCNiLEAST64): Likewise.
43642 [C99-based-standards] (SCNoLEAST64): Likewise.
43643 [C99-based-standards] (SCNuLEAST64): Likewise.
43644 [C99-based-standards] (SCNxLEAST64): Likewise.
43645 [C99-based-standards] (PRIdFAST64): Likewise.
43646 [C99-based-standards] (PRIiFAST64): Likewise.
43647 [C99-based-standards] (PRIoFAST64): Likewise.
43648 [C99-based-standards] (PRIuFAST64): Likewise.
43649 [C99-based-standards] (PRIxFAST64): Likewise.
43650 [C99-based-standards] (PRIXFAST64): Likewise.
43651 [C99-based-standards] (SCNdFAST64): Likewise.
43652 [C99-based-standards] (SCNiFAST64): Likewise.
43653 [C99-based-standards] (SCNoFAST64): Likewise.
43654 [C99-based-standards] (SCNuFAST64): Likewise.
43655 [C99-based-standards] (SCNxFAST64): Likewise.
43656 [C99-based-standards] (PRIdMAX): Likewise.
43657 [C99-based-standards] (PRIiMAX): Likewise.
43658 [C99-based-standards] (PRIoMAX): Likewise.
43659 [C99-based-standards] (PRIuMAX): Likewise.
43660 [C99-based-standards] (PRIxMAX): Likewise.
43661 [C99-based-standards] (PRIXMAX): Likewise.
43662 [C99-based-standards] (SCNdMAX): Likewise.
43663 [C99-based-standards] (SCNiMAX): Likewise.
43664 [C99-based-standards] (SCNoMAX): Likewise.
43665 [C99-based-standards] (SCNuMAX): Likewise.
43666 [C99-based-standards] (SCNxMAX): Likewise.
43667 [C99-based-standards] (PRIdPTR): Likewise.
43668 [C99-based-standards] (PRIiPTR): Likewise.
43669 [C99-based-standards] (PRIoPTR): Likewise.
43670 [C99-based-standards] (PRIuPTR): Likewise.
43671 [C99-based-standards] (PRIxPTR): Likewise.
43672 [C99-based-standards] (PRIXPTR): Likewise.
43673 [C99-based-standards] (SCNdPTR): Likewise.
43674 [C99-based-standards] (SCNiPTR): Likewise.
43675 [C99-based-standards] (SCNoPTR): Likewise.
43676 [C99-based-standards] (SCNuPTR): Likewise.
43677 [C99-based-standards] (SCNxPTR): Likewise.
43678 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43679 allow.
43680 * conform/data/stdint.h-data: Update comments to clarify
43681 requirements.
43682 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43683 type.
43684 [C99-based standards] (INT8_MAX): Likewise.
43685 [C99-based standards] (INT16_MIN): Likewise.
43686 [C99-based standards] (INT16_MAX): Likewise.
43687 [C99-based standards] (INT32_MIN): Likewise.
43688 [C99-based standards] (INT32_MAX): Likewise.
43689 [C99-based standards] (INT64_MIN): Likewise.
43690 [C99-based standards] (INT64_MAX): Likewise.
43691 [C99-based standards] (UINT8_MAX): Likewise.
43692 [C99-based standards] (UINT16_MAX): Likewise.
43693 [C99-based standards] (UINT32_MAX): Likewise.
43694 [C99-based standards] (UINT64_MAX): Likewise.
43695 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43696 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43697 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43698 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43699 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43700 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43701 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43702 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43703 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43704 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43705 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43706 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43707 [C99-based standards] (INT_FAST8_MIN): Likewise.
43708 [C99-based standards] (INT_FAST8_MAX): Likewise.
43709 [C99-based standards] (INT_FAST16_MIN): Likewise.
43710 [C99-based standards] (INT_FAST16_MAX): Likewise.
43711 [C99-based standards] (INT_FAST32_MIN): Likewise.
43712 [C99-based standards] (INT_FAST32_MAX): Likewise.
43713 [C99-based standards] (INT_FAST64_MIN): Likewise.
43714 [C99-based standards] (INT_FAST64_MAX): Likewise.
43715 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43716 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43717 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43718 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43719 [C99-based standards] (INTPTR_MIN): Likewise.
43720 [C99-based standards] (INTPTR_MAX): Likewise.
43721 [C99-based standards] (UINTPTR_MAX): Likewise.
43722 [C99-based standards] (INTMAX_MIN): Likewise.
43723 [C99-based standards] (INTMAX_MAX): Likewise.
43724 [C99-based standards] (UINTMAX_MAX): Likewise.
43725 [C99-based standards] (PTRDIFF_MIN): Likewise.
43726 [C99-based standards] (PTRDIFF_MAX): Likewise.
43727 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43728 [C99-based standards] (SIZE_MAX): Likewise.
43729 [C99-based standards] (WCHAR_MAX): Likewise.
43730 [C99-based standards] (WINT_MAX): Likewise.
43731 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43732 constraint on value.
43733 [C99-based standards] (WCHAR_MIN): Likewise.
43734 [C99-based standards] (WINT_MIN): Likewise.
43735 [C99-based standards] (*_t): Allow.
43736 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43737 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43738 Include math.h-data and complex.h-data. Remove all expectations
43739 of math.h and complex.h contents.
43740 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43741 at end of line.
43742 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43743 (struct tm): Expect tag.
43744 [C99-based-standards] (wcstof): Expect function.
43745 [C99-based-standards] (wcstold): Likewise.
43746 [C99-based-standards] (wcstoll): Likewise.
43747 [C99-based-standards] (wcstoull): Likewise.
43748 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43749 macro-int-constant. Specify type.
43750 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43751 constraint on value.
43752 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43753 Specify type.
43754 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43755 Specify value.
43756 [ISO C standards]: Do not allow headers.
43757 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43758 wcs[abcdefghijklmnopqrstuvwxyz]*.
43759 [ISO C standards] (*_t): Do not allow.
43760 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43761 Expect function.
43762 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43763 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43764 Specify type.
43765 [ISO C standards]: Do not allow headers.
43766 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43767 is[abcdefghijklmnopqrstuvwxyz]*.
43768 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43769 to[abcdefghijklmnopqrstuvwxyz]*.
43770 [ISO C standards] (*_t): Do not allow.
43771 * conform/data/stdalign.h-data: New file.
43772 * conform/data/stdbool.h-data: Likewise.
43773 * conform/data/stdnoreturn.h-data: Likewise.
43774
43775 2012-11-07 Roland McGrath <roland@hack.frob.com>
43776
43777 [BZ #14815]
43778 * manual/filesys.texi (Directory Entries): Typo fix.
43779 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43780
43781 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43782
43783 * elf/elf.h (EM_AARCH64): New macro.
43784 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43785 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43786 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43787 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43788 (R_AARCH64_TLSDESC): Likewise.
43789 (NT_ARM_TLS): Likewise.
43790 (NT_ARM_HW_BREAK): Likewise.
43791 (NT_ARM_HW_WATCH): Likewise.
43792
43793 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43794
43795 [BZ #14811]
43796 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43797 (__ieee754_powl): Saturate nonzero exponents with absolute value
43798 below 0x1p-79 to +/- 0x1p-79.
43799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43800 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43801 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43802 nonzero exponents with absolute value below 0x1p-32 to +/-
43803 0x1p-32.
43804 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43805 (__ieee754_powl): Saturate nonzero exponents with absolute value
43806 below 0x1p-79 to +/- 0x1p-79.
43807 * math/libm-test.inc (pow_test): Add more tests.
43808
43809 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43810
43811 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43812 _dl_s390_cap_flags with kernel. Increase string length.
43813 (_dl_s390_platforms): Add z196 and zEC12.
43814
43815 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43816
43817 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43818 Change XOPEN21K to XOPEN2K.
43819
43820 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43821
43822 * string/memmove.c: Use memcpy when possible.
43823
43824 2012-11-06 Andreas Jaeger <aj@suse.de>
43825
43826 * po/eo.po: Update from translation team.
43827
43828 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43829
43830 [BZ #14793]
43831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43832 exponent and small x and y exponents, scale x or y up. Increase
43833 by 2 the exponent used in scaling up.
43834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43836 * math/libm-test.inc (fma_test): Add more tests.
43837 (fma_test_towardzero): Likewise.
43838 (fma_test_downward): Likewise.
43839 (fma_test_upward): Likewise.
43840
43841 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43842
43843 [BZ #14805]
43844 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43845 fenv_t *.
43846
43847 [BZ #14801]
43848 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43849 namespace for names of struct fields.
43850 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43851 fenv_t fields.
43852 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43853 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43854
43855 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43856
43857 [BZ #3665]
43858 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43859
43860 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43861
43862 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43863 PTR_DEMANGLE.
43864
43865 [BZ #5246]
43866 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43867 PTR_DEMANGLE.
43868
43869 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43870
43871 [BZ #14797]
43872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43873 definitely overflow as x * y not x * y + z.
43874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43876 * math/libm-test.inc (fma_test): Add more tests.
43877 (fma_test_towardzero): Likewise.
43878 (fma_test_downward): Likewise.
43879 (fma_test_upward): Likewise.
43880
43881 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43882
43883 [BZ #157]
43884
43885 * include/stub-tag.h: Remove file.
43886 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43887 '#include' of it.
43888 * manual/maint.texi (Porting): Don't reference it.
43889 * Makerules ($(objpfx)stubs): Likewise.
43890 * dirent/closedir.c: Don't include <stub-tag.h>.
43891 * dirent/dirfd.c: Likewise.
43892 * dirent/fdopendir.c: Likewise.
43893 * dirent/getdents.c: Likewise.
43894 * dirent/getdents64.c: Likewise.
43895 * dirent/opendir.c: Likewise.
43896 * dirent/readdir.c: Likewise.
43897 * dirent/readdir64.c: Likewise.
43898 * dirent/readdir64_r.c: Likewise.
43899 * dirent/readdir_r.c: Likewise.
43900 * dirent/rewinddir.c: Likewise.
43901 * dirent/seekdir.c: Likewise.
43902 * dirent/telldir.c: Likewise.
43903 * gmon/profil.c: Likewise.
43904 * grp/setgroups.c: Likewise.
43905 * inet/if_index.c: Likewise.
43906 * io/access.c: Likewise.
43907 * io/chdir.c: Likewise.
43908 * io/chmod.c: Likewise.
43909 * io/chown.c: Likewise.
43910 * io/close.c: Likewise.
43911 * io/dup.c: Likewise.
43912 * io/dup2.c: Likewise.
43913 * io/dup3.c: Likewise.
43914 * io/euidaccess.c: Likewise.
43915 * io/faccessat.c: Likewise.
43916 * io/fchdir.c: Likewise.
43917 * io/fchmod.c: Likewise.
43918 * io/fchmodat.c: Likewise.
43919 * io/fchown.c: Likewise.
43920 * io/fchownat.c: Likewise.
43921 * io/fcntl.c: Likewise.
43922 * io/flock.c: Likewise.
43923 * io/fstatfs.c: Likewise.
43924 * io/fstatfs64.c: Likewise.
43925 * io/fstatvfs.c: Likewise.
43926 * io/fstatvfs64.c: Likewise.
43927 * io/futimens.c: Likewise.
43928 * io/fxstat.c: Likewise.
43929 * io/fxstat64.c: Likewise.
43930 * io/fxstatat.c: Likewise.
43931 * io/fxstatat64.c: Likewise.
43932 * io/getcwd.c: Likewise.
43933 * io/isatty.c: Likewise.
43934 * io/lchmod.c: Likewise.
43935 * io/lchown.c: Likewise.
43936 * io/link.c: Likewise.
43937 * io/linkat.c: Likewise.
43938 * io/lseek.c: Likewise.
43939 * io/lseek64.c: Likewise.
43940 * io/lxstat64.c: Likewise.
43941 * io/mkdir.c: Likewise.
43942 * io/mkdirat.c: Likewise.
43943 * io/mkfifo.c: Likewise.
43944 * io/mkfifoat.c: Likewise.
43945 * io/open.c: Likewise.
43946 * io/open64.c: Likewise.
43947 * io/openat.c: Likewise.
43948 * io/openat64.c: Likewise.
43949 * io/pipe.c: Likewise.
43950 * io/pipe2.c: Likewise.
43951 * io/poll.c: Likewise.
43952 * io/posix_fadvise.c: Likewise.
43953 * io/posix_fadvise64.c: Likewise.
43954 * io/posix_fallocate.c: Likewise.
43955 * io/posix_fallocate64.c: Likewise.
43956 * io/read.c: Likewise.
43957 * io/readlink.c: Likewise.
43958 * io/readlinkat.c: Likewise.
43959 * io/rmdir.c: Likewise.
43960 * io/sendfile.c: Likewise.
43961 * io/sendfile64.c: Likewise.
43962 * io/statfs.c: Likewise.
43963 * io/statfs64.c: Likewise.
43964 * io/statvfs.c: Likewise.
43965 * io/statvfs64.c: Likewise.
43966 * io/symlink.c: Likewise.
43967 * io/symlinkat.c: Likewise.
43968 * io/ttyname.c: Likewise.
43969 * io/ttyname_r.c: Likewise.
43970 * io/umask.c: Likewise.
43971 * io/unlink.c: Likewise.
43972 * io/unlinkat.c: Likewise.
43973 * io/utime.c: Likewise.
43974 * io/utimensat.c: Likewise.
43975 * io/write.c: Likewise.
43976 * io/xmknod.c: Likewise.
43977 * io/xmknodat.c: Likewise.
43978 * io/xstat.c: Likewise.
43979 * io/xstat64.c: Likewise.
43980 * login/getpt.c: Likewise.
43981 * login/grantpt.c: Likewise.
43982 * login/unlockpt.c: Likewise.
43983 * math/e_acoshl.c: Likewise.
43984 * math/e_acosl.c: Likewise.
43985 * math/e_asinl.c: Likewise.
43986 * math/e_atan2l.c: Likewise.
43987 * math/e_atanhl.c: Likewise.
43988 * math/e_coshl.c: Likewise.
43989 * math/e_expl.c: Likewise.
43990 * math/e_fmodl.c: Likewise.
43991 * math/e_gammal_r.c: Likewise.
43992 * math/e_hypotl.c: Likewise.
43993 * math/e_j0l.c: Likewise.
43994 * math/e_j1l.c: Likewise.
43995 * math/e_jnl.c: Likewise.
43996 * math/e_lgammal_r.c: Likewise.
43997 * math/e_log10l.c: Likewise.
43998 * math/e_log2l.c: Likewise.
43999 * math/e_logl.c: Likewise.
44000 * math/e_powl.c: Likewise.
44001 * math/e_rem_pio2l.c: Likewise.
44002 * math/e_sinhl.c: Likewise.
44003 * math/e_sqrtl.c: Likewise.
44004 * math/fclrexcpt.c: Likewise.
44005 * math/fedisblxcpt.c: Likewise.
44006 * math/feenablxcpt.c: Likewise.
44007 * math/fegetenv.c: Likewise.
44008 * math/fegetexcept.c: Likewise.
44009 * math/fegetround.c: Likewise.
44010 * math/feholdexcpt.c: Likewise.
44011 * math/fesetenv.c: Likewise.
44012 * math/fesetround.c: Likewise.
44013 * math/feupdateenv.c: Likewise.
44014 * math/fgetexcptflg.c: Likewise.
44015 * math/fraiseexcpt.c: Likewise.
44016 * math/fsetexcptflg.c: Likewise.
44017 * math/ftestexcept.c: Likewise.
44018 * math/k_cosl.c: Likewise.
44019 * math/k_rem_pio2l.c: Likewise.
44020 * math/k_sinl.c: Likewise.
44021 * math/k_tanl.c: Likewise.
44022 * math/s_asinhl.c: Likewise.
44023 * math/s_atanl.c: Likewise.
44024 * math/s_cbrtl.c: Likewise.
44025 * math/s_erfl.c: Likewise.
44026 * math/s_expm1l.c: Likewise.
44027 * math/s_log1pl.c: Likewise.
44028 * math/s_tanhl.c: Likewise.
44029 * misc/acct.c: Likewise.
44030 * misc/brk.c: Likewise.
44031 * misc/chflags.c: Likewise.
44032 * misc/chroot.c: Likewise.
44033 * misc/fchflags.c: Likewise.
44034 * misc/fgetxattr.c: Likewise.
44035 * misc/flistxattr.c: Likewise.
44036 * misc/fremovexattr.c: Likewise.
44037 * misc/fsetxattr.c: Likewise.
44038 * misc/fsync.c: Likewise.
44039 * misc/ftruncate.c: Likewise.
44040 * misc/futimes.c: Likewise.
44041 * misc/futimesat.c: Likewise.
44042 * misc/getdomain.c: Likewise.
44043 * misc/getdtsz.c: Likewise.
44044 * misc/gethostid.c: Likewise.
44045 * misc/gethostname.c: Likewise.
44046 * misc/getloadavg.c: Likewise.
44047 * misc/getpagesize.c: Likewise.
44048 * misc/getsysstats.c: Likewise.
44049 * misc/getxattr.c: Likewise.
44050 * misc/gtty.c: Likewise.
44051 * misc/ioctl.c: Likewise.
44052 * misc/lgetxattr.c: Likewise.
44053 * misc/listxattr.c: Likewise.
44054 * misc/llistxattr.c: Likewise.
44055 * misc/lremovexattr.c: Likewise.
44056 * misc/lsetxattr.c: Likewise.
44057 * misc/lutimes.c: Likewise.
44058 * misc/madvise.c: Likewise.
44059 * misc/mincore.c: Likewise.
44060 * misc/mlock.c: Likewise.
44061 * misc/mlockall.c: Likewise.
44062 * misc/mmap.c: Likewise.
44063 * misc/mprotect.c: Likewise.
44064 * misc/msync.c: Likewise.
44065 * misc/munlock.c: Likewise.
44066 * misc/munlockall.c: Likewise.
44067 * misc/munmap.c: Likewise.
44068 * misc/preadv.c: Likewise.
44069 * misc/preadv64.c: Likewise.
44070 * misc/ptrace.c: Likewise.
44071 * misc/pwritev.c: Likewise.
44072 * misc/pwritev64.c: Likewise.
44073 * misc/readv.c: Likewise.
44074 * misc/reboot.c: Likewise.
44075 * misc/remap_file_pages.c: Likewise.
44076 * misc/removexattr.c: Likewise.
44077 * misc/revoke.c: Likewise.
44078 * misc/select.c: Likewise.
44079 * misc/setdomain.c: Likewise.
44080 * misc/setegid.c: Likewise.
44081 * misc/seteuid.c: Likewise.
44082 * misc/sethostid.c: Likewise.
44083 * misc/sethostname.c: Likewise.
44084 * misc/setregid.c: Likewise.
44085 * misc/setreuid.c: Likewise.
44086 * misc/setxattr.c: Likewise.
44087 * misc/sstk.c: Likewise.
44088 * misc/stty.c: Likewise.
44089 * misc/swapoff.c: Likewise.
44090 * misc/swapon.c: Likewise.
44091 * misc/sync.c: Likewise.
44092 * misc/syncfs.c: Likewise.
44093 * misc/syscall.c: Likewise.
44094 * misc/truncate.c: Likewise.
44095 * misc/ualarm.c: Likewise.
44096 * misc/usleep.c: Likewise.
44097 * misc/ustat.c: Likewise.
44098 * misc/utimes.c: Likewise.
44099 * misc/vhangup.c: Likewise.
44100 * misc/writev.c: Likewise.
44101 * posix/_exit.c: Likewise.
44102 * posix/alarm.c: Likewise.
44103 * posix/execve.c: Likewise.
44104 * posix/fexecve.c: Likewise.
44105 * posix/fork.c: Likewise.
44106 * posix/fpathconf.c: Likewise.
44107 * posix/getaddrinfo.c: Likewise.
44108 * posix/getegid.c: Likewise.
44109 * posix/geteuid.c: Likewise.
44110 * posix/getgid.c: Likewise.
44111 * posix/getgroups.c: Likewise.
44112 * posix/getlogin.c: Likewise.
44113 * posix/getlogin_r.c: Likewise.
44114 * posix/getpgid.c: Likewise.
44115 * posix/getpid.c: Likewise.
44116 * posix/getppid.c: Likewise.
44117 * posix/getresgid.c: Likewise.
44118 * posix/getresuid.c: Likewise.
44119 * posix/getsid.c: Likewise.
44120 * posix/getuid.c: Likewise.
44121 * posix/glob64.c: Likewise.
44122 * posix/nanosleep.c: Likewise.
44123 * posix/pathconf.c: Likewise.
44124 * posix/pause.c: Likewise.
44125 * posix/posix_madvise.c: Likewise.
44126 * posix/pread.c: Likewise.
44127 * posix/pread64.c: Likewise.
44128 * posix/pwrite.c: Likewise.
44129 * posix/pwrite64.c: Likewise.
44130 * posix/sched_getaffinity.c: Likewise.
44131 * posix/sched_getp.c: Likewise.
44132 * posix/sched_gets.c: Likewise.
44133 * posix/sched_primax.c: Likewise.
44134 * posix/sched_primin.c: Likewise.
44135 * posix/sched_rr_gi.c: Likewise.
44136 * posix/sched_setaffinity.c: Likewise.
44137 * posix/sched_setp.c: Likewise.
44138 * posix/sched_sets.c: Likewise.
44139 * posix/sched_yield.c: Likewise.
44140 * posix/setgid.c: Likewise.
44141 * posix/setlogin.c: Likewise.
44142 * posix/setpgid.c: Likewise.
44143 * posix/setresgid.c: Likewise.
44144 * posix/setresuid.c: Likewise.
44145 * posix/setsid.c: Likewise.
44146 * posix/setuid.c: Likewise.
44147 * posix/sleep.c: Likewise.
44148 * posix/spawni.c: Likewise.
44149 * posix/sysconf.c: Likewise.
44150 * posix/times.c: Likewise.
44151 * posix/wait.c: Likewise.
44152 * posix/wait3.c: Likewise.
44153 * posix/wait4.c: Likewise.
44154 * posix/waitpid.c: Likewise.
44155 * resolv/gai_sigqueue.c: Likewise.
44156 * resource/getpriority.c: Likewise.
44157 * resource/getrlimit.c: Likewise.
44158 * resource/getrusage.c: Likewise.
44159 * resource/nice.c: Likewise.
44160 * resource/setpriority.c: Likewise.
44161 * resource/setrlimit.c: Likewise.
44162 * resource/ulimit.c: Likewise.
44163 * rt/aio_cancel.c: Likewise.
44164 * rt/aio_fsync.c: Likewise.
44165 * rt/aio_read.c: Likewise.
44166 * rt/aio_sigqueue.c: Likewise.
44167 * rt/aio_suspend.c: Likewise.
44168 * rt/aio_write.c: Likewise.
44169 * rt/clock_getres.c: Likewise.
44170 * rt/clock_gettime.c: Likewise.
44171 * rt/clock_nanosleep.c: Likewise.
44172 * rt/clock_settime.c: Likewise.
44173 * rt/lio_listio.c: Likewise.
44174 * rt/mq_close.c: Likewise.
44175 * rt/mq_getattr.c: Likewise.
44176 * rt/mq_notify.c: Likewise.
44177 * rt/mq_open.c: Likewise.
44178 * rt/mq_receive.c: Likewise.
44179 * rt/mq_send.c: Likewise.
44180 * rt/mq_setattr.c: Likewise.
44181 * rt/mq_timedreceive.c: Likewise.
44182 * rt/mq_timedsend.c: Likewise.
44183 * rt/mq_unlink.c: Likewise.
44184 * rt/shm_open.c: Likewise.
44185 * rt/shm_unlink.c: Likewise.
44186 * rt/timer_create.c: Likewise.
44187 * rt/timer_delete.c: Likewise.
44188 * rt/timer_getoverr.c: Likewise.
44189 * rt/timer_gettime.c: Likewise.
44190 * rt/timer_settime.c: Likewise.
44191 * setjmp/__longjmp.c: Likewise.
44192 * setjmp/setjmp.c: Likewise.
44193 * signal/kill.c: Likewise.
44194 * signal/killpg.c: Likewise.
44195 * signal/raise.c: Likewise.
44196 * signal/sigaction.c: Likewise.
44197 * signal/sigaltstack.c: Likewise.
44198 * signal/sigblock.c: Likewise.
44199 * signal/sigignore.c: Likewise.
44200 * signal/sigintr.c: Likewise.
44201 * signal/signal.c: Likewise.
44202 * signal/sigpause.c: Likewise.
44203 * signal/sigpending.c: Likewise.
44204 * signal/sigqueue.c: Likewise.
44205 * signal/sigreturn.c: Likewise.
44206 * signal/sigset.c: Likewise.
44207 * signal/sigsetmask.c: Likewise.
44208 * signal/sigstack.c: Likewise.
44209 * signal/sigsuspend.c: Likewise.
44210 * signal/sigtimedwait.c: Likewise.
44211 * signal/sigvec.c: Likewise.
44212 * signal/sigwait.c: Likewise.
44213 * signal/sigwaitinfo.c: Likewise.
44214 * signal/sysv_signal.c: Likewise.
44215 * socket/accept.c: Likewise.
44216 * socket/accept4.c: Likewise.
44217 * socket/bind.c: Likewise.
44218 * socket/connect.c: Likewise.
44219 * socket/getpeername.c: Likewise.
44220 * socket/getsockname.c: Likewise.
44221 * socket/getsockopt.c: Likewise.
44222 * socket/isfdtype.c: Likewise.
44223 * socket/listen.c: Likewise.
44224 * socket/recv.c: Likewise.
44225 * socket/recvfrom.c: Likewise.
44226 * socket/recvmsg.c: Likewise.
44227 * socket/send.c: Likewise.
44228 * socket/sendmsg.c: Likewise.
44229 * socket/sendto.c: Likewise.
44230 * socket/setsockopt.c: Likewise.
44231 * socket/shutdown.c: Likewise.
44232 * socket/sockatmark.c: Likewise.
44233 * socket/socket.c: Likewise.
44234 * socket/socketpair.c: Likewise.
44235 * stdio-common/ctermid.c: Likewise.
44236 * stdio-common/cuserid.c: Likewise.
44237 * stdio-common/remove.c: Likewise.
44238 * stdio-common/rename.c: Likewise.
44239 * stdio-common/renameat.c: Likewise.
44240 * stdio-common/tempname.c: Likewise.
44241 * stdlib/getcontext.c: Likewise.
44242 * stdlib/makecontext.c: Likewise.
44243 * stdlib/setcontext.c: Likewise.
44244 * stdlib/swapcontext.c: Likewise.
44245 * stdlib/system.c: Likewise.
44246 * streams/fattach.c: Likewise.
44247 * streams/fdetach.c: Likewise.
44248 * streams/getmsg.c: Likewise.
44249 * streams/getpmsg.c: Likewise.
44250 * streams/putmsg.c: Likewise.
44251 * streams/putpmsg.c: Likewise.
44252 * sysdeps/unix/bsd/getpt.c: Likewise.
44253 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44254 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44255 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44257 Likewise.
44258 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44259 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44260 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44261 * sysvipc/msgctl.c: Likewise.
44262 * sysvipc/msgget.c: Likewise.
44263 * sysvipc/msgrcv.c: Likewise.
44264 * sysvipc/msgsnd.c: Likewise.
44265 * sysvipc/semctl.c: Likewise.
44266 * sysvipc/semget.c: Likewise.
44267 * sysvipc/semop.c: Likewise.
44268 * sysvipc/semtimedop.c: Likewise.
44269 * sysvipc/shmat.c: Likewise.
44270 * sysvipc/shmctl.c: Likewise.
44271 * sysvipc/shmdt.c: Likewise.
44272 * sysvipc/shmget.c: Likewise.
44273 * termios/tcdrain.c: Likewise.
44274 * termios/tcflow.c: Likewise.
44275 * termios/tcflush.c: Likewise.
44276 * termios/tcgetattr.c: Likewise.
44277 * termios/tcgetpgrp.c: Likewise.
44278 * termios/tcsendbrk.c: Likewise.
44279 * termios/tcsetattr.c: Likewise.
44280 * termios/tcsetpgrp.c: Likewise.
44281 * time/adjtime.c: Likewise.
44282 * time/clock.c: Likewise.
44283 * time/getitimer.c: Likewise.
44284 * time/gettimeofday.c: Likewise.
44285 * time/setitimer.c: Likewise.
44286 * time/settimeofday.c: Likewise.
44287 * time/stime.c: Likewise.
44288 * time/time.c: Likewise.
44289
44290 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44291
44292 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44293 /usr/old/bin.
44294
44295 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44296 instead of spaces.
44297 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44298
44299 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44300
44301 [BZ #14796]
44302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44303 FE_TONEAREST before applying Dekker multiplication and Knuth
44304 addition. Clear inexact exceptions and check for exact zero
44305 results afterwards.
44306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44307 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44308 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44309 * math/libm-test.inc (fma_test): Add more tests.
44310 (fma_test_towardzero): Likewise.
44311 (fma_test_downward): Likewise.
44312 (fma_test_upward): Likewise.
44313 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44314 function.
44315 (libc_fesetround): New macro.
44316 (libc_fesetroundf): Likewise.
44317 (libc_fesetroundl): Likewise.
44318 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44319 function.
44320 (libc_fesetround_387): Likewise.
44321 (libc_fesetroundf): New macro.
44322 (libc_fesetround): Likewise.
44323 (libc_fesetroundl): Likewise.
44324 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44325 function.
44326 (libc_fesetroundf): New macro.
44327 (libc_fesetround): Likewise.
44328 (libc_fesetroundl): Likewise.
44329 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44330 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44331 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44332 libm_hidden_ver.
44333 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44334 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44335 libm_hidden_def.
44336 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44337 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44338 libm_hidden_ver.
44339 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44340 libm_hidden_def.
44341
44342 [BZ #3439]
44343 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44344 integer constant usable in #if and use that to give value to enum
44345 constant.
44346 (FE_DIVBYZERO): Likewise.
44347 (FE_UNDERFLOW): Likewise.
44348 (FE_OVERFLOW): Likewise.
44349 (FE_INVALID): Likewise.
44350 (FE_INVALID_SNAN): Likewise.
44351 (FE_INVALID_ISI): Likewise.
44352 (FE_INVALID_IDI): Likewise.
44353 (FE_INVALID_ZDZ): Likewise.
44354 (FE_INVALID_IMZ): Likewise.
44355 (FE_INVALID_COMPARE): Likewise.
44356 (FE_INVALID_SOFTWARE): Likewise.
44357 (FE_INVALID_SQRT): Likewise.
44358 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44359 (FE_TONEAREST): Likewise.
44360 (FE_TOWARDZERO): Likewise.
44361 (FE_UPWARD): Likewise.
44362 (FE_DOWNWARD): Likewise.
44363 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44364 (FE_DIVBYZERO): Likewise.
44365 (FE_OVERFLOW): Likewise.
44366 (FE_UNDERFLOW): Likewise.
44367 (FE_INEXACT): Likewise.
44368 (FE_TONEAREST): Likewise.
44369 (FE_DOWNWARD): Likewise.
44370 (FE_UPWARD): Likewise.
44371 (FE_TOWARDZERO): Likewise.
44372 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44373 (FE_UNDERFLOW): Likewise.
44374 (FE_OVERFLOW): Likewise.
44375 (FE_DIVBYZERO): Likewise.
44376 (FE_INVALID): Likewise.
44377 (FE_TONEAREST): Likewise.
44378 (FE_TOWARDZERO): Likewise.
44379 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44380 (FE_OVERFLOW): Likewise.
44381 (FE_UNDERFLOW): Likewise.
44382 (FE_DIVBYZERO): Likewise.
44383 (FE_INEXACT): Likewise.
44384 (FE_TONEAREST): Likewise.
44385 (FE_TOWARDZERO): Likewise.
44386 (FE_UPWARD): Likewise.
44387 (FE_DOWNWARD): Likewise.
44388 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44389 (FE_DIVBYZERO): Likewise.
44390 (FE_OVERFLOW): Likewise.
44391 (FE_UNDERFLOW): Likewise.
44392 (FE_INEXACT): Likewise.
44393 (FE_TONEAREST): Likewise.
44394 (FE_DOWNWARD): Likewise.
44395 (FE_UPWARD): Likewise.
44396 (FE_TOWARDZERO): Likewise.
44397
44398 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44399
44400 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44401
44402 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44403
44404 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44405 commands. Quote $PWD.
44406 (blacklist_exports): Don't use remove_newlines. Replace "declare
44407 -x" by "export".
44408 (remove_newlines): Remove.
44409
44410 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44411
44412 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44413 * stdlib/stdlib.h (atof): Moved to ...
44414 * include/bits/stdlib-float.h: Here. New file.
44415 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44416 * stdlib/bits/stdlib-float.h: New file.
44417 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44418 -mno-sse -mno-mmx.
44419 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44420 <xmmintrin.h>.
44421
44422 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44423
44424 * conform/conformtest.pl (@headers): Add fenv.h.
44425 * conform/data/fenv.h-data: New file.
44426 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44427 include of <math/fenv.h>.
44428
44429 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44430 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44431 && !UNIX98]. Enables tests for XOPEN2K8.
44432 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44433 POSIX2008]: Likewise.
44434
44435 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44436 (struct rusage): Do not expect type or its members.
44437
44438 [BZ #3439]
44439 * math/math.h (FP_NAN): Define macro to integer constant usable in
44440 #if and use that to give value to enum constant.
44441 (FP_INFINITE): Likewise.
44442 (FP_ZERO): Likewise.
44443 (FP_SUBNORMAL): Likewise.
44444 (FP_NORMAL): Likewise.
44445
44446 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44447
44448 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44449 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44450 arguments.
44451
44452 2012-11-02 Roland McGrath <roland@hack.frob.com>
44453
44454 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44455 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44456 autoconf-time if not.
44457 * configure.in: Remove AC_PREREQ.
44458
44459 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44460
44461 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44462 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44463 of the internal implementation.
44464
44465 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44466
44467 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44468 except include of <misc/sys/syslog.h>.
44469
44470 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44471
44472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44473 function returns with a NULL context exit with zero.
44474
44475 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44476
44477 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44478
44479 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44480
44481 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44482 (run_program_cmd): This.
44483 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44484 (tst_langinfo): New variable. Use it.
44485
44486 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44487
44488 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44489 floating point opcodes.
44490
44491 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44492
44493 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44494 variable.
44495
44496 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44497
44498 * sysdeps/mach/hurd/powerpc: Remove directory.
44499 * sysdeps/mach/powerpc: Likewise.
44500
44501 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44502
44503 * scripts/check-local-headers.sh: Ignore c++ headers.
44504
44505 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44506
44507 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44508 __libc_cleanup_region_start argument.
44509
44510 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44511
44512 [BZ #14784]
44513 [BZ #14785]
44514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44515 x * y using scaling, not as x * y + z.
44516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44518 * math/libm-test.inc (fma_test): Add more tests.
44519 (fma_test_towardzero): Likewise.
44520 (fma_test_downward): Likewise.
44521 (fma_test_upward): Likewise.
44522
44523 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44524
44525 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44526
44527 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44528
44529 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44530 New variable.
44531
44532 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44533
44534 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44535
44536 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44537
44538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44539 Fix sort order.
44540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44541 Likewise.
44542
44543 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44544
44545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44546 Fix the order of the list for glibc 2.17.
44547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44548 Likewise.
44549
44550 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44551
44552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44553
44554 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44555
44556 [BZ #14610]
44557 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44558 for low part of x being zero before using __atanl (y).
44559 * math/libm-test.inc (atan2_test): Add another test.
44560
44561 * manual/install.texi (Configuring and compiling): Document
44562 general use of test-wrapper and test-wrapper-env.
44563 * INSTALL: Regenerated.
44564
44565 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44566 (__fma): Do not extract and scale down low bits on after-rounding
44567 systems when result rounded to normal precision would have normal
44568 exponent.
44569 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44570 (__fmal): Do not extract and scale down low bits on after-rounding
44571 systems when result rounded to normal precision would have normal
44572 exponent.
44573 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44574 (__fmal): Do not extract and scale down low bits on after-rounding
44575 systems when result rounded to normal precision would have normal
44576 exponent.
44577 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44578 macro.
44579 (fma_test): Add more tests.
44580 (fma_test_towardzero): Likewise.
44581 (fma_test_downward): Likewise.
44582 (fma_test_upward): Likewise.
44583
44584 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44585
44586 * sysdeps/i386/tininess.h: Renamed to ...
44587 * sysdeps/x86/tininess.h: This.
44588 * sysdeps/x86_64/tininess.h: Removed.
44589
44590 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44591
44592 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44593 input. Use $(build-program-cmd).
44594 ($(objpfx)tst-array1-static.out): Likewise.
44595 ($(objpfx)tst-array2.out): Likewise.
44596 ($(objpfx)tst-array3.out): Likewise.
44597 ($(objpfx)tst-array4.out): Likewise.
44598 ($(objpfx)tst-array5.out): Likewise.
44599 ($(objpfx)tst-array5-static.out): Likewise.
44600
44601 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44602
44603 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44604 if defined.
44605
44606 * nss/nsswitch.h (nss_interface_function): Provide new
44607 macro for use with NSS functions.
44608 * grp/initgroups.c: Use new macro.
44609 * nss/getXXbyYY.c: Likewise.
44610 * nss/getXXbyYY_r.c: Likewise.
44611 * nss/getXXent.c: Likewise.
44612 * nss/getXXent_r.c: Likewise.
44613 * sysdeps/posix/getaddrinfo.c: Likewise.
44614
44615 2012-10-30 Andreas Jaeger <aj@suse.de>
44616
44617 * po/ru.po: Update Russion translation from translation project.
44618
44619 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44620
44621 [BZ #14152]
44622 [BZ #14783]
44623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44624 result and shift together with sticky bit instead of replicating
44625 round-to-nearest rounding.
44626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44628 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44629 missing underflow exceptions.
44630 (fma_test_towardzero): Add more tests.
44631 (fma_test_downward): Likewise.
44632 (fma_test_upward): Likewise.
44633
44634 [BZ #14047]
44635 * sysdeps/generic/tininess.h: New file.
44636 * sysdeps/i386/tininess.h: Likewise.
44637 * sysdeps/sh/tininess.h: Likewise.
44638 * sysdeps/x86_64/tininess.h: Likewise.
44639 * stdlib/tst-strtod-underflow.c: Likewise.
44640 * stdlib/tst-tininess.c: Likewise.
44641 * stdlib/strtod_l.c: Include <tininess.h>.
44642 (round_and_return): Do not set errno for exact underflow cases.
44643 Force an underflow exception when setting errno for underflow.
44644 Determine underflow based on rounding to normal precision if
44645 TININESS_AFTER_ROUNDING.
44646 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44647 ERANGE for exact underflow cases.
44648 * stdlib/Makefile (tests): Add tst-tininess and
44649 tst-strtod-underflow.
44650 ($(objpfx)tst-tininess): Use $(link-libm).
44651 ($(objpfx)tst-strtod-underflow): Likewise.
44652
44653 2012-10-30 Andreas Jaeger <aj@suse.de>
44654
44655 [BZ#14767]
44656 * elf/Makefile (tests): Remove conditional for have-initfini-array
44657 since this is now always required and the variable does not exist
44658 anymore.
44659 (tests-static): Likewise.
44660 (modules-names): Likewise.
44661
44662 * po/eo.po: Add Esperanto translation from translation project.
44663
44664 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44665 merged with constructor/destructor.
44666 (init_array): Likewise.
44667 * elf/tst-array2dep.c (fini_array): Likewise.
44668 (init_array): Likewise.
44669
44670 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44671
44672 * manual/message.texi: Delete @cartouche tags.
44673
44674 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44675
44676 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44677 EOPNOTSUPP.
44678 * sysdeps/mach/hurd/fsync.c: Likewise.
44679
44680 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44681 [_POSIX_REALTIME_SIGNALS]: Change condition to
44682 [_POSIX_REALTIME_SIGNALS > 0].
44683
44684 2012-10-27 Andreas Jaeger <aj@suse.de>
44685
44686 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44687 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44689 [__WORDSIZE != 64]: Likewise.
44690
44691 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44692
44693 * iconvdata/tst-table.sh: Remove ${SHELL}.
44694 * iconvdata/tst-tables.sh: Likewise.
44695
44696 2012-10-25 David S. Miller <davem@davemloft.net>
44697
44698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44699 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44700 of strtoull.
44701
44702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44703 ifunc-impl-list.c
44704 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44705 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44706 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44707 file.
44708
44709 2012-10-25 Roland McGrath <roland@hack.frob.com>
44710
44711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44712 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44713 __getdirentries.
44714
44715 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44716 Jim Blandy <jimb@codesourcery.com>
44717
44718 * scripts/cross-test-ssh.sh: New file.
44719 * manual/install.texi (Configuring and compiling): Document use of
44720 cross-test-ssh.sh.
44721 * INSTALL: Regenerated.
44722
44723 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44724
44725 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44726 EOPNOTSUPP.
44727
44728 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44729
44730 * Makeconfig (run-program-prefix): Fix comment.
44731
44732 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44733 Jim Blandy <jimb@codesourcery.com>
44734
44735 * Makeconfig (test-wrapper): New variable,
44736 (test-wrapper-env): Likewise.
44737 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44738 (run-built-tests): Define to yes.
44739 (run-program-prefix): Use $(test-wrapper).
44740 (built-program-cmd): Likewise.
44741 * Rules (make-test-out): Use $(test-wrapper-env) and
44742 $(host-built-program-cmd).
44743 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44744 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44745 tst-pathopt.sh.
44746 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44747 $(test-wrapper-env) to tst-rtld-load-self.sh.
44748 ($(objpfx)order2.out): Use $(test-wrapper).
44749 ($(objpfx)tst-initorder.out): Likewise.
44750 ($(objpfx)tst-initorder2.out): Likewise.
44751 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44752 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44753 (test_wrapper_env): New variable. Use it to run ld.so.
44754 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44755 Use it to run ld.so.
44756 (test_wrapper_env): Likewise.
44757 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44758 $(test-wrapper) to run-iconv-test.sh.
44759 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44760 (ICONV): Use $test_wrapper.
44761 * posix/Makefile ($(objpfx)globtest.out): Pass
44762 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44763 globtest.sh, not $(run-program-prefix).
44764 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44765 (test_wrapper): Likewise.
44766 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44767 set together with run_via_rtld_prefix.
44768 (run_program_prefix): Define in terms of test_wrapper and
44769 run_via_rtld_prefix.
44770
44771 2012-10-24 Roland McGrath <roland@hack.frob.com>
44772
44773 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44774 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44775 Targets removed.
44776
44777 [BZ #14743]
44778 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44779 Declare __clock_getres, __clock_gettime, __clock_settime,
44780 __clock_nanosleep, and __clock_getcpuclockid.
44781 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44782 Remove librt_hidden_def (clock_gettime).
44783 * sysdeps/unix/clock_gettime.c: Likewise.
44784 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44785 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44786 * rt/clock_getres.c: Define __clock_getres as an alias.
44787 * sysdeps/posix/clock_getres.c: Likewise.
44788 * rt/clock_settime.c: Define __clock_settime as an alias.
44789 * sysdeps/unix/clock_settime.c: Likewise.
44790 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44791 * sysdeps/unix/clock_nanosleep.c: Likewise.
44792 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44793 * rt/clock-compat.c: New file.
44794 * rt/Makefile (librt-routines): Add clock-compat and move
44795 $(clock-routines) to ...
44796 (routines): ... here, new variable.
44797 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44798 Don't add get_clockfreq here.
44799 * rt/Versions (libc: GLIBC_2.17): New version set.
44800 Add clock_* symbols here.
44801 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44803 (GLIBC_2.17): Add clock_* symbols.
44804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44806 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44808 Likewise.
44809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44810 Likewise.
44811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44815 * NEWS: Mention the move.
44816
44817 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44818 Use __open, __read, __close rather than their public counterparts.
44819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44820 (__get_clockfreq_via_cpuinfo): Likewise.
44821 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44822 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44823
44824 * config.h.in (HAVE_IFUNC): New #undef.
44825 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44826 was successful.
44827 * configure: Regenerated.
44828
44829 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44830
44831 * configure.in: Move READELF check to start of file.
44832 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44833 libc_cv_asm_gnu_indirect_function in the process.
44834 * configure: Regenerated.
44835
44836 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44837
44838 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44839 send the output to /dev/null.
44840 (libc_cv_cc_with_libunwind): Likewise.
44841 (libc_cv_as_noexecstack): Likewise.
44842 * configure: Regenerate.
44843
44844 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44845
44846 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44847
44848 * posix/globtest.sh (TMPDIR): Do not set.
44849 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44850 (testout): Likewise.
44851
44852 2012-10-24 Andreas Jaeger <aj@suse.de>
44853
44854 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44855 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44856 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44857 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44858 posix_fadvise64, posix_fallocate64.
44859
44860 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44861 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44862 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44863 Likewise.
44864 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44865 Likewise.
44866 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44867
44868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44869 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44870 <bits/fcntl-linux.h>.
44871 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44872
44873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44874 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44875 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44876 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44877 [__WORDSIZE != 64]: Likewise.
44878
44879 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44880
44881 * Makeconfig (run-built-tests): New variable.
44882 * Rules [$(cross-compiling) = yes]: Change condition to
44883 [$(run-built-tests) = no].
44884 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44885 to [$(run-built-tests) = yes].
44886 * elf/Makefile [$(cross-compiling) = no]: Likewise
44887 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44888 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44889 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44890 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44891 * io/Makefile [$(cross-compiling) = no]: Likewise.
44892 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44893 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44894 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44895 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44896 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44897 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44898 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44899 * string/Makefile [$(cross-compiling) = no]: Likewise.
44900
44901 * posix/Makefile ($(objpfx)globtest.out): Pass
44902 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44903 $(rtld-installed-name).
44904 * posix/globtest.sh (elf_objpfx): Remove variable.
44905 (rtld_installed_name): Likewise.
44906 (library_path): Likewise.
44907 (run_program_prefix): New variable. Use for running globtest
44908 binary.
44909
44910 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44911 Joseph Myers <joseph@codesourcery.com>
44912
44913 * Makeconfig (host-built-program-cmd): New variable.
44914 * elf/Makefile (tst-stackguard1-ARGS): Use
44915 $(host-built-program-cmd).
44916 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44917 (tst-spawn-ARGS): Likewise.
44918 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44919
44920 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44921 Jim Blandy <jimb@codesourcery.com>
44922
44923 * Makeconfig (run-via-rtld-prefix): New variable.
44924 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44925 (built-program-cmd): Likewise.
44926
44927 2012-10-22 Andreas Jaeger <aj@suse.de>
44928
44929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44930 __O_RSYNC if it exists, otherwise to O_SYNC.
44931
44932 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44933 Joseph Myers <joseph@codesourcery.com>
44934
44935 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44936 /dev/null.
44937 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44938 from /dev/null
44939 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44940 /dev/null.
44941
44942 2012-10-22 Andreas Jaeger <aj@suse.de>
44943
44944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44945 Define always.
44946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44947
44948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44949 bits/fcntl-linux.h.
44950
44951 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44952 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44953
44954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44955 to __O_LARGEFILE.
44956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44957 to __O_LARGEFILE.
44958
44959 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44960 Joseph Myers <joseph@codesourcery.com>
44961
44962 * config.make.in (NM): New variable.
44963
44964 2012-10-21 Andreas Jaeger <aj@suse.de>
44965
44966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44967 definitions and declarations that are provided by
44968 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44969
44970 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44971
44972 [BZ #14683]
44973 * elf/Makefile (tests-static): Add tst-leaks1-static.
44974 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44975 ($(objpfx)tst-leaks1-static): New rule.
44976 ($(objpfx)tst-leaks1-static-mem): Likewise.
44977 (tst-leaks1-static-ENV): New macro.
44978 * elf/dl-open.c (dl_open_worker): Check the main application
44979 only if SHARED is defined.
44980 * elf/tst-leaks1-static.c: New file.
44981
44982 2012-10-20 Andreas Jaeger <aj@suse.de>
44983
44984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44985 generic values for Linux.
44986 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44987 and declarations that are provided by <bits/fcntl-linux.h> and
44988 include <bits/fcntl-linux.h>.
44989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44991
44992 2012-10-20 Roland McGrath <roland@hack.frob.com>
44993
44994 * io/fcntl.h: Move include of <bits/types.h> to the top and
44995 include it unconditionally.
44996
44997 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44998
44999 * wcsmbs/Makefile (tests-ifunc): New variable.
45000 (tests): Add $(tests-ifunc).
45001 * wcsmbs/test-wcschr-ifunc.c: New file.
45002 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45003 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45004 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45005 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45006 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45007
45008 * string/Makefile (tests-ifunc): New variable.
45009 (tests): Add $(tests-ifunc).
45010 * string/test-memccpy.c (TEST_NAME): New macro.
45011 * string/test-memchr.c (TEST_NAME): Likewise.
45012 * string/test-memcmp.c (TEST_NAME): Likewise.
45013 * string/test-memcpy.c (TEST_NAME): Likewise.
45014 * string/test-memmem.c (TEST_NAME): Likewise.
45015 * string/test-memmove.c (TEST_NAME): Likewise.
45016 * string/test-memset.c (TEST_NAME): Likewise.
45017 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45018 * string/test-stpcpy.c (TEST_NAME): Likewise.
45019 * string/test-stpncpy.c (TEST_NAME): Likewise.
45020 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45021 * string/test-strcasestr.c (TEST_NAME): Likewise.
45022 * string/test-strcat.c (TEST_NAME): Likewise.
45023 * string/test-strchr.c (TEST_NAME): Likewise.
45024 * string/test-strcmp.c(TEST_NAME): Likewise.
45025 * string/test-strcpy.c (TEST_NAME): Likewise.
45026 * string/test-strcspn.c (TEST_NAME): Likewise.
45027 * string/test-strlen.c (TEST_NAME): Likewise.
45028 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45029 * string/test-strncmp.c (TEST_NAME): Likewise.
45030 * string/test-strncpy.c (TEST_NAME): Likewise.
45031 * string/test-strnlen.c (TEST_NAME): Likewise.
45032 * string/test-strpbrk.c (TEST_NAME): Likewise.
45033 * string/test-strrchr.c (TEST_NAME): Likewise.
45034 * string/test-strspn.c (TEST_NAME): Likewise.
45035 * string/test-strstr.c (TEST_NAME): Likewise.
45036 * string/test-bcopy-ifunc.c: New file.
45037 * string/test-bzero-ifunc.c: Likewise.
45038 * string/test-memccpy-ifunc.c: Likewise.
45039 * string/test-memchr-ifunc.c: Likewise.
45040 * string/test-memcmp-ifunc.c: Likewise.
45041 * string/test-memcpy-ifunc.c: Likewise.
45042 * string/test-memmem-ifunc.c: Likewise.
45043 * string/test-memmove-ifunc.c: Likewise.
45044 * string/test-mempcpy-ifunc.c: Likewise.
45045 * string/test-memset-ifunc.c: Likewise.
45046 * string/test-rawmemchr-ifunc.c: Likewise.
45047 * string/test-stpcpy-ifunc.c: Likewise.
45048 * string/test-stpncpy-ifunc.c: Likewise.
45049 * string/test-strcasecmp-ifunc.c: Likewise.
45050 * string/test-strcasestr-ifunc.c: Likewise.
45051 * string/test-strcat-ifunc.c: Likewise.
45052 * string/test-strchr-ifunc.c: Likewise.
45053 * string/test-strchrnul-ifunc.c: Likewise.
45054 * string/test-strcmp-ifunc.c: Likewise.
45055 * string/test-strcpy-ifunc.c: Likewise.
45056 * string/test-strcspn-ifunc.c: Likewise.
45057 * string/test-strlen-ifunc.c: Likewise.
45058 * string/test-strncasecmp-ifunc.c: Likewise.
45059 * string/test-strncat-ifunc.c: Likewise.
45060 * string/test-strncmp-ifunc.c: Likewise.
45061 * string/test-strncpy-ifunc.c: Likewise.
45062 * string/test-strnlen-ifunc.c: Likewise.
45063 * string/test-strpbrk-ifunc.c: Likewise.
45064 * string/test-strrchr-ifunc.c: Likewise.
45065 * string/test-strspn-ifunc.c: Likewise.
45066 * string/test-strstr-ifunc.c: Likewise.
45067
45068 * debug/Makefile (tests-ifunc): New variable.
45069 (tests): Add $(tests-ifunc).
45070 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45071 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45072 * debug/test-stpcpy_chk-ifunc.c: New file.
45073 * debug/test-strcpy_chk-ifunc.c: Likewise.
45074
45075 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45076
45077 [BZ #13601]
45078 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45079 header is not read in.
45080
45081 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45082
45083 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45084 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45085 directly. Pass built executable to script as
45086 $(built-program-cmd).
45087 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45088 $testprogram without using LD_LIBRARY_PATH and $ldso.
45089
45090 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45091 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45092 $(rtld-installed-name).
45093 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45094 (rtld_installed_name): Likewise.
45095 (library_path): Likewise.
45096 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45097 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45098 $(run-program-prefix) to tst-tables.sh.
45099 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45100 it to run tst-table-from and tst-table-to.
45101 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45102 Pass it to tst-table.sh.
45103 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45104 $(run-program-prefix) to tst-gettext.sh.
45105 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45106 tst-translit.sh.
45107 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45108 tst-gettext2.sh.
45109 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45110 to run tst-gettext.
45111 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45112 to run tst-gettext2.
45113 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45114 to run tst-translit.
45115 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45116 $(run-program-prefix) to tst-mtrace.sh.
45117 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45118 to run tst-mtrace.
45119 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45120 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45121 $(rtld-installed-name).
45122 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45123 (rtld_installed_name): Likewise.
45124 (run_program_prefix): New variable. Use it to run wordexp-test.
45125
45126 * Makeconfig (ARCH): Remove all definitions.
45127 (machine): Likewise.
45128 [ARCH]: Remove conditional code.
45129 [!objdir]: Give error.
45130 [!objdir] (objpfx): Remove.
45131 [!objdir] (common-objpfx): Likewise.
45132 [!objdir] (common-objdir): Likewise.
45133 * configure.in (config_makefile): Remove. Hardcode Makefile in
45134 AC_CONFIG_FILES call.
45135 * configure: Regenerated.
45136
45137 [BZ #13888]
45138 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45139 or TMPDIR.
45140 (testout): Likewise.
45141
45142 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45143 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45144 $(rtld-installed-name).
45145 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45146 (rtld_installed_name): Likwise.
45147 (runit): Remove function.
45148 (run_getconf): New variable, Use it for running getconf binary.
45149
45150 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45151
45152 [BZ #14716]
45153 * string/test-memmem.c (check_result): New function.
45154 (do_one_test): Use it.
45155 (check1): New function.
45156 (test_main): Use it.
45157
45158 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45159
45160 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45161
45162 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45163
45164 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45165 (_G_LSEEK64): Likewise.
45166 (_G_MMAP64): Likewise.
45167 (_G_FSTAT64): Likewise.
45168 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45169 (_G_LSEEK64): Likewise.
45170 (_G_MMAP64): Likewise.
45171 (_G_FSTAT64): Likewise.
45172 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45173 unconditional. Call __mmap64 directly.
45174 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45175 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45176 __lseek64 directly.
45177 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45178 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45179 __mmap64 directly.
45180 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45181 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45182 __lseek64 directly.
45183 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45184 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45185 __lseek64 directly.
45186 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45187 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45188 __lseek64 directly.
45189 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45190 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45191 __fxstat64 directly.
45192 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45193 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45194 unconditional.
45195 (freopen64) [!_G_OPEN64]: Remove conditional code.
45196 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45197 unconditional.
45198 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45199 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45200 unconditional.
45201 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45202 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45203 unconditional.
45204 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45205 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45206 unconditional.
45207 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45208 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45209 unconditional.
45210 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45211 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45212 unconditional.
45213 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45214 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45215 unconditional.
45216 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45217
45218 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45219
45220 [BZ #12140]
45221 * manual/memory.texi (Malloc Tunable Parameters): Add note
45222 about free list pointers overwriting some perturb bytes.
45223 Wording suggested by Roland McGrath.
45224
45225 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45226
45227 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45228 (lgamma_test): Likewise.
45229 (tgamma_test): Likewise.
45230
45231 2012-10-16 Florian Weimer <fweimer@redhat.com>
45232
45233 [BZ #14700]
45234 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45235 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45236
45237 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45238
45239 * NEWS: Mention BZ #14716.
45240 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45241 when removing AVAILABLE1_USES_J macro.
45242
45243 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45244
45245 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45246 (__bswap_64): __uint64_t for unsigned 64-bit int.
45247
45248 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45249
45250 * include/string.h (memmem): Declare libc hidden alias.
45251 * string/memmem.c (memmem): Define libc hidden alias.
45252 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45253 __read, __close instead of open, read, close.
45254
45255 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45256
45257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45258 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45259 global and hidden.
45260 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45261 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45262 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45263 Likewise.
45264 (__rawmemchr_sse2): Likewise.
45265 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45266 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45267 (__strchr_sse2): Likewise.
45268 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45269 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45270 (__strcasecmp_sse2): Likewise.
45271 (__strncasecmp_sse2): Likewise.
45272 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45273 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45274 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45275 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45276 (__strrchr_sse2): Likewise.
45277 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45278 ifunc-impl-list.c.
45279 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45280 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45281 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45282 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45283 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45284 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45285 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45286 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45287 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45288 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45289 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45290 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45291 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45292 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45293 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45294 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45295 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45296 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45297 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45298 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45299 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45300 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45301 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45302 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45303 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45304 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45305 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45306 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45307 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45308 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45309
45310 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45311 global and hidden.
45312 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45313 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45314 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45315 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45316 Likewise.
45317 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45318 Likewise.
45319 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45320 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45321 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45322 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45323 ifunc-impl-list.c.
45324 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45325 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45326 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45327 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45328 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45329 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45330 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45331 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45332 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45333 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45334 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45335 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45336 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45337 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45338 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45339 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45340 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45341 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45342 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45343 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45344 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45345 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45346 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45347 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45348 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45349 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45350 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45351 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45352 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45353 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45354 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45355 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45356 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45357 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45358 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45359 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45360 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45361 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45362 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45363 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45364 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45365
45366 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45367 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45368 * include/ifunc-impl-list.h: New file.
45369 * misc/ifunc-impl-list.c: Likewise.
45370 * misc/Makefile (routines): Add ifunc-impl-list.
45371 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45372 * string/test-string.h: Include <ifunc-impl-list.h>.
45373 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45374 TEST_NAME]: New variables.
45375 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45376 are defined.
45377 (test_init): Call __libc_ifunc_impl_list to initialize
45378 func_list if TEST_IFUNC and TEST_NAME are defined.
45379
45380 * string/Makefile (strop-tests): Add bcopy and bzero.
45381 * string/test-bcopy.c: New file.
45382 * string/test-bzero.c: Likewise.
45383 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45384 defined.
45385 * string/test-memset.c: Support bzero test if TEST_BZERO is
45386 defined.
45387 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45388 __libc_memmove.
45389 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45390 __libc_memset.
45391 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45392 of memset.
45393
45394 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45395
45396 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45397 * configure: Regenerated.
45398
45399 * Makeconfig (+link-static-before-libc): Don't include
45400 $(link-static-libc).
45401
45402 * libio/libio.h (_IO_pos_t): Remove.
45403
45404 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45405
45406 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45407 McGrath.
45408
45409 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45410
45411 * crypt/crypt-entry.c: Include fips-private.h.
45412 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45413 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45414 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45415 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45416
45417 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45418
45419 * crypt/crypt-private.h: Include stdbool.h.
45420 (_ufc_setup_salt_r): Return bool.
45421 * crypt/crypt-entry.c: Include errno.h.
45422 (__crypt_r): Return NULL with EINVAL for bad salt.
45423 * crypt/crypt_util.c (bad_for_salt): New.
45424 (_ufc_setup_salt_r): Check that salt is long enough and within
45425 the specified alphabet.
45426 * crypt/badsalttest.c: New file.
45427 * crypt/Makefile (tests): Add it.
45428 ($(objpfx)badsalttest): New.
45429
45430 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45431
45432 * NEWS: Add entry for BZ #14602.
45433
45434 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45435
45436 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45437 type-generic.
45438 * math/libm-test.inc: Update comment listing what functions and
45439 macros are tested.
45440 (isgreater_test): New function.
45441 (isgreaterequal_test): Likewise.
45442 (isless_test): Likewise.
45443 (islessequal_test): Likewise.
45444 (islessgreater_test): Likewise.
45445 (isunordered_test): Likewise.
45446 (main): Call the new functions.
45447
45448 2012-10-09 Roland McGrath <roland@hack.frob.com>
45449
45450 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45451 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45452 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45453 * sysdeps/i386/configure: Regenerated.
45454 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45455 * sysdeps/mach/configure: Regenerated.
45456 * sysdeps/mach/hurd/configure: Regenerated.
45457 * sysdeps/powerpc/configure: Regenerated.
45458 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45459 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45460 * sysdeps/s390/s390-32/configure: Regenerated.
45461 * sysdeps/s390/s390-64/configure: Regenerated.
45462 * sysdeps/sh/configure: Regenerated.
45463 * sysdeps/sparc/configure: Regenerated.
45464 * sysdeps/unix/sysv/linux/configure: Regenerated.
45465 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45466 * sysdeps/x86_64/configure: Regenerated.
45467
45468 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45469 defined. Don't check if MAP is NULL.
45470
45471 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45472
45473 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45474 (_G_stat64): Likewise.
45475 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45476 (_G_stat64): Likewise.
45477 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45478 instead of struct _G_stat64.
45479 * libio/fileops.c (mmap_remap_check): Likewise.
45480 (decide_maybe_mmap): Likewise.
45481 (_IO_new_file_seekoff): Likewise.
45482 (_IO_file_stat): Likewise.
45483 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45484 _G_off64_t.
45485 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45486 instead of struct _G_stat64.
45487 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45488
45489 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45490
45491 [BZ #14602]
45492 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45493 Replace with ...
45494 (CHECK_EOL): New macro.
45495 (two_way_short_needle): Check beginning of haystack for EOL. Use
45496 CHECK_EOL.
45497 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45498 Replace with CHECK_EOL.
45499 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45500 Replace with CHECK_EOL.
45501
45502 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45503
45504 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45505 type-generic.
45506 * math/libm-test.inc: Update comment listing what functions and
45507 macros are tested.
45508 (finite_test): New function.
45509 (isinf_test): Likewise.
45510 (isnan_test): Likewise.
45511 (fpclassify_test): Test subnormal input.
45512 (isfinite_test): Likewise.
45513 (isnormal_test): Likewise.
45514 (main): Call the new functions.
45515
45516 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45517
45518 [BZ #14660]
45519 * Makerules (%.dynsym): Force C locale when running
45520 $(OBJDUMP) --dynamic-syms.
45521
45522 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45523
45524 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45525 <stdint.h>.
45526
45527 2012-10-06 David S. Miller <davem@davemloft.net>
45528
45529 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45530 upper 32-bits of the length value in %o2 since we use branch-on-register
45531 tests which consider the entire 64-bit register.
45532
45533 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45534
45535 * string/test-strstr.c (check2): Add a test for page boundary.
45536
45537 2012-10-05 David S. Miller <davem@davemloft.net>
45538
45539 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45540 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45541 file.
45542 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45543 sysdep_routines.
45544 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45545 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45546 and bzero when HWCAP_SPARC_CRYPTO is present.
45547
45548 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45549
45550 [BZ #14602]
45551 * string/test-strstr.c (check2): New function.
45552 (test_main): Call check2.
45553
45554 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45555 and bug-strchr1.
45556 * string/bug-strcasestr1.c (do_test): Moved to ...
45557 * string/test-strcasestr.c (check1): Here. New function.
45558 (do_one_test): Break out result checking code into ...
45559 (check_result): This. New function.
45560 (do_one_test): Call check_result.
45561 (test_main): Call check1.
45562 * string/bug-strchr1.c (do_test): Moved to ...
45563 * string/test-strchr.c (check1): Here. New function.
45564 (do_one_test): Break out result checking code into ...
45565 (check_result): This. New function.
45566 (do_one_test): Call check_result.
45567 (test_main): Call check1.
45568 * string/bug-strstr1.c (main): Moved to ...
45569 * string/test-strstr.c (check1): Here. New function.
45570 (do_one_test): Break out result checking code into ...
45571 (check_result): This. New function.
45572 (do_one_test): Call check_result.
45573 (test_main): Call check1.
45574 * string/bug-strcasestr1.c: Removed.
45575 * string/bug-strchr1.c: Likewise.
45576 * string/bug-strstr1.c: Likewise.
45577
45578 * elf/Makefile (dl-routines): Add hwcaps.
45579 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45580 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45581 (_dl_important_hwcaps): Moved to ...
45582 * elf/dl-hwcaps.c: Here. New file.
45583 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45584
45585 [BZ #14557]
45586 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45587 if IS_IN_rtld isn't defined.
45588
45589 * elf/dl-support.c (_dl_sysinfo_map): New.
45590 Include "get-dynamic-info.h" and "setup-vdso.h".
45591 (_dl_non_dynamic_init): Call setup_vdso.
45592 * elf/dynamic-link.h: Don't include <assert.h>.
45593 (elf_get_dynamic_info): Moved to ...
45594 * elf/get-dynamic-info.h: Here. New file.
45595 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45596 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45597 * elf/setup-vdso.h: Here. New file.
45598 * elf/rtld.c: Include "setup-vdso.h".
45599 (dl_main): Call setup_vdso.
45600
45601 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45602
45603 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45604 creal in comment listing functions tested. List finite, isinf,
45605 isnan, isless, islessequal, isgreater, isgreaterequal,
45606 islessgreater, isunordered, lgamma_r and pow10 as functions and
45607 macros not tested. Mention which functions not tested are aliases
45608 for other functions. Fix typo. Note that signs of NaNs are not
45609 tested.
45610
45611 * scripts/config.guess: Update from config.git.
45612 * scripts/config.sub: Likewise.
45613
45614 2012-10-04 Roland McGrath <roland@hack.frob.com>
45615
45616 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45617 * misc/madvise.c (madvise): Renamed to __madvise.
45618 Make madvise a weak alias.
45619 * include/sys/mman.h: Declare __madvise.
45620 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45621 * sysdeps/unix/syscalls.list
45622 (madvise): Make __madvise the strong name, and madvise a weak alias.
45623 * sysdeps/unix/sysv/linux/syscalls.list
45624 (madvise, mmap): Remove redundant entries.
45625 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45626 * malloc/malloc.c (mtrim): Likewise.
45627 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45628
45629 2012-10-03 Roland McGrath <roland@hack.frob.com>
45630
45631 * sysdeps/mach/hurd/dl-cache.c: File removed.
45632 * config.h.in (USE_LDCONFIG): New #undef.
45633 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45634 * configure: Regenerated.
45635 * elf/Makefile (dl-routines): Add dl-cache only under
45636 [$(use-ldconfig) = yes].
45637 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45638 cache on [USE_LDCONFIG].
45639 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45640 [USE_LDCONFIG].
45641 * elf/rtld.c (dl_main): Likewise.
45642
45643 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45644
45645 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45646 _SC_LEVEL4_CACHE_LINESIZE.
45647
45648 2012-10-03 Roland McGrath <roland@hack.frob.com>
45649
45650 * sysdeps/unix/bsd/confstr.h: File removed.
45651
45652 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45653
45654 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45655 sys/sdt-config.h.
45656
45657 2012-10-02 Roland McGrath <roland@hack.frob.com>
45658
45659 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45660 Make 'mapoff' field ElfW(Off) rather than off_t.
45661
45662 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45663
45664 * nscd/Makefile: Remove nscd-cflags and all its users.
45665 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45666 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45667
45668 [BZ #10631]
45669 * malloc.c (malloc_printerr): Clarify error message.
45670
45671 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45672
45673 [BZ #14648]
45674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45675 Set bit_FMA_Usable if FMA is supported.
45676 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45677 macro.
45678 (bit_FMA4_Usable): Updated.
45679 (index_FMA_Usable): New macro.
45680 (CPUID_FMA): Likewise
45681 (HAS_FMA): Defined with bit_FMA_Usable.
45682
45683 2012-10-01 Roland McGrath <roland@hack.frob.com>
45684
45685 * bits/types.h (__swblk_t): Type removed.
45686 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45687 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45689 (__SWBLK_T_TYPE): Likewise.
45690 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45691 (__SWBLK_T_TYPE): Likewise.
45692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45693 (__SWBLK_T_TYPE): Likewise.
45694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45695 (__SWBLK_T_TYPE): Likewise.
45696
45697 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45698 Honza Horak <hhorak@redhat.com>
45699
45700 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45701 (xdr_mapname): Use YPMAXMAP as maxsize.
45702 (xdr_peername): Use YPMAXPEER as maxsize.
45703 (xdr_keydat): Use YPAXRECORD as maxsize.
45704 (xdr_valdat): Use YPMAXRECORD as maxsize.
45705
45706 2012-10-01 Roland McGrath <roland@hack.frob.com>
45707
45708 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45709
45710 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45711 * csu/init-first.c: ... here.
45712 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45713 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45714 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45715 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45716 * sysdeps/i386/init-first.c: File removed.
45717 * sysdeps/sh/init-first.c: File removed.
45718
45719 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45720
45721 [BZ #14645]
45722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45723 if x * y might underflow to zero and z is zero.
45724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45726 * math/libm-test.inc (min_subnorm_value): New variable.
45727 (fma_test): Add more tests.
45728 (fma_test_towardzero): Likewise.
45729 (fma_test_downward): Likewise
45730 (fma_test_upward): Likewise.
45731 (initialize): Set min_subnorm_value.
45732
45733 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45734
45735 [BZ #14638]
45736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45737 0 + 0.
45738 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45739 mode for addition resulting in exact zero.
45740 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45742 exact 0 + 0.
45743 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45745 * math/libm-test.inc (fma_test): Add more tests.
45746 (fma_test_towardzero): New function.
45747 (fma_test_downward): Likewise.
45748 (fma_test_upward): Likewise.
45749 (main): Call the new functions.
45750
45751 2012-09-28 David S. Miller <davem@davemloft.net>
45752
45753 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45754
45755 2012-09-28 Roland McGrath <roland@hack.frob.com>
45756
45757 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45758 instead of SIGALRM.
45759
45760 * sysdeps/gnu/_G_config.h: Moved to ...
45761 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45762 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45763 * sysdeps/generic/_G_config.h: ... here.
45764
45765 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45766
45767 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45768
45769 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45770 Conditionalize target on [libnss_test1.so-version].
45771
45772 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45773
45774 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45775 (elfobjdir): Move out of conditionals.
45776
45777 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45778 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45779 (__nss_lookup_function): Conditionalize label remove_from_tree on
45780 [!DO_STATIC_NSS || SHARED], matching its only use.
45781
45782 2012-09-28 David S. Miller <davem@davemloft.net>
45783
45784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45786 file.
45787 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45788 sysdep_routines.
45789 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45791 when HWCAP_SPARC_CRYPTO is present.
45792
45793 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45794
45795 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45796
45797 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45798
45799 [BZ #6530]
45800 * stdio-common/vfprintf.c (process_string_arg): Revert
45801 2000-07-22 change.
45802
45803 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45804
45805 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45806 for testcase.
45807 * stdio-common/tst-sprintf.c: Include <locale.h>
45808 (main): Test sprintf's handling of incomplete multibyte
45809 characters.
45810
45811 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45812
45813 * elf/dl-runtime.c (VERSYMIDX): Removed.
45814 * elf/dl-version.c (VERSYMIDX): Likewise.
45815 * elf/do-rel.h (VERSYMIDX): Likewise.
45816 (VALIDX): Likewise.
45817 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45818 * elf/rtld.c (VALIDX): Likewise.
45819 (ADDRIDX): Likewise.
45820 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45821 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45822 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45823 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45824 (VALIDX): Likewise.
45825 (ADDRIDX): Likewise.
45826
45827 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45828
45829 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45830
45831 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45832
45833 [BZ #11438]
45834 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45835 to global scope.
45836 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45837 addresses are in the same scope as 192.0.2/24.
45838 * posix/gai.conf: Document new scope table defaults.
45839
45840 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45841
45842 [BZ #5298]
45843 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45844 for ftell. Compute offsets from write pointers instead.
45845 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45846
45847 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45848
45849 [BZ #14543]
45850 * libio/Makefile (tests): New test case tst-fseek.
45851 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45852 combination works in wide mode.
45853 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45854 state when the external buffer state changes.
45855
45856 2012-09-27 David S. Miller <davem@davemloft.net>
45857
45858 [BZ #14376]
45859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45860 pass reloc->r_addend in as the 'high' argument to
45861 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45862
45863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45864
45865 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45866
45867 * rt/tst-aio2.c: Include <pthread.h>.
45868 * rt/tst-aio3.c: Likewise.
45869
45870 2012-09-27 Steve Ellcey <sellcey@mips.com>
45871
45872 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45873
45874 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45875
45876 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45877 contents on [SHARED].
45878
45879 2012-09-26 Marek Polacek <polacek@redhat.com>
45880
45881 [BZ #14530]
45882 [BZ #13741]
45883 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45884 for C++ and GCC <4.3 as well as for non GCC compilers.
45885
45886 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45887
45888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45889
45890 2012-09-25 Roland McGrath <roland@hack.frob.com>
45891
45892 * Makefile.in (all, install): Declare with .PHONY.
45893 Reported by Michael Hope <michael.hope@linaro.org>.
45894
45895 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45896
45897 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45898 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45899 system header.
45900 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45901 Likewise.
45902 (sydep_routines): Add the new and the internal functions.
45903 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45904 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45906 (GLIBC_2.17): Add the new function.
45907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45908 (GLIBC_2.17): Likewise.
45909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45910 (GLIBC_2.17): Likewise.
45911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45912 (GLIBC_2.17): Likewise.
45913 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45914
45915 2012-09-25 Alan Modra <amodra@gmail.com>
45916
45917 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45918 Add release barrier before setting once_control to say
45919 initialisation is done. Add hints on lwarx. Use macro in
45920 place of isync.
45921 (clear_once_control): Add release barrier.
45922
45923 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45924
45925 [BZ #13629]
45926 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45927 specially.
45928 * math/s_clog10.c (__clog10): Likewise.
45929 * math/s_clog10f.c (__clog10f): Likewise.
45930 * math/s_clog10l.c (__clog10l): Likewise.
45931 * math/s_clogf.c (__clogf): Likewise.
45932 * math/s_clogl.c (__clogl): Likewise.
45933 * math/Makefile (libm-calls): Add x2y2m1.
45934 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45935 (__x2y2m1): Likewise.
45936 (__x2y2m1l): Likewise.
45937 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45938 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45941 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45942 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45943 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45944 * sysdeps/i386/fpu/libm-test-ulps: Update.
45945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45946
45947 [BZ #14621]
45948 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45949 int as type of variable DEPTH.
45950 (glob): Use size_t instead of int as type of variables NEWCOUNT
45951 and OLD_PATHC.
45952
45953 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45954
45955 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45956 Add s_sincosf-sse2.
45957 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45958 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45959 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45960 macros for using routine as __sincosf_ia32.
45961 Use macro for function declaration and weak_alias.
45962 * sysdeps/i386/fpu/libm-test-ulps: Update.
45963
45964 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45966
45967 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45968 subnormal argument.
45969 * math/s_cexpf.c (__cexpf): Likewise.
45970 * math/s_csinf.c (__csinf): Likewise.
45971 * math/s_csinhf.c (__csinhf): Likewise.
45972 * math/s_ctanf.c (__ctanf): Likewise.
45973 * math/s_ctanhf.c (__ctanhf): Likewise.
45974 * math/s_ccosh.c (__ccoshf): Likewise.
45975 * math/s_cexp.c (__cexpl): Likewise.
45976 * math/s_csin.c (__csin): Likewise.
45977 * math/s_csinh.c (__csinh): Likewise.
45978 * math/s_ctan.c (__ctan): Likewise.
45979 * math/s_ctanh.c (ctanh): Likewise.
45980 * math/s_ccoshl.c (__ccoshl): Likewise.
45981 * math/s_cexpl.c (__cexpl): Likewise.
45982 * math/s_csinl.c (__csinl): Likewise.
45983 * math/s_csinhl.c (__csinhl): Likewise.
45984 * math/s_ctanl.c (__ctanl): Likewise.
45985 * math/s_ctanhl.c (__ctanhl): Likewise.
45986
45987 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45988
45989 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45990 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45991 (_IO_off_t): Define to __off_t, not _G_off_t.
45992 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45993 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45994 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45995 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45996 type of __dummy and __dummy2 fields.
45997 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45998 (_G_ssize_t): Likewise.
45999 (_G_off_t): Likewise.
46000 (_G_pid_t): Likewise.
46001 (_G_uid_t): Likewise.
46002 (_G_wchar_t): Likewise.
46003 (_G_wint_t): Likewise.
46004 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46005 (_G_ssize_t): Likewise.
46006 (_G_off_t): Likewise.
46007 (_G_pid_t): Likewise.
46008 (_G_uid_t): Likewise.
46009 (_G_wchar_t): Likewise.
46010 (_G_wint_t): Likewise.
46011 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46012 (_G_ssize_t): Likewise.
46013 (_G_off_t): Likewise.
46014 (_G_pid_t): Likewise.
46015 (_G_uid_t): Likewise.
46016 (_G_wchar_t): Likewise.
46017 (_G_wint_t): Likewise.
46018
46019 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46020
46021 * malloc/arena.c: Include malloc-sysdep.h.
46022 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46023 is sufficient to shrink the heap or an unmap is needed.
46024 * sysdeps/generic/malloc-sysdep.h: New file. Define
46025 new function check_may_shrink_heap.
46026 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46027 new function check_may_shrink_heap.
46028
46029 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46030
46031 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46032 comments.
46033
46034 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46035
46036 * catgets/test-gencat.sh: Add "set -e".
46037 * elf/tst-pathopt.sh: Likewise.
46038 * grp/tst_fgetgrent.sh: Likewise.
46039 * iconvdata/run-iconv-test.sh: Likewise.
46040 * intl/tst-gettext.sh: Likewise.
46041 * intl/tst-gettext2.sh: Likewise.
46042 * intl/tst-gettext4.sh: Likewise.
46043 * intl/tst-gettext6.sh: Likewise.
46044 * intl/tst-translit.sh: Likewise.
46045 * io/ftwtest-sh: Likewise.
46046 * libio/test-freopen.sh: Likewise.
46047 * malloc/tst-mtrace.sh: Likewise.
46048 * posix/globtest.sh: Likewise.
46049 * posix/tst-getconf.sh: Likewise.
46050 * posix/wordexp-tst.sh: Likewise.
46051 * stdio-common/tst-printf.sh: Likewise.
46052 * stdio-common/tst-unbputc.sh: Likewise.
46053 * stdlib/tst-fmtmsg.sh: Likewise.
46054 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46055 * catgets/Makefile: Do not specify -e option when running
46056 testsuite shell scripts.
46057 * elf/Makefile: Likewise.
46058 * grp/Makefile: Likewise.
46059 * iconvdata/Makefile: Likewise.
46060 * intl/Makefile: Likewise.
46061 * io/Makefile: Likewise.
46062 * libio/Makefile: Likewise.
46063 * malloc/Makefile: Likewise.
46064 * posix/Makefile: Likewise.
46065 * stdio-common/Makefile: Likewise.
46066 * stdlib/Makefile: Likewise.
46067 * sysdeps/x86_64/Makefile: Likewise.
46068
46069 * io/ftwtest-sh: Add copyright header.
46070 * posix/globtest.sh: Likewise.
46071 * posix/tst-getconf.sh: Likewise.
46072 * posix/wordexp-tst.sh: Likewise.
46073 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46074
46075 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46076
46077 [BZ #13679]
46078 * Makeconfig (+link): Defined as $(+link-static) if
46079 $(build-shared) isn't yes.
46080 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46081 isn't yes.
46082 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46083
46084 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46085
46086 [BZ #14562]
46087 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46088 new chunk size with MALLOC_ALIGN_MASK.
46089
46090 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46091
46092 [BZ #5044]
46093 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46094 <rounding-mode.h>.
46095 (__printf_fphex): Determine rounding using get_rounding_mode and
46096 round_away.
46097 * stdio-common/tst-printf-round.c (struct hex_test): New
46098 structure.
46099 (hex_tests): New variable.
46100 (test_hex_in_one_mode): New function.
46101 (do_test): Also run tests for hex float output.
46102
46103 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46104
46105 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46106 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46107 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46108 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46109 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46110 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46111 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46112 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46113
46114 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46115
46116 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46117 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46118 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46119 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46120
46121 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46122
46123 [BZ #14579]
46124 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46125 mode only.
46126 * elf/tst-rtld-load-self.sh: New test.
46127 * elf/Makefile: Run it.
46128
46129 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46130
46131 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46132 (tst-writev-ENV): Remove.
46133 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46134
46135 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46136
46137 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46138
46139 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46140
46141 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46142 unconditional.
46143 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46144 Likewise.
46145 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46146 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46147 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46148 Likewise.
46149
46150 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46151
46152 [BZ #14587]
46153 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46154 * config.make.in (have-cpp-asm-debuginfo): Removed.
46155 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46156 * configure: Regenerated.
46157
46158 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46159
46160 [BZ #5044]
46161 * stdio-common/printf_fp.c: Include <stdbool.h> and
46162 <rounding-mode.h>.
46163 (___printf_fp): Determine rounding using get_rounding_mode and
46164 round_away.
46165 * stdio-common/tst-printf-round.c: New file.
46166 * stdio-common/Makefile (tests): Add tst-printf-round.
46167 (link-libm): New variable.
46168 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46169
46170 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46171
46172 [BZ #14576]
46173 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46174 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46175 Likewise.
46176 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46177 Likewise.
46178
46179 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46180
46181 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46182 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46183 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46184 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46185
46186 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46187
46188 [BZ #14518]
46189 * include/rounding-mode.h: New file.
46190 * sysdeps/generic/get-rounding-mode.h: Likewise.
46191 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46192 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46193 (MAX_VALUE): New macro.
46194 (MIN_VALUE): Likewise.
46195 (overflow_value): New function.
46196 (underflow_value): Likewise.
46197 (round_and_return): Use overflow_value and underflow_value to
46198 determine return values in overflow and underflow cases. Use
46199 round_away to determine rounding depending on rounding mode.
46200 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46201 determine return values in overflow and underflow cases.
46202 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46203 (struct test_results): New structure.
46204 (struct test): Use struct test_results to store expected results
46205 for all rounding modes.
46206 (TEST): Include expected results for all rounding modes.
46207 (test_in_one_mode): New function.
46208 (do_test): Use test_in_one_mode to compute and check results.
46209 Check results for all rounding modes.
46210 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46211 $(link-libm).
46212
46213 2012-12-09 Allan McRae <allan@archlinux.org>
46214
46215 * sysdeps/i386/fpu/libm-test-ulps: Update
46216
46217 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46218
46219 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46220 (_G_int32_t): Likewise.
46221 (_G_uint16_t): Likewise.
46222 (_G_uint32_t): Likewise.
46223 (_G_HAVE_BOOL): Likewise.
46224 (_G_HAVE_ATEXIT): Likewise.
46225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46226 (_G_HAVE_IO_FILE_OPEN): Likewise.
46227 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46228 (_G_int32_t): Likewise.
46229 (_G_uint16_t): Likewise.
46230 (_G_uint32_t): Likewise.
46231 (_G_HAVE_BOOL): Likewise.
46232 (_G_HAVE_ATEXIT): Likewise.
46233 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46234 (_G_HAVE_IO_FILE_OPEN): Likewise.
46235 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46236 (_G_int32_t): Likewise.
46237 (_G_uint16_t): Likewise.
46238 (_G_uint32_t): Likewise.
46239 (_G_HAVE_BOOL): Likewise.
46240 (_G_HAVE_ATEXIT): Likewise.
46241 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46242 (_G_HAVE_IO_FILE_OPEN): Likewise.
46243
46244 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46245
46246 * csu/libc-tls.c: Update copyright years.
46247
46248 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46249
46250 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46251 [!_G_USING_THUNKS]: Remove conditional code.
46252 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46253 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46254
46255 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46256 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46257 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46258 (_G_VTABLE_LABEL_PREFIX): Likewise.
46259 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46260 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46261 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46262 (_G_VTABLE_LABEL_PREFIX): Likewise.
46263 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46264 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46265 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46266 (_G_VTABLE_LABEL_PREFIX): Likewise.
46267 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46268
46269 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46270
46271 * libio/Makefile: Include ../Makeconfig before tests.
46272 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46273 only if $(build-shared) is yes.
46274
46275 * iconv/gconv_db.c: Update copyright years.
46276
46277 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46278
46279 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46280 unwind info if defined PIC. Fix special cases description.
46281 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46282
46283 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46284 DP_HI_MASK entry.
46285 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46286
46287 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46288
46289 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46290
46291 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46292 is NULL.
46293
46294 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46295 (LDLIBS-tst-chk4): This.
46296 (LDFLAGS-tst-chk5): Renamed to ...
46297 (LDLIBS-tst-chk5): This.
46298 (LDFLAGS-tst-chk6): Renamed to ...
46299 (LDLIBS-tst-chk6): This.
46300 (LDFLAGS-tst-lfschk4): Renamed to ...
46301 (LDLIBS-tst-lfschk4): This.
46302 (LDFLAGS-tst-lfschk5): Renamed to ...
46303 (LDLIBS-tst-lfschk5): This.
46304 (LDFLAGS-tst-lfschk6): Renamed to ...
46305 (LDLIBS-tst-lfschk6): This.
46306
46307 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46308 on $(common-objpfx)soversions.mk.
46309
46310 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46311
46312 [BZ #10014]
46313 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46314 example host name.
46315
46316 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46317
46318 * malloc/arena.c (arena_get_retry): New function that gets
46319 another arena for the caller to try its request on.
46320 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46321 current arena cannot fulfill the request.
46322 (__libc_memalign): Likewise.
46323 (__libc_memalign): Likewise.
46324 (__libc_pvalloc): Likewise.
46325 (__libc_calloc): Likewise.
46326
46327 2012-09-05 John Tobey <john.tobey@gmail.com>
46328
46329 [BZ #13542]
46330 * manual/arith.texi (Operations on Complex): Fix description
46331 of carg branch cut.
46332
46333 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46334
46335 [BZ #10014]
46336 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46337 host name.
46338
46339 [BZ #10038]
46340 * manual/memory.texi (Memory): Make order of menu items match
46341 order of sections.
46342
46343 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46344
46345 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46346 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46347 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46348
46349 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46350
46351 * csu/libc-tls.c (static_dtv): Renamed to ...
46352 (_dl_static_dtv): This. Make it global.
46353 (_dl_initial_dtv): Removed.
46354 (__libc_setup_tls): Updated.
46355 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46356 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46357 DL_INITIAL_DTV.
46358
46359 2012-09-06 Petr Machata <pmachata@redhat.com>
46360
46361 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46362 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46363 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46364 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46365
46366 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46367
46368 [BZ #14545]
46369 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46370 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46371 freeing dtv[-1].
46372
46373 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46374
46375 [BZ #14544]
46376 * Makeconfig (link-static-before-libc): Replace $(+prector)
46377 with $(+prectorT).
46378 (link-static-after-libc): Replace $(+postctor) with
46379 $(+postctorT).
46380 (link-bounded): Replace $(+prector)/$(+postctor) with
46381 $(+prectorT)/$(+postctorT).
46382 (+prectorT): New macro.
46383 (+postctorT): Likewise.
46384
46385 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46386
46387 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46388 (round_str): Handle values above the maximum for IBM long double
46389 as inexact.
46390 * stdlib/tst-strtod-round.c (tests): Regenerated.
46391
46392 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46393
46394 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46395 assembler flag.
46396 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46397 zarch_nohighgprs around the zarch optimized routines.
46398 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46399 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46401 for zarch.
46402
46403 2012-09-05 David S. Miller <davem@davemloft.net>
46404
46405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46406
46407 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46408 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46409 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46410 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46411 entries.
46412
46413 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46414
46415 * malloc/arena.c: Fold copyright years.
46416 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46417
46418 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46419
46420 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46421
46422 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46423
46424 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46425
46426 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46427
46428 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46429 change internal state upon failure.
46430
46431 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46432
46433 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46434 * malloc/memusage.c (mmap): Likewise.
46435 (mmap64, mremap): Likewise. Adjust name in comment.
46436
46437 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46438
46439 * libio/fileops.c: Fix typos in comments.
46440 * libio/oldfileops.c: Likewise.
46441 * libio/wfileops.c: Likewise.
46442
46443 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46444
46445 [BZ #1349]
46446 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46447 (tst-malloc-usable-ENV): Set environment for test case.
46448 * malloc/hooks.c (malloc_check_get_size): New function to get
46449 requested size.
46450 * malloc/malloc.c (musable): Use malloc_check_get_size.
46451 * malloc/tst-malloc-usable.c: New test case.
46452
46453 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46454
46455 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46456
46457 2012-09-05 Allan McRae <allan@archlinux.org>
46458
46459 [BZ #13966]
46460 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46461 determine header location.
46462 * configure: Regenerated.
46463
46464 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46465
46466 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46467 float format.
46468 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46469 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46470 format.
46471 (test): Regenerate.
46472
46473 2012-09-04 David S. Miller <davem@davemloft.net>
46474
46475 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46476 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46477 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46478
46479 2012-09-04 Florian Weimer <fweimer@redhat.com>
46480
46481 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46482 failures.
46483
46484 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46485
46486 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46487
46488 [BZ #9914]
46489 * libio/iogetdelim.c: Include <limits.h>.
46490 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46491 + len + 1 would overflow.
46492
46493 2012-09-03 Andreas Jaeger <aj@suse.de>
46494
46495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46496 * sysdeps/i386/fpu/libm-test-ulps: Update.
46497
46498 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46499
46500 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46501 Add s_sinf-sse2, s_conf-sse2.
46502
46503 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46504 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46505 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46506 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46507
46508 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46509 for using routine as __sinf_ia32.
46510 Use macro for function declaration and weak_alias.
46511 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46512 for using routine as __cosf_ia32.
46513 Use macro for function declaration and weak_alias.
46514
46515 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46516 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46517
46518 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46519 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46521
46522 * math/libm-test.inc (cos_test): Add more test cases.
46523 (sin_test): Likewise.
46524 (sincos_test): Likewise.
46525
46526 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46527
46528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46529 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46530 hidden.
46531 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46532
46533 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46534
46535 [BZ #14538]
46536 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46537 first element of the GOT.
46538 (elf_machine_load_address): Return the difference between
46539 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46540
46541 2012-09-01 Allan McRae <allan@archlinux.org>
46542
46543 [BZ #13412]
46544 * configure.in (AWK): Require gawk version 3.0 or later.
46545 * configure: Regenerated.
46546
46547 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46548
46549 * sysdeps/unix/sysv/linux/kernel-features.h
46550 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46552 [__NR_clock_getres]: Make code unconditional.
46553 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46554 (clock_getcpuclockid): Remove code left unreachable by removal of
46555 conditionals.
46556 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46557 code unconditional.
46558 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46559 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46560 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46561 Make code unconditional.
46562 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46563 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46564 * sysdeps/unix/sysv/linux/clock_settime.c
46565 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46566 conditional code.
46567 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46568 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46569
46570 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46571
46572 [BZ #14476]
46573 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46574 scripts/test-installation.pl.
46575
46576 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46577 and $ld_so_version if it is set.
46578
46579 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46580
46581 [BZ #14516]
46582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46583 failure if reading from procfs failed.
46584 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46585
46586 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46587
46588 * sysdeps/unix/sysv/linux/kernel-features.h
46589 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46590 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46591 Remove conditional code.
46592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46593 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46594 Remove conditional code.
46595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46596 * sysdeps/unix/sysv/linux/i386/fxstat.c
46597 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46599 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46600 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46602 * sysdeps/unix/sysv/linux/i386/lxstat.c
46603 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46605 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46606 Remove conditional code.
46607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46608 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46609 Remove conditional code.
46610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46611 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46612 <kernel-features.h>.
46613 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46614 Remove.
46615 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46616 Remove conditional code.
46617 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46618 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46619 Remove conditional.
46620
46621 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46622
46623 [BZ #5400]
46624 * NEWS: Add fixed bug number.
46625
46626 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46627
46628 [BZ #14519]
46629 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46630 underflowing exponent in case of negative sign.
46631 * stdlib/tst-strtod-round-data: Add more tests.
46632 * stdlib/tst-strtod-round.c (tests): Regenerated.
46633
46634 [BZ #3479]
46635 * stdlib/strtod_l.c (NDIG): Remove.
46636 (HEXNDIG): Likewise.
46637 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46638 smallest representable value.
46639 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46640 lie within an exact representation of 1/2 ulp of the result.
46641 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46642 unconditionally.
46643 (TENS_P9_IDX): Define unconditionally.
46644 (TENS_P9_SIZE): Likewise.
46645 (TENS_P10_IDX): Likewise.
46646 (TENS_P10_SIZE): Likewise.
46647 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46648 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46649 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46650 entries for 10^2^13 and 10^2^14.
46651 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46652 (TENS_P13_IDX): Define.
46653 (TENS_P13_SIZE): Likewise.
46654 (TENS_P14_IDX): Likewise.
46655 (TENS_P14_SIZE): Likewise.
46656 (_fpioconst_pow10): Change array size to
46657 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46658 unconditional.
46659 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46660 1024]: Add entries for 10^2^13 and 10^2^14.
46661 [LAST_POW10 > _LAST_POW10]: Remove #error.
46662 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46663 (_fpioconst_pow10): Change array size to
46664 FPIOCONST_POW10_ARRAY_SIZE.
46665 * stdlib/gen-fpioconst.c: New file.
46666 * stdlib/gen-tst-strtod-round.c: Likewise.
46667 * stdlib/tst-strtod-round-data: Likewise.
46668 * stdlib/tst-strtod-round.c: Likewise.
46669 * stdlib/Makefile (tests): Add tst-strtod-round.
46670
46671 [BZ #14459]
46672 * stdlib/strtod_l.c: Include <stdint.h>.
46673 (NDEBUG): Do not define.
46674 (round_and_return): Change EXPONENT parameter to type intmax_t.
46675 Rearrange calculations to avoid internal overflow possibilities.
46676 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46677 Rearrange calculations to avoid internal overflow possibilities.
46678 Assert that number fits inside MPNSIZE limbs.
46679 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46680 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46681 calculations and add assertions to avoid internal overflow
46682 possibilities. Add casts to avoid signed/unsigned operations.
46683 * stdlib/tst-strtod-overflow.c: New file.
46684 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46685
46686 2012-08-25 Marek Polacek <polacek@redhat.com>
46687
46688 * time/time.h: Fix some typos in comments.
46689
46690 2012-08-23 Roland McGrath <roland@hack.frob.com>
46691
46692 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46693 * posix/tst-rfc3484-2.c: Likewise.
46694 * posix/tst-rfc3484-3.c: Likewise.
46695
46696 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46697
46698 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46699 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46700
46701 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46702
46703 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46704 #include of fxstatat64.c.
46705
46706 2012-08-22 Roland McGrath <roland@hack.frob.com>
46707
46708 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46709 * shadow/getspent_r.c: Likewise.
46710 * shadow/getspnam.c: Likewise.
46711 * shadow/getspnam_r.c: Likewise.
46712 * gshadow/getsgent.c: Likewise.
46713 * gshadow/getsgent_r.c: Likewise.
46714 * gshadow/getsgnam.c: Likewise.
46715 * gshadow/getsgnam_r.c: Likewise.
46716 * inet/getnetbyad.c: Likewise.
46717 * inet/getnetbyad_r.c: Likewise.
46718 * inet/getnetbynm.c: Likewise.
46719 * inet/getnetbynm_r.c: Likewise.
46720 * inet/getnetent.c: Likewise.
46721 * inet/getnetent_r.c: Likewise.
46722 * inet/getproto.c: Likewise.
46723 * inet/getproto_r.c: Likewise.
46724 * inet/getprtent.c: Likewise.
46725 * inet/getprtent_r.c: Likewise.
46726 * inet/getprtname.c: Likewise.
46727 * inet/getprtname_r.c: Likewise.
46728 * inet/getrpcbyname.c: Likewise.
46729 * inet/getrpcbyname_r.c: Likewise.
46730 * inet/getrpcbynumber.c: Likewise.
46731 * inet/getrpcbynumber_r.c: Likewise.
46732 * inet/getrpcent.c: Likewise.
46733 * inet/getrpcent_r.c: Likewise.
46734 * inet/getaliasent.c: Likewise.
46735 * inet/getaliasent_r.c: Likewise.
46736 * inet/getaliasname.c: Likewise.
46737 * inet/getaliasname_r.c: Likewise.
46738 * nscd/getgrgid_r.c: Likewise.
46739 * nscd/getgrnam_r.c: Likewise.
46740 * nscd/gethstbyad_r.c: Likewise.
46741 * nscd/gethstbynm3_r.c: Likewise.
46742 * nscd/getpwnam_r.c: Likewise.
46743 * nscd/getpwuid_r.c: Likewise.
46744 * nscd/getsrvbynm_r.c: Likewise.
46745 * nscd/getsrvbypt_r.c: Likewise.
46746 * nscd/gai.c: Likewise.
46747
46748 * configure.in (build_nscd): New substituted variable, set
46749 by --disable-build-nscd and defaults to $use_nscd.
46750 * configure: Regenerated.
46751 * config.make.in (build-nscd): New substituted variable.
46752 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46753 Change conditional to require [$(build-nscd) = yes] as well.
46754 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46755
46756 [BZ# 13696]
46757 * configure.in (use_nscd): New substituted variable, set by
46758 --disable-nscd. If enabled, define USE_NSCD.
46759 * configure: Regenerated.
46760 * config.h.in: Add USE_NSCD.
46761 * config.make.in (use-nscd): New substituted variable.
46762 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46763 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46764 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46765 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46766 (CFLAGS-getgrnam_r.c): Likewise.
46767 (CFLAGS-initgroups.c): Likewise.
46768 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46769 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46770 Variables removed.
46771 * inet/getnetgrent_r.c
46772 (nscd_setnetgrent): New function, broken out of ...
46773 (setnetgrent): ... here. Call it.
46774 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46775 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46776 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46777 * nscd/Makefile (routines, aux): Move definitions after include of
46778 Makeconfig. Conditionalize on [$(use-nscd) != no].
46779 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46780 Conditionalize on [USE_NSCD].
46781 (is_nscd, nscd_init_cb): Likewise.
46782 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46783 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46784 * nss/nss_db/db-init.c: Likewise.
46785 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46786 [USE_NSCD].
46787 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46788 (make_request): Use it.
46789 (cache_valid_p): New function.
46790 (__check_pf): Use it.
46791 * NEWS: Add item for --disable-nscd.
46792
46793 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46794
46795 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46796 to support sed >= 4.2.1-20-ga9bf076.
46797 * configure: Regenerated.
46798
46799 2012-08-22 Roland McGrath <roland@hack.frob.com>
46800
46801 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46802 Conditionalize whole body on [IREL].
46803
46804 2012-08-22 Jeff Law <law@redhat.com>
46805
46806 [BZ #14505]
46807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46808 if the family is PF_UNSPEC.
46809
46810 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46811
46812 * Makerules (lib-version): Rename from V.
46813 (install-lib-nosubdir): Change V to lib-version.
46814
46815 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46816
46817 [BZ #14252]
46818 * powerpc32/power6/wcschr.c: New file.
46819 * powerpc32/power6/wcscpy.c: New file.
46820 * powerpc32/power6/wcsrchr.c: New file.
46821 * powerpc64/power6/wcschr.c: New file.
46822 * powerpc64/power6/wcscpy.c: New file.
46823 * powerpc64/power6/wcsrchr.c: New file.
46824
46825 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46826
46827 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46828 (two_way_short_needle): Use it.
46829 * string/strstr.c (AVAILABLE1_USES_J): Define.
46830 * string/strcasestr.c: Likewise.
46831
46832 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46833 array references.
46834 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46835
46836 [BZ #11607]
46837 * NEWS: Add an entry.
46838 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46839 define their defaults.
46840 (two_way_short_needle): Detect end-of-string on-the-fly.
46841 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46842 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46843 * string/bug-strcasestr1.c: New test.
46844 * string/Makefile: Run it.
46845
46846 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46847
46848 [BZ #11607]
46849 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46850 the first character.
46851
46852 2012-08-21 Roland McGrath <roland@hack.frob.com>
46853
46854 * csu/elf-init.c (__libc_csu_irel): Function removed.
46855 * csu/libc-start.c (apply_irel): New function.
46856 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46857
46858 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46859
46860 * sysdeps/unix/sysv/linux/kernel-features.h
46861 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46862 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46863 <kernel-features.h>.
46864 [__NR_fadvise64_64]: Make code unconditional.
46865 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46866 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46867 !__NR_fadvise64_64)]: Likewise.
46868 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46869 !__NR_fadvise64_64))]: Likewise.
46870 [__NR_fadvise64]: Make code unconditional.
46871 [!__NR_fadvise64]: Remove conditional code.
46872 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46873 <kernel-features.h>.
46874 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46875 unconditional.
46876 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46877 conditional code.
46878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46879 not include <kernel-features.h>.
46880 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46881 unconditional.
46882 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46883 conditional code.
46884 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46885 include <kernel-features.h>.
46886 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46887 unconditional.
46888 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46889 conditional code.
46890
46891 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46892
46893 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46894 slight instruction rearrangements per scrollpipe analysis.
46895 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46896
46897 2012-08-20 Roland McGrath <roland@hack.frob.com>
46898
46899 * manual/syslog.texi (syslog; vsyslog, closelog):
46900 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46901 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46902
46903 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46904 DSOCAPS to match condition on defining it.
46905
46906 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46907
46908 * sysdeps/unix/sysv/linux/kernel-features.h
46909 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46911 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46912 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46914 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46915 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46917 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46918 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46919
46920 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46921 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46922
46923 * sysdeps/unix/sysv/linux/kernel-features.h
46924 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46925 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46926 unconditional.
46927 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46928 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46929 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46930 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46931 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46932 Make code unconditional.
46933 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46934 (__mmap64) [!__NR_mmap2]: Likewise.
46935 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46936 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46937 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46938 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46939 [__NR_mmap2]: Make code unconditional.
46940 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46941 (__mmap64) [!__NR_mmap2]: Likewise.
46942
46943 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46944
46945 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46946
46947 2012-08-18 Andreas Jaeger <aj@suse.de>
46948
46949 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46950
46951 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46952
46953 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46954 * include/unistd.h (__have_sock_cloexec): Likewise.
46955 (__have_pipe2): Likewise.
46956 (__have_dup3): Likewise.
46957
46958 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46959
46960 [BZ #9685]
46961 * include/unistd.h (__have_pipe2): Change define into an extern int.
46962 (__have_dup3): Likewise.
46963 * socket/have_sock_cloexec.c: Include fcntl.h.
46964 (__have_pipe2): New variable.
46965 (__have_dup3): Likewise.
46966
46967 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46968
46969 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46970
46971 2012-08-17 Marek Polacek <polacek@redhat.com>
46972
46973 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46974 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46975
46976 2012-08-17 Roland McGrath <roland@hack.frob.com>
46977
46978 * configure.in: Add AC_SUBST for sysheaders.
46979 * configure: Regenerated.
46980 * config.make.in (sysheaders): New substituted variable.
46981
46982 * sysdeps/unix/mkfifo.c: Moved ...
46983 * sysdeps/posix/mkfifo.c: ... here.
46984 * sysdeps/unix/mkfifoat.c: Moved ...
46985 * sysdeps/posix/mkfifoat.c: ... here.
46986
46987 * sysdeps/unix/utime.c: Moved ...
46988 * sysdeps/posix/utime.c: ... here.
46989
46990 * sysdeps/unix/time.c: Moved ...
46991 * sysdeps/posix/time.c: ... here.
46992 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46993 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46994
46995 * sysdeps/unix/nice.c: Moved ...
46996 * sysdeps/posix/nice.c: ... here.
46997
46998 * sysdeps/unix/alarm.c: Moved ...
46999 * sysdeps/posix/alarm.c: ... here.
47000
47001 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47002
47003 2012-08-17 Jeff Law <law@redhat.com>
47004
47005 * intl/Makefile (codeset_mo): New variable.
47006 ($(codeset_mo)): New target.
47007 (tst-codeset.out): Depend on that. Remove explicit rule.
47008 (tst-gettext3.out, tst-gettext5.out): Likewise.
47009 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47010 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47011 * intl/tst-codeset.sh: Remove.
47012 * intl/tst-gettext3.sh: Likewise.
47013 * intl/tst-gettext5.sh: Likewise.
47014
47015 2012-08-17 Roland McGrath <roland@hack.frob.com>
47016
47017 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47018 * sysdeps/unix/syscalls.list: ... here.
47019
47020 * sysdeps/posix/getaddrinfo.c
47021 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47022 (gaiconf_init, gaiconf_reload): Use them.
47023 [!_STATBUF_ST_NSEC]
47024 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47025 Define using time_t rather than struct timespec.
47026
47027 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47028 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47029 Macros removed.
47030 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47031 [!NO_THREADS].
47032 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47033 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47034 Likewise.
47035
47036 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47037 __libc_cleanup_push argument.
47038
47039 * bits/param.h: New file.
47040 * misc/sys/param.h: New file.
47041 * include/sys/param.h: New file.
47042 * misc/Makefile (headers): Add bits/param.h.
47043 * sysdeps/generic/sys/param.h: File removed.
47044 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47045 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47046 * sysdeps/mach/hurd/bits/param.h: New file.
47047 * sysdeps/mach/hurd/sys/param.h: File removed.
47048
47049 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47050 last change.
47051
47052 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47053 [_IO_MTSAFE_IO].
47054 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47055 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47056 New macros.
47057
47058 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47059 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47060 rather than -D_IO_MTSAFE_IO conditionally.
47061 * stdio-common/Makefile (CPPFLAGS): Likewise.
47062 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47063 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47064 Use $(libio-mtsafe).
47065 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47066 of -D_IO_MTSAFE_IO.
47067 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47068 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47069 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47070 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47071 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47072 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47073 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47074 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47075 (CFLAGS-fread_u_chk.c): Likewise.
47076 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47077 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47078 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47079 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47080 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47081 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47082 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47083 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47084 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47085
47086 * libio/Makefile: Test [$(libc-reentrant) = yes]
47087 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47088
47089 * Makeconfig
47090 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47091 * sysdeps/pthread/configure: File removed.
47092 * sysdeps/pthread/Makeconfig: New file.
47093 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47094 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47095
47096 2012-08-16 Gary Benson <gbenson@redhat.com>
47097
47098 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47099 unmapping the first object in a namespace.
47100
47101 2012-08-16 Roland McGrath <roland@hack.frob.com>
47102
47103 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47104 (__internal_setnetgrent): ... this. Add internal_function to
47105 definition. Add libc_hidden_def.
47106 (setnetgrent): Update caller.
47107 (internal_endnetgrent): Renamed to ...
47108 (__internal_endnetgrent): ... this. Add internal_function to
47109 definition. Add libc_hidden_def.
47110 (endnetgrent): Update caller.
47111 (internal_getnetgrent_r): Renamed to ...
47112 (__internal_getnetgrent_r): ... this. Add internal_function to
47113 definition. Add libc_hidden_def.
47114 (__getnetgrent_r): Update caller.
47115 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47116
47117 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47118
47119 * stdlib/longlong.h: Update from GCC.
47120
47121 2012-08-16 Roland McGrath <roland@hack.frob.com>
47122
47123 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47124 on _QL, which is set by umul_ppmm but never used.
47125 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47126 variables, which are set by GMP macros but never used.
47127 * stdio-common/_itowa.c (_itowa): Likewise.
47128 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47129 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47130
47131 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47132
47133 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47134 struct La_sh_regs is not constant.
47135 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47136 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47137 and struct La_sparc64_regs are not constant.
47138
47139 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47140
47141 * sysdeps/unix/sysv/linux/kernel-features.h
47142 (__ASSUME_POSIX_TIMERS): Remove.
47143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47144 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47145 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47146 Make code unconditional.
47147 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47148 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47149 Make code unconditional.
47150 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47151 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47152 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47153 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47154 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47155 Make code unconditional.
47156 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47157 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47158 (__libc_missing_posix_timers): Remove.
47159
47160 2012-08-15 Roland McGrath <roland@hack.frob.com>
47161
47162 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47163 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47164
47165 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47166
47167 * elf/dl-sym.c: Include <stdlib.h>.
47168
47169 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47170 constants, which avoids warnings in 32-bit builds.
47171
47172 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47173 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47174
47175 * misc/lseek.c: File moved to ...
47176 * io/lseek.c: ... here.
47177
47178 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47179
47180 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47181 shifting LEN more than 31 bits at once.
47182
47183 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47184
47185 [BZ #14195]
47186 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47187 segmentation fault for a case of two empty input strings.
47188 * string/test-strncasecmp.c (check1): Renamed to...
47189 (bz12205): ...this.
47190 (bz14195): Add new testcase for two empty input strings and N > 0.
47191 (test_main): Call new testcase, adapt for renamed function.
47192
47193 2012-08-15 Andreas Jaeger <aj@suse.de>
47194
47195 [BZ #14090]
47196 * crypt/md5test2.c: New test, based on test supplied by Serge
47197 Belyshev <belyshev@depni.sinp.msu.ru>.
47198 * crypt/Makefile (xtests): Add md5test-giant..
47199 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47200
47201 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47202
47203 [BZ #14090]
47204 * crypt/md5.c (md5_process_block): Don't assume the buffer
47205 length is less than 2**32.
47206 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47207 length is less than 2**64.
47208
47209 2012-08-15 Roland McGrath <roland@hack.frob.com>
47210
47211 * string/str-two-way.h: Include <sys/param.h>.
47212 (MAX): Macro removed.
47213
47214 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47215 Move #define and #undef of memmove to just before and after
47216 including <string.h>.
47217
47218 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47219 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47220 and after including <string.h>. Move declarations of
47221 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47222 to before #include "string/memmove.c".
47223
47224 * include/dirent.h: Declare __getdirentries.
47225
47226 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47227 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47228
47229 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47230
47231 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47232 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47233 * sysdeps/i386/configure: Regenerated.
47234 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47235 STABS_CURRENT_FILE, and STABS_FUN.
47236 (END): Remove call to STABS_FUN_END.
47237 (STABS_CURRENT_FILE1): Delete.
47238 (STABS_CURRENT_FILE): Likewise.
47239 (STABS_FUN): Likewise.
47240 (STABS_FUN_END): Likewise.
47241 (STABS_FUN2): Likewise.
47242 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47243 * sysdeps/x86_64/configure: Regenerated.
47244
47245 2012-08-14 Roland McGrath <roland@hack.frob.com>
47246
47247 * elf/dl-open.c: Include <atomic.h>.
47248 * elf/dl-lookup.c: Likewise.
47249
47250 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47251
47252 * sysdeps/unix/sysv/linux/kernel-features.h
47253 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47254 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47255 unconditionally.
47256 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47257 unconditionally.
47258 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47259 condition on __ASSUME_CLONE_THREAD_FLAGS.
47260
47261 2012-08-14 Andreas Jaeger <aj@suse.de>
47262
47263 * sysdeps/i386/fpu/libm-test-ulps: Update.
47264
47265 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47266
47267 * include/atomic.h (atomic_exchange_and_add): Split into ...
47268 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47269 New atomic macros.
47270
47271 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47272
47273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47274
47275 2012-08-13 Jeff Law <law@redhat.com>
47276
47277 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47278 null byte in the output string.
47279
47280 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47281
47282 * sysdeps/unix/sysv/linux/kernel-features.h
47283 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47284 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47285 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47286 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47287 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47288 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47289 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47290
47291 2012-08-09 Jeff Law <law@redhat.com>
47292
47293 [BZ #13939]
47294 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47295 When avoid_arena is set, don't retry in the that arena. Pick the
47296 next one, whatever it might be.
47297 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47298 (arena_lock): Pass in new parameter to arena_get2.
47299 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47300 arena_get2.
47301 (__libc_malloc): Unify retrying after main arena failure with
47302 __libc_memalign version.
47303 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47304
47305 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47306
47307 [BZ #14166]
47308 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47309 to __redirect_strstr.
47310 (__strstr_sse42): Use typeof __redirect_strstr.
47311 (__strstr_ia32): Likewise.
47312 (__libc_strstr): New prototype.
47313 (strstr): Renamed to ...
47314 (__libc_strstr): This.
47315 (strstr): New strong alias of __libc_strstr.
47316 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47317 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47318 __redirect_time.
47319 Include <time.h>.
47320 (__libc_time): New prototype.
47321 (time_ifunc): Replace time with __libc_time.
47322 (time): New strong alias and hidden definition of __libc_time.
47323 (__GI_time): Remove strong alias.
47324 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47325 Include <stddef.h>.
47326 (memmove): Redefined to __redirect_memmove.
47327 (__memmove_sse2): Use typeof __redirect_memmove.
47328 (__memmove_ssse3): Likewise.
47329 (__memmove_ssse3_back): Likewise.
47330 (__libc_memmove): New prototype.
47331 (memmove): Renamed to ...
47332 (__libc_memmove): This.
47333 (memmove): New strong alias of __libc_memmove.
47334
47335 2012-08-08 Mark Salter <msalter@redhat.com>
47336
47337 * elf/elf.h
47338 (R_MN10300_TLS_GD): Define.
47339 (R_MN10300_TLS_LD): Likewise.
47340 (R_MN10300_TLS_LDO): Likewise.
47341 (R_MN10300_TLS_GOTIE): Likewise.
47342 (R_MN10300_TLS_IE): Likewise.
47343 (R_MN10300_TLS_LE): Likewise.
47344 (R_MN10300_TLS_DTPMOD): Likewise.
47345 (R_MN10300_TLS_DTPOFF): Likewise.
47346 (R_MN10300_TLS_TPOFF): Likewise.
47347 (R_MN10300_SYM_DIFF): Likewise.
47348 (R_MN10300_ALIGN): Likewise.
47349 (R_MN10300_NUM): Update.
47350
47351 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47352
47353 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47354 Remove.
47355
47356 2012-08-08 Roland McGrath <roland@hack.frob.com>
47357
47358 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47359
47360 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47361 sysdeps/unix -> sysdeps/posix move.
47362 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47363
47364 2012-08-07 Allan McRae <allan@archlinux.org>
47365
47366 [BZ #14303]
47367 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47368 (SUNOS_CPP): Likewise.
47369 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47370 not found.
47371 (open_input): Call CPP using execvp.
47372
47373 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47374
47375 * sysdeps/unix/sysv/linux/kernel-features.h
47376 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47377 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47378 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47379 (__ASSUME_WAITID_SYSCALL): Likewise.
47380 * sysdeps/unix/sysv/linux/dl-execstack.c
47381 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47382 code unconditional.
47383 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47384 conditional code.
47385 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47386 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47387 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47388 code.
47389 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47390 unconditional.
47391 [__ASSUME_WAITID_SYSCALL]: Likewise.
47392 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47393
47394 2012-08-07 Roland McGrath <roland@hack.frob.com>
47395
47396 * sysdeps/unix/closedir.c: Renamed to ...
47397 * sysdeps/posix/closedir.c: ... here.
47398 * sysdeps/unix/dirfd.c: Renamed to ...
47399 * sysdeps/posix/dirfd.c: ... here.
47400 * sysdeps/unix/dirstream.h: Renamed to ...
47401 * sysdeps/posix/dirstream.h: ... here.
47402 * sysdeps/unix/fdopendir.c: Renamed to ...
47403 * sysdeps/posix/fdopendir.c: ... here.
47404 * sysdeps/unix/opendir.c: Renamed to ...
47405 * sysdeps/posix/opendir.c: ... here.
47406 * sysdeps/unix/readdir.c: Renamed to ...
47407 * sysdeps/posix/readdir.c: ... here.
47408 * sysdeps/unix/readdir_r.c: Renamed to ...
47409 * sysdeps/posix/readdir_r.c: ... here.
47410 * sysdeps/unix/rewinddir.c: Renamed to ...
47411 * sysdeps/posix/rewinddir.c: ... here.
47412 * sysdeps/unix/seekdir.c: Renamed to ...
47413 * sysdeps/posix/seekdir.c: ... here.
47414 * sysdeps/unix/telldir.c: Renamed to ...
47415 * sysdeps/posix/telldir.c: ... here.
47416 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47417 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47418 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47419 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47420
47421 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47422 * bits/fcntl.h: ... here.
47423
47424 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47425 not 0.
47426 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47427 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47428 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47429 (struct flock): Move l_start, l_len to the beginning.
47430 Use __pid_t for l_pid.
47431 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47432 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47433 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47434 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47435 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47436 [__USE_LARGEFILE64] (struct flock64): New type.
47437 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47438
47439 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47440 * bits/dirent.h: ... here.
47441
47442 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47443 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47444
47445 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47446
47447 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47448 Change from 2.6.0 to 2.6.16.
47449 * sysdeps/unix/sysv/linux/configure: Regenerated.
47450 * sysdeps/unix/sysv/linux/kernel-features.h
47451 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47452 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47453 version.
47454 (__ASSUME_UTIMES): Likewise.
47455 (__ASSUME_CLONE_STOPPED): Remove.
47456 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47457 architectures, not kernel version.
47458 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47459 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47460 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47461 (__ASSUME_WAITID_SYSCALL): Likewise.
47462 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47463 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47464 * README: State 2.6.16 as minimum Linux kernel version. Do not
47465 refer to older versions.
47466
47467 2012-08-06 Roland McGrath <roland@hack.frob.com>
47468
47469 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47470 Define alphasort64 as an alias.
47471 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47472 Define versionsort64 as an alias.
47473 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47474 Define scandir64 as an alias.
47475 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47476 Define scandirat64 as an alias.
47477 * dirent/alphasort64.c (alphasort64):
47478 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47479 * dirent/versionsort64.c: Likewise.
47480 * dirent/scandir64.c: Likewise.
47481 * dirent/scandirat64.c: Likewise.
47482 * sysdeps/wordsize-64/alphasort.c: File removed.
47483 * sysdeps/wordsize-64/alphasort64.c: File removed.
47484 * sysdeps/wordsize-64/scandir.c: File removed.
47485 * sysdeps/wordsize-64/scandir64.c: File removed.
47486 * sysdeps/wordsize-64/scandirat.c: File removed.
47487 * sysdeps/wordsize-64/scandirat64.c: File removed.
47488 * sysdeps/wordsize-64/versionsort.c: File removed.
47489 * sysdeps/wordsize-64/versionsort64.c: File removed.
47490 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47491 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47492 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47494 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47496 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47497 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47498
47499 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47501 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47503 [defined __arch64__ || defined __sparcv9]
47504 (__INO_T_MATCHES_INO64_T): New macro.
47505 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47506 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47507 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47508 * sysdeps/unix/sysv/linux/bits/dirent.h
47509 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47510 (_DIRENT_MATCHES_DIRENT64): New macro.
47511
47512 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47513 Define lockf64 as an alias.
47514 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47515 Define fseeko64 as an alias.
47516 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47517 Define ftello64 as an alias.
47518 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47519 Define _IO_fgetpos64 and fgetpos64 as aliases.
47520 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47521 Define _IO_fsetpos64 and fsetpos64 as aliases.
47522 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47523 Conditionalize body on this.
47524 * libio/fseeko64.c: Likewise.
47525 * libio/ftello64.c: Likewise.
47526 * libio/iofgetpos64.c: Likewise.
47527 * libio/iofsetpos64.c: Likewise.
47528 * sysdeps/wordsize-64/lockf.c: File removed.
47529 * sysdeps/wordsize-64/lockf64.c: File removed.
47530 * sysdeps/wordsize-64/fseeko.c: File removed.
47531 * sysdeps/wordsize-64/fseeko64.c: File removed.
47532 * sysdeps/wordsize-64/ftello.c: File removed.
47533 * sysdeps/wordsize-64/ftello64.c: File removed.
47534 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47535 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47536 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47537 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47538 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47539 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47540 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47541 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47542 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47543 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47544 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47545 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47546 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47548
47549 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47551 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47553 [defined __arch64__ || defined __sparcv9]
47554 (__OFF_T_MATCHES_OFF64_T): New macro.
47555 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47556 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47558 (__OFF_T_MATCHES_OFF64_T): New macro.
47559
47560 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47561
47562 * stdlib/secure-getenv.c (__secure_getenv): Replace
47563 GLIBC_2_16 with GLIBC_2_17.
47564
47565 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47566
47567 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47568 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47569
47570 2012-08-03 David S. Miller <davem@davemloft.net>
47571
47572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47573
47574 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47575
47576 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47577 Remove.
47578 (__ASSUME_CORRECT_SI_PID): Likewise.
47579 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47580 (__ASSUME_TMPFS_NAME): Likewise.
47581 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47582 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47583 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47584 (HAVE_AUX_SECURE): Make definition unconditional.
47585 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47586 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47587
47588 2012-08-03 Roland McGrath <roland@hack.frob.com>
47589
47590 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47591 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47592 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47593 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47594 __eloop_threshold instead of SYMLOOP_MAX.
47595
47596 * sysdeps/generic/eloop-threshold.h: New file.
47597 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47598 of MAXSYMLINKS.
47599 * elf/chroot_canon.c (chroot_canon): Likewise.
47600
47601 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47602
47603 [BZ #13717]
47604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47605 Change to 2.6.0 everywhere.
47606 * sysdeps/unix/sysv/linux/configure: Regenerated.
47607 * sysdeps/unix/sysv/linux/kernel-features.h
47608 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47609 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47610 kernel versions.
47611 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47612 (__ASSUME_FUTEX_REQUEUE): Remove.
47613 (__ASSUME_STATFS64): Define unconditionally.
47614 (__ASSUME_AT_SECURE): Likewise.
47615 (__ASSUME_CORRECT_SI_PID): Likewise.
47616 (__ASSUME_TGKILL): Define without depending on kernel version for
47617 i386.
47618 (__ASSUME_UTIMES): Likewise.
47619 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47620 kernel version.
47621 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47622 (__ASSUME_TMPFS_NAME): Likewise.
47623 * README: Update reference to Linux kernel versions.
47624
47625 2012-08-02 Marek Polacek <polacek@redhat.com>
47626
47627 [BZ# 14150]
47628 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47629 libc_cv_asm_type_prefix with %.
47630 * configure: Regenerated.
47631 * include/libc-symbols.h: Remove comment about
47632 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47633 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47634 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47635 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47636 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47637 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47638 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47639 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47640 * elf/tst-unique2mod1.c: Likewise.
47641 * elf/tst-unique1mod2.c: Likewise.
47642 * elf/tst-unique1mod1.c: Likewise.
47643 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47644 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47645 Replace ASM_TYPE_DIRECTIVE with .type.
47646 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47647 * sysdeps/i386/sysdep.h: Likewise.
47648 * sysdeps/x86_64/sysdep.h: Likewise.
47649 * sysdeps/sh/sysdep.h: Likewise.
47650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47651 Do not define ASM_TYPE_DIRECTIVE.
47652 * sysdeps/powerpc/sysdep.h: Likewise.
47653 * sysdeps/powerpc/powerpc32/sysdep.h:
47654 Replace ASM_TYPE_DIRECTIVE with .type.
47655 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47656 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47657 * sysdeps/i386/fpu/e_powf.S: Likewise.
47658 * sysdeps/i386/fpu/e_expl.S: Likewise.
47659 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47660 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47661 * sysdeps/i386/fpu/e_pow.S: Likewise.
47662 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47663 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47664 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47665 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47666 * sysdeps/i386/fpu/e_log2.S: Likewise.
47667 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47669 * sysdeps/i386/fpu/e_powl.S: Likewise.
47670 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47671 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47672 * sysdeps/i386/fpu/e_logl.S: Likewise.
47673 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47674 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47675 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47676 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47677 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47678 * sysdeps/i386/fpu/e_log.S: Likewise.
47679 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47680 * sysdeps/i386/fpu/e_logf.S: Likewise.
47681 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47682 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47683 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47684 * sysdeps/i386/fpu/e_log10.S: Likewise.
47685 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47686 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47687 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47688 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47689 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47690 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47691 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47692 * sysdeps/i386/i686/strtok.S: Likewise.
47693 * sysdeps/i386/i386-mcount.S: Likewise.
47694 * sysdeps/i386/strtok.S: Likewise.
47695 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47697 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47698 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47699 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47700 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47701 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47702 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47703 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47704 * sysdeps/x86_64/_mcount.S: Likewise.
47705 * sysdeps/x86_64/strtok.S: Likewise.
47706 * sysdeps/sh/_mcount.S: Likewise.
47707
47708 2012-08-01 Roland McGrath <roland@hack.frob.com>
47709
47710 * libio/iofopen.c: Include <fcntl.h>.
47711 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47712 (_IO_fopen64, fopen64): Define as aliases.
47713 * libio/iofopen64.c: Include <fcntl.h>.
47714 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47715 Conditionalize body on this.
47716 * sysdeps/wordsize-64/iofopen.c: File removed.
47717 * sysdeps/wordsize-64/iofopen64.c: File removed.
47718
47719 2012-08-01 Marek Polacek <polacek@redhat.com>
47720
47721 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47722 Use dlfcn directly instead of a variable.
47723 (binfmt-subdir): Do not define.
47724 (dlfcn): Likewise.
47725
47726 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47727
47728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47729 Remove all definitions.
47730 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47731 <kernel-features.h>.
47732 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47733 (miss_F_GETOWN_EX): Remove all definitions.
47734 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47735 macro definition.
47736 [!__ASSUME_FCNTL64]: Remove conditional code.
47737 [__ASSUME_FCNTL64]: Make code unconditional.
47738 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47739 <kernel-features.h>.
47740 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47741 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47742 (lockf64) [__NR_fcntl64]: Make code unconditional.
47743 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47744
47745 * sysdeps/unix/sysv/linux/kernel-features.h
47746 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47747 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47748 Make code unconditional.
47749 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47750 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47752 [__NR_vfork]: Make code unconditional.
47753 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47754 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47756 [__NR_vfork]: Make code unconditional.
47757 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47758 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47759
47760 2012-08-01 Roland McGrath <roland@hack.frob.com>
47761
47762 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47763 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47764
47765 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47766 Define mkstemp64 as an alias.
47767 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47768 Define mkstemps64 as an alias.
47769 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47770 Define mkostemp64 as an alias.
47771 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47772 Define mkostemps64 as an alias.
47773 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47774 Conditionalize body on this.
47775 * misc/mkostemp64.c: Likewise.
47776 * misc/mkostemps64.c: Likewise.
47777 * misc/mkstemps64.c: Likewise.
47778 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47779 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47780 * sysdeps/wordsize-64/mkostemp.c: File removed.
47781 * sysdeps/wordsize-64/mkstemp.c: File removed.
47782 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47783 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47785 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47786
47787 [BZ #14138]
47788 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47789 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47790 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47791 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47792
47793 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47794 compat_symbol macros from <shlib-compat.h> rather than the underlying
47795 default_symbol_version and symbol_version macros, so that DEFAULT
47796 lines in shlib-versions are respected.
47797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47798
47799 2012-08-01 Florian Weimer <fweimer@redhat.com>
47800
47801 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47802 Declare with warn_unused_result.
47803 (setgid, setregid, setegid, setresgid): Likewise.
47804 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47805 Likewise.
47806 * WUR-REPORT: Remove set*id functions.
47807
47808 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47809
47810 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47811
47812 2012-07-31 Roland McGrath <roland@hack.frob.com>
47813
47814 [BZ #10191]
47815 * include/sys/socket.h (__libc_accept, __libc_accept4):
47816 Add attribute_hidden.
47817 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47818
47819 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47820 use of PTR_MANGLE.
47821 * inet/getnetgrent_r.c (setup): Likewise.
47822
47823 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47824
47825 2012-07-31 David S. Miller <davem@davemloft.net>
47826
47827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47828
47829 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47830
47831 [BZ #13629]
47832 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47833 value between 1.0 and 2.0 and smaller part has absolute value less
47834 than 1.0.
47835 * math/s_clog10.c (__clog10): Likewise.
47836 * math/s_clog10f.c (__clog10f): Likewise.
47837 * math/s_clog10l.c (__clog10l): Likewise.
47838 * math/s_clogf.c (__clogf): Likewise.
47839 * math/s_clogl.c (__clogl): Likewise.
47840 * math/libm-test.inc (clog_test): Add more tests.
47841 (clog10_test): Likewise.
47842 * sysdeps/i386/fpu/libm-test-ulps: Update.
47843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47844
47845 2012-07-31 Florian Weimer <fweimer@redhat.com>
47846
47847 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47848 Exit with zero in case no suitable GID is found, and write a
47849 message to standard error.
47850
47851 2012-07-30 Roland McGrath <roland@hack.frob.com>
47852
47853 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47854 rather than to 1.
47855 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47856 (MAXPATHLEN): Removed.
47857 (NOGROUP, NODEV): New macros.
47858 (setbit, clrbit, isset, isclr): New macros.
47859 (howmany, roundup, powerof2): New macros.
47860 (DEV_BSIZE): New macro.
47861
47862 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47863 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47864
47865 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47866 definition on [!__NO_LONG_DOUBLE_MATH].
47867
47868 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47869 PTR_MANGLE and PTR_DEMANGLE.
47870
47871 * socket/accept4.c (accept4): Rename to __libc_accept4.
47872 Define accept4 as a weak alias.
47873
47874 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47875 on [_DIRENT_HAVE_D_TYPE].
47876 * io/ftw.c (ftw_dir): Likewise.
47877
47878 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47879
47880 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47881
47882 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47883 Use the BSD numbers rather than the arbitrary ones we had.
47884 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47885 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47886 (SIGXCPU, SIGXFSZ): New macros.
47887 (_NSIG): Now 32.
47888
47889 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47890 initializer on [_LIBC_REENTRANT].
47891
47892 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47893 definitions inside [_POSIX_MAPPED_FILES].
47894
47895 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47896
47897 * dirent/opendir.c: Include <fcntl.h>.
47898
47899 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47900 (__libc_getspecific): Likewise.
47901 (__libc_key_create): Likewise.
47902
47903 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47904 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47905 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47906 (tmpfile64): Define as alias.
47907 * sysdeps/wordsize-64/tmpfile.c: File removed.
47908 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47911
47912 * stdio-common/vfscanf.c: Include <stdbool.h>.
47913 * nss/makedb.c: Likewise.
47914 * stdio-common/_i18n_number.h: Likewise.
47915 * argp/argp-help.c: Likewise.
47916 * posix/wordexp.c: Likewise.
47917 * sysdeps/posix/spawni.c: Likewise.
47918 * nss/nss_files/files-initgroups.c: Likewise.
47919 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47920 * nss/nss_files/files-initgroups.c: Likewise.
47921 * nss/nss_db/db-netgrp.c: Likewise.
47922 * nss/nss_db/db-initgroups.c: Likewise.
47923 * io/fchmodat.c: Include <sys/stat.h>.
47924
47925 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47926 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47927
47928 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47929 [HAVE_MMAP].
47930
47931 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47932 Add multiple inclusion protection.
47933
47934 2012-07-27 David S. Miller <davem@davemloft.net>
47935
47936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47937
47938 2012-07-27 Gary Benson <gbenson@redhat.com>
47939
47940 [BZ #14298]
47941 * elf/rtld.c: Include <stap-probe.h>.
47942 (dl_main): Added static probes "init_start" and "init_complete".
47943 * elf/dl-load.c: Include <stap-probe.h>.
47944 (lose): Take new parameter "nsid".
47945 Added static probe "map_failed".
47946 (_dl_map_object_from_fd): Pass namespace id to lose.
47947 Added static probe "map_start".
47948 (open_verify): Pass namespace id to lose.
47949 * elf/dl-open.c: Include <stap-probe.h>.
47950 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47951 and "reloc_complete".
47952 * elf/dl-close.c: Include <stap-probe.h>.
47953 (_dl_close_worker): Added static probes "unmap_start" and
47954 "unmap_complete".
47955 * elf/rtld-debugger-interface.txt: New file documenting the above.
47956
47957 2012-07-26 Roland McGrath <roland@hack.frob.com>
47958
47959 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47960 rather than a string variable.
47961 * sunrpc/rpc_main.c (h_output): Likewise.
47962 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47963
47964 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47965
47966 * inet/check_native.c: New file.
47967
47968 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47969
47970 [BZ #13629]
47971 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47972 if larger part has absolute value 1.0.
47973 * math/s_clog10.c (__clog10): Likewise.
47974 * math/s_clog10f.c (__clog10f): Likewise.
47975 * math/s_clog10l.c (__clog10l): Likewise.
47976 * math/s_clogf.c (__clogf): Likewise.
47977 * math/s_clogl.c (__clogl): Likewise.
47978 * math/libm-test.inc (clog_test): Add more tests.
47979 (clog10_test): Likewise.
47980 * sysdeps/i386/fpu/libm-test-ulps: Update.
47981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47982
47983 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47984 (pltexit): Likewise.
47985 (La_regs): Likewise.
47986 (La_retval): Likewise.
47987 (int_retval): Likewise.
47988 Update #error for removed macros to refer only to definitions in
47989 tst-audit.h.
47990 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47991 macro.
47992 (pltexit): Likewise.
47993 (La_regs): Likewise.
47994 (La_retval): Likewise.
47995 (int_retval): Likewise.
47996 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47997 macro.
47998 (pltexit): Likewise.
47999 (La_regs): Likewise.
48000 (La_retval): Likewise.
48001 (int_retval): Likewise.
48002 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48003 macro.
48004 (pltexit): Likewise.
48005 (La_regs): Likewise.
48006 (La_retval): Likewise.
48007 (int_retval): Likewise.
48008 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48009 macro.
48010 (pltexit): Likewise.
48011 (La_regs): Likewise.
48012 (La_retval): Likewise.
48013 (int_retval): Likewise.
48014 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48015 macro.
48016 (pltexit): Likewise.
48017 (La_regs): Likewise.
48018 (La_retval): Likewise.
48019 (int_retval): Likewise.
48020 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48021 macro.
48022 (pltexit): Likewise.
48023 (La_regs): Likewise.
48024 (La_retval): Likewise.
48025 (int_retval): Likewise.
48026 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48027 macro definitions in tst-audit.h.
48028 * sysdeps/i386/tst-audit.h: New file.
48029 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48030 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48031 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48032 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48033 * sysdeps/sh/tst-audit.h: Likewise.
48034 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48035 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48036 * sysdeps/x86_64/tst-audit.h: Likewise.
48037
48038 2012-07-26 Andreas Jaeger <aj@suse.de>
48039
48040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48041 ptrace.
48042
48043 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48044 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48045 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48046 PTRACE_O_MASK.
48047 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48048 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48049 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48050
48051 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48052 value.
48053
48054 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48055 _sigsys.
48056 (si_call_addr, si_syscall, si_arch): Define new macro.
48057 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48058 _sigsys.
48059 (si_call_addr, si_syscall, si_arch): Define new marcro.
48060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48061 _sigsys.
48062 (si_call_addr, si_syscall, si_arch): Define new macro.
48063 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48064 _sigsys.
48065 (si_call_addr, si_syscall, si_arch): Define new macro.
48066
48067 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48068
48069 [BZ #13717]
48070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48071 Change to 2.4.21 where previously 2.4.1.
48072 * sysdeps/unix/sysv/linux/configure: Regenerated.
48073 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48074 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48075 Linux kernel version.
48076 (__ASSUME_STD_AUXV): Remove.
48077 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48078 kernel version.
48079 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48080 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48081 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48082 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48083 (__ASSUME_NETLINK_SUPPORT): Likewise.
48084 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48085 (__no_netlink_support): Remove conditional definition.
48086 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48087 Remove.
48088 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48089 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48090 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48091 (if_nameindex_ioctl): Remove.
48092 (if_nameindex_netlink): Do not handle __no_netlink_support.
48093 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48094 code.
48095 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48096 Remove conditional code.
48097 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48098 code.
48099 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48100 unconditional.
48101 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48102 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48103 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48104 Remove.
48105 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48106 [!__ASSUME_STD_AUXV]: Remove conditional code.
48107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48108 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48109 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48111 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48112 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48113 code.
48114 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48116 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48117 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48118 conditional code.
48119 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48121 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48122 code.
48123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48124 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48125 conditional code.
48126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48127 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48128 code unconditional.
48129 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48130 conditional code.
48131 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48132 unconditional.
48133 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48134 conditional code.
48135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48136 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48137 unconditional.
48138 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48139 conditional code.
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48141 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48142 code unconditional.
48143 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48144 conditional code.
48145 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48146 unconditional.
48147 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48148 conditional code.
48149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48150 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48151 code unconditional.
48152 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48153 conditional code.
48154 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48155 unconditional.
48156 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48157 conditional code.
48158
48159 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48160
48161 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48162 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48163 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48164 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48165 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48166 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48167 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48168 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48169 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48170 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48171 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48172 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48173 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48174 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48177 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48179 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48181 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48182 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48183 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48184
48185 2012-07-25 Florian Weimer <fweimer@redhat.com>
48186
48187 * Versions.def: Add GLIBC_2.17.
48188 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48189 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48190 Introduce __libc_secure_getenv.
48191 * stdlib/Versions (2.17): Add secure_getenv
48192 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48193 * stdlib/secure-getenv.c: Rename __secure_getenv to
48194 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48195 symbol __secure_getenv for GLIBC_2.0.
48196 * stdlib/tst-secure-getenv.c: New.
48197 * stdlib/Makefile (tests): Add testcase.
48198 * manual/startup.texi (Environment Access): Document
48199 secure_getenv.
48200 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48201 __libc_secure_getenv.
48202 * inet/ruserpass.c (ruserpass): Likewise.
48203 * malloc/mtrace.c (mtrace): Likewise.
48204 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48205 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48206 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48207 * sysdeps/posix/tempname.c: Likewise. Evaluate
48208 HAVE_SECURE_GETENV.
48209 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48210 __secure_getenv to __libc_secure_getenv.
48211 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48213 Likewise.
48214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48215 Likewise.
48216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48223
48224 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48225
48226 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48227 (struct La_i86_retval): Likewise.
48228 (struct La_x86_64_regs): Likewise.
48229 (struct La_x86_64_retval): Likewise.
48230 (struct La_x32_regs): Likewise.
48231 (struct La_x32_retval): Likewise.
48232 (struct La_ppc32_regs): Likewise.
48233 (struct La_ppc32_retval): Likewise.
48234 (struct La_ppc64_regs): Likewise.
48235 (struct La_ppc64_retval): Likewise.
48236 (struct La_sh_regs): Likewise.
48237 (struct La_sh_retval): Likewise.
48238 (struct La_s390_32_regs): Likewise.
48239 (struct La_s390_32_retval): Likewise.
48240 (struct La_s390_64_regs): Likewise.
48241 (struct La_s390_64_retval): Likewise.
48242 (struct La_sparc32_regs): Likewise.
48243 (struct La_sparc32_retval): Likewise.
48244 (struct La_sparc64_regs): Likewise.
48245 (struct La_sparc64_retval): Likewise.
48246 (struct audit_ifaces): Remove architecture-specific pltenter and
48247 pltexit members.
48248 * sysdeps/i386/ldsodefs.h: New file.
48249 * sysdeps/powerpc/ldsodefs.h: Likewise.
48250 * sysdeps/s390/ldsodefs.h: Likewise.
48251 * sysdeps/sh/ldsodefs.h: Likewise.
48252 * sysdeps/sparc/ldsodefs.h: Likewise.
48253 * sysdeps/x86_64/ldsodefs.h: Likewise.
48254
48255 2012-07-25 Marek Polacek <polacek@redhat.com>
48256
48257 [BZ #6808]
48258 * math/libm-test.inc (yn_test): Add another test.
48259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48260 to ERANGE when the result is +-Inf.
48261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48262 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48263 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48264 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48265
48266 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48267
48268 * conform/data/time.h-data (NULL): Use macro-constant. Require
48269 equal to 0.
48270 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48271 clock_t.
48272 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48273
48274 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48275
48276 * configure.in <sysdeps resolving>: Correct printing
48277 Implies_before.
48278 * configure: Regenerate.
48279
48280 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48281
48282 * math/w_ilogb.c: Include <limits.h>.
48283 * math/w_ilogbl.c: Likewise.
48284
48285 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48286
48287 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48288 va_copy. Document allowing for unavailable va_copy only as
48289 pre-C99 compatibility.
48290 * manual/string.texi (Copying and Concatenation): Use va_copy
48291 instead of __va_copy in concat example.
48292
48293 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48294
48295 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48296 (__sendto): Use create_address_port. Initialize APORT and deallocate
48297 it if not null.
48298
48299 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48300 with O_NOLINK passed to __file_name_lookup.
48301
48302 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48303 with O_NOLINK passed to __file_name_lookup.
48304
48305 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48306 negative N or less than NGIDS.
48307
48308 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48309 type to string_t. Set ERANGE as errno and return it if NAME is not big
48310 enough. Use memcpy instead of strncpy.
48311
48312 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48313
48314 * elf/Makefile (check-data): Remove.
48315 (localplt.data): New vpath directive.
48316 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48317 instead of $(check-data).
48318 * scripts/data/localplt-generic.data: Move to ...
48319 * sysdeps/generic/localplt.data: ... here.
48320 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48321 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48322 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48324 ... here.
48325 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48327 ... here.
48328 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48330 ... here.
48331 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48333 ... here.
48334 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48336 ... here.
48337 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48339 ... here.
48340
48341 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48342
48343 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48344 PPC32 and PPC64 files.
48345 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48346 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48347
48348 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48349
48350 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48351 __makecontext_ret to ...
48352 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48353 ... here and call exit if uc_link is NULL. New file.
48354 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48355 __makecontext_ret.S.
48356 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48357 __makecontext_ret to ...
48358 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48359 ... here and call exit if uc_link is NULL. New file.
48360 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48361 __makecontext_ret.S.
48362
48363 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48364
48365 * elf/elf.h (R_390_IRELATIVE): New definition.
48366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48367 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48368 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48369 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48370 (elf_machine_lazy_rel): Likewise.
48371 * sysdeps/s390/dl-irel.h: New file.
48372 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48373 * sysdeps/s390/s390-64/memset.S: New asm code.
48374 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48375 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48376 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48377 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48378 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48379 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48381 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48382 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48383 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48384 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48385 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48386 * sysdeps/s390/s390-32/memset.S: New asm code.
48387 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48388
48389 2012-07-17 Marek Polacek <polacek@redhat.com>
48390
48391 [BZ #14349]
48392 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48393 * sysdeps/s390/s390-64/configure.in: Likewise.
48394 * sysdeps/sparc/configure.in: Likewise.
48395 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48396 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48397 * sysdeps/i386/configure.in: Likewise.
48398 * sysdeps/x86_64/configure.in: Likewise.
48399 * sysdeps/sh/configure.in: Likewise.
48400 * sysdeps/s390/s390-32/configure: Regenerated.
48401 * sysdeps/s390/s390-64/configure: Likewise.
48402 * sysdeps/x86_64/configure: Likewise.
48403 * sysdeps/sh/configure: Likewise.
48404 * sysdeps/powerpc/powerpc64/configure: Likewise.
48405 * sysdeps/powerpc/powerpc32/configure: Likewise.
48406 * sysdeps/sparc/configure: Likwise.
48407 * sysdeps/i386/configure: Likewise.
48408
48409 * elf/dl-open.c: Comment fixes.
48410
48411 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48412
48413 * Makefile [CXX] (check-data): Remove.
48414 [CXX] (c++-types.data): New vpath directive.
48415 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48416 vpath. Do not allow for C++ type data being missing.
48417 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48418 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48419 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48420 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48421 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48422 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48423 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48425 ... here.
48426 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48428 ... here.
48429 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48431 ... here.
48432 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48434 ... here.
48435 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48437 ... here.
48438 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48440 ... here.
48441 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48443 ... here.
48444 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48446
48447 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48448 definitions to architecture-specific files.
48449 (TLS_IE): Likewise.
48450 (TLS_LD): Likewise.
48451 (TLS_GD): Likewise.
48452 * sysdeps/i386/tls-macros.h: New file.
48453 * sysdeps/powerpc/tls-macros.h: Likewise.
48454 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48455 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48456 * sysdeps/sh/tls-macros.h: Likewise.
48457 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48458 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48459 * sysdeps/x86_64/tls-macros.h: Likewise.
48460
48461 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48462
48463 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48464 zero value for regular exit case.
48465
48466 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48467 (__start_context): Preserve zero value for regular exit case.
48468
48469 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48470 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48471
48472 * manual/setjmp.texi (setcontext): Clarify normal process
48473 termination when uc_link is the null pointer.
48474 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48475 exit call.
48476
48477 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48478
48479 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48480 preprocessor. Test for each exception mask separately.
48481
48482 2012-07-16 Andreas Jaeger <aj@suse.de>
48483
48484 * po/ru.po: Update from translation team.
48485
48486 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48487
48488 * conform/data/string.h-data (NULL): Use macro-constant. Require
48489 equal to 0.
48490 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48491 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48492 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48493 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48495
48496 2012-07-13 Andreas Jaeger <aj@suse.de>
48497
48498 * po/fr.po: Update from translation team.
48499
48500 2012-07-12 Marek Polacek <polacek@redhat.com>
48501
48502 [BZ #14173]
48503 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48504 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48505 loop condition.
48506
48507 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48508
48509 [BZ #13717]
48510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48511 Change to 2.4.1 where previously 2.4.0.
48512 * sysdeps/unix/sysv/linux/configure: Regenerated.
48513 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48514 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48515 version.
48516 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48517 (__ASSUME_AT_CLKTCK): Remove.
48518 (__ASSUME_AT_PAGESIZE): Likewise.
48519 (__ASSUME_AT_XID): Likewise.
48520 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48521 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48522 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48523 unconditionally.
48524 (HAVE_AUX_PAGESIZE): Likewise.
48525 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48526 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48527 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48528
48529 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48530
48531 [BZ #14307]
48532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48533 the temporary buffer used to invoke __gethostbyname2_r,
48534 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48535 host_data / struct gaih_addrtuple.
48536 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48537 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48538 header file nss/nsswitch.h.
48539 * nss/nsswitch.h (global scope): Add definition of implementation
48540 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48541 resolv/nss_dns/dns-host.c).
48542
48543 2012-07-11 Andreas Jaeger <aj@suse.de>
48544
48545 * po/fr.po: Update from translation team.
48546
48547 * po/sv.po: Update from translation team
48548 * po/fr.po: Another update from translation team.
48549
48550 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48551
48552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48553 for subnormals or multiply small sinh result by itself.
48554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48556
48557 2012-07-11 David S. Miller <davem@davemloft.net>
48558
48559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48560
48561 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48562
48563 [BZ #14347]
48564 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48565 (INTERNAL_MARK): Shift it here.
48566
48567 2012-07-10 Marek Polacek <polacek@redhat.com>
48568
48569 [BZ #14151]
48570 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48571 libc_cv_asm_global_directive with .globl.
48572 * configure: Regenerated.
48573 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48574 with .globl.
48575 * sysdeps/i386/configure: Regenerated.
48576 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48577 with .globl.
48578 * sysdeps/x86_64/configure: Regenerated.
48579 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48580 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48581 * elf/tst-unique2mod2.c: Likewise.
48582 * elf/tst-unique2mod1.c: Likewise.
48583 * elf/tst-unique1mod2.c: Likewise.
48584 * elf/tst-unique1mod1.c: Likewise.
48585 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48586 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48587 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48588 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48589 * sysdeps/mach/sysdep.h: Likewise.
48590 * sysdeps/i386/sysdep.h: Likewise.
48591 * sysdeps/i386/i386-mcount.S: Likewise.
48592 * sysdeps/x86_64/_mcount.S: Likewise.
48593 * sysdeps/x86_64/sysdep.h: Likewise.
48594 * sysdeps/sh/_mcount.S: Likewise.
48595 * sysdeps/sh/sysdep.h: Likewise.
48596 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48597 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48598 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48599 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48600 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48601 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48602 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48603 * locale/localeinfo.h: Likewise.
48604 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48605 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48606
48607 2012-07-09 Roland McGrath <roland@hack.frob.com>
48608
48609 [BZ #14336]
48610 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48611 system".
48612 * manual/message.texi (The Uniforum approach): Likewise.
48613 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48614 (glibc iconv Implementation): Likewise.
48615
48616 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48617
48618 [BZ #14337]
48619 * math/s_clog.c (__clog): Avoid scaling a value down where that
48620 could result in underflow.
48621 * math/s_clog10.c (__clog10): Likewise.
48622 * math/s_clog10f.c (__clog10f): Likewise.
48623 * math/s_clog10l.c (__clog10l): Likewise.
48624 * math/s_clogf.c (__clogf): Likewise.
48625 * math/s_clogl.c (__clogl): Likewise.
48626 * math/libm-test.inc (clog_test): Add more tests.
48627 (clog10_test): Likewise.
48628 * sysdeps/i386/fpu/libm-test-ulps: Update.
48629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48630
48631 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48632
48633 [BZ #14283]
48634 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48635 by 7 not 8 to examine high bit of fractional part.
48636
48637 [BZ #14042]
48638 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48639 for call to __mcount_internal.
48640 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48641 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48642 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48643
48644 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48645
48646 [BZ #14154]
48647 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48648 approximation for values within 0x1p-13f of an odd multiple of
48649 pi/4.
48650 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48651 exception. Add more tests.
48652 * sysdeps/i386/fpu/libm-test-ulps: Update.
48653
48654 [BZ #6778]
48655 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48656 inputs and return -1 for them. Do not check for +Inf in case not
48657 reachable for +Inf.
48658 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48659 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48660 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48661 and return -1 for them. Do not check for +Inf in case not
48662 reachable for +Inf.
48663 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48664 define.
48665 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48666 and return -1 for them. Do not check for +Inf in case not
48667 reachable for +Inf.
48668 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48669 spurious underflow.
48670 * sysdeps/i386/fpu/libm-test-ulps: Update.
48671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48672
48673 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48674
48675 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48676
48677 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48678
48679 [BZ #14157]
48680 [BZ #14331]
48681 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48682 could result in spurious underflow. Scale down values above
48683 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48684 * math/s_csqrtf.c (__csqrtf): Likewise.
48685 * math/s_csqrtl.c (__csqrtl): Likewise.
48686 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48687 spurious underflow.
48688 * sysdeps/i386/fpu/libm-test-ulps: Update.
48689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48690
48691 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48692
48693 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48694 xopen-msg.sed.
48695 * catgets/xopen-msg.awk: New file.
48696 * catgets/xopen-msg.sed: Removed.
48697
48698 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48699 po2text.sed.
48700 * intl/po2test.awk: New file.
48701 * intl/po2test.sed: Removed.
48702
48703 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48704
48705 [BZ #14328]
48706 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48707 or multiply small sinh result by itself.
48708 * math/s_ctanf.c (__ctanf): Likewise.
48709 * math/s_ctanh.c (__ctanh): Likewise.
48710 * math/s_ctanhf.c (__ctanhf): Likewise.
48711 * math/s_ctanhl.c (__ctanhl): Likewise.
48712 * math/s_ctanl.c (__ctanl): Likewise.
48713 * math/libm-test.inc (ctan_test_tonearest): New function.
48714 (ctan_test_towardzero): Likewise.
48715 (ctan_test_downward): Likewise.
48716 (ctan_test_upward): Likewise.
48717 (ctanh_test_tonearest): Likewise.
48718 (ctanh_test_towardzero): Likewise.
48719 (ctanh_test_downward): Likewise.
48720 (ctanh_test_upward): Likewise.
48721 (main): Call these new functions.
48722 * sysdeps/i386/fpu/libm-test-ulps: Update.
48723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48724
48725 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48726
48727 * .gitignore: Delete /ports entry.
48728
48729 2012-07-03 Andreas Jaeger <aj@suse.de>
48730
48731 * po/bg.po: Update from translation team.
48732 * po/cs.po: Likewise.
48733 * po/de.po: Likewise.
48734 * po/hr.po: Likewise.
48735 * po/nl.pl: Likewise.
48736 * po/pl.po: Likewise.
48737 * po/vi.po: Likewise.
48738
48739 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48740
48741 * Makeconfig [!+link] (+link-before-libc): New variable.
48742 [!+link] (+link-after-libc): Likewise.
48743 [!+link] (+link-tests): Likewise.
48744 [!+link] (+link): Define in terms of $(+link-before-libc) and
48745 $(+link-after-libc).
48746 [!+link-static] (+link-static-before-libc): New variable.
48747 [!+link-static] (+link-static-after-libc): Likewise.
48748 [!+link-static] (+link-static-tests): Likewise.
48749 [!+link-static] (+link-static): Define in terms of
48750 $(+link-static-before-libc) and $(+link-static-after-libc).
48751 [build-shared] (link-libc-before-gnulib): New variable.
48752 [build-shared] (link-libc-tests): Likewise.
48753 [build-shared] (link-libc): Define in terms of
48754 $(link-libc-before-gnulib).
48755 [!build-shared] (link-libc-tests): New variable.
48756 (link-libc-static-tests): New variable.
48757 [!gnulib] (gnulib-arch): New variable.
48758 [!gnulib] (gnulib-tests): Likewise.
48759 [!gnulib] (static-gnulib-arch): Likewise.
48760 [!gnulib] (static-gnulib-tests): Likewise.
48761 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48762 Define with "=" instead of ":=".
48763 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48764 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48765 * Rules (binaries-all-notests): New variable.
48766 (binaries-all-tests): Likewise.
48767 (binaries-static-notests): Likewise.
48768 (binaries-static-tests): Likewise.
48769 (binaries-all): Define using $(binaries-all-notests) and
48770 $(binaries-all-tests).
48771 (binaries-static): Define using $(binaries-static-notests) and
48772 $(binaries-static-tests).
48773 (binaries-shared-tests): New variable.
48774 (binaries-shared-notests): Likewise.
48775 (binaries-shared): Remove variable.
48776 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48777 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48778 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48779 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48780 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48781 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48782 * elf/Makefile (sln-modules): New variable.
48783 (extra-objs): Add $(sln-modules:=.o).
48784 (ldconfig-modules): Add static-stubs.
48785 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48786 * elf/static-stubs.c: New file.
48787
48788 [BZ #14283]
48789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48790 by 7 not 8 to examine high bit of fractional part. Use volatile
48791 variables when splitting into final array of floats if
48792 __FLT_EVAL_METHOD__ != 0.
48793 * math/libm-test.inc (cos_test): Add another test.
48794 (sin_test): Likewise.
48795 * sysdeps/i386/fpu/libm-test-ulps: Update.
48796
48797 [BZ #14273]
48798 * math/libm-test.inc (cosh_test): Add more tests.
48799
48800 * version.h (RELEASE): Set to "development".
48801 (VERSION): Set to "2.16.90".
48802
48803 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48804
48805 * NEWS: Update copyright. Remove last-updated date.
48806 Mention math library bug fixes and timezone data changes.
48807 * README: Mention GNU/Hurd, x32, and HPPA support status.
48808
48809 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48810
48811 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48812
48813 2012-06-27 Andreas Jaeger <aj@suse.de>
48814
48815 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48816
48817 2012-06-25 Andreas Jaeger <aj@suse.de>
48818
48819 * sysdeps/s390/fpu/libm-test-ulps: Update.
48820
48821 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48822 Thomas Schwinge <thomas@codesourcery.com>
48823
48824 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48825 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48827 fanotify_mark.
48828
48829 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48830
48831 * sysdeps/mach/start.c: Remove file.
48832 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48833 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48834 * sysdeps/sh/init-first.c: Likewise.
48835
48836 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48837 registers for frame unwinding purposes, add CFI directives.
48838 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48840 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48841 Likewise.
48842
48843 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48844 __fortify_fail returning.
48845 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48846
48847 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48848 sysdeps/sh/____longjmp_chk.S.
48849 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48850 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48851 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48852 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48853
48854 * sysdeps/sh/abort-instr.h: New file.
48855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48856 process in case exit returns.
48857
48858 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48859 initialize the GOT register before use.
48860
48861 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48862 calculation of ARGC > 4.
48863
48864 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48865 meaningful names to some local labels.
48866
48867 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48868 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48869
48870 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48871 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48872 (__arch_compare_and_exchange_val_16_acq): Likewise.
48873 (__arch_compare_and_exchange_val_32_acq): Likewise.
48874 (atomic_exchange_and_add): Fix gUSA sequence.
48875 (atomic_add): Likewise.
48876 (atomic_add_negative): Likewise.
48877 (atomic_add_zero): Likewise.
48878 (atomic_bit_test_set): Likewise.
48879
48880 2012-06-22 Andreas Schwab <schwab@redhat.com>
48881
48882 [BZ #13579]
48883 * include/link.h (struct link_map): Add l_free_initfini.
48884 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48885 l_initfini.
48886 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48887 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48888 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48889 set.
48890
48891 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48892
48893 * configure.in: Use AC_LANG_SOURCE.
48894 * configure: Regenerate.
48895
48896 2012-06-22 Roland McGrath <roland@hack.frob.com>
48897
48898 * configure.in (libc_cv_localstatedir): New substituted variable.
48899 * configure: Regenerated.
48900 * config.make.in (localstatedir): New variable, substituted from
48901 libc_cv_localstatedir.
48902 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48903 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48904 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48905 * sysdeps/gnu/configure: Regenerated.
48906
48907 2012-06-21 Jeff Law <law@redhat.com>
48908
48909 [BZ #14277]
48910 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48911 free. Simplify list management for _LIBC case.
48912
48913 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48914
48915 [BZ #14273]
48916 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48917 Clear sign bit of 64-bit integer value before comparing against
48918 overflow value.
48919
48920 * sysdeps/mach/configure: Regenerated.
48921
48922 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48923
48924 [BZ #14278]
48925 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48926
48927 2012-06-21 Jeff Law <law@redhat.com>
48928
48929 [BZ #13882]
48930 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48931 uint16_t for elements in the "seen" array to avoid char overflows.
48932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48933 * elf/dl-open.c (dl_open_worker): Likewise.
48934
48935 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48936
48937 * scripts/list-sources.sh: Scan PORTS for translations.
48938 * po/libc.pot: Regenerated.
48939
48940 2012-06-21 Andreas Jaeger <aj@suse.de>
48941
48942 [BZ #12194]
48943 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48944 warning.
48945 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48946 * bits/byteswap-16.h (__bswap_16): Likewise.
48947 * bits/byteswap.h (__bswap_constant_16): Likewise.
48948
48949 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48950
48951 [BZ #14117]
48952 * sysdeps/i386/fpu_control.h: Removed.
48953 * sysdeps/x86_64/fpu_control.h: Moved to ...
48954 * sysdeps/x86/fpu_control.h: Here.
48955
48956 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48957 (_FPU_SETCW): Likewise.
48958
48959 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48960
48961 [BZ #14117]
48962 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48963 * sysdeps/x86/fpu/bits/mathinline.h: This.
48964 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48965
48966 [BZ #14050]
48967 [BZ #14117]
48968 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48969 functions if __x86_64__ is defined.
48970
48971 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48972
48973 * string/endian.h: Add !__ASSEMBLER__ condition for including
48974 conversion interfaces.
48975
48976 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48977
48978 [BZ #14241]
48979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48980 of ABS(x) in calculating zero to negative powers other than odd
48981 integers.
48982 * math/libm-test.inc (pow_test): Add more tests.
48983
48984 2012-06-15 Andreas Jaeger <aj@suse.de>
48985
48986 * manual/contrib.texi (Contributors): Update entry of Liubov
48987 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48988 Machado Filho.
48989
48990 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48991
48992 * string/string.h: Add __wur to GNU version of strerror_r.
48993
48994 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48995
48996 [BZ #14229]
48997 * string/Makefile (tests): Add tst-strtok_r.
48998 * string/tst-strtok_r.c: New file.
48999 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49000 RAX_LP/RDX_LP on SAVE_PTR.
49001
49002 2012-06-14 Roland McGrath <roland@hack.frob.com>
49003
49004 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49005
49006 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49007
49008 * libm_test.inc (csqrt_test): Allow more spurious underflow
49009 exceptions.
49010 (j0_test): Likewise.
49011 (j1_test): Likewise.
49012 (y0_test): Likewise.
49013 (y1_test): Likewise.
49014
49015 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49016
49017 * po/Makefile (libc.pot): Use UTF-8 charset.
49018
49019 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49020
49021 [BZ #14210]
49022 Suppress sign-conversion warning from FD_SET.
49023 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49024 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49025 not unsigned long int.
49026 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49027
49028 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49029
49030 [BZ #14050]
49031 [BZ #14117]
49032 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49033 __extern_always_inline instead of __extern_inline.
49034 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49035 (__signbit): Likewise.
49036 (__signbitl): Support C++ namespace.
49037 (lrintf): New inline function.
49038 (lrint): Likewise.
49039 (llrintf): Likewise.
49040 (llrint): Likewise.
49041 (fmaxf): Likewise.
49042 (fmax): Likewise.
49043 (fminf): Likewise.
49044 (fmin): Likewise.
49045 (rint): Likewise.
49046 (rintf): Likewise.
49047 (ceil): Likewise.
49048 (ceilf): Likewise.
49049 (floor): Likewise.
49050 (floorf): Likewise.
49051 (nearbyint): Likewise.
49052 (nearbyintf): Likewise.
49053
49054 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49055
49056 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49057 non-default versions.
49058
49059 2012-06-11 Roland McGrath <roland@hack.frob.com>
49060
49061 [BZ #14218]
49062 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49063
49064 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49065
49066 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49067 (FE_UPWARD, FE_DOWNWARD): Don't define.
49068 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49069 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49070
49071 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49072 reading it.
49073 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49074 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49075
49076 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49077
49078 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49080 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49081 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49082
49083 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49084
49085 [BZ #14117]
49086 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49087 * sysdeps/i386/fpu/Implies: New file.
49088 * sysdeps/x86_64/fpu/Implies: Likewise.
49089 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49090 * sysdeps/x86/fpu/bits/fenv.h: This.
49091
49092 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49093 __SSE_MATH__.
49094
49095 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49096
49097 [BZ #14134]
49098 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49099 character 0xffff that matches the last element of the
49100 conversion table.
49101
49102 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49103
49104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49105 fmodl commit.
49106
49107 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49108
49109 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49110 values higher than 25.6283.
49111
49112 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49113
49114 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49115 subnormal exponent extraction and add some __builtin_expect.
49116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49117 Fix for subnormal mantissa calculation.
49118
49119 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49120
49121 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49122 cpu2 is -1 and errno is not ENOSYS.
49123
49124 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49125
49126 [BZ #14117]
49127 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49128 * sysdeps/x86/bits/string.h: This.
49129 * sysdeps/x86_64/bits/string.h: Removed.
49130
49131 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49132 if not compiling for x86-64, but compiling for >= i486.
49133
49134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49135 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49136
49137 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49138 New macro from Linux kernel 3.4.0.
49139 (FP_XSTATE_MAGIC2): Likewise.
49140 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49141 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49142 (struct _fpx_sw_bytes): New struct.
49143 (struct _xsave_hdr): Likewise.
49144 (struct _ymmh_state): Likewise.
49145 (struct _xstate): Likewise.
49146
49147 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49148 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49149 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49150 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49151 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49152 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49153
49154 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49155 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49156 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49157 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49158 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49159 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49160
49161 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49162
49163 [BZ #13743]
49164 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49165 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49166 (sysdep_headers): Include sys/platform/ppc.h.
49167 * sysdeps/powerpc/test-gettimebase.c: Test for
49168 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49169 * manual/Makefile (appendices): Include platform.texi.
49170 * manual/contrib.texi (Contributors): Update @node pointers.
49171 * manual/maint.texi (Maintenance): Likewise.
49172 (Platform): New node.
49173 * manual/platform.texi: New file. Document the new features.
49174
49175 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49176 Jakub Jelinek <jakub@redhat.com>
49177
49178 [BZ #14188]
49179 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49180 where __builtin_expect is unavailable.
49181
49182 2012-06-03 David S. Miller <davem@davemloft.net>
49183
49184 * stdlib/longlong.h: Updated from GCC.
49185
49186 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49187
49188 [BZ #14042]
49189 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49190 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49191 __mcount_internal.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49193 (GLIBC_2.16): Likewise.
49194
49195 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49196
49197 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49198
49199 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49200
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49202 (default-abi): New variable.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49204 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49205 variable.
49206 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49207 Likewise.
49208 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49209 Likewise.
49210 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49211 Likewise.
49212
49213 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49214 definition. Document in comment.
49215
49216 2012-06-01 David S. Miller <davem@davemloft.net>
49217
49218 * stdlib/longlong.h: Updated from GCC.
49219
49220 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49221
49222 [BZ #14117]
49223 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49224 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49225 sys/debugreg.h sys/io.h here.
49226 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49227 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49228 sys/io.h.
49229 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49230 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49231 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49232 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49233 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49234 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49235
49236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49237 Define only if __x86_64__ is defined.
49238
49239 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49240
49241 [BZ #14048]
49242 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49243 Use int64_t for variable i.
49244 * math/libm-test.inc (fmod_test): Add more tests.
49245
49246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49247 z computation is not scheduled after fetestexcept.
49248 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49249 Use math_force_eval instead of asm to ensure calculation scheduled
49250 before exception test.
49251 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49252 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49253
49254 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49255
49256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49257 computation is not scheduled after fetestexcept.
49258
49259 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49260
49261 [BZ #14117]
49262 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49263 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49264
49265 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49266
49267 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49268 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49269
49270 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49271
49272 [BZ #14117]
49273 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49274 <bits/wordsize.h>.
49275 (__WCHAR_MIN): Support __WORDSIZE == 64.
49276 (__WCHAR_MAX): Likewise.
49277
49278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49280
49281 [BZ #14183]
49282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49283 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49284
49285 [BZ #14117]
49286 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49287 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49288
49289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49290 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49291
49292 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49293 Defined to 1 if __x86_64__ isn't defined.
49294 (_STAT_VER_LINUX_OLD): New.
49295 (st_atime): Remove duplicate.
49296 (st_mtime): Likewise.
49297 (st_ctime): Likewise.
49298
49299 2012-05-31 David S. Miller <davem@davemloft.net>
49300
49301 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49302 entries.
49303
49304 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49305
49306 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49307 gen-libm-test.pl.
49308
49309 [BZ #14132]
49310 * elf/dl-reloc.c: Include <_itoa.h>.
49311 (_dl_reloc_bad_type): Remove use of INTUSE.
49312 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49313 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49314 * stdio-common/psiginfo.c (psiginfo): Likewise.
49315 * stdio-common/psignal.c (psignal): Likewise.
49316 * string/strsignal.c (strsignal): Likewise.
49317 * include/signal.h (_sys_siglist): Declare hidden proto.
49318 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49319 INTVARDEF with libc_hidden_data_def.
49320 * stdio-common/itoa-udigits.c: Likewise.
49321 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49322 (_itoa_lower_digits_internal): Remove declaration.
49323 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49324 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49325 (_sys_sigabbrev_internal): Remove aliases.
49326 (_sys_siglist): Define hidden alias.
49327
49328 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49329
49330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49331 bits/sysctl.h.
49332
49333 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49334
49335 [BZ #14117]
49336 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49337 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49338
49339 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49340 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49341 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49342 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49344 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49345
49346 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49347 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49348 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49349
49350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49351 with __addr.
49352 (insw): Likewise.
49353 (insl): Likewise.
49354 (outsb): Likewise.
49355 (outsw): Likewise.
49356 (outsl): Likewise.
49357
49358 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49359 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49360 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49361
49362 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49363 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49365 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49367 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49368
49369 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49370 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49371
49372 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49373 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49374
49375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49377 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49378
49379 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49380 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49381 to ...
49382 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49383
49384 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49385 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49386 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49387
49388 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49389 for x86-64.
49390 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49391
49392 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49393
49394 * math/math.h (M_El): Use two more decimal places.
49395 (M_LOG2El): Likewise.
49396 (M_LOG10El): Likewise.
49397 (M_LN2l): Likewise.
49398 (M_LN10l): Likewise.
49399 (M_PIl): Likewise.
49400 (M_PI_2l): Likewise.
49401 (M_PI_4l): Likewise.
49402 (M_1_PIl): Likewise.
49403 (M_2_PIl): Likewise.
49404 (M_2_SQRTPIl): Likewise.
49405 (M_SQRT2l): Likewise.
49406 (M_SQRT1_2l): Likewise.
49407
49408 2012-05-31 David S. Miller <davem@davemloft.net>
49409
49410 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49411 values between float registers.
49412 * sysdeps/sparc/sparc64/memset.S: Likewise.
49413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49414
49415 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49416
49417 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49418 -D_FORTIFY_SOURCE=1.
49419 (CPPFLAGS-tst-longjmp_chk.c): Define.
49420 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49421 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49422 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49423 CFLAGS-tst-wchar-h.c.
49424
49425 2012-05-31 Marek Polacek <polacek@redhat.com>
49426
49427 [BZ #14132]
49428 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49429 __endmntent_internal): Remove declaration.
49430 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49431 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49432 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49433
49434 2012-05-30 David S. Miller <davem@davemloft.net>
49435
49436 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49437 (___Q_simulate_exceptions): Use real FP ops rather than writing
49438 into the %fsr.
49439 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49440 Likewise.
49441
49442 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49443
49444 [BZ #14117]
49445 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49446 * sysdeps/x86/bits/xtitypes.h: This.
49447
49448 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49449 * sysdeps/x86/bits/wordsize.h: This.
49450
49451 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49452 * sysdeps/x86/bits/huge_vall.h: This.
49453
49454 * sysdeps/i386/bits/select.h: Removed.
49455 * sysdeps/x86_64/bits/select.h: Renamed to ...
49456 * sysdeps/x86/bits/select.h: This.
49457
49458 * sysdeps/i386/bits/setjmp.h: Removed.
49459 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49460 * sysdeps/x86/bits/setjmp.h: This.
49461
49462 * sysdeps/i386/bits/mathdef.h: Removed.
49463 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49464 * sysdeps/x86/bits/mathdef.h: This.
49465
49466 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49467
49468 [BZ #14132]
49469 * include/sys/socket.h (__connect_internal)
49470 (__libc_sa_len_internal): Remove declaration.
49471 (__connect, __libc_sa_len): Declare hidden_proto.
49472 (SA_LEN): Remove use of INTUSE.
49473 * socket/connect.c: Add libc_hidden_def.
49474 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49475 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49476 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49477 alias.
49478 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49479 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49480 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49481 of adding _internal alias.
49482
49483 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49484
49485 [BZ #14117]
49486 * sysdeps/i386/bits/link.h: Removed.
49487 * sysdeps/i386/bits/linkmap.h: Likewise.
49488 * sysdeps/x86_64/bits/link.h: Renamed to ...
49489 * sysdeps/x86/bits/link.h: This.
49490 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49491 * sysdeps/x86/bits/linkmap.h: This.
49492
49493 * sysdeps/i386/bits/endian.h: Removed.
49494 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49495 * sysdeps/x86/bits/endian.h: This.
49496
49497 * sysdeps/i386/bits/byteswap.h: Removed.
49498 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49499 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49500 * sysdeps/x86/bits/byteswap.h: This.
49501 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49502 * sysdeps/x86/bits/byteswap-16.h: This.
49503 * sysdeps/i386/Implies: Add x86.
49504 * sysdeps/x86_64/Implies: Likewise.
49505
49506 2012-05-30 David S. Miller <davem@davemloft.net>
49507
49508 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49509 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49510 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49511 (FP_TRAPPING_EXCEPTIONS): Define.
49512 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49513 (FP_TRAPPING_EXCEPTIONS): Define.
49514 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49515 subnormals only when inexact has been signalled or underflow
49516 exceptions are enabled.
49517 (_FP_PACK_CANONICAL): Likewise.
49518
49519 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49520
49521 [BZ #14183]
49522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49523 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49524
49525 2012-05-30 Richard Henderson <rth@twiddle.net>
49526
49527 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49528 with #ifndef NOT_IN_libc.
49529
49530 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49531 marked to avoid plt entry.
49532
49533 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49534
49535 [BZ #14112]
49536 * Makeconfig (default-abi): New macro.
49537 (abi-includes): Likewise.
49538 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49539 $(abi-$(default-abi)-lib-soname) for soname if defined.
49540 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49541 abi-variants.
49542 * Makefile (installed-stubs): Likewise.
49543 * include/stubs-biarch.h: Removed.
49544 * scripts/lib-names.awk: Only handle one library at a time.
49545 * scripts/soversions.awk: Remove WORDSIZE support.
49546 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49547 entries.
49548 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49549 Removed.
49550 (syscall-list-default-condition): Likewise.
49551 (syscall-list-default-condition): Likewise.
49552 (syscall-list-includes): Likewise.
49553 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49554 syscall-list-* with abi-*. Handle undefined abi-variants.
49555 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49556 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49557 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49558 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49559 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49560 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49561 Removed.
49562 (syscall-list-32-options): Likewise.
49563 (syscall-list-32-condition): Likewise.
49564 (syscall-list-64-options): Likewise.
49565 (syscall-list-64-condition): Likewise.
49566 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49567 macro.
49568 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49569 Renamed to ...
49570 (abi-*): This.
49571 (abi-64-ld-soname): New macro.
49572 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49573 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49574 Renamed to ...
49575 (abi-*): This.
49576 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49577 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49578
49579 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49580
49581 * sysdeps/unix/sysv/linux/kernel-features.h
49582 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49583 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49584 include <kernel-features.h>.
49585 [!__NR_ftruncate64]: Remove conditional code.
49586 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49587 [__NR_ftruncate64]: Make code unconditional.
49588 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49589 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49590 include <kernel-features.h>.
49591 [!__NR_ftruncate64]: Remove conditional code.
49592 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49593 [__NR_ftruncate64]: Make code unconditional.
49594 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49596 include <kernel-features.h>.
49597 [!__NR_ftruncate64]: Remove conditional code.
49598 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49599 [__NR_ftruncate64]: Make code unconditional.
49600 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49602 include <kernel-features.h>.
49603 [!__NR_ftruncate64]: Remove conditional code.
49604 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49605 [__NR_ftruncate64]: Make code unconditional.
49606 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49607
49608 * configure.in (libc_cv_fpie): Weaken to a compile test using
49609 LIBC_TRY_CC_OPTION.
49610 * configure: Regenerated.
49611
49612 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49613
49614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49618 Refreshed.
49619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49625 Refreshed.
49626
49627 2012-05-27 David S. Miller <davem@davemloft.net>
49628
49629 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49630 (___Q_zero): New.
49631 (__Q_simulate_exceptions): Return void. Change to simulate
49632 exceptions by writing into the %fsr.
49633 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49634 (__Qp_handle_exceptions): Likewise.
49635 (numbers): Delete.
49636 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49637 __Qp_handle_exceptions.
49638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49639 __Qp_handle_exceptions.
49640 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49641 as unused and give dummy FP_RND_NEAREST initializer.
49642 (FP_INHIBIT_RESULTS): Define.
49643 (___Q_simulate_exceptions): Update declaration.
49644 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49645 formatting.
49646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49647 as unused and give dummy FP_RND_NEAREST initializer.
49648 (__Qp_handle_exceptions): Update declaration.
49649 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49650 formatting.
49651
49652 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49653
49654 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49655 the temporary FPU control word.
49656 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49657 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49658 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49659 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49660 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49661 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49662 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49663 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49664 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49665 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49666 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49667
49668 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49669
49670 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49671 fields.
49672
49673 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49674
49675 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49676 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49677 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49678 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49679 Likewise.
49680 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49681 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49682 Likewise.
49683
49684 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49685
49686 * po/h.po: Update from translation team.
49687
49688 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49689
49690 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49691
49692 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49693 handling of denormals.
49694 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49695 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49696 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49697 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49701 Likewise.
49702
49703 2012-05-26 Marek Polacek <polacek@redhat.com>
49704
49705 [BZ #14152]
49706 * math/libm-test.inc (fma_test): Don't always expect underflow
49707 exception.
49708
49709 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49710
49711 [BZ #12416]
49712 * elf/tst-execstack.c: Include stackinfo.h.
49713 (do_test): Adjust test case to ensure that pthread_getattr_np
49714 behaviour remains the same after marking stack executable.
49715
49716 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49717
49718 * sysdeps/unix/sysv/linux/kernel-features.h
49719 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49720 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49721 kernel-features.h.
49722 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49723 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49724 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49725 kernel-features.h.
49726 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49727 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49728
49729 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49730
49731 * configure.in: Define the default includes to being none.
49732 * configure: Regenerated.
49733
49734 2012-05-25 Roland McGrath <roland@hack.frob.com>
49735
49736 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49737 * sysdeps/x86_64/setjmp.S: Likewise.
49738 * sysdeps/i386/bsd-setjmp.S: Likewise.
49739 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49740 * sysdeps/i386/setjmp.S: Likewise.
49741 * sysdeps/i386/__longjmp.S: Likewise.
49742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49743 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49744
49745 * include/stap-probe.h: New file.
49746 * configure.in: Handle --enable-systemtap.
49747 * configure: Regenerated.
49748 * config.h.in (USE_STAP_PROBE): New #undef.
49749 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49750 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49751 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49752
49753 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49754
49755 [BZ #13717]
49756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49757 to 2.4.0 where earlier.
49758 * sysdeps/unix/sysv/linux/configure: Regenerated.
49759 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49760 <kernel-features.h>.
49761 [__ASSUME_32BITUIDS]: Make code unconditional.
49762 [!__ASSUME_32BITUIDS]: Remove conditional code.
49763 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49764 <kernel-features.h>.
49765 [__ASSUME_32BITUIDS]: Make code unconditional.
49766 [!__ASSUME_32BITUIDS]: Remove conditional code.
49767 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49768 [__ASSUME_32BITUIDS]: Make code unconditional.
49769 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49770 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49771 <kernel-features.h>.
49772 [__ASSUME_32BITUIDS]: Make code unconditional.
49773 [!__ASSUME_32BITUIDS]: Remove conditional code.
49774 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49775 <kernel-features.h>.
49776 [__ASSUME_32BITUIDS]: Make code unconditional.
49777 [!__ASSUME_32BITUIDS]: Remove conditional code.
49778 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49779 <kernel-features.h>.
49780 [__ASSUME_32BITUIDS]: Make code unconditional.
49781 [!__ASSUME_32BITUIDS]: Remove conditional code.
49782 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49783 <kernel-features.h>.
49784 [__ASSUME_32BITUIDS]: Make code unconditional.
49785 [!__ASSUME_32BITUIDS]: Remove conditional code.
49786 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49787 <kernel-features.h>.
49788 [__ASSUME_32BITUIDS]: Make code unconditional.
49789 [!__ASSUME_32BITUIDS]: Remove conditional code.
49790 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49791 <kernel-features.h>.
49792 [__ASSUME_32BITUIDS]: Make code unconditional.
49793 [!__ASSUME_32BITUIDS]: Remove conditional code.
49794 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49795 <kernel-features.h>.
49796 [__ASSUME_32BITUIDS]: Make code unconditional.
49797 [!__ASSUME_32BITUIDS]: Remove conditional code.
49798 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49799 <kernel-features.h>.
49800 [__ASSUME_32BITUIDS]: Make code unconditional.
49801 [!__ASSUME_32BITUIDS]: Remove conditional code.
49802 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49803 <kernel-features.h>.
49804 [__ASSUME_32BITUIDS]: Make code unconditional.
49805 [!__ASSUME_32BITUIDS]: Remove conditional code.
49806 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49807 <kernel-features.h>.
49808 [__ASSUME_32BITUIDS]: Make code unconditional.
49809 [!__ASSUME_32BITUIDS]: Remove conditional code.
49810 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49811 <kernel-features.h>.
49812 [__NR_setresgid] (__setresgid): Do not declare.
49813 [__ASSUME_32BITUIDS]: Make code unconditional.
49814 [!__ASSUME_32BITUIDS]: Remove conditional code.
49815 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49816 <kernel-features.h>.
49817 [__NR_setresuid] (__setresuid): Do not declare.
49818 [__ASSUME_32BITUIDS]: Make code unconditional.
49819 [!__ASSUME_32BITUIDS]: Remove conditional code.
49820 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49821 <kernel-features.h>.
49822 [__ASSUME_32BITUIDS]: Make code unconditional.
49823 [!__ASSUME_32BITUIDS]: Remove conditional code.
49824 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49825 <kernel-features.h>.
49826 [__ASSUME_32BITUIDS]: Make code unconditional.
49827 [!__ASSUME_32BITUIDS]: Remove conditional code.
49828 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49829 <kernel-features.h>.
49830 [__ASSUME_32BITUIDS]: Make code unconditional.
49831 [!__ASSUME_32BITUIDS]: Remove conditional code.
49832 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49833 <kernel-features.h>.
49834 [__ASSUME_32BITUIDS]: Make code unconditional.
49835 [!__ASSUME_32BITUIDS]: Remove conditional code.
49836 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49837 <kernel-features.h>.
49838 [__ASSUME_32BITUIDS]: Make code unconditional.
49839 [!__ASSUME_32BITUIDS]: Remove conditional code.
49840 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49841 <kernel-features.h>.
49842 [__ASSUME_32BITUIDS]: Make code unconditional.
49843 [!__ASSUME_32BITUIDS]: Remove conditional code.
49844 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49845 <kernel-features.h>.
49846 [__ASSUME_32BITUIDS]: Make code unconditional.
49847 [!__ASSUME_32BITUIDS]: Remove conditional code.
49848 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49849 <kernel-features.h>.
49850 [__ASSUME_32BITUIDS]: Make code unconditional.
49851 [!__ASSUME_32BITUIDS]: Remove conditional code.
49852 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49853 <kernel-features.h>.
49854 [__ASSUME_32BITUIDS]: Make code unconditional.
49855 [!__ASSUME_32BITUIDS]: Remove conditional code.
49856 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49857 <kernel-features.h>.
49858 [__ASSUME_32BITUIDS]: Make code unconditional.
49859 [!__ASSUME_32BITUIDS]: Remove conditional code.
49860 * sysdeps/unix/sysv/linux/kernel-features.h
49861 (__ASSUME_SETRESUID_SYSCALL): Remove.
49862 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49863 (__ASSUME_32BITUIDS): Likewise.
49864 (__ASSUME_LDT_WORKS): Likewise.
49865 (__ASSUME_O_DIRECTORY): Likewise.
49866 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49867 architecture but not kernel version.
49868 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49869 (__ASSUME_MMAP2_SYSCALL): Likewise.
49870 (__ASSUME_STAT64_SYSCALL): Likewise.
49871 (__ASSUME_IPC64): Likewise.
49872 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49873 <kernel-features.h>.
49874 [__ASSUME_32BITUIDS]: Make code unconditional.
49875 [!__ASSUME_32BITUIDS]: Remove conditional code.
49876 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49877 <kernel-features.h>.
49878 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49879 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49880 132096]: Remove conditional code.
49881 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49882 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49883 <kernel-features.h>.
49884 [__ASSUME_32BITUIDS]: Make code unconditional.
49885 [!__ASSUME_32BITUIDS]: Remove conditional code.
49886 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49887 <kernel-features.h>.
49888 [__ASSUME_32BITUIDS]: Make code unconditional.
49889 [!__ASSUME_32BITUIDS]: Remove conditional code.
49890 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49891 <kernel-features.h>.
49892 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49893 unconditional.
49894 (__setresgid): Do not declare.
49895 [__ASSUME_32BITUIDS]: Make code unconditional.
49896 [!__ASSUME_32BITUIDS]: Remove conditional code.
49897 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49898 <kernel-features.h>.
49899 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49900 unconditional.
49901 (__setresuid): Do not declare.
49902 [__ASSUME_32BITUIDS]: Make code unconditional.
49903 [!__ASSUME_32BITUIDS]: Remove conditional code.
49904 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49905 <kernel-features.h>.
49906 [__ASSUME_32BITUIDS]: Make code unconditional.
49907 [!__ASSUME_32BITUIDS]: Remove conditional code.
49908 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49909 <kernel-features.h>.
49910 [__ASSUME_32BITUIDS]: Make code unconditional.
49911 [!__ASSUME_32BITUIDS]: Remove conditional code.
49912
49913 2012-05-25 Richard Henderson <rth@twiddle.net>
49914
49915 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49916 dl_hwcap to ifunc resolver.
49917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49918 elf_ifunc_invoke.
49919 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49920 dl_hwcap to ifunc resolver.
49921 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49922
49923 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49924
49925 [BZ #14153]
49926 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49927 for |x| <= 2**-26, not 2**-57.
49928 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49929 exception.
49930
49931 2012-05-24 Jeff Law <law@redhat.com>
49932
49933 * stdio-common/Makefile (tests): Add bug25.
49934 * stdio-common/bug25.c: New test.
49935
49936 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49937
49938 [BZ #13576]
49939 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49940 multiple of MALLOC_ALIGNMENT in size.
49941 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49942
49943 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49944
49945 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49946 Require >= 256.
49947 (FILENAME_MAX): Use macro-int-constant.
49948 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49949 (_IOFBF): Use macro-int-constant.
49950 (_IOLBF): Likewise.
49951 (_IONBF): Likewise.
49952 (SEEK_CUR): Likewise.
49953 (SEEK_END): Likewise.
49954 (SEEK_SET): Likewise.
49955 (TMP_MAX): Likewise.
49956 (EOF): Use macro-int-constant. Require < 0.
49957 (NULL): Use macro-constant. Require == 0.
49958 (stdin): Require type to be FILE *.
49959 (stdout): Likewise.
49960 (stderr): Likewise.
49961 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49962 macro-int-constant.
49963 (EXIT_SUCCESS): Likewise.
49964 (NULL): Use macro-constant. Require == 0.
49965 (RAND_MAX): Use macro-int-constant.
49966 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49967 [C99-based standards] (strtof): Require function.
49968 [C99-based standards] (strtold): Likewise.
49969 [C99-based standards] (strtoll): Likewise.
49970 [C99-based standards] (strtoull): Likewise.
49971 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49972 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49973 [ISO || ISO99 || ISO11] (math.h): Likewise.
49974 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49975 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49977
49978 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49979
49980 [BZ #14132]
49981 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49982 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49983 * intl/dgettext.c (DCGETTEXT): Likewise.
49984 * intl/gettext.c (DCGETTEXT): Likewise.
49985 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49986 * posix/regex_internal.h (gettext): Likewise.
49987 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49988 Remove declaration.
49989 * include/argz.h (__argz_count_internal)
49990 (__argz_stringify_internal): Remove declaration.
49991 (__argz_count, __argz_stringify): Declare hidden proto.
49992 * intl/dcgettext.c: Remove use of INTDEF.
49993 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49994 * string/argz-stringify.c: Likewise.
49995 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49996 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49997 Declare hidden proto.
49998 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49999 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50000 Declare hidden proto.
50001 * include/stdio.h (__asprintf_internal): Don't declare.
50002 (__asprintf): Don't define as macro. Declare hidden proto.
50003 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50004 (__fsetlocking): Declare hidden proto.
50005 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50006 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50007 hidden proto.
50008 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50009 (_IO_setlinebuf): Remove use of INTUSE.
50010 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50011 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50012 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50013 Remove declaration.
50014 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50015 (_IO_do_flush): Remove use of INTUSE.
50016 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50017 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50018 (_IO_adjust_column, _IO_least_wmarker)
50019 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50020 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50021 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50022 (_IO_default_doallocate, _IO_wdefault_doallocate)
50023 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50024 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50025 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50026 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50027 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50028 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50029 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50030 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50031 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50032 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50033 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50034 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50035 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50036 proto.
50037 (_IO_flush_all_internal, _IO_adjust_column_internal)
50038 (_IO_default_uflow_internal, _IO_default_finish_internal)
50039 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50040 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50041 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50042 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50043 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50044 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50045 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50046 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50047 (_IO_file_close_internal, _IO_file_close_it_internal)
50048 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50049 (_IO_file_init_internal, _IO_file_attach_internal)
50050 (_IO_file_fopen_internal, _IO_file_read_internal)
50051 (_IO_file_sync_internal, _IO_file_seek_internal)
50052 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50053 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50054 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50055 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50056 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50057 (_IO_list_all_internal, _IO_link_in_internal)
50058 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50059 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50060 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50061 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50062 (_IO_do_write_internal, _IO_padn_internal)
50063 (_IO_getline_info_internal, _IO_getline_internal)
50064 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50065 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50066 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50067 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50068 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50069 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50070 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50071 with libc_hidden_ver, remove use of INTUSE.
50072 * libio/genops.c: Likewise.
50073 * libio/freopen.c: Likewise.
50074 * libio/freopen64.c: Likewise.
50075 * libio/iofclose.c: Likewise.
50076 * libio/iofdopen.c: Likewise.
50077 * libio/iofflush.c: Likewise.
50078 * libio/iofflush_u.c: Likewise.
50079 * libio/iofgets.c: Likewise.
50080 * libio/iofgets_u.c: Likewise.
50081 * libio/iofopen.c: Likewise.
50082 * libio/iofopncook.c: Likewise.
50083 * libio/iofread.c: Likewise.
50084 * libio/iofread_u.c: Likewise.
50085 * libio/ioftell.c: Likewise.
50086 * libio/iofwrite.c: Likewise.
50087 * libio/iogetline.c: Likewise.
50088 * libio/iogets.c: Likewise.
50089 * libio/iogetwline.c: Likewise.
50090 * libio/iopadn.c: Likewise.
50091 * libio/iopopen.c: Likewise.
50092 * libio/ioseekoff.c: Likewise.
50093 * libio/ioseekpos.c: Likewise.
50094 * libio/iosetbuffer.c: Likewise.
50095 * libio/iosetvbuf.c: Likewise.
50096 * libio/ioungetc.c: Likewise.
50097 * libio/ioungetwc.c: Likewise.
50098 * libio/iovdprintf.c: Likewise.
50099 * libio/iovsprintf.c: Likewise.
50100 * libio/iovsscanf.c: Likewise.
50101 * libio/memstream.c: Likewise.
50102 * libio/obprintf.c: Likewise.
50103 * libio/oldfileops.c: Likewise.
50104 * libio/oldiofclose.c: Likewise.
50105 * libio/oldiofdopen.c: Likewise.
50106 * libio/oldiofopen.c: Likewise.
50107 * libio/oldiopopen.c: Likewise.
50108 * libio/oldstdfiles.c: Likewise.
50109 * libio/putc.c: Likewise.
50110 * libio/setbuf.c: Likewise.
50111 * libio/setlinebuf.c: Likewise.
50112 * libio/stdfiles.c: Likewise.
50113 * libio/strops.c: Likewise.
50114 * libio/vasprintf.c: Likewise.
50115 * libio/vscanf.c: Likewise.
50116 * libio/vsnprintf.c: Likewise.
50117 * libio/vswprintf.c: Likewise.
50118 * libio/wfiledoalloc.c: Likewise.
50119 * libio/wfileops.c: Likewise.
50120 * libio/wgenops.c: Likewise.
50121 * libio/wmemstream.c: Likewise.
50122 * libio/wstrops.c: Likewise.
50123 * libio/__fpurge.c: Likewise.
50124 * libio/__fsetlocking.c: Likewise.
50125 * assert/assert.c: Likewise.
50126 * debug/fgets_chk.c: Likewise.
50127 * debug/fgets_u_chk.c: Likewise.
50128 * debug/fread_chk.c: Likewise.
50129 * debug/fread_u_chk.c: Likewise.
50130 * debug/gets_chk.c: Likewise.
50131 * debug/obprintf_chk.c: Likewise.
50132 * debug/vasprintf_chk.c: Likewise.
50133 * debug/vdprintf_chk.c: Likewise.
50134 * debug/vsnprintf_chk.c: Likewise.
50135 * debug/vsprintf_chk.c: Likewise.
50136 * malloc/mtrace.c: Likewise.
50137 * misc/error.c: Likewise.
50138 * misc/syslog.c: Likewise.
50139 * stdio-common/asprintf.c: Likewise.
50140 * stdio-common/fxprintf.c: Likewise.
50141 * stdio-common/getw.c: Likewise.
50142 * stdio-common/isoc99_fscanf.c: Likewise.
50143 * stdio-common/isoc99_scanf.c: Likewise.
50144 * stdio-common/isoc99_vfscanf.c: Likewise.
50145 * stdio-common/isoc99_vscanf.c: Likewise.
50146 * stdio-common/isoc99_vsscanf.c: Likewise.
50147 * stdio-common/printf-prs.c: Likewise.
50148 * stdio-common/printf_fp.c: Likewise.
50149 * stdio-common/printf_fphex.c: Likewise.
50150 * stdio-common/printf_size.c: Likewise.
50151 * stdio-common/putw.c: Likewise.
50152 * stdio-common/scanf.c: Likewise.
50153 * stdio-common/sprintf.c: Likewise.
50154 * stdio-common/tmpfile.c: Likewise.
50155 * stdio-common/vfprintf.c: Likewise.
50156 * stdio-common/vfscanf.c: Likewise.
50157 * stdlib/strfmon_l.c: Likewise.
50158 * sunrpc/openchild.c: Likewise.
50159 * sunrpc/xdr_stdio.c: Likewise.
50160 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50161 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50162
50163 2012-05-24 Roland McGrath <roland@hack.frob.com>
50164
50165 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50166
50167 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50168 in the third column, to generate for the shared library an IFUNC
50169 that uses _dl_vdso_vsym.
50170 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50171 * Makeconfig (object-suffixes-noshared): New variable.
50172
50173 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50174 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50175 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50176 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50177
50178 [BZ #14132]
50179 * include/sys/time.h (__gettimeofday): Remove macro.
50180 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50181 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50182 Remove INTDEF.
50183 (__gettimeofday): Add libc_hidden_def.
50184 (gettimeofday): Add libc_hidden_weak.
50185 * sysdeps/mach/gettimeofday.c: Likewise.
50186 * sysdeps/posix/gettimeofday.c: Likewise.
50187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50188 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50190 (__gettimeofday_internal): Remove strong_alias.
50191 (__gettimeofday): Add libc_hidden_def.
50192 (gettimeofday): Add libc_hidden_weak.
50193 * sysdeps/unix/syscalls.list (gettimeofday):
50194 Remove __gettimeofday_internal alias.
50195
50196 2012-05-24 Daniel Jacobowitz <drow@false.org>
50197 H.J. Lu <hongjiu.lu@intel.com>
50198
50199 [BZ #12495]
50200 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50201 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50202 (largebin_index_32_big): New.
50203 (largebin_index): Use it for 16-byte alignment.
50204 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50205 correction with front_misalign.
50206
50207 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50208
50209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50211 Likewise.
50212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50213 Likewise.
50214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50215 Likewise.
50216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50217 Likewise.
50218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50219 Likewise.
50220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50221 Likewise.
50222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50223 Likewise.
50224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50225 Likewise.
50226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50227 Likewise.
50228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50229 Likewise.
50230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50231 Likewise.
50232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50233 Likewise.
50234
50235 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50236 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50237
50238 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50239
50240 [BZ #10846]
50241 [BZ #14036]
50242 * math/libm-test.inc (exp_test): Add test from bug 14036.
50243 (pow_test): Add test from bug 10846.
50244
50245 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50246 and other flags.
50247 (special_function): Do not include flags in test name.
50248 (parse_args): Likewise.
50249 * sysdeps/i386/fpu/libm-test-ulps: Update.
50250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50252 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50254
50255 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50256 exceptions.
50257 * math/libm-test.inc ("Philosophy"): Update comment about
50258 exception testing.
50259 (UNDERFLOW_EXCEPTION): New macro.
50260 (UNDERFLOW_EXCEPTION_OK): Likewise.
50261 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50262 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50263 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50264 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50265 (INVALID_EXCEPTION_OK): Update value.
50266 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50267 (OVERFLOW_EXCEPTION_OK): Likewise.
50268 (IGNORE_ZERO_INF_SIGN): Likewise.
50269 (test_exceptions): Handle underflow exceptions.
50270 (acos_test): Update for underflow exception expectations.
50271 (cexp_test): Likewise.
50272 (clog_test): Likewise.
50273 (clog10_test): Likewise.
50274 (csqrt_test): Likewise.
50275 (ctan_test): Likewise.
50276 (ctanh_test): Likewise.
50277 (exp_test): Likewise.
50278 (exp10_test): Likewise.
50279 (exp2_test): Likewise.
50280 (expm1_test): Likewise.
50281 (fma_test): Likewise.
50282 (j0_test): Likewise.
50283 (jn_test): Likewise.
50284 (nexttoward_test): Likewise.
50285 (pow_test): Likewise.
50286 (scalbn_test): Likewise.
50287 (scalbln_test): Likewise.
50288 (tan_test): Likewise.
50289 (y1_test): Likewise.
50290 * sysdeps/i386/fpu/libm-test-ulps: Update.
50291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50292
50293 2012-05-23 David S. Miller <davem@davemloft.net>
50294
50295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50296 (__libc_sigaction): Remove unused local variables.
50297
50298 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50299
50300 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50301
50302 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50303
50304 mktime: avoid signed integer overflow
50305 * time/mktime.c (__mktime_internal): Do not mishandle the case
50306 where diff == INT_MIN.
50307
50308 mktime: simplify computation of average
50309 * time/mktime.c (ranged_convert): Use new time_t_avg function
50310 instead of rolling our own (probably-slower) code.
50311
50312 mktime: do not assume signed right shift propagates sign bit
50313 * time/mktime.c (isdst_differ): New static function.
50314 (__mktime_internal): No need to normalize tm_isdst now.
50315 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50316 tm_isdst values.
50317
50318 mktime: merge another wrapv change from gnulib
50319 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50320 from some compilers.
50321
50322 mktime: remove incorrect attempt at unusual arithmetics
50323 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50324 The code didn't really work on such machines anyway.
50325 (TYPE_MINIMUM): Assume two's complement.
50326 (twos_complement_arithmetic): Verify that long_int and time_t
50327 are two's complement (or unsigned, in the latter case).
50328
50329 mktime: check signed shifts on long_int and time_t, too
50330 * time/mktime.c (SHR): Check that shifts work as desired
50331 on the types long_int and time_t too, as SHR is used on
50332 such types.
50333
50334 mktime: do not assume 'long' is wide enough
50335 * time/mktime.c (verify): Move decl up.
50336 (long_int): New type.
50337 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50338 to remove assumption in the code that 'long' is wide enough to
50339 store year values. This assumption is not true on x32 and on
50340 some non-glibc platforms.
50341
50342 mktime: merge wrapv change from gnulib
50343 * time/mktime.c (WRAPV): New macro.
50344 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50345 (guess_time_tm, __mktime_internal): Do not assume that signed
50346 integer overflow wraps around; modern compilers generate code
50347 where this assumption is no longer valid.
50348
50349 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50350
50351 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50352 Replace "jmp L(pseudo_end)" with "ret".
50353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50354 Likewise.
50355
50356 2012-05-23 Andreas Jaeger <aj@suse.de>
50357
50358 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50359 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50360
50361 2012-05-23 Andreas Jaeger <aj@suse.de>
50362 Maximilian Attems <max@stro.at>
50363
50364 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50365 New macros.
50366
50367 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50368
50369 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50370 code so that pseudo_end is just ret and the stack pointer is
50371 correct also for static library in error case.
50372
50373 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50374
50375 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50376 move to syscalls.list.
50377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50381
50382 * manual/install.texi (Running make install): Do not mention Linux
50383 kernel version for which pt_chown is not needed.
50384 (Linux): Do not mention problems with nscd with 2.0 kernels.
50385 * INSTALL: Regenerated.
50386
50387 2012-05-23 Andreas Jaeger <aj@suse.de>
50388
50389 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50390 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50391 macro.
50392 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50393 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50394 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50395 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50396 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50397 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50398 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50400 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50402 * sysdeps/unix/sysv/linux/bits/in.h
50403 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50404
50405 2012-05-22 Roland McGrath <roland@hack.frob.com>
50406
50407 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50408 (PREPARE_VERSION): Just use assert instead, it will be elided
50409 under [NDEBUG] anyway.
50410
50411 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50412
50413 * sysdeps/unix/sysv/linux/Makefile: Include
50414 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50415 (sysdep_routines): Remove sysctl.
50416 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50417 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50418 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50419 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50420 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50421
50422 2012-05-22 Andreas Jaeger <aj@suse.de>
50423
50424 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50425 that pseudo_end is just ret and the stack pointer is correct also
50426 for static library in error case.
50427
50428 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50429
50430 [BZ #14122]
50431 * nss/nsswitch.c (defconfig_entries): New variable.
50432 (__nss_database_lookup): Don't leak defconfig entries.
50433 (nss_parse_service_list): Don't leak on error paths.
50434 (free_database_entries): New function.
50435 (free_defconfig): New function.
50436 (free_mem): Move common code to free_database_entries.
50437
50438 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50439
50440 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50441 Add arch_prctl.
50442 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50443
50444 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50445 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50447 New macro.
50448 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50449 (INTERNAL_SYSCALL_TYPES): Likewise.
50450 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50451 (LOAD_REGS_TYPES_[1-6]): Likewise.
50452 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50453 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50454
50455 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50456
50457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50458 copysignl for GLIBC_2_0.
50459 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50460 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50462 logbl for GLIBC_2_0.
50463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50464 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50465
50466 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50467
50468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50469 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50470
50471 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50472 Use "neg %eax".
50473
50474 * time/mktime.c: Update copyright years.
50475
50476 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50477
50478 mktime: merge comment-quoting-style change from gnulib
50479 * time/mktime.c: Quote 'like this' in comments.
50480 The GNU coding standards suggest that we no longer quote `like this',
50481 as "`" and "'" are typically rendered asymmetrically nowadays.
50482 The typical gnulib style is to quote 'like this' when quoting
50483 code, and "like this" when quoting English.
50484
50485 * time/mktime.c (compile-command): Add "-I.".
50486
50487 mktime: merge mktime-internal.h change from gnulib
50488 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50489
50490 mktime: merge time_r change from gnulib
50491 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50492
50493 mktime: merge DEBUG change from gnulib
50494 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50495 case system <time.h> has a #define.
50496
50497 mktime: merge <sys/types.h> change from gnulib
50498 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50499 since <time.t> is now guaranteed to define time_t.
50500
50501 mktime: merge HAVE_CONFIG_H change from gnulib
50502 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50503
50504 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50505
50506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50507 Use "neg %eax".
50508
50509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50510 __rlim_t cast.
50511 (struct rusage): Use anonymous union to pad each field to
50512 __syscall_slong_t.
50513
50514 2012-05-21 David S. Miller <davem@davemloft.net>
50515
50516 * Makefules (o-iterator): Remove .s cases.
50517 (compile-command.s): Delete.
50518 (COMPILE.s): Delete.
50519 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50520
50521 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50522
50523 * configure.in (libc_cv_predef_stack_protector): Only consider
50524 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50525 * configure: Regenerated.
50526
50527 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50528
50529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50530 New macro. Use R*LP on int and pointer.
50531 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50532 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50533 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50534 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50535
50536 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50537 [__WORDSIZE_TIME64_COMPAT32] instead of
50538 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50539 (struct utmp): Likewise.
50540 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50541 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50542 Renamed to ...
50543 (__WORDSIZE_TIME64_COMPAT32): This.
50544 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50545 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50546 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50547 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50548 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50549 (__WORDSIZE_TIME64_COMPAT32): New macro.
50550
50551 2012-05-21 Andreas Jaeger <aj@suse.de>
50552
50553 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50554 only if [SHARED]. Add prototype for __wcschr_ia32.
50555
50556 2012-05-21 Roland McGrath <roland@hack.frob.com>
50557
50558 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50559 of %rbp unmolested in the jmp_buf while mangling the low bits.
50560 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50561 unmolested high bits of %rbp while demangling the low bits.
50562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50563
50564 2012-05-21 Andreas Jaeger <aj@suse.de>
50565
50566 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50567 * sunrpc/svc_simple.c: Use it for registerrpc.
50568 * sunrpc/xcrypt.c: Use it for passwd2des.
50569
50570 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50571
50572 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50573
50574 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50575 Don't define if [__SYSCALL_WORDSIZE != 32].
50576 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50577 New macro.
50578
50579 2012-05-21 Bruno Haible <bruno@clisp.org>
50580 Andreas Jaeger <aj@suse.de>
50581
50582 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50583 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50584 inptr and inend for must_buffer_ch.
50585 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50586 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50587 * stdio-common/Makefile (tests): Remove bug15.
50588 (bug15-ENV): Remove macro.
50589 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50590 anymore.
50591
50592 2012-05-19 Andreas Jaeger <aj@suse.de>
50593 Roland McGrath <roland@hack.frob.com>
50594
50595 * manual/contrib.texi: Completely rewritten. It contains now an
50596 alphabetical list of contributors and their contributions.
50597
50598 2012-05-21 Richard Henderson <rth@twiddle.net>
50599
50600 * misc/getauxval.c (__getauxval): Use unsigned long int.
50601 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50602 (getauxval): Use unsigned long int.
50603
50604 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50605
50606 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50607
50608 2012-05-21 Roland McGrath <roland@hack.frob.com>
50609
50610 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50611 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50612 __alignof__ (long double).
50613
50614 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50615
50616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50617
50618 2012-05-20 Richard Henderson <rth@twiddle.net>
50619
50620 * misc/getauxval.c: New file.
50621 * misc/sys/auxv.h: New file.
50622 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50623 (routines): Add getauxval.
50624 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50625 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50626 * elf/dl-sysdep.c (_dl_auxv): Remove.
50627 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50628 * elf/dl-support.c (_dl_auxv): New variable.
50629 (_dl_aux_init): Initialize it.
50630 * manual/startup.texi (Auxiliary Vector): New node.
50631 * sysdeps/generic/bits/hwcap.h: New file.
50632 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50633 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50634 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50635 * sysdeps/sparc/sysdep.h: ... here. Include it.
50636 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50637 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50639 Update.
50640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50648
50649 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50650
50651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50652
50653 2012-05-19 David S. Miller <davem@davemloft.net>
50654
50655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50656
50657 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50658
50659 [BZ #14123]
50660 * math/s_ccosh.c: Include <float.h>
50661 (__ccosh): Avoid internal overflow calculating sinh and cosh
50662 values before multiplying by sin and cos values.
50663 * math/s_ccoshf.c: Likewise.
50664 * math/s_ccoshl.c: Likewise.
50665 * math/s_csin.c: Likewise.
50666 * math/s_csinf.c: Likewise.
50667 * math/s_csinl.c: Likewise.
50668 * math/s_csinh.c: Likewise.
50669 * math/s_csinhf.c: Likewise.
50670 * math/s_csinhl.c: Likewise.
50671 * math/libm-test.inc (ccos_test): Add more tests.
50672 (ccosh_test): Likewise.
50673 (csin_test): Likewise.
50674 (csinh_test): Likewise.
50675 * sysdeps/i386/fpu/libm-test-ulps: Update.
50676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50677
50678 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50679
50680 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50681 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50682
50683 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50684
50685 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50686
50687 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50688 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50689 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50690 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50691 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50692 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50693 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50694 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50695 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50696 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50697 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50698 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50699 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50700 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50701 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50702 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50703 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50704 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50705 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50706 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50707 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50708 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50709 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50710 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50711 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50712 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50713 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50714 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50715 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50716 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50717 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50718
50719 2012-05-18 Andreas Jaeger <aj@suse.de>
50720
50721 * csu/.gitignore: Delete.
50722
50723 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50724
50725 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50726 (timex): Use __syscall_slong_t.
50727
50728 2012-05-18 Andreas Jaeger <aj@suse.de>
50729 Carlos O'Donell <carlos_odonell@mentor.com>
50730
50731 * manual/install.texi (Configuring and compiling): Update
50732 description about files modified in the source directory.
50733 * INSTALL: Regenerated.
50734
50735 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50736
50737 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50738 value. Use "or" to set return value to -1.
50739 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50740 negate return value.
50741
50742 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50743
50744 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50745 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50746 failure if the compiler has Graphite support disabled.
50747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50748 Likewise.
50749 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50750 (CFLAGS-memmove.c): Likewise.
50751 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50752 Likewise.
50753
50754 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50755
50756 * sysdeps/x86_64/x32/_itoa.h: New file.
50757
50758 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50759 getdents system call only if kernel and user dirents have the
50760 same d_ino and d_off.
50761
50762 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50763 LLONG_MAX != LONG_MAX.
50764 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50765 (_fitoa_word): Likewise.
50766
50767 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50768 years.
50769 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50770 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50772
50773 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50774 include <bits/wordsize.h>. Check __x86_64__ instead of
50775 __WORDSIZE.
50776 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50777 if __x86_64__ is defined. Use anonymous union on fpstate.
50778
50779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50780 anonymous union.
50781
50782 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50783
50784 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50785 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50786 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50787 Refer to _rtld_local_ro instead of _rtld_global_ro.
50788 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50789 Likewise.
50790 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50791 Likewise.
50792 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50793 Likewise.
50794 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50795 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50796 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50797
50798 [BZ #10882]
50799 * sysdeps/powerpc/powerpc32/dl-machine.c
50800 (__elf_machine_runtime_setup) [PROF]: Don't reference
50801 _dl_prof_resolve.
50802
50803 2012-05-18 Andreas Jaeger <aj@suse.de>
50804
50805 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50806 function only available for GCCs before 3.4 since GCC 3.4
50807 introduced a builtin.
50808 (lrint): Likewise.
50809 (llrintf): Likewise.
50810 (llrint): Likewise.
50811 (fmaxf): Likewise.
50812 (fmax): Likewise.
50813 (fminf): Likewise.
50814 (fmin): Likewise.
50815 (rint): Likewise.
50816 (rintf): Likewise.
50817 (nearbyint): Likewise.
50818 (nearbyintf): Likewise.
50819 (ceil): Likewise.
50820 (ceilf): Likewise.
50821 (floor): Likewise.
50822 (floorf): Likewise.
50823
50824 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50825
50826 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50827 on both fields and cast pointer to __syscall_ulong_t.
50828
50829 * bits/types.h (__fsword_t): New type.
50830 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50831 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50833 (__FSWORD_T_TYPE): Likewise.
50834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50835 (__FSWORD_T_TYPE): Likewise.
50836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50837 (__FSWORD_T_TYPE): Likewise.
50838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50839 (__FSWORD_T_TYPE): Likewise.
50840 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50841 __SWORD_TYPE with __fsword_t.
50842 (statfs64): Likewise.
50843
50844 2012-05-17 David S. Miller <davem@davemloft.net>
50845
50846 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50847
50848 2012-05-17 Andreas Jaeger <aj@suse.de>
50849
50850 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50851 warning.
50852
50853 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50854
50855 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50856
50857 2012-05-17 Andreas Jaeger <aj@suse.de>
50858
50859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50860 when it is used.
50861
50862 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50863
50864 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50865
50866 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50867
50868 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50869 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50870
50871 2012-05-17 Andreas Jaeger <aj@suse.de>
50872 Carlos O'Donell <carlos_odonell@mentor.com>
50873
50874 [BZ #14059]
50875 * sysdeps/x86_64/multiarch/init-arch.h
50876 (bit_YMM_Usable): Rename to...
50877 (bit_AVX_Usable): ... this.
50878 (bit_FMA4_Usable): New macro.
50879 (bit_XMM_state): New macro.
50880 (bit_YMM_state): New macro.
50881 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50882 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50883 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50884 (CPUID_OSXSAVE): New macro.
50885 (CPUID_AVX): New macro.
50886 (CPUID_FMA4): New macro.
50887 (index_YMM_Usable): Rename to...
50888 (index_AVX_Usable): ... this.
50889 (HAS_AVX): Use HAS_ARCH_FEATURE.
50890 (HAS_FMA4): Likewise.
50891 (HAS_YMM_USABLE): Remove.
50892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50893 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50894 are present.
50895 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50896 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50897 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50898 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50899 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50900
50901 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50902
50903 * math/libm-test.c: Support platforms without multiple rounding modes.
50904 * math/bug-nextafter.c: Support platforms without FP exceptions.
50905 * math/bug-nexttoward.c: Likewise.
50906 * math/test-fenv.c: Likewise.
50907 * math/test-misc.c: Likewise.
50908 * stdlib/bug-getcontext.c: Likewise.
50909
50910 2012-05-17 Andreas Jaeger <aj@suse.de>
50911
50912 * manual/examples/search.c (critter_cmp): Change signature to
50913 avoid warnings.
50914 * manual/string.texi (Collation Functions): Likewise.
50915
50916 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50917
50918 * bits/types.h: Fold copyright years.
50919 * bits/typesizes.h: Likewise.
50920 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50924 * time/time.h: Likewise.
50925
50926 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50927
50928 [BZ #208]
50929 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50930 in instead of returning them. Return void.
50931 (__libc_mallinfo): Accumulate over all arenas.
50932 (__malloc_stats): Adjust for change in int_mallinfo interface.
50933
50934 2012-05-16 Roland McGrath <roland@hack.frob.com>
50935
50936 [BZ #10375]
50937 * configure.in (NM): Add AC_CHECK_TOOL for it.
50938 (libc_extra_cflags): New substituted variable.
50939 Check for -fstack-protector being used implicitly.
50940 * configure: Regenerated.
50941 * config.make.in (config-extra-cflags): New variable,
50942 gets @libc_extra_cflags@.
50943 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50944
50945 [BZ #10375]
50946 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50947 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50948 * configure: Regenerated.
50949 * config.make.in (CPPUNDEFS): New substituted variable.
50950 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50951 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50952 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50953
50954 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50955
50956 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50957 (mq_attr): Use __syscall_slong_t.
50958
50959 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50960
50961 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50962 Check __x86_64__ instead of __WORDSIZE.
50963 (_STAT_VER_LINUX): Likewise.
50964 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50965 __syscall_ulong_t and __syscall_slong_t.
50966 (stat64): Likewise.
50967
50968 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50969
50970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50971
50972 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50973
50974 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50975
50976 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50977
50978 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50979 __syscall_ulong_t.
50980
50981 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50982 include <bits/wordsize.h>. Check __x86_64__ instead of
50983 __WORDSIZE.
50984 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50985 defined.
50986 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50987
50988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50989 include <bits/wordsize.h>. Check __x86_64__ instead of
50990 __WORDSIZE.
50991 (user_regs_struct): Use "__extension__ unsigned long long"
50992 instead of "unsigned long" if __x86_64__ is defined.
50993 (user): Likewise. Pad after pointer field if __ILP32__ is
50994 defined.
50995
50996 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50997
50998 * configure.in (makeinfo): Require version 4.5 or later. Allow
50999 versions 5 to 9.
51000 * configure: Regenerated.
51001 * manual/install.texi (texinfo): Increase version requirement to
51002 4.5 or later.
51003 * INSTALL: Regenerated.
51004
51005 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51006
51007 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51008
51009 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51010
51011 * sysdeps/x86_64/x32/ffs.c: New file.
51012
51013 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51014 __syscall_ulong_t.
51015 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51016 defined. Use __syscall_ulong_t.
51017 (shminfo): Use __syscall_ulong_t.
51018 (shm_info): Likewise.
51019
51020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51021 __syscall_ulong_t.
51022
51023 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51024 <bits/wordsize.h>.
51025 (msgqnum_t): Use __syscall_ulong_t.
51026 (msglen_t): Likewise.
51027 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51028 __syscall_ulong_t.
51029
51030 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51032
51033 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51034
51035 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51036 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51037
51038 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51039 __syscall_slong_t.
51040
51041 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51042 include <bits/wordsize.h>. Check __x86_64__ instead of
51043 __WORDSIZE.
51044
51045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51046 "unsigned long long int" if __x86_64__ is defined.
51047 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51048
51049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51051 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51052
51053 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51054 <stdint.h>.
51055 (GET_PC): Cast to uintptr_t first.
51056 (GET_FRAME): Likewise.
51057 (GET_STACK): Likewise.
51058
51059 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51061 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51063 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51065 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51066 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51067 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51072 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51078 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51080 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51082 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51084 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51085 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51088
51089 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51090
51091 * Makerules (+depfiles): Also collect depfiles from .oS in
51092 $(extra-objs).
51093 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51094 .oS, $(libnldbl-routines)).
51095
51096 * Makerules (native-compile-mkdep-flags): Define.
51097 * sunrpc/Makefile (extra-objs): Add $(addprefix
51098 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51099 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51100 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51101 calling $(make-target-directory).
51102
51103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51104
51105 * bits/types.h (__snseconds_t): Removed.
51106 * time/time.h (struct timespec): Replace __snseconds_t with
51107 __syscall_slong_t.
51108 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51109 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51110 Likewise.
51111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51112 (__SNSECONDS_T_TYPE): Likewise.
51113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51114 (__SNSECONDS_T_TYPE): Likewise.
51115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51116 (__SNSECONDS_T_TYPE): Likewise.
51117
51118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51119
51120 * sysdeps/mach/hurd/bits/typesizes.h
51121 (__SYSCALL_SLONG_TYPE): New macro.
51122 (__SYSCALL_ULONG_TYPE): Likewise.
51123
51124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51125
51126 * bits/types.h (__syscall_slong_t): New type.
51127 (__syscall_ulong_t): Likewise.
51128
51129 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51130 (__SYSCALL_ULONG_TYPE): Likewise.
51131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51132 (__SYSCALL_SLONG_TYPE): Likewise.
51133 (__SYSCALL_ULONG_TYPE): Likewise.
51134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51135 (__SYSCALL_SLONG_TYPE): Likewise.
51136 (__SYSCALL_ULONG_TYPE): Likewise.
51137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51138 (__SYSCALL_SLONG_TYPE): Likewise.
51139 (__SYSCALL_ULONG_TYPE): Likewise.
51140
51141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51142
51143 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51144 Add sigaltstack-offsets.sym.
51145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51146 <sigaltstack-offsets.h>.
51147 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51148 longjmp_msg pointer.
51149 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51150 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51151 signal stack.
51152 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51153
51154 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51155
51156 * elf/stackguard-macros.h: Remove file.
51157 * sysdeps/generic/stackguard-macros.h: New file.
51158 * sysdeps/i386/stackguard-macros.h: Likewise.
51159 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51160 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51161 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51162 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51163 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51164 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51165 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51166 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51167 <elf/stackguard-macros.h>.
51168
51169 [BZ #14109]
51170 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51171 __aligned__ in attribute.
51172 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51173 (gregset_t): Likewise.
51174
51175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51176
51177 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51178 * sysdeps/x86_64/64/Implies-after: Here. New file.
51179 * sysdeps/x86_64/x32/Implies-after: New file.
51180
51181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51182
51183 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51184 and access return value for _dl_profile_fixup. Use R10_LP to
51185 load frame size.
51186
51187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51188
51189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51190
51191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51192
51193 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51194 * sysdeps/x86_64/x32/sysdep.h: New file.
51195
51196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51197
51198 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51199 * sysdeps/x86_64/setjmp.S: Likewise.
51200
51201 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51202
51203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51205 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51207 remove unused global constant.
51208
51209 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51210
51211 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51212 include of <not-cancel.h>.
51213
51214 2012-05-15 Roland McGrath <roland@hack.frob.com>
51215
51216 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51217
51218 2012-05-15 Jeff Law <law@redhat.com>
51219 Andreas Jaeger <aj@suse.de>
51220
51221 [BZ #13594]
51222 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51223 out from...
51224 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51225 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51227 code changing __hst_map_handle.map.
51228
51229 2012-05-15 Roland McGrath <roland@hack.frob.com>
51230
51231 * configure.in (sysnames): Look for Implies-before and Implies-after
51232 files.
51233 * configure: Regenerated.
51234
51235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51236
51237 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51238 8-byte data alignment with LP_SIZE alignment.
51239
51240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51241
51242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51243 into R10_LP.
51244
51245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51246
51247 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51248
51249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51250
51251 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51252 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51254 Likewise.
51255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51256
51257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51258
51259 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51260 (stackinfo_sub_sp): Likewise.
51261
51262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51263
51264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51265 RAX_LP.
51266
51267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51268
51269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51270 into R*_LP.
51271
51272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51273
51274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51275 sizes into R*_LP.
51276
51277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51278
51279 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51280
51281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51282
51283 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51284 into R11_LP and load __x86_64_shared_cache_size_half into
51285 R8_LP.
51286
51287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51288
51289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51290 R8_LP.
51291
51292 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51293
51294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51295 logb for POWER7.
51296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51297 logbf for POWER7.
51298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51299 logbl for POWER7.
51300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51301 powerpc32/power7/fpu/s_logb.c via #include.
51302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51303 powerpc32/power7/fpu/s_logbf.c via #include.
51304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51305 powerpc32/power7/fpu/s_logbl.c via #include.
51306
51307 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51308
51309 * README.libm: Remove file.
51310
51311 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51312
51313 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51314 count for x32. Use R*_LP and omit operand-size suffix.
51315
51316 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51317
51318 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51319 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51320 * sysdeps/x86_64/x32/shlib-versions: New file.
51321
51322 2012-05-14 Roland McGrath <roland@hack.frob.com>
51323
51324 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51325 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51326 Use _dl_fatal_printf instead.
51327
51328 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51329
51330 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51331 set if not set by the user. Do not allow for being unset.
51332 * sysdeps/unix/sysv/linux/configure: Regenerated.
51333
51334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51335
51336 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51337 the `q' suffix from lea and replace .quad with ASM_ADDR.
51338
51339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51340
51341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51342 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51343 instead of $17.
51344 (PTR_DEMANGLE): Likewise.
51345
51346 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51347
51348 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51349 (LP_OP): Likewise.
51350 (ASM_ADDR): Likewise.
51351 (RAX_LP): Likewise.
51352 (RBP_LP): Likewise.
51353 (RBX_LP): Likewise.
51354 (RCX_LP): Likewise.
51355 (RDI_LP): Likewise.
51356 (RSI_LP): Likewise.
51357 (RSP_LP): Likewise.
51358 (R8_LP): Likewise.
51359 (R9_LP): Likewise.
51360 (R10_LP): Likewise.
51361 (R10_LP): Likewise.
51362 (R11_LP): Likewise.
51363 (R12_LP): Likewise.
51364 (R13_LP): Likewise.
51365 (R14_LP): Likewise.
51366 (R15_LP): Likewise.
51367
51368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51369
51370 * sysdeps/x86_64/x32/dl-machine.h: New file.
51371
51372 2012-05-14 Andreas Jaeger <aj@suse.de>
51373
51374 * manual/Makefile (subdir): Remove export of subdir.
51375 (all): Remove target.
51376 (.PHONY): Remove all from list.
51377 (mkinstalldirs): Remove.
51378 (.PHONY): Remove installdirs from list.
51379 ($(inst_infodir)/libc.info): Use make-target-directory.
51380 (installdirs): Remove.
51381 (subdir_%): Remove.
51382 (glibc-targets): Remove.
51383 (lib): Remove.
51384 (stubs): Remove.
51385 ($(objpfx)stubs ../po/manual.pot): Remove.
51386 ($(objpfx)stamp%): Remove.
51387 (make-target-directory): Remove.
51388 (subdir_install): Remove.
51389 (routines): Remove.
51390 (aux): Remove.
51391 (sources): Remove.
51392 (objects): Remove.
51393 (headers): Remove.
51394
51395 [BZ #13750]
51396 * manual/.gitignore: Remove, it's not needed anymore.
51397 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51398 all files in it.
51399 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51400 directory.
51401 (texis): Renamed to $(objpfx)texis.
51402 (texis-path): New, contains path to generated files.
51403 (chapters.%): Use texis-path for complete path, add extra argument
51404 libc-texinfo.sh.
51405 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51406 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51407 (summary,texi, stamp-summary): Use complete path of
51408 files. Generate files in build dir.
51409 (dir-add.texi): Build in build dir.
51410 (libm-err.texi,stamp-libm-err): Likewise.
51411 (version.texi, stamp-version): Likewise.
51412 (.%c.texi): Likewise.
51413 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51414 (mostlyclean): Remove target.
51415 (realclean): Remove target.
51416 (generated): Add new variable with contents from mostlyclean and
51417 realclean, remove entries duplicated in common-mostlyclean, add
51418 stamp-libm-err and stamp-version.
51419 (generated-dirs): Add libc directory.
51420 ($(inst_infodir)/libc.info): Install files from build dir.
51421
51422 * manual/install.texi (Configuring and compiling): Adjust since
51423 the info files are not part of the tar ball anymore.
51424
51425 2012-05-14 Andreas Jaeger <aj@suse.de>
51426
51427 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51428 variable.
51429
51430 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51431
51432 [BZ #13717]
51433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51434 to 2.2.0 where earlier.
51435 * sysdeps/unix/sysv/linux/configure: Regenerated.
51436 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51437 Remove conditional code.
51438 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51439 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51440 Remove conditional code.
51441 [!__NR_lchown]: Likewise.
51442 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51443 [__NR_lchown]: Likewise.
51444 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51445 comment referencing __ASSUME_LCHOWN_SYSCALL.
51446 * sysdeps/unix/sysv/linux/i386/sigaction.c
51447 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51448 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51449 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51450 Remove conditional code.
51451 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51452 (__protocol_available): Remove #if 0 code.
51453 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51454 conditional code.
51455 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51456 * sysdeps/unix/sysv/linux/kernel-features.h
51457 (__ASSUME_GETCWD_SYSCALL): Don't define.
51458 (__ASSUME_REALTIME_SIGNALS): Likewise.
51459 (__ASSUME_PREAD_SYSCALL): Likewise.
51460 (__ASSUME_PWRITE_SYSCALL): Likewise.
51461 (__ASSUME_POLL_SYSCALL): Likewise.
51462 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51463 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51464 non-SPARC.
51465 (__ASSUME_SIOCGIFNAME): Don't define.
51466 (__ASSUME_MSG_NOSIGNAL): Likewise.
51467 (__ASSUME_SENDFILE): Define unconditionally.
51468 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51469 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51470 conditional code.
51471 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51472 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51473 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51474 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51475 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51476 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51477 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51491 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51502 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51503 Remove conditional code.
51504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51505 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51506 Remove conditional code.
51507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51508 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51509 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51510 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51511 Remove conditional code.
51512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51513 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51514 Remove conditional code.
51515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51516 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51517 Remove conditional code.
51518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51519 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51520 Remove conditional code.
51521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51522 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51523 Remove conditional code.
51524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51525 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51528 * sysdeps/unix/sysv/linux/sigaction.c
51529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51531 * sysdeps/unix/sysv/linux/sigpending.c
51532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51534 * sysdeps/unix/sysv/linux/sigprocmask.c
51535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51537 * sysdeps/unix/sysv/linux/sigsuspend.c
51538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51541 (__libc_missing_rt_sigs): Remove.
51542 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51543 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51544 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51545 Remove conditional code.
51546 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51547 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51548 return 1.
51549 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51550 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51552 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51553
51554 2012-05-14 Andreas Jaeger <aj@suse.de>
51555
51556 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51557 it's not used in glibc.
51558 (__coshm1): Likewise.
51559 (__acosh1p): Likewise.
51560 (__sgn): Likewise.
51561
51562 * manual/string.texi (Copying and Concatenation): Add missing
51563 variable in concat example.
51564 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51565
51566 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51567
51568 [BZ #14103]
51569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51570 __builtin_clzl with __builtin_clzll.
51571
51572 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51573
51574 [BZ #14104]
51575 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51576 libc_freeres_ptr.
51577
51578 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51579
51580 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51581 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51582 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51583 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51584
51585 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51586
51587 * NEWS: Update ia64 info.
51588
51589 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51590
51591 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51592 used as bcopy.
51593
51594 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51595
51596 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51597 * sysdeps/unix/syscalls.list (dup3): Likewise.
51598 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51599 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51600
51601 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51602
51603 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51604 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51605
51606 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51607
51608 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51609 thread pointer.
51610 (TLS_IE): Use mov/add instead of movq/addq to load thread
51611 pointer.
51612 (TLS_GD_PREFIX): New.
51613 (TLS_GD): Use it.
51614
51615 2012-05-11 David S. Miller <davem@davemloft.net>
51616
51617 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51618 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51619 (_FPU_SETCW): Likewise.
51620
51621 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51622
51623 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51624 is 32-byte aligned.
51625
51626 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51627
51628 [BZ #11837]
51629 * iconvdata/gb18030.c: Update tables.
51630 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51631 characters specially.
51632 (BODY for TO_LOOP): Add encoding of missing ranges.
51633
51634 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51635
51636 [BZ #13673]
51637 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51638 * sysdeps/mach/hurd/dup3.c: Likewise.
51639 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51640 * sysdeps/powerpc/memmove.c:: Likewise.
51641
51642 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51643
51644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51645 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51646
51647 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51648
51649 * elf/elf.h (R_X86_64_RELATIVE64): New.
51650 (R_X86_64_NUM): Updated.
51651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51652 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51653 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51654 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51655 tst-quad1pie tst-quad2pie
51656 (modules-names): Add tst-quadmod1 tst-quadmod2.
51657 ($(objpfx)tst-quad1): New dependency.
51658 ($(objpfx)tst-quad2): Likewise.
51659 ($(objpfx)tst-quad1pie): Likewise.
51660 ($(objpfx)tst-quad2pie): Likewise.
51661 * sysdeps/x86_64/tst-quad1.c: New file.
51662 * sysdeps/x86_64/tst-quad1pie.c: New file.
51663 * sysdeps/x86_64/tst-quad2.c: Likewise.
51664 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51665 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51666 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51667 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51668 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51669
51670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51671
51672 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51673 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51674 * streams/stropts.h (t_scalar_t): Define type.
51675
51676 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51677 (_PATH_PRESERVE): Set to "/var/lib".
51678 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51679
51680 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51681 instead of int.
51682
51683 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51684 if __dir_mkfile succeeded.
51685
51686 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51687 checking for _hurd_dtablesize. Unlock it right after having
51688 finished _hurd_dtable allocation.
51689
51690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51691
51692 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51693 * sysdeps/mach/hurd/configure: Regenerated.
51694 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51695 special-casing to...
51696 * sysdeps/gnu/configure.in: ... this new file.
51697 * sysdeps/unix/sysv/linux/configure: Regenerated.
51698 * sysdeps/gnu/configure: New generated file.
51699
51700 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51701 for Linux: use nsec instead of usec, as well as:
51702 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51703 members of type struct timespec.
51704 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51705 New macros.
51706 (struct stat64): Likewise.
51707 (_STATBUF_ST_NSEC): New macro.
51708 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51709
51710 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51711 __strtoul_internal rather than strtoul.
51712
51713 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51714
51715 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51716 and reject them.
51717
51718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51719
51720 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51721 which preserves existing values.
51722 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51723
51724 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51725
51726 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51727 TIMEOUT values. Return EINVAL for NFDS values either negative or
51728 greater than FD_SETSIZE.
51729
51730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51731
51732 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51733 allocated, call __vm_protect to finish enabling the existing space, and
51734 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51735 allocate the remainder.
51736
51737 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51738
51739 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51740 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51741
51742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51743
51744 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51745 sysdeps/mach/hurd/readlink.c.
51746
51747 * posix/tst-sysconf.c (posix_options): Only use
51748 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51749 _POSIX_SYNCHRONIZED_IO when they are defined
51750 * sysdeps/mach/hurd/bits/posix_opt.h:
51751 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51752 (_XOPEN_REALTIME): Undefine macro.
51753 (_XOPEN_REALTIME_THREADS): Undefine macro.
51754 (_XOPEN_SHM): Undefine macro.
51755 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51756 macro to -1.
51757 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51758 macro to -1.
51759 (_POSIX_ASYNC_IO): Undefine macro.
51760 (_POSIX_PRIORITIZED_IO): Undefine macro.
51761 (_POSIX_SPIN_LOCKS): Define macro to -1.
51762
51763 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51764 SA_NODEFER, SA_RESETHAND.
51765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51766 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51767 F_DUPFD_CLOEXEC.
51768
51769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51770
51771 * elf/Makefile (pldd-modules): Define unconditionally.
51772
51773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51774
51775 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51776
51777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51778
51779 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51780 Return ENOENT when name is empty.
51781 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51782
51783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51784
51785 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51786
51787 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51788
51789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51790
51791 Fix mlock in all cases except non-readable pages.
51792 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51793 instead of VM_PROT_ALL as parameter to __vm_wire function.
51794
51795 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51796 (__mkdir): When path is `/', just fail with EEXIST.
51797 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51798
51799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51800
51801 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51802 <sys/uio.h> (for writev).
51803 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51804 and <sys/param.h> (for MIN).
51805
51806 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51807
51808 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51809 REQUESTED_TIME. Properly set the remaining time and return EINTR
51810 if interrupted.
51811
51812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51813
51814 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51815 Depend on against $(link-rpcuserlibs).
51816
51817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51818
51819 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51820 (__libc_stack_end): Do not use attribute_relro.
51821 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51822 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51823 to libthread-provided value.
51824 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51825 attribute_relro.
51826
51827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51828
51829 [BZ #3748]
51830 * bits/libc-lock.h (__libc_once_get): New macro.
51831 * sysdeps/mach/bits/libc-lock.h: Likewise.
51832 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51834 instead of using implementation details.
51835
51836 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51837 * libio/freopen.c: Likewise.
51838 * libio/freopen64.c: Likewise.
51839 * misc/syslog.c: Likewise.
51840 * nscd/connections.c: Likewise.
51841 * nscd/netgroupcache.c: Likewise.
51842 * sysdeps/posix/getcwd.c: Likewise.
51843
51844 2012-05-10 Roland McGrath <roland@hack.frob.com>
51845
51846 * math/w_ilogbf.c: Add #include <limits.h>.
51847
51848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51849
51850 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51851 path instead of returning without unlocking.
51852
51853 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51854 immediate-write ioctls.
51855 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51856
51857 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51858
51859 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51860 __builtin_frame_address instead of making assumptions about the
51861 location of the return address relative to DATA. Force early load of
51862 the return address.
51863 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51864 __builtin_frame_address.
51865
51866 dup3 for GNU Hurd.
51867 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51868 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51869 implement dup3 and do some further code clean-ups.
51870 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51871 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51872
51873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51874
51875 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51876
51877 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51878 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51879 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51880 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51881 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51882 d->port.lock.
51883
51884 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51885 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51886 when handler == SIG_ERR, not when handler != SIG_ERR.
51887
51888 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51889
51890 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51891 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51892 definitions.
51893
51894 accept4 for GNU Hurd.
51895 * include/sys/socket.h (__libc_accept4): New prototype.
51896 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51897 to implement __libc_accept4.
51898 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51899 __libc_accept4.
51900 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51901
51902 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51903 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51904 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51905 signal-defines.sym.
51906
51907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51908
51909 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51910
51911 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51912
51913 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51914 assertion on O_CLOEXEC flag.
51915 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51916 * hurd/intern-fd.c: Likewise.
51917 * hurd/port2fd.c: Likewise.
51918
51919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51920
51921 [BZ #3906]
51922 * bits/in.h (IPV6_PKTINFO): Define new macro.
51923 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51924
51925 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51926
51927 [BZ #13954]
51928 [BZ #13955]
51929 [BZ #13956]
51930 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51932 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51933 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51935 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51936 * math/libm-test.inc (logb_test) : Additional logb tests.
51937
51938 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51939 Andreas Jaeger <aj@suse.de>
51940
51941 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51942 * configure: Regenerated.
51943 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51944 * config.make.in (link-obsolete-rpc): New substituted variable.
51945 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51946 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51947 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51948 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51949 so that libc.a contains the symbols.
51950 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51951 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51952 * sunrpc/auth_none.c: Likewise.
51953 * sunrpc/auth_unix.c: Likewise.
51954 * sunrpc/authdes_prot.c: Likewise.
51955 * sunrpc/authuxprot.c: Likewise.
51956 * sunrpc/clnt_gen.c: Likewise.
51957 * sunrpc/clnt_perr.c: Likewise.
51958 * sunrpc/clnt_raw.c: Likewise.
51959 * sunrpc/clnt_simp.c: Likewise.
51960 * sunrpc/clnt_tcp.c: Likewise.
51961 * sunrpc/clnt_udp.c: Likewise.
51962 * sunrpc/clnt_unix.c: Likewise.
51963 * sunrpc/des_crypt.c: Likewise.
51964 * sunrpc/des_soft.c: Likewise.
51965 * sunrpc/get_myaddr.c: Likewise.
51966 * sunrpc/key_call.c: Likewise.
51967 * sunrpc/key_prot.c: Likewise.
51968 * sunrpc/netname.c: Likewise.
51969 * sunrpc/pm_getmaps.c: Likewise.
51970 * sunrpc/pm_getport.c: Likewise.
51971 * sunrpc/pmap_clnt.c: Likewise.
51972 * sunrpc/pmap_prot.c: Likewise.
51973 * sunrpc/pmap_prot2.c: Likewise.
51974 * sunrpc/pmap_rmt.c: Likewise.
51975 * sunrpc/publickey.c: Likewise.
51976 * sunrpc/rpc_cmsg.c: Likewise.
51977 * sunrpc/rpc_common.c: Likewise.
51978 * sunrpc/rpc_dtable.c: Likewise.
51979 * sunrpc/rpc_prot.c: Likewise.
51980 * sunrpc/rpc_thread.c: Likewise.
51981 * sunrpc/rtime.c: Likewise.
51982 * sunrpc/svc.c: Likewise.
51983 * sunrpc/svc_auth.c: Likewise.
51984 * sunrpc/svc_raw.c: Likewise.
51985 * sunrpc/svc_run.c: Likewise.
51986 * sunrpc/svc_tcp.c: Likewise.
51987 * sunrpc/svc_udp.c: Likewise.
51988 * sunrpc/svc_unix.c: Likewise.
51989 * sunrpc/svcauth_des.c: Likewise.
51990 * sunrpc/xcrypt.c: Likewise.
51991 * sunrpc/xdr.c: Likewise.
51992 * sunrpc/xdr_array.c: Likewise.
51993 * sunrpc/xdr_float.c: Likewise.
51994 * sunrpc/xdr_intXX_t.c: Likewise.
51995 * sunrpc/xdr_mem.c: Likewise.
51996 * sunrpc/xdr_rec.c: Likewise.
51997 * sunrpc/xdr_ref.c: Likewise.
51998 * sunrpc/xdr_sizeof.c: Likewise.
51999 * sunrpc/xdr_stdio.c: Likewise.
52000
52001 2012-05-10 Roland McGrath <roland@hack.frob.com>
52002
52003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52004 change. Update copyright years.
52005
52006 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52007
52008 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52009
52010 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52011 Joseph Myers <joseph@codesourcery.com>
52012 Paul Pluzhnikov <ppluzhnikov@google.com>
52013
52014 [BZ #14012]
52015 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52016 requiring rpcgen.
52017 [cross-compiling] (extra-libs): Likewise.
52018 [cross-compiling] (extra-libs-others): Likewise.
52019 [cross-compiling] (librpcsvc-routines): Likewise.
52020 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52021 [cross-compiling] (omit-deps): Likewise.
52022 (sunrpc-CPPFLAGS): New variable.
52023 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52024 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52025 (cross-rpcgen-objs): New variable.
52026 (extra-objs): Append $(cross-rpcgen-objs).
52027 ($(cross-rpcgen-objs)): New rule.
52028 ($(objpfx)cross-rpcgen): Likewise.
52029 (rpcgen-cmd): Define to use $(built-program-file). Expand
52030 comment.
52031 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52032 ($(objpfx)x%.stmp): Likewise.
52033 * sunrpc/proto.h [IS_IN_build] (_): Define.
52034 [IS_IN_build] (_libc_intl_domainname): Likewise.
52035
52036 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52037
52038 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52039 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52040 and R_X86_64_TPOFF64.
52041
52042 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52043
52044 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52045 sysdeps/unix/sysv/syscalls.list.
52046 (stime): Likewise.
52047 (utime): Likewise.
52048 * sysdeps/unix/sysv/syscalls.list: Remove file.
52049
52050 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52051
52052 [BZ #3440]
52053 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52054 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52055 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52056 (__LC_IDENTIFICATION): Make these macros useful in #if
52057 expressions, as required by C99.
52058
52059 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52060
52061 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52062 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52063 after this.
52064
52065 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52066
52067 * stdlib/longlong.h: Updated from GCC.
52068
52069 2012-05-09 Andreas Jaeger <aj@suse.de>
52070
52071 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52072 default is first entry.
52073 (run_mode): Set type.
52074 (main): Remove informal message about syslog.
52075 (options): Fix typo.
52076
52077 [BZ #14053]
52078 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52079 to asm.
52080 (lrint): Likewise.
52081 (llrintf): Likewise.
52082 (llrint): Likewise.
52083 (rint): Likewise.
52084 (rintf): Likewise.
52085 (nearbyint): Likewise.
52086 (nearbyintf): Likewise.
52087
52088 2012-05-09 Andreas Jaeger <aj@suse.de>
52089 Pedro Alves <palves@redhat.com>
52090
52091 * nscd/nscd.c (run_mode): Use enum.
52092 (main): Cleanup coding style issue.
52093
52094 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52095 Andreas Jaeger <aj@suse.de>
52096
52097 * nscd/nscd.c (go_background): Replaced with...
52098 (run_mode): ... this.
52099 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52100 (options): Add -F --foreground.
52101 (main): Implement it.
52102 (parse_opt): Parse it.
52103
52104 2012-05-09 Andreas Jaeger <aj@suse.de>
52105
52106 [BZ #14083]
52107 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52108 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52109 -Wconversion warning.
52110 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52111 Likewise.
52112
52113 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52114
52115 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52116 == 0.
52117 (LC_ALL): Use macro-int-constant.
52118 (LC_COLLATE): Likewise.
52119 (LC_CTYPE): Likewise.
52120 (LC_MESSAGES): Likewise.
52121 (LC_MONETARY): Likewise.
52122 (LC_NUMERIC): Likewise.
52123 (LC_TIME): Likewise.
52124 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52125 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52127 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52128 Specify type.
52129 [C99-based standards] (float_t): Expect type.
52130 [C99-based standards] (double_t): Expect type.
52131 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52132 type.
52133 [C99-based standards] (HUGE_VALL): Likewise.
52134 [C99-based standards] (INFINITY): Likewise.
52135 [C99-based standards] (NAN): Likewise.
52136 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52137 [C99-based standards] (FP_NAN): Likewise.
52138 [C99-based standards] (FP_NORMAL): Likewise.
52139 [C99-based standards] (FP_SUBNORMAL): Likewise.
52140 [C99-based standards] (FP_ZERO): Likewise.
52141 [C99-based standards] (FP_FAST_FMA): Use
52142 optional-macro-int-constant. Specify type. Require == 1.
52143 [C99-based standards] (FP_FAST_FMAF): Likewise.
52144 [C99-based standards] (FP_FAST_FMAL): Likewise.
52145 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52146 [C99-based standards] (FP_ILOGBNAN): Likewise.
52147 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52148 Specify type.
52149 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52150 [C99-based standards] (math_errhandling): Specify type.
52151 [ISO99 || ISO11] (signgam): Do not allow.
52152 [non-C99-based standards] (copysignf): Do not allow.
52153 [non-C99-based standards] (exp2f): Likewise.
52154 [non-C99-based standards] (log2f): Likewise.
52155 [non-C99-based standards] (modff): Allow.
52156 [non-C99-based standards] (erff): Do not allow.
52157 [non-C99-based standards] (erfcf): Likewise.
52158 [non-C99-based standards] (gammaf): Likewise.
52159 [non-C99-based standards] (hypotf): Likewise.
52160 [non-C99-based standards] (j0f): Likewise.
52161 [non-C99-based standards] (j1f): Likewise.
52162 [non-C99-based standards] (jnf): Likewise.
52163 [non-C99-based standards] (lgammaf): Likewise.
52164 [non-C99-based standards] (tgammaf): Likewise.
52165 [non-C99-based standards] (y0f): Likewise.
52166 [non-C99-based standards] (y1f): Likewise.
52167 [non-C99-based standards] (ynf): Likewise.
52168 [non-C99-based standards] (isnanf): Likewise.
52169 [non-C99-based standards] (acoshf): Likewise.
52170 [non-C99-based standards] (asinhf): Likewise.
52171 [non-C99-based standards] (atanhf): Likewise.
52172 [non-C99-based standards] (cbrtf): Likewise.
52173 [non-C99-based standards] (expm1f): Likewise.
52174 [non-C99-based standards] (ilogbf): Likewise.
52175 [non-C99-based standards] (log1pf): Likewise.
52176 [non-C99-based standards] (logbf): Likewise.
52177 [non-C99-based standards] (nextafterf): Likewise.
52178 [non-C99-based standards] (remainderf): Likewise.
52179 [non-C99-based standards] (rintf): Likewise.
52180 [non-C99-based standards] (scalbf): Likewise.
52181 [non-C99-based standards] (copysignl): Likewise.
52182 [non-C99-based standards] (exp2l): Likewise.
52183 [non-C99-based standards] (log2l): Likewise.
52184 [non-C99-based standards] (modfl): Allow.
52185 [non-C99-based standards] (erfl): Do not allow.
52186 [non-C99-based standards] (erfcl): Likewise.
52187 [non-C99-based standards] (gammal): Likewise.
52188 [non-C99-based standards] (hypotl): Likewise.
52189 [non-C99-based standards] (j0l): Likewise.
52190 [non-C99-based standards] (j1l): Likewise.
52191 [non-C99-based standards] (jnl): Likewise.
52192 [non-C99-based standards] (lgammal): Likewise.
52193 [non-C99-based standards] (tgammal): Likewise.
52194 [non-C99-based standards] (y0l): Likewise.
52195 [non-C99-based standards] (y1l): Likewise.
52196 [non-C99-based standards] (ynl): Likewise.
52197 [non-C99-based standards] (isnanl): Likewise.
52198 [non-C99-based standards] (acoshl): Likewise.
52199 [non-C99-based standards] (asinhl): Likewise.
52200 [non-C99-based standards] (atanhl): Likewise.
52201 [non-C99-based standards] (cbrtl): Likewise.
52202 [non-C99-based standards] (expm1l): Likewise.
52203 [non-C99-based standards] (ilogbl): Likewise.
52204 [non-C99-based standards] (log1pl): Likewise.
52205 [non-C99-based standards] (logbl): Likewise.
52206 [non-C99-based standards] (nextafterl): Likewise.
52207 [non-C99-based standards] (remainderl): Likewise.
52208 [non-C99-based standards] (rintl): Likewise.
52209 [non-C99-based standards] (scalbl): Likewise.
52210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52211 [non-C99-based standards] (FP_*): Do not allow.
52212 [C99-based standards] (FP_*): Change to
52213 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52214 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52215 allow.
52216 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52217 (SIG_ERR): Likewise.
52218 [X/Open-based standards] (SIG_HOLD): Likewise.
52219 (SIG_IGN): Likewise.
52220 (SIGABRT): Use macro-int-constant. Specify type. Require
52221 positive value.
52222 (SIGFPE): Likewise.
52223 (SIGILL): Likewise.
52224 (SIGINT): Likewise.
52225 (SIGSEGV): Likewise.
52226 (SIGTER): Likewise.
52227 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52228 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52229 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52230 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52231 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52232 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52233 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52234 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52235 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52236 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52237 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52238 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52239 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52240 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52241 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52242 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52243 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52244 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52245 [X/Open-based standards] (SIGTRAP): Likewise.
52246 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52247 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52248 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52249 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52250 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52251 allow.
52252
52253 2012-05-08 Ian Wienand <ianw@vmware.com>
52254
52255 [BZ #14080]
52256 * time/tzset.c (__tzset_parse_tz): Update default rules for
52257 daylight time changes in the Energy Policy Act of 2005.
52258
52259 2012-05-09 Andreas Jaeger <aj@suse.de>
52260
52261 [BZ #13983]
52262 * elf/ldconfig.c (parse_conf): Change string to make clear that
52263 ldconfig only issued a warning if ld.so.conf does not exist.
52264
52265 2012-05-08 David S. Miller <davem@davemloft.net>
52266
52267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52268 movxtod instead of popping the value on the stack.
52269
52270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52271
52272 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52273
52274 * config.h.in: Add HAVE_ARM_PCS_VFP.
52275
52276 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52277
52278 [BZ #13979]
52279 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52280 checking but the checks are disabled for any reason.
52281
52282 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52283
52284 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52285 and ELF64_R_TYPE with ELFW(R_TYPE).
52286
52287 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52288
52289 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52290 (ulimit): Likewise.
52291
52292 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52293 (settimeofday): Likewise.
52294
52295 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52296
52297 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52298 a struct th_u2 inside the union, and move tu_block/tu_code into
52299 a new th_u3 union of tu_block/tu_code inside of that. Move
52300 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52301 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52302 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52303 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52304 (th_stuff): Change to th_u1.tu_stuff.
52305 (th_data): Define.
52306 (th_msg): Change to th_u1.th_u2.tu_data.
52307
52308 2012-05-07 David S. Miller <davem@davemloft.net>
52309
52310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52311
52312 [BZ #14074]
52313 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52314 (SETUP_PIC_REG): Use it.
52315 (SETUP_PIC_REG_LEAF): Use it.
52316
52317 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52318
52319 [BZ #13885]
52320 [BZ #13923]
52321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52322 USE_AS_EXPM1L.
52323 (EXPL_FINITE): Likewise.
52324 (FLDLOG): Likewise.
52325 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52326 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52327 e_expl.S.
52328 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52329 USE_AS_EXPM1L.
52330 (EXPL_FINITE): Likewise.
52331 (FLDLOG): Likewise.
52332 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52333 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52334 e_expl.S.
52335 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52336 test of -max_value argument for long double.
52337 * sysdeps/i386/fpu/libm-test-ulps: Update.
52338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52339
52340 2012-05-06 David S. Miller <davem@davemloft.net>
52341
52342 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52343 quad soft-float symbols whose references which are compiler
52344 generated.
52345 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52346
52347 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52348
52349 [BZ #13884]
52350 [BZ #13914]
52351 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52352 USE_AS_EXP10L.
52353 (EXPL_FINITE): Likewise.
52354 (FLDLOG): Likewise.
52355 (c0): Likewise.
52356 (c1): Likewise.
52357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52358 Adjust comments for base varying.
52359 (__expl_finite): Change alias to EXPL_FINITE.
52360 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52361 e_expl.S.
52362 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52363 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52364 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52365 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52367 USE_AS_EXP10L.
52368 (EXPL_FINITE): Likewise.
52369 (FLDLOG): Likewise.
52370 (c0): Likewise.
52371 (c1): Likewise.
52372 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52373 Adjust comments for base varying.
52374 (__expl_finite): Change alias to EXPL_FINITE.
52375 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52376 tests for bugs.
52377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52378
52379 [BZ #14064]
52380 * math/libm-test.inc (check_float_internal): Correct ulp
52381 calculation for subnormal expected results.
52382
52383 2012-05-06 Andreas Jaeger <aj@suse.de>
52384
52385 * Makeconfig (+math-flags): New, set to -frounding-math.
52386 (+cflags): Add +math-flags so that all of glibc gets compiled with
52387 it.
52388
52389 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52390
52391 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52392
52393 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52394 Disable one test.
52395
52396 [BZ #13787]
52397 [BZ #13922]
52398 [BZ #14036]
52399 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52400 (__ieee754_expl): Allow for and saturate large arguments.
52401 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52402 (u_threshold): Likewise.
52403 (__exp): Call __ieee754_exp before checking for overflow and
52404 underflow.
52405 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52406 (u_threshold): Likewise.
52407 (__expf): Call __ieee754_expf before checking for overflow and
52408 underflow.
52409 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52410 (u_threshold): Likewise.
52411 (__expl): Call __ieee754_expl before checking for overflow and
52412 underflow.
52413 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52414 (__ieee754_expl): Allow for and saturate large arguments.
52415 * math/libm-test.inc (exp_test): Add another test. Do not allow
52416 missing overflow exception on overflow.
52417 (expm1_test): Do not allow missing overflow exception on overflow.
52418
52419 * sysdeps/i386/fpu/e_expl.c: Move to ...
52420 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52421 rather than using inline asm.
52422 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52423 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52424 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52425
52426 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52427 (nice): Likewise.
52428 (poll): Likewise.
52429 (signal): Likewise.
52430 (time): Likewise.
52431 (times): Likewise.
52432
52433 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52434
52435 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52436 sysdeps/unix/common/syscalls.list.
52437 (fchmod): Likewise.
52438 (fchown): Likewise.
52439 (ftruncate): Likewise.
52440 (getrusage): Likewise.
52441 (gettimeofday): Likewise.
52442 (setpgid): Likewise.
52443 (setregid): Likewise.
52444 (setreuid): Likewise.
52445 (sigaction): Likewise.
52446 (truncate): Likewise.
52447 (vhangup): Likewise.
52448 * sysdeps/unix/common/syscalls.list: Remove file.
52449 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52450 * sysdeps/unix/sysv/linux/Implies: Likewise.
52451
52452 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52453
52454 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52456 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52457 Moved to ...
52458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52459 Here.
52460 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52461 to ...
52462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52463 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52464 to ...
52465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52466 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52467 to ...
52468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52469 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52470 to ...
52471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52472 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52473 to ...
52474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52475 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52476 to ...
52477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52478 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52479 to ...
52480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52481 Here.
52482 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52483 to ...
52484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52485 Here.
52486 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52487 to ...
52488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52489 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52490 Moved to ...
52491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52492 Here.
52493 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52494 to ...
52495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52496
52497 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52498
52499 * sysdeps/unix/common/bits/dirent.h: Remove file.
52500 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52501
52502 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52503 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52504 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52505 * sysdeps/unix/bsd/isatty.c: Likewise.
52506 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52507 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52508 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52509
52510 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52511
52512 [BZ #13563]
52513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52514 long double comparison inaccuracies.
52515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52517
52518 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52519
52520 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52522
52523 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52524
52525 [BZ #14049]
52526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52527 nonzero digits before rounding a hex value.
52528 * stdlib/tst-strtod.c (tests): Add another test.
52529
52530 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52531
52532 * sysdeps/s390/fpu/libm-test-ulps: Update.
52533
52534 2012-05-03 Andreas Jaeger <aj@suse.de>
52535
52536 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52537 does not get optimized out.
52538 (malloc_opt_barrier): New.
52539
52540 2012-05-03 Andreas Jaeger <aj@suse.de>
52541 Roland McGrath <roland@hack.frob.com>
52542
52543 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52544 intermediate file deletion.
52545 (generated): Add .symlist files.
52546
52547 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52548
52549 [BZ #13775]
52550 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52551 Redirect under this condition.
52552 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52553 [__USE_GNU] (__dprintf_chk): Not under this condition.
52554 [__USE_GNU] (__vdprintf_chk): Likewise.
52555 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52556 under this condition.
52557 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52558 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52559 [__USE_XOPEN2K8] (vdprintf): Likewise.
52560 [__USE_GNU] (__dprintf_chk): Not under this condition.
52561 [__USE_GNU] (__vdprintf_chk): Likewise.
52562 [__USE_GNU] (dprintf): Likewise.
52563 [__USE_GNU] (vdprintf): Likewise.
52564
52565 2012-05-03 Roland McGrath <roland@hack.frob.com>
52566
52567 * elf/Makefile (common-generated): Set this instead of generated for
52568 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52569 $(all-built-dso)-derived lists.
52570
52571 2012-05-03 Andreas Jaeger <aj@suse.de>
52572
52573 * sysdeps/i386/fpu/libm-test-ulps: Update.
52574
52575 * FAQ: Removed.
52576 * FAQ.in: Likewise.
52577 * scripts/gen-FAQ.pl: Likewise.
52578 * manual/install.texi (Installation): Point to online location of
52579 FAQ.
52580 * Makefile (files-for-dist): Remove FAQ.
52581 (FAQ): Remove.
52582
52583 2012-05-02 Allan McRae <allan@archlinux.org>
52584
52585 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52586 (LDFLAGS-reldepmod5.so): Likewise.
52587 (LDFLAGS-reldep6mod1.so): Likewise.
52588 (LDFLAGS-reldep6mod4.so): Likewise.
52589 (LDFLAGS-reldep8mod3.so): Likewise.
52590 (LDFLAGS-unload4mod1.so): Likewise.
52591 (LDFLAGS-unload4mod2.so): Likewise.
52592 (LDFLAGS-tst-initorder): Likewise.
52593 (LDFLAGS-tst-initordera2.so): Likewise.
52594 (LDFLAGS-tst-initordera3.so): Likewise.
52595 (LDFLAGS-tst-initordera4.so): Likewise.
52596 (LDFLAGS-tst-initorderb2.so): Likewise.
52597 (LDFLAGS-noload): Likewise.
52598 (LDFLAGS-next): Likewise.
52599 (LDFLAGS-order2mod1.so): Likewise.
52600 (LDFLAGS-order2mod2.so): Likewise.
52601 (LDFLAGS-tst-initorder2): Likewise.
52602 (LDFLAGS-tst-initorder2a.so): Likewise.
52603 (LDFLAGS-tst-initorder2b.so): Likewise.
52604 (LDFLAGS-tst-initorder2c.so): Likewise.
52605 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52606
52607 2012-05-02 David S. Miller <davem@davemloft.net>
52608
52609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52610
52611 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52612
52613 [BZ #14055]
52614 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52615
52616 2012-05-02 Andreas Jaeger <aj@suse.de>
52617
52618 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52619 since we manipulate rounding mode.
52620 (CPPFLAGS-test-idouble.c): Likewise.
52621 (CPPFLAGS-test-ifloat.c): Likewise.
52622 (CFLAGS-test-ldouble.c): Likewise.
52623 (CFLAGS-test-double.c): Likewise.
52624 (CFLAGS-test-float.c): Likewise.
52625 (CFLAGS-test-misc.c): Likewise.
52626 (CFLAGS-test-test-fenv.c): Likewise.
52627
52628 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52629
52630 [BZ #2550]
52631 [BZ #2570]
52632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52633 comparisons to determine direction to adjust input.
52634
52635 2012-05-01 Roland McGrath <roland@hack.frob.com>
52636
52637 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52638 output to the target.
52639
52640 * scripts/localplt.awk: New file.
52641 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52642 (check-localplt-CFLAGS): Variable removed.
52643 ($(all-built-dso:=.jmprel)): New static pattern rule.
52644 (generated): Add those targets.
52645 (localplt-built-dso): New variable.
52646 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52647
52648 * elf/check-localplt.c: File removed.
52649
52650 * scripts/check-execstack.awk: New file.
52651 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52652 (check-execstack-CFLAGS): Variable removed.
52653 ($(objpfx)check-execstack.h): Target removed.
52654 ($(objpfx)execstack-default): New target.
52655 (generated): Add that instead of check-execstack.h.
52656 ($(all-built-dso:=.phdr)): New static pattern rule.
52657 (generated): Add those targets.
52658 * elf/check-execstack.c: File removed.
52659
52660 * scripts/check-textrel.awk: New file.
52661 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52662 (check-textrel-CFLAGS): Variable removed.
52663 (all-built-dso): Use := to define.o
52664 ($(all-built-dso:=.dyn)): New static pattern rule.
52665 (generated): Add those targets.
52666 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52667 * config.make.in (READELF): New substituted variable.
52668 * elf/check-textrel.c: File removed.
52669
52670 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52671
52672 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52673 allow.
52674 * conform/data/ctype.h-data [C99-based standards] (isblank):
52675 Expect function.
52676 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52677 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52679 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52680 Specify type. Require positive value.
52681 (EILSEQ): Likewise.
52682 (ERANGE): Likewise.
52683 [ISO || POSIX] (EILSEQ): Do not expect.
52684 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52685 Specify type. Require positive value.
52686 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52687 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52688 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52689 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52690 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52691 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52692 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52693 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52694 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52695 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52696 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52697 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52698 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52699 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52700 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52701 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52702 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52703 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52704 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52705 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52706 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52707 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52708 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52709 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52710 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52711 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52712 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52713 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52714 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52715 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52716 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52717 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52718 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52719 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52720 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52721 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52722 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52723 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52724 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52725 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52726 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52727 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52728 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52729 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52730 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52731 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52732 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52733 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52734 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52735 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52736 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52737 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52738 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52739 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52740 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52741 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52742 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52743 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52744 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52745 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52746 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52747 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52748 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52749 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52750 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52751 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52752 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52753 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52754 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52755 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52756 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52757 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52758 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52759 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52760 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52761 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52762 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52763 Require >= 2.
52764 (FLT_ROUNDS): Expect as macro, not constant.
52765 (FLT_MANT_DIG): Use macro-int-constant.
52766 (DBL_MANT_DIG): Likewise.
52767 (LDBL_MANT_DIG): Likewise.
52768 (FLT_DIG): Likewise.
52769 (DBL_DIG): Likewise.
52770 (LDBL_DIG): Likewise.
52771 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52772 (DBL_MIN_EXP): Likewise.
52773 (LDBL_MIN_EXP): Likewise.
52774 (FLT_MAX_EXP): Use macro-int-constant.
52775 (DBL_MAX_EXP): Likewise.
52776 (LDBL_MAX_EXP): Likewise.
52777 (FLT_MAX_10_EXP): Likewise.
52778 (DBL_MAX_10_EXP): Likewise.
52779 (LDBL_MAX_10_EXP): Likewise.
52780 (FLT_MAX): Use macro-constant.
52781 (DBL_MAX): Likewise.
52782 (LDBL_MAX): Likewise.
52783 (FLT_EPSILON): Use macro-constant. Give upper bound.
52784 (DBL_EPSILON): Likewise.
52785 (LDBL_EPSILON): Likewise.
52786 (FLT_MIN): Likewise.
52787 (DBL_MIN): Likewise.
52788 (LDBL_MIN): Likewise.
52789 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52790 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52791 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52792 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52793 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52794 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52795 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52796 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52797 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52798 [ISO11] (FLT_TRUE_MIN): Likewise.
52799 [ISO11] (LDBL_TRUE_MIN): Likewise.
52800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52801 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52802 (SCHAR_MIN): Use macro-int-constant. Specify type.
52803 (SCHAR_MAX): Likewise.
52804 (UCHAR_MAX): Likewise.
52805 (CHAR_MIN): Likewise.
52806 (CHAR_MAX): Likewise.
52807 (MB_LEN_MAX): Use macro-int-constant.
52808 (SHRT_MIN): Use macro-int-constant. Specify type.
52809 (SHRT_MAX): Likewise.
52810 (USHRT_MAX): Likewise.
52811 (INT_MAX): Likewise.
52812 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52813 bound negative.
52814 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52815 bound with "U".
52816 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52817 bound with "L".
52818 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52819 bound negative. Suffix upper bound with "L".
52820 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52821 bound with "UL".
52822 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52823 Specify type.
52824 [C99-based standards] (LLONG_MAX): Likewise.
52825 [C99-based standards] (ULLONG_MAX): Likewise.
52826 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52827 == 0.
52828 [ISO11] (max_align_t): Require type.
52829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52830
52831 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52832 from $CFLAGS, without defining away __attribute__ calls.
52833 (checknamespace): Use $CFLAGS_namespace.
52834
52835 * conform/conformtest.pl (@keywords): Only include C99 keywords
52836 for standards based on C99 or C11.
52837
52838 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52839 Disable tests.
52840 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52841 UNIX98]: Likewise.
52842
52843 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52844 usability of symbols in #if.
52845
52846 * conform/conformtest.pl: If macro or constant types start
52847 "promoted:", expect the symbol to be of the following type
52848 promoted by the integer promotions.
52849
52850 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52851 in one place. Also handle "macro-constant".
52852
52853 * conform/conformtest.pl: Only accept expected macro values with
52854 "==". Parse all "macro" lines in one place.
52855 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52856
52857 * conform/conformtest.pl: Handle braced types on "constant" lines
52858 instead of handling "typed-constant".
52859 * conform/data/signal.h-data: Use "constant" instead of
52860 "typed-constant".
52861
52862 * conform/conformtest.pl: Handle "optional-" at start of lines in
52863 one place rather than duplicating several cases. Handle each
52864 format of "macro" line with initial "optional-".
52865
52866 * conform/conformtest.pl: Only accept expected constant or
52867 optional-constant values with "==". Parse all "constant" lines in
52868 one place. Parse all "optional-constant" lines in one place.
52869 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52870 * conform/data/fmtmsg.h-data: Likewise.
52871 * conform/data/netinet/in.h-data: Likewise.
52872 * conform/data/tar.h-data: Likewise.
52873 * conform/data/limits.h-data: Use "==" form on "constant" and
52874 "optional-constant" lines.
52875
52876 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52877 Use -std=c99 for XOPEN2K.
52878 (@knownproblems): Remove.
52879 (newtoken): Don't check %isknown.
52880
52881 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52882 Do not expect macro.
52883 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52884 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52885 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52886 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52887 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52888 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52889 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52890 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52891 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52892 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52893 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52894 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52895 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52896 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52897 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52898 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52899 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52900 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52901 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52902 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52903 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52904 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52905 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52906 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52907 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52908 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52909 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52910 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52911 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52912 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52913 [XPG3] (acosh): Likewise.
52914 [XPG3] (asinh): Likewise.
52915 [XPG3] (atanh): Likewise.
52916 [XPG3] (cbrt): Likewise.
52917 [XPG3] (expm1): Likewise.
52918 [XPG3] (ilogb): Likewise.
52919 [XPG3] (log1p): Likewise.
52920 [XPG3] (logb): Likewise.
52921 [XPG3] (nextafter): Likewise.
52922 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52923 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52924 [XPG3] (remainder): Likewise.
52925 [XPG3] (rint): Likewise.
52926 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52927 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52928 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52929 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52930 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52931 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52932 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52933 [UNIX98 || XOPEN2K] (scalb): Expect.
52934 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52935 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52936 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52937 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52938 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52939 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52940 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52941 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52942 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52943 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52944 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52945 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52946 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52947 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52948 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52949 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52950 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52951 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52952 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52953 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52954 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52955 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52956 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52957 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52958 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52959 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52960 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52961 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52962 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52963 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52964 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52965 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52966 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52967 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52968 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52969 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52970 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52971 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52972 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52973 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52974 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52975 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52976 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52977 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52978 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52979 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52980 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52981 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52982 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52983 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52984 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52985 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52986 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52987 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52988 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52989 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52990 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52991 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52992 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52993 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52994 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52995 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52996 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52997 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52998 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52999 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53000 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53001 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53002 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53003 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53004 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53005 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53006 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53007 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53008 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53009 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53010 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53011 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53012 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53013 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53014 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53015 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53016 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53017 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53018 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53019 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53020 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53021 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53022 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53023 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53024 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53025 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53026 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53027 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53028 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53029 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53030 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53031 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53032 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53033 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53034 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53035 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53036 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53037 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53038 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53039 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53040 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53041 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53042 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53043 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53044 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53045 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53046 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53047 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53048 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53049 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53050 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53051 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53052 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53053 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53054 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53055 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53056 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53057 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53058 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53059 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53060 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53061 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53062 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53063 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53064 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53065 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53066 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53067 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53068 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53069 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53070 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53071
53072 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53073 _XOPEN_SOURCE_EXTENDED for XPG4.
53074
53075 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53076
53077 * Makeconfig (localtime): Remove variable.
53078 (inst_localtime-file): Likewise.
53079
53080 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53081
53082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53083 Update.
53084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53085 Update.
53086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53087 Update.
53088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53089 Update.
53090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53091 Update.
53092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53093 Update.
53094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53095 Update.
53096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53097 Update.
53098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53099 Update.
53100
53101 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53102
53103 [BZ #2550]
53104 [BZ #2570]
53105 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53106 comparisons to determine direction to adjust input.
53107 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53108 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53110 Likewise.
53111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53112 Likewise.
53113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53114 Likewise.
53115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53117 Likewise.
53118 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53119 Likewise.
53120 * math/libm-test.inc (nexttoward_test): Add more tests.
53121
53122 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53123
53124 [BZ #14040]
53125 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53126 in version GLIBC_2.1, not GLIBC_2.0.
53127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53128 Likewise.
53129
53130 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53131
53132 [BZ #13942]
53133 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53134 (1 - x) * (1 + x).
53135 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53136 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53137 * math/libm-test.inc (acos_test): Add more tests.
53138 (asin_test): Likewise.
53139 * sysdeps/i386/fpu/libm-test-ulps: Update.
53140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53141
53142 [BZ #14034]
53143 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53144 of square root.
53145 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53146 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53147 * math/libm-test.inc (acos_test_tonearest): New function.
53148 (acos_test_towardzero): Likewise.
53149 (acos_test_downward): Likewise.
53150 (acos_test_upward): Likewise.
53151 (asin_test_tonearest): Likewise.
53152 (asin_test_towardzero): Likewise.
53153 (asin_test_downward): Likewise.
53154 (asin_test_upward): Likewise.
53155 (main): Call the new functions.
53156 * sysdeps/i386/fpu/libm-test-ulps: Update.
53157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53158
53159 [BZ #13884]
53160 [BZ #13924]
53161 * math/e_exp10.c: Include <float.h>.
53162 (__ieee754_exp10): Handle underflow here rather than multiplying
53163 large negative argument by M_LN10.
53164 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53165 of __ieee754_expf.
53166 * math/e_exp10l.c: Include <float.h>.
53167 (__ieee754_exp10l): Handle underflow here rather than multiplying
53168 large negative argument by M_LN10l.
53169 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53170 spurious overflow exception on underflow.
53171
53172 2012-04-29 Marek Polacek <polacek@redhat.com>
53173
53174 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53175 (__fortify_function): New macro.
53176 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53177 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53178 __extern_always_inline.
53179 * libio/bits/stdio2.h: Likewise.
53180 * libio/bits/stdio.h: Likewise.
53181 * string/string.h: Likewise.
53182 * string/bits/string3.h: Likewise.
53183 * include/stdio.h: Likewise.
53184 * stdlib/bits/stdlib.h: Likewise.
53185 * stdlib/stdlib.h: Likewise.
53186 * rt/bits/mqueue2.h: Likewise.
53187 * rt/mqueue.h: Likewise.
53188 * posix/bits/unistd.h: Likewise.
53189 * posix/unistd.h: Likewise.
53190 * io/bits/poll2.h: Likewise.
53191 * io/bits/fcntl2.h: Likewise.
53192 * io/fcntl.h: Likewise.
53193 * io/sys/poll.h: Likewise.
53194 * misc/bits/syslog.h: Likewise.
53195 * misc/bits/syslog-ldbl.h: Likewise.
53196 * misc/sys/syslog.h: Likewise.
53197 * socket/bits/socket2.h: Likewise.
53198 * socket/sys/socket.h: Likewise.
53199 * debug/tst-chk1.c: Likewise.
53200 * wcsmbs/bits/wchar2.h: Likewise.
53201 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53202 * wcsmbs/wchar.h: Likewise.
53203
53204 2012-04-29 Andreas Jaeger <aj@suse.de>
53205
53206 * Makerules (tests): Remove enable-check-abi protection.
53207 (check-abi-warn): Remove.
53208 (check-abi-%): Remove check-abi-warn usage.
53209
53210 * configure.in: Remove check-abi configure option.
53211 * configure: Regenerated.
53212 * config.make.in (enable-check-abi): Remove.
53213
53214 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53215
53216 [BZ #14033]
53217 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53218 double functions to double *_finite functions.
53219
53220 [BZ #13941]
53221 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53222 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53223 LDBL_MIN_EXP.
53224 * stdio-common/Makefile (tests): Add tst-sprintf3.
53225 * stdio-common/tst-sprintf3.c: New file.
53226
53227 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53228 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53229
53230 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53231
53232 * conform/conformtest.pl: Remove duplicate typed-constant
53233 handling.
53234
53235 2012-04-28 David S. Miller <davem@davemloft.net>
53236
53237 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53238 (check-abi-%): Remove AWK script prerequisite and explicit
53239 abilist directory.
53240 (check-abi): Rewrite to just diff the symlist with the abilist.
53241 (config-tls, config-abi-config): Delete, no longer used.
53242 (update-abi-%): Remove AWK script and explicit abilist directory.
53243 (update-abi): Rewrite to simply compare and conditionally copy the
53244 symlist and the sysdep abilist file. Remove update-abi-config
53245 checks.
53246 * abilist/ld.abilist: Remove.
53247 * abilist/libBrokenLocale.abilist: Remove.
53248 * abilist/libanl.abilist: Remove.
53249 * abilist/libcrypt.abilist: Remove.
53250 * abilist/libdl.abilist: Remove.
53251 * abilist/librt.abilist: Remove.
53252 * abilist/libthread_db.abilist: Remove.
53253 * abilist/libutil.abilist: Remove.
53254 * scripts/extract-abilist.awk: Remove.
53255 * scripts/merge-abilist.awk: Remove.
53256 * sysdeps/generic/libcidn.abilist: New file.
53257 * sysdeps/generic/libnss_compat.abilist: New file.
53258 * sysdeps/generic/libnss_db.abilist: New file.
53259 * sysdeps/generic/libnss_dns.abilist: New file.
53260 * sysdeps/generic/libnss_files.abilist: New file.
53261 * sysdeps/generic/libnss_hesiod.abilist: New file.
53262 * sysdeps/generic/libnss_nis.abilist: New file.
53263 * sysdeps/generic/libnss_nisplus.abilist: New file.
53264 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53265 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53266 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53267 file.
53268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53269 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53270 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53271 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53272 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53274 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53275 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53276 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53277 file.
53278 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53279 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53280 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53281 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53282 file.
53283 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53284 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53285 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53287 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53288 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53289 file.
53290 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53291 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53292 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53293 file.
53294 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53296 New file.
53297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53298 New file.
53299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53300 New file.
53301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53302 New file.
53303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53304 New file.
53305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53306 New file.
53307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53308 New file.
53309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53310 New file.
53311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53312 New file.
53313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53314 New file.
53315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53316 New file.
53317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53318 New file.
53319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53320 New file.
53321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53322 file.
53323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53324 New file.
53325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53326 New file.
53327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53328 file.
53329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53330 New file.
53331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53332 New file.
53333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53334 file.
53335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53336 New file.
53337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53338 New file.
53339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53340 New file.
53341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53342 New file.
53343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53344 New file.
53345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53346 New file.
53347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53349 file.
53350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53351 New file.
53352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53353 file.
53354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53355 file.
53356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53357 file.
53358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53359 file.
53360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53361 file.
53362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53363 New file.
53364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53365 file.
53366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53367 file.
53368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53369 New file.
53370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53371 file.
53372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53374 file.
53375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53376 New file.
53377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53378 file.
53379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53380 file.
53381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53382 file.
53383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53384 file.
53385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53386 file.
53387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53388 New file.
53389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53390 file.
53391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53392 file.
53393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53394 New file.
53395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53396 file.
53397 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53398 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53399 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53400 file.
53401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53402 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53403 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53405 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53406 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53407 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53408 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53409 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53410 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53413 file.
53414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53415 New file.
53416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53417 file.
53418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53419 file.
53420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53421 file.
53422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53423 file.
53424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53425 file.
53426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53427 New file.
53428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53429 New file.
53430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53431 file.
53432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53433 New file.
53434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53435 file.
53436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53438 file.
53439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53440 New file.
53441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53442 file.
53443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53444 file.
53445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53446 file.
53447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53448 file.
53449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53450 file.
53451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53452 New file.
53453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53454 New file.
53455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53456 file.
53457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53458 New file.
53459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53460 file.
53461
53462 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53463
53464 * conform/conformtest.pl: Fix typo in handling typed-constant from
53465 allow-header.
53466
53467 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53468
53469 * README: Cut down references to pre-2.6 Linux kernels and
53470 Linuxthreads. Update lists of configurations in libc and ports
53471 and sort alphabetically. Say "or newer" with Linux kernel version
53472 requirements.
53473
53474 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53475
53476 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53477
53478 [BZ #887]
53479 * math/libm-test.inc (logb_test_downward): New test to expose
53480 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53481 rounding mode.
53482
53483 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53484
53485 [BZ #14027]
53486 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53487 to be done.
53488 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53489 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53490
53491 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53492
53493 * sysdeps/unix/i386/brk.S: Remove file.
53494 * sysdeps/unix/i386/dl-brk.S: Likewise.
53495 * sysdeps/unix/i386/pipe.S: Likewise.
53496 * sysdeps/unix/i386/sigreturn.S: Likewise.
53497 * sysdeps/unix/i386/syscall.S: Likewise.
53498 * sysdeps/unix/i386/vfork.S: Likewise.
53499 * sysdeps/unix/i386/wait.S: Likewise.
53500
53501 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53502 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53503
53504 * configure.in (arm*-none*): Do not allow without
53505 --enable-hacker-mode.
53506 (netbsd*): Remove case setting base_os.
53507 (386bsd*): Likewise.
53508 (freebsd*): Likewise.
53509 (bsdi*): Likewise.
53510 (osf*): Likewise.
53511 (sunos*): Likewise.
53512 (ultrix*): Likewise.
53513 (newsos*): Likewise.
53514 (dynix*): Likewise.
53515 (*bsd*): Likewise.
53516 (sysv*): Likewise.
53517 (isc*): Likewise.
53518 (esix*): Likewise.
53519 (sco*): Likewise.
53520 (minix*): Likewise.
53521 (irix4*): Likewise.
53522 (irix6*): Likewise.
53523 (solaris[2-9]*): Likewise.
53524 (none): Likewise.
53525 * configure: Regenerated.
53526
53527 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53528
53529 [BZ #11521]
53530 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53531 overflow or cancellation in calculating denominator.
53532 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53534 down expression to avoid unexpected rounding in newer GCCs.
53535 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53536
53537 2012-04-26 David S. Miller <davem@davemloft.net>
53538
53539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53540 long-double compat symbols.
53541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53554
53555 2012-04-25 David S. Miller <davem@davemloft.net>
53556
53557 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53558 HWCAP_* values only after the memory barriers have been defined.
53559 (atomic_full_barrier): Define.
53560 (atomic_read_barrier): Define.
53561 (atomic_write_barrier): Define.
53562
53563 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53564
53565 * shlib-versions: Add libgcc_s version information.
53566 * sysdeps/generic/libgcc_s.h: Remove.
53567 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53568 libgcc_s.h.
53569 * sysdeps/gnu/unwind-resume.c: Likewise.
53570 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53571
53572 2012-04-25 David S. Miller <davem@davemloft.net>
53573
53574 * sysdeps/unix/sparc/brk.S: Delete.
53575 * sysdeps/unix/sparc/dl-brk.S: Delete.
53576 * sysdeps/unix/sparc/pipe.S: Delete.
53577 * sysdeps/unix/sparc/sysdep.S: Delete.
53578 * sysdeps/unix/sparc/sysdep.h: Delete.
53579 * sysdeps/unix/sparc/vfork.S: Delete.
53580 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53581 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53582 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53583 (ret_ERRVAL, r0, r1, MOVE): Define.
53584 (JUMPTARGET): Remove.
53585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53586 sysdeps/unix/sparc/sysdep.h
53587 (ENTRY, END): Remove.
53588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53589
53590 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53591
53592 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53593 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53594 -DIS_IN_build.
53595
53596 * timezone/README: Update upstream location and email address for
53597 tzcode and tzdata.
53598 * timezone/zdump.c: Update from tzcode 2012b.
53599 * timezone/zic.c: Likewise.
53600
53601 * configure.in (libc_cv_as_needed): Remove test.
53602 * configure: Regenerated.
53603 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53604 conditional definition.
53605 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53606 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53607 * config.make.in (have-as-needed): Remove variable.
53608
53609 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53610 Paul Pluzhnikov <ppluzhnikov@google.com>
53611
53612 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53613 strings correctly.
53614
53615 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53616
53617 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53618 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53619 * sysdeps/sh/strlen.S: Likewise.
53620
53621 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53622
53623 * sysdeps/unix/fork.S: Remove file.
53624 * sysdeps/unix/i386/fork.S: Likewise.
53625 * sysdeps/unix/sparc/fork.S: Likewise.
53626
53627 * sysdeps/unix/system.c: Remove file.
53628 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53629
53630 * sysdeps/unix/getegid.S: Remove file.
53631 * sysdeps/unix/geteuid.S: Likewise.
53632
53633 2012-04-24 Roland McGrath <roland@hack.frob.com>
53634
53635 * scripts/check-localplt.awk: New file.
53636 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53637 of diff.
53638 * scripts/data/localplt-generic.data: Add a comment.
53639
53640 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53641 NODE when __dir_mkfile failed.
53642 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53643 Reported by Ludovic Courtès <ludo@gnu.org>.
53644
53645 2012-04-24 Andreas Jaeger <aj@suse.de>
53646
53647 * Makerules (common-clean): Also remove gen-as-const-headers
53648 files.
53649
53650 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53651
53652 * Makerules (native-compile): Do not change working directory for
53653 build. Use $(OUTPUT_OPTION) in command.
53654 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53655
53656 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53657
53658 [BZ #13886]
53659 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53660 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53661 * math/libm-test.inc (floor_test): Add more tests.
53662 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53663
53664 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53665
53666 * sysdeps/unix/getdents.c: Remove file.
53667 * sysdeps/unix/sysv/getdents.c: Likewise.
53668 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53669
53670 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53671 sysdeps/unix/mman/syscalls.list.
53672 (mmap): Likewise.
53673 (mprotect): Likewise.
53674 (msync): Likewise.
53675 (munmap): Likewise.
53676 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53677 * sysdeps/unix/mman/syscalls.list: Remove.
53678 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53679
53680 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53681 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53682 * configure: Regenerated.
53683 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53684 $(libgcc_s_suffix).
53685 * config.make.in (libgcc_s_suffix): Remove variable.
53686
53687 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53688
53689 * sysdeps/unix/sysv/gethostname.c: Move to ...
53690 * sysdeps/posix/gethostname.c: ... here.
53691
53692 * sysdeps/unix/execve.S: Remove file.
53693
53694 * sysdeps/unix/_exit.S: Remove file.
53695
53696 2012-04-23 Andreas Jaeger <aj@suse.de>
53697
53698 [BZ #13739]
53699 * manual/Makefile: Remove make dist support, there's no
53700 need for a stand-alone documentation tar ball.
53701 (TEXI2DVI): Define always, it's not in Makeconfig.
53702 (dist): Removed.
53703 (tar-it): Removed.
53704 (edition): Removed.
53705 (glibc-doc-$(edition).tar): Removed
53706 (%.Z): Removed.
53707 (%.gz): Removed.
53708 (%.uu): Removed.
53709 (ETAGS): Remove, it's in Makeconfig.
53710 (move-if-change): Remove, it's in Makeconfig.
53711
53712 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53713
53714 [BZ #13970]
53715 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53716 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53717 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53718 (strtod_l, strtof_l, strtold_l): Remove __wur.
53719 It is not necessarily an error to ignore strtol's return value.
53720 One can reliably look at the stored endptr to decide whether
53721 the number had valid syntax.
53722
53723 2012-04-21 Andreas Jaeger <aj@suse.de>
53724
53725 [BZ #13739]
53726 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53727
53728 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53729
53730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53731 * sysdeps/unix/sysv/Versions: Remove file.
53732
53733 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53734
53735 [BZ #13927]
53736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53737
53738 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53739
53740 [BZ #7064]
53741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53742 version from __vm86.
53743
53744 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53745
53746 * sysdeps/unix/common/lxstat.c: Remove file.
53747 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53748
53749 * sysdeps/unix/sysv/Makefile: Remove file.
53750
53751 * sysdeps/unix/sysv/direct.h: Remove file.
53752
53753 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53754 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53755 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53756 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53757 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53758 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53759 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53760
53761 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53762
53763 * sysdeps/unix/xmknod.c: Remove file.
53764 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53765
53766 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53767
53768 * sysdeps/unix/sysv/i386/time.S: Remove file.
53769
53770 * sysdeps/unix/fxstat.c: Remove file.
53771 * sysdeps/unix/xstat.c: Likewise.
53772 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53773
53774 * sysdeps/unix/sysv/sigaction.c: Remove file.
53775
53776 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53777 (sysdep_headers): Remove variable.
53778 [termio.h not in sysdep_headers] (generated): Likewise.
53779 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53780 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53781 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53782 * sysdeps/unix/sysv/tcflow.c: Likewise.
53783 * sysdeps/unix/sysv/tcflush.c: Likewise.
53784 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53785 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53786 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53787 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53788 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53789
53790 * sysdeps/unix/siglist.c: Remove file.
53791
53792 * sysdeps/unix/getppid.S: Remove file.
53793
53794 * sysdeps/unix/mkdir.c: Remove file.
53795 * sysdeps/unix/rmdir.c: Likewise.
53796
53797 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53798
53799 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53800 ERR_MAX value.
53801 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53802 errlist-compat value.
53803
53804 2012-04-18 David S. Miller <davem@davemloft.net>
53805
53806 * sysdeps/generic/memcopy.h (reg_char): Delete.
53807 * debug/strcat_chk.c: Use char, not reg_char.
53808 * debug/strcpy_chk.c: Likewise.
53809 * debug/strncat_chk.c: Likewise.
53810 * debug/strncpy_chk.c: Likewise.
53811 * string/memchr.c: Likewise.
53812 * string/memrchr.c: Likewise.
53813 * string/rawmemchr.c: Likewise.
53814 * string/strcat.c: Likewise.
53815 * string/strchr.c: Likewise.
53816 * string/strchrnul.c: Likewise.
53817 * string/strcmp.c: Likewise.
53818 * string/strcpy.c: Likewise.
53819 * string/strncat.c: Likewise.
53820 * string/strncmp.c: Likewise.
53821 * string/strncpy.c: Likewise.
53822
53823 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53824
53825 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53826 __builtin_memcopy is called when src and dest ranges are known to not
53827 overlap.
53828
53829 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53830
53831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53832 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53833 fwd_align_merge macro call.
53834 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53835 bwd_align_merge macro call.
53836 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53837
53838 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53839
53840 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53841 bwd_align_merge macros.
53842 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53843 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53844 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53845
53846 2012-04-18 David S. Miller <davem@davemloft.net>
53847
53848 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53849
53850 2012-04-18 Andreas Jaeger <aj@suse.de>
53851
53852 [BZ# 6794]
53853 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53854 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53856
53857 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53858 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53859 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53860
53861 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53862 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53863 Adjust for changed ldbl-128 files.
53864
53865 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53866 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53867 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53868
53869 2012-04-17 David S. Miller <davem@davemloft.net>
53870
53871 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53872
53873 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53874
53875 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53876 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53877 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53878 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53879 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53880 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53881
53882 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53883
53884 [BZ #6794]
53885 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53886 * math/libm-test.inc: Add ilogb errno and exception tests.
53887 * math/w_ilogb.c: New file: ilogb wrapper.
53888 * math/w_ilogbf.c: New file: ilogbf wrapper.
53889 * math/w_ilogbl.c: New file: ilogbl wrapper.
53890 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53891 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53892 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53893 exception being thrown with 0.0 as argument.
53894 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53895 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53896 exception being thrown with 0.0 as argument.
53897 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53898 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53899 exception being thrown with 0.0 as argument.
53900 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53901 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53902 exception being thrown with 0.0 as argument.
53903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53904 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53905 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53906 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53907 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53908 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53909 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53910 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53911 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53912
53913 2012-04-17 Petr Baudis <pasky@ucw.cz>
53914
53915 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53916 with altivec.
53917
53918 2012-04-16 Marek Polacek <polacek@redhat.com>
53919
53920 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53921
53922 2012-04-16 Marek Polacek <polacek@redhat.com>
53923
53924 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53925 operands of fdivp instruction.
53926
53927 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53928
53929 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53930 * elf/tst-auditmod3b.c: Likewise.
53931 * elf/tst-auditmod4b.c: Likewise.
53932 * elf/tst-auditmod5b.c: Likewise.
53933 * elf/tst-auditmod6b.c: Likewise.
53934 * elf/tst-auditmod6c.c: Likewise.
53935 * elf/tst-auditmod7b.c: Likewise.
53936 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53937 * sysdeps/x86_64/preconfigure.in: Likewise.
53938 * sysdeps/x86_64/preconfigure: Regenerated.
53939
53940 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53941
53942 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53943 __ILP32__.
53944
53945 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53946
53947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53948 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53949
53950 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53951
53952 [BZ #13973]
53953 * locale/iso-639.def: Fix gl language name. Spotted by
53954 Yaron Shahrabani.
53955
53956 2012-04-12 Roland McGrath <roland@hack.frob.com>
53957
53958 [BZ #2074]
53959 * libio/libio.h (__io_write_fn): Update comment.
53960
53961 2012-04-12 Petr Baudis <pasky@ucw.cz>
53962
53963 [BZ #2074]
53964 * stdio.texi (Hook Functions): The user provided writer function
53965 is not allowed to return -1.
53966
53967 2012-04-11 David S. Miller <davem@davemloft.net>
53968
53969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53970
53971 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53972
53973 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53974 Add a leading slash to rtkaio.
53975
53976 2012-04-11 Jim Meyering <meyering@redhat.com>
53977
53978 [BZ #11959]
53979 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53980 It is not necessarily an error to ignore fwrite's return
53981 value. One can reliably use ferror to test for errors after
53982 the fact.
53983
53984 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53985
53986 * bits/types.h (__snseconds_t): New type.
53987 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53988
53989 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53991 (__SNSECONDS_T_TYPE): Likewise.
53992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53993 (__SNSECONDS_T_TYPE): Likewise.
53994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53995 (__SNSECONDS_T_TYPE): Likewise.
53996
53997 2012-04-10 Andreas Jaeger <aj@suse.de>
53998
53999 [BZ #2636]
54000 * manual/time.texi (Processor Time): Return type of times is
54001 elapsed real time since an arbitrary point in the past.
54002 (CPU Time): Move CLK_TCK from here...
54003 (Processor Time): ...to here. Correct description.
54004 * manual/conf.texi (Constants for Sysconf): Correct description of
54005 _SC_CLK_TCK.
54006
54007 2012-04-10 David S. Miller <davem@davemloft.net>
54008
54009 [BZ #13967]
54010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54011 where the is a gap between DT_REL(A) and DT_JMPREL.
54012
54013 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54014
54015 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54016 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54017 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54018
54019 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54020
54021 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54022 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54023 (dl_main): Handle --inhibit-cache.
54024 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54025 _dl_inhibit_cache.
54026 * elf/dl-load.c (_dl_map_object): Use it.
54027 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54028
54029 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54030
54031 [BZ #13872]
54032 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54033 (__ieee754_powl): Saturate large exponents rather than testing for
54034 overflow of y*log2(x).
54035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54036 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54037 exceptions.
54038
54039 [BZ #11521]
54040 * math/s_ctan.c: Include <float.h>.
54041 (__ctan): Avoid internal overflow or cancellation in calculating
54042 denominator.
54043 * math/s_ctanf.c: Likewise.
54044 * math/s_ctanl.c: Likewise.
54045 * math/s_ctanh.c: Likewise.
54046 * math/s_ctanhf.c: Likewise.
54047 * math/s_ctanhl.c: Likewise.
54048 * math/libm-test.inc (ctan_test): Add more tests.
54049 (ctanh_test): Likewise.
54050 * sysdeps/i386/fpu/libm-test-ulps: Update.
54051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54052
54053 2012-04-09 Andreas Jaeger <aj@suse.de>
54054
54055 [BZ #6894]
54056 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54057 is an optional BSD extension.
54058
54059 [BZ #10254]
54060 * manual/stdio.texi (Opening Streams): Document additional fopen
54061 parameters.
54062
54063 2012-04-09 Roland McGrath <roland@hack.frob.com>
54064
54065 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54066 %eax without telling the compiler.
54067
54068 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54069
54070 [BZ # 13963]
54071 * manual/install.texi: Use sourceware.org.
54072
54073 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54074
54075 [BZ #13873]
54076 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54077 (__ieee754_pow): Generate overflow and underflow using huge*huge
54078 and tiny*tiny rather than just returning constant infinity or zero
54079 for large exponents.
54080 * math/libm-test.inc (pow_test): Require overflow exceptions for
54081 applicable cases of large exponents.
54082
54083 [BZ #706]
54084 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54085 (__ieee754_pow): Use iterative multiplication algorithm only for
54086 integer exponents with absolute value below 1024. Check for odd
54087 integer exponents when using algorithm for real exponents.
54088 * math/libm-test.inc (pow_test): Add more tests.
54089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54090
54091 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54092
54093 [BZ #13705]
54094 * math/libm-test.inc (exp_test): Do not allow overflow exception
54095 on underflow test.
54096
54097 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54098
54099 [BZ #13705]
54100 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54101 instead of __kernel_standard_f.
54102
54103 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54104
54105 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54106 * sysdeps/x86_64/memset_chk.S: Likewise.
54107
54108 2012-04-08 Andreas Jaeger <aj@suse.de>
54109
54110 [BZ #10153]
54111 * manual/startup.texi (Environment Access): Describe return value
54112 for putenv and setenv.
54113
54114 [BZ #6895]
54115 * manual/filesys.texi (Directory Entries): Add description for
54116 DT_LNK.
54117
54118 [BZ #6890]
54119 * manual/filesys.texi (Directory Entries): Clarify that it's file
54120 system not operating system in the description of DT_UNKNOWN.
54121
54122 [BZ #6578]
54123 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54124
54125 2012-04-08 Stephen Compall <s11@member.fsf.org>
54126
54127 [BZ #6649]
54128 * manual/llio.texi (Opening and Closing Files): Add cross
54129 reference to explain mode argument.
54130
54131 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54132
54133 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54134 * sysdeps/x86_64/memset_chk.S: Likewise.
54135
54136 2012-04-07 David S. Miller <davem@davemloft.net>
54137
54138 * elf/elf.h (R_SPARC_WDISP10): Define.
54139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54140 R_SPARC_SIZE32.
54141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54142 R_SPARC_SIZE64 and R_SPARC_H34.
54143
54144 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54145
54146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54147 conditions and remove no longer applicable assertion.
54148
54149 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54150
54151 * bits/byteswap.h: Include <features.h>.
54152 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54153 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54154
54155 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54156
54157 * bits/byteswap.h (__bswap_16): Removed.
54158 Include <bits/byteswap-16.h> to get __bswap_16.
54159 * sysdeps/i386/bits/byteswap.h: Likewise.
54160 * sysdeps/s390/bits/byteswap.h: Likewise.
54161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54162 * bits/byteswap-16.h: New file.
54163 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54164 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54165 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54166 * string/Makefile (headers): Add bits/byteswap-16.h.
54167
54168 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54169
54170 [BZ #13895]
54171 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54172 extra indirection.
54173 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54174 * nss/tst-nss-static.c: New.
54175
54176 2012-04-06 Robert Millan <rmh@gnu.org>
54177
54178 [BZ #6486]
54179 * manual/llio.texi (File Position Primitive): lseek
54180 refers to WHENCE when it really means OFFSET.
54181
54182 2012-04-06 Andreas Jaeger <aj@suse.de>
54183
54184 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54185 strncmp declarations.
54186
54187 * abilist/libc.abilist: Add __poll and __ppoll.
54188
54189 2012-04-05 David S. Miller <davem@davemloft.net>
54190
54191 * scripts/check-local-headers.sh: Accept a host triplet in the
54192 path matched by the exclude regexp.
54193
54194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54195 definition.
54196 * sysdeps/powerpc/powerpc32/dl-machine.h
54197 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54198 * sysdeps/s390/s390-32/dl-machine.h
54199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54200 * sysdeps/sparc/sparc32/dl-machine.h
54201 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54202 * sysdeps/sparc/sparc64/dl-machine.h
54203 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54204
54205 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54206 lazy binding.
54207 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54208 undefined symbol errors.
54209
54210 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54211 DT_NEEDED entries.
54212
54213 2012-04-05 Michael Matz <matz@suse.de>
54214
54215 [BZ #13592]
54216 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54217
54218 2012-04-05 Andreas Jaeger <aj@suse.de>
54219
54220 [BZ #13908]
54221 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54222 comment.
54223
54224 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54225
54226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54227 which ROUND is no valid rounding mode.
54228
54229 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54230
54231 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54232 read again.
54233 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54234
54235 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54236
54237 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54238 an exception using FPU order intentionally.
54239
54240 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54241
54242 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54243 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54244 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54245 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54246
54247 2012-04-05 Simon Josefsson <simon@josefsson.org>
54248
54249 [BZ #12340]
54250 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54251 EINVAL when BUFLEN is too smal.
54252
54253 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54254
54255 [BZ #13553]
54256 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54257 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54258
54259 2012-04-03 Andreas Jaeger <aj@suse.de>
54260
54261 [BZ #13938]
54262 * manual/setjmp.texi (System V contexts): Fix sentence.
54263
54264 [BZ #13926]
54265 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54266 New macro for this case.
54267 [!__GNUC__] (__bswap_64): New inline function for this case.
54268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54269 * bits/byteswap.h: Likewise.
54270 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54271 ull, guard with __GLIBC_HAVE_LONG_LONG.
54272
54273 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54274 __GLIBC_HAVE_LONG_LONG.
54275
54276 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54277 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54278
54279 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54280
54281 [BZ #13691]
54282 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54283 inptr and inend, rather than using last_ch.
54284
54285 2012-04-02 David S. Miller <davem@davemloft.net>
54286
54287 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54288 * stdio-common/printf-parse.h (read_int): Change return type to
54289 'int', return -1 on INT_MAX overflow.
54290 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54291 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54292 overflows INT_MAX. Check for overflow of in-format-string precision
54293 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54294 SIZE_MAX not INT_MAX for integer overflow test.
54295 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54296 skip the construct in the format string but do not record anything.
54297 * stdio-common/bug22.c: Adjust to test both width/prevision
54298 INT_MAX overflow as well as total length INT_MAX overflow. Check
54299 explicitly for proper errno values.
54300
54301 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54302
54303 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54304 CHAR_MAX.
54305 * string/test-strcmp.c [! WIDE]: Likewise.
54306 * time/tst-mktime2.c: Likewise for INT_MAX.
54307 * string/test-string.h: #include <sys/param.h> for MIN.
54308
54309 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54310 * sysdeps/i386/init-first.c (init): Likewise.
54311 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54312 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54313 * sysdeps/sh/init-first.c (init): Likewise.
54314
54315 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54316
54317 * po/ru.po: Update from translation team.
54318 * po/vi.po: Likewise.
54319
54320 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54321
54322 * resolv/nss_dns/dns-host.c: Merge copyright years.
54323
54324 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54325
54326 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54327 Optimize memcpy with prefetch if
54328 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54329 src, dst pointers have unequal 16 byte alignments.
54330
54331 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54332
54333 [BZ #13928]
54334 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54335 from a CNAME entry and return the minimum ttl for the query.
54336 (gaih_getanswer_slice): Likewise.
54337
54338 2012-03-30 Jeff Law <law@redhat.com>
54339
54340 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54341 due to long keys.
54342 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54343 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54344
54345 * resolv/nss_dns/dns-host.c: Update copyright year.
54346
54347 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54348
54349 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54350 requests to save a system call. Fix check that all bytes are sent.
54351
54352 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54353 comments for sendmmsg.
54354
54355 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54356
54357 [BZ #13691]
54358 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54359 with only 1 character between 0x0041 and 0x01b0.
54360 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54361 * wcsmbs/tst-mbsnrtowcs.c: New file.
54362
54363 2012-03-29 David S. Miller <davem@davemloft.net>
54364
54365 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54366 small copies by hand.
54367
54368 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54369
54370 [BZ #13761]
54371 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54372 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54373 group memberships.
54374
54375 2012-03-28 David S. Miller <davem@davemloft.net>
54376
54377 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54378 that branches into memcpy.
54379 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54382 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54384 bits.
54385 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54386 implementation too.
54387 * sysdeps/sparc/mempcpy.S: New file.
54388
54389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54390 the IFUNC routine in the libc case.
54391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54392
54393 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54394 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54395 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54396 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54397 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54398 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54399 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54400 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54401
54402 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54403 loop to 256 bytes instead of 64 bytes and fix test signedness.
54404
54405 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54406 * sysdeps/sparc/sparc32/Makefile: rather than here...
54407 * sysdeps/sparc/sparc64/Makefile: and here.
54408
54409 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54410
54411 * malloc/mallocbug.c: Avoid warnings about unused variables.
54412
54413 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54414
54415 [BZ #13760]
54416 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54417 in the right place. Discard and retry query if response is
54418 larger than input buffer size.
54419
54420 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54421
54422 [BZ #369]
54423 [BZ #2678]
54424 [BZ #3866]
54425 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54426 x for large integer exponent.
54427 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54428 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54429 sign of result as needed afterwards.
54430 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54431 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54432 result for underflowing pow the same as for overflow.
54433 (__kernel_standard_l): Handle powl overflow and underflow here
54434 rather than calling __kernel_standard.
54435 * math/libm-test.inc (pow_test): Add more tests.
54436
54437 [BZ #3868]
54438 [BZ #13879]
54439 [BZ #13910]
54440 [BZ #13911]
54441 [BZ #13912]
54442 [BZ #13913]
54443 [BZ #13915]
54444 [BZ #13916]
54445 [BZ #13917]
54446 [BZ #13918]
54447 [BZ #13919]
54448 [BZ #13920]
54449 [BZ #13921]
54450 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54451 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54452 (__kernel_standard_l): New function.
54453 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54454 __kernel_standard.
54455 * math/w_acosl.c (__acosl): Likewise.
54456 * math/w_asinl.c (__asinl): Likewise.
54457 * math/w_atan2l.c (__atan2l): Likewise.
54458 * math/w_atanhl.c (__atanhl): Likewise.
54459 * math/w_coshl.c (__coshl): Likewise.
54460 * math/w_exp10l.c (__exp10l): Likewise.
54461 * math/w_exp2l.c (__exp2l): Likewise.
54462 * math/w_fmodl.c (__fmodl): Likewise.
54463 * math/w_hypotl.c (__hypotl): Likewise.
54464 * math/w_j0l.c (__j0l, __y0l): Likewise.
54465 * math/w_j1l.c (__j1l, __y1l): Likewise.
54466 * math/w_jnl.c (__jnl, __ynl): Likewise.
54467 * math/w_lgammal.c (__lgammal): Likewise.
54468 * math/w_log10l.c (__log10l): Likewise.
54469 * math/w_log2l.c (__log2l): Likewise.
54470 * math/w_logl.c (__logl): Likewise.
54471 * math/w_powl.c (__powl): Likewise.
54472 * math/w_remainderl.c (__remainderl): Likewise.
54473 * math/w_scalbl.c (sysv_scalbl): Likewise.
54474 * math/w_sinhl.c (__sinhl): Likewise.
54475 * math/w_sqrtl.c (__sqrtl): Likewise.
54476 * math/w_tgammal.c (__tgammal): Likewise.
54477 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54478 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54479 * math/libm-test.inc (acos_test): Add more tests.
54480 (acosh_test): Likewise.
54481 (asin_test): Likewise.
54482 (atanh_test): Likewise.
54483 (exp_test): Likewise.
54484 (exp10_test): Likewise.
54485 (exp2_test): Likewise.
54486 (expm1_test): Likewise.
54487 (lgamma_test): Likewise.
54488 (log_test): Likewise.
54489 (log10_test): Likewise.
54490 (log1p_test): Likewise.
54491 (log2_test): Likewise.
54492 (pow_test): Do not allow some spurious overflow exceptions.
54493 (sqrt_test): Add more tests.
54494 (tgamma_test): Likewise.
54495 (y0_test): Likewise.
54496 (y1_test): Likewise.
54497 (yn_test): Likewise.
54498
54499 2012-03-27 Anton Blanchard <anton@samba.org>
54500
54501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54502 MAP_HUGETLB.
54503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54506
54507 2012-03-27 David S. Miller <davem@davemloft.net>
54508
54509 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54510
54511 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54512 have-as-vis3 check.
54513
54514 2012-03-27 Andreas Jaeger <aj@suse.de>
54515
54516 * sysdeps/x86_64/elf/configure.in: Moved to ...
54517 * sysdeps/x86_64/configure.in: ... here.
54518 * sysdeps/x86_64/elf/start.S: Moved to ...
54519 * sysdeps/x86_64/start.S: ... here.
54520 * sysdeps/x86_64/elf/configure: Delete.
54521
54522 * sysdeps/x86_64/configure.in: Merge contents from
54523 sysdeps/i386/configure.in (without i686 check).
54524
54525 * sysdeps/i386/elf/Versions: Merge into ...
54526 * sysdeps/i386/Versions: ... this.
54527 * sysdeps/i386/elf/Versions: Delete file.
54528 * sysdeps/i386/elf/start.S: Moved to ...
54529 * sysdeps/i386/start.S: ...here.
54530 * sysdeps/i386/elf/configure.in: Merge into...
54531 * sysdeps/i386/configure.in: ...here.
54532 * sysdeps/i386/elf/configure.in: Delete file.
54533 * sysdeps/i386/elf/configure: Delete file.
54534
54535 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54536 * debug/backtracesyms.c: ... here.
54537 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54538 * debug/backtracesymsfd.c: ... here.
54539 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54540 * sysdeps/generic/ifunc-sel.h: ... here.
54541
54542 * sysdeps/unix/i386/start.c: Delete file.
54543 * sysdeps/unix/sparc/start.c: Delete file.
54544 * sysdeps/unix/start.c: Delete file.
54545
54546 * sysdeps/sh/elf/configure.in: Moved to ...
54547 * sysdeps/sh/configure.in: ... here.
54548 * sysdeps/sh/elf/start.S: Moved to ...
54549 * sysdeps/sh/start.S: ... here.
54550 * sysdeps/sh/elf/configure: Delete file.
54551
54552 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54553 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54554 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54555 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54556 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54557 * sysdeps/powerpc/powerpc64/start.S: here.
54558 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54559 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54560 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54561 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54562 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54563
54564 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54565 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54566 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54567 * sysdeps/powerpc/powerpc32/start.S: ... here.
54568 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54569 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54570 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54571
54572 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54573 * sysdeps/powerpc/ifunc-sel.h: ... here.
54574 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54575 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54576
54577 * sysdeps/sparc/elf/configure.in: Moved to ...
54578 * sysdeps/sparc/configure.in: ... here.
54579 * sysdeps/sparc/elf/configure: Delete file.
54580 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54581 * sysdeps/sparc/sparc32/start.S: ... here.
54582 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54583 * sysdeps/sparc/sparc64/start.S: ... here.
54584 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54585 * sysdeps/sparc/sparc32/Makefile: ... this.
54586 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54587 * sysdeps/sparc/sparc64/Makefile: ... this.
54588
54589 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54590 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54591 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54592 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54593 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54594 * sysdeps/s390/s390-32/setjmp.S: ... here.
54595 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54596 * sysdeps/s390/s390-32/configure.in: ... here.
54597 * sysdeps/s390/s390-32/elf/configure: Delete file.
54598 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54599 * sysdeps/s390/s390-32/start.S: ... here.
54600
54601 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54602 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54603 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54604 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54605 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54606 * sysdeps/s390/s390-64/setjmp.S: ... here.
54607 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54608 * sysdeps/s390/s390-64/configure.in: ... here
54609 * sysdeps/s390/s390-64/elf/configure: Delete file.
54610 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54611 * sysdeps/s390/s390-64/start.S: ... here.
54612 * sysdeps/s390/s390-64/elf/configure: Delete.
54613
54614 * configure.in: Remove support for elf directories in sysdeps.
54615
54616 * configure: Regenerated.
54617 * sysdeps/i386/configure: Regenerated.
54618 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54619 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54620 * sysdeps/s390/s390-32/configure: Regenerated.
54621 * sysdeps/s390/s390-64/configure: Regenerated.
54622 * sysdeps/sh/configure: Regenerated.
54623 * sysdeps/sparc/configure: Regenerated.
54624 * sysdeps/x86_64/configure: Regenerated.
54625
54626 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54627
54628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54629
54630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54631 denormal result into account.
54632
54633 2012-03-25 Roland McGrath <roland@hack.frob.com>
54634
54635 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54636 Reported by Allan McRae <allan@archlinux.org>.
54637
54638 2012-03-23 Jeff Law <law@redhat.com>
54639
54640 * nss/getnssent.c (__nss_getent): Fix typo.
54641
54642 2012-03-23 David S. Miller <davem@davemloft.net>
54643
54644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54645
54646 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54647
54648 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54649 to pad to uint64_t for each field.
54650 (dl_tls_index): Replace unsigned long with uint64_t.
54651
54652 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54653 Paul Pluzhnikov <ppluzhnikov@google.com>
54654
54655 [BZ #6528]
54656 * grp/Makefile (otherlibs): Don't set it.
54657 * inet/Makefile (otherlibs): Likewise.
54658 * login/Makefile (otherlibs): Likewise.
54659 * nscd/Makefile (otherlibs): Likewise.
54660 * posix/Makefile (otherlibs): Likewise.
54661 * pwd/Makefile (otherlibs): Likewise.
54662 * rt/Makefile (otherlibs): Likewise.
54663 * sunrpc/Makefile (otherlibs): Likewise.
54664 * nss/Makefile (otherlibs): Likewise.
54665 Add libnss_files to routines and static-only-routines.
54666 ($(objpfx)getent): Remove rule.
54667 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54668 static-only-routines.
54669
54670 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54671
54672 [BZ #13892]
54673 * math/s_cexp.c: Include <float.h>.
54674 (__cexp): Handle exp result overflowing not necessarily
54675 overflowing both real and imaginary parts of result.
54676 * math/s_cexpf.c: Likewise.
54677 * math/s_cexpl.c: Likewise.
54678 * math/libm-test.inc (cexp_test): Add more tests.
54679 * sysdeps/i386/fpu/libm-test-ulps: Update.
54680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54681
54682 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54683
54684 * include/link.h (ELFW): New macro.
54685 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54686 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54687
54688 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54689
54690 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54691 with uint64_t.
54692
54693 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54694
54695 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54696 declaration.
54697 (struct La_x32_retval): Likewise.
54698
54699 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54700
54701 * sysdeps/x86_64/preconfigure.in: New file.
54702 * sysdeps/x86_64/preconfigure: New generated file.
54703
54704 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54705
54706 [BZ #13824]
54707 * math/e_exp2l.c: Include <float.h>.
54708 (__ieee754_exp2l): Handle overflow and underflow cases
54709 separately. Only pass fractional part of argument to
54710 __ieee754_expl.
54711 * math/libm-test.inc (exp2_test): Add more tests.
54712
54713 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54714 negating x to take absolute value.
54715 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54716 Likewise.
54717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54719 Likewise.
54720 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54721 computing low part if x was negated.
54722 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54723
54724 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54725
54726 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54727 la_x32_gnu_pltexit.
54728 (pltexit): Cast int_retval to ptrdiff_t.
54729 * elf/tst-auditmod3b.c: Likewise.
54730 * elf/tst-auditmod4b.c: Likewise.
54731 * elf/tst-auditmod5b.c: Likewise.
54732 * elf/tst-auditmod6b.c: Likewise.
54733 * elf/tst-auditmod6c.c: Likewise.
54734 * elf/tst-auditmod7b.c: Likewise.
54735
54736 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54737 and x32_gnu_pltexit.
54738
54739 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54740 __ELF_NATIVE_CLASS.
54741 (La_x32_regs): New macro.
54742 (La_x32_retval): Likewise.
54743 (la_x32_gnu_pltenter): New function prototype.
54744 (la_x32_gnu_pltexit): Likewise.
54745
54746 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54747
54748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54749 exponent.
54750
54751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54752
54753 * configure.in (libc_cv_cc_nofma): Check for option to disable
54754 generation of FMA instructions.
54755 * configure: Regenerate.
54756 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54757 * sysdeps/ieee754/dbl-64/Makefile: New file.
54758 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54759 Remove brandred-fma4.
54760 (CFLAGS-brandred-fma4.c): Remove.
54761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54762 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54763 define.
54764 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54765 define.
54766
54767 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54768
54769 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54770 LLONG_MAX != LONG_MAX.
54771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54772 (_fitoa_word): Likewise.
54773 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54774 LLONG_MAX != LONG_MAX.
54775 * stdio-common/_itowa.h: Include <_itoa.h>.
54776 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54777 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54778 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54779 only if not defined.
54780 (_ITOA_WORD_TYPE): Likewise.
54781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54782 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54783
54784 2012-03-21 David S. Miller <davem@davemloft.net>
54785
54786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54787
54788 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54789
54790 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54791 of x86_64 when setting libc_cv_slibdir, libdir and
54792 libc_cv_localedir.
54793 * sysdeps/unix/sysv/linux/configure: Regenerated.
54794
54795 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54796
54797 * manual/lang.texi (Old Varargs): Remove section.
54798 (How Variadic): Update menu.
54799 (va_start): Do not mention varargs.h.
54800
54801 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54802 Joseph Myers <joseph@codesourcery.com>
54803
54804 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54805 link test.
54806 * configure: Regenerated.
54807
54808 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54809
54810 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54811 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54812 conformtest.pl
54813
54814 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54815
54816 * NOTES: Remove.
54817 * Makefile (files-for-dist): Remove NOTES.
54818 (NOTES): Remove rule.
54819 * README: Don't refer to NOTES.
54820 * manual/creature.texi: Don't include macros.texi.
54821 * manual/intro.texi (creature.texi): Remove comment referring to
54822 NOTES.
54823
54824 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54825 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54826 * configure: Regenerated.
54827 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54828 LIBC_TRY_CC_OPTION.
54829 (libc_cv_as_i686): Likewise.
54830 (libc_cv_cc_avx): Likewise.
54831 (libc_cv_cc_sse2avx): Likewise.
54832 (libc_cv_cc_fma4): Likewise.
54833 (libc_cv_cc_novzeroupper): Likewise.
54834 * sysdeps/i386/configure: Regenerated.
54835
54836 [BZ #13883]
54837 * sysdeps/i386/fpu/s_cexp.S: Remove.
54838 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54839 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54840 * math/libm-test.inc (cexp_test): Add more tests.
54841 * sysdeps/i386/fpu/libm-test-ulps: Update.
54842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54843
54844 2012-03-21 Allan McRae <allan@archlinux.org>
54845
54846 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54847
54848 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54849
54850 [BZ #13871]
54851 * math/w_exp2.c: Do not include <float.h>.
54852 (o_threshold, u_threshold): Remove.
54853 (__exp2): Calculate result before checking finiteness and calling
54854 __kernel_standard.
54855 * math/w_exp2f.c: Likewise.
54856 * math/w_exp2l.c: Likewise.
54857 * math/libm-test.inc (exp2_test): Require overflow exception for
54858 1e6 input.
54859
54860 [BZ #3866]
54861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54862 range of signed 64-bit integers before using fistpll. Remove
54863 checks for whether integers fit in mantissa bits.
54864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54865 the range of signed 32-bit integers before using fistpl. Remove
54866 checks for whether integers fit in mantissa bits.
54867 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54868 (__ieee754_powl): Test for y outside the range of signed 64-bit
54869 integers before using fistpll. Reduce 64-bit values to 63-bit
54870 ones as needed.
54871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54872 divide-by-zero is raised for zero to large negative powers.
54873 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54874 (__ieee754_powl): Test for y outside the range of signed 64-bit
54875 integers before using fistpll. Reduce 64-bit values to 63-bit
54876 ones as needed.
54877 * math/libm-test.inc (pow_test): Add more tests.
54878
54879 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54880
54881 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54882 <stdio-common/_itoa.h>.
54883 * debug/segfault.c: Likewise.
54884 * elf/dl-cache.c: Likewise.
54885 * elf/dl-minimal.c: Likewise.
54886 * elf/dl-misc.c: Likewise.
54887 * elf/dl-sysdep.c: Likewise.
54888 * elf/dl-version.c: Likewise.
54889 * elf/rtld.c: Likewise.
54890 * hurd/hurdsock.c: Likewise.
54891 * hurd/lookup-retry.c: Likewise.
54892 * malloc/malloc.c: Likewise.
54893 * malloc/mtrace.c: Likewise.
54894 * nscd/nscd_getgr_r.c: Likewise.
54895 * nscd/nscd_getpw_r.c: Likewise.
54896 * nscd/nscd_getserv_r.c: Likewise.
54897 * posix/getopt_init.c: Likewise.
54898 * posix/wordexp.c: Likewise.
54899 * stdio-common/_itoa.c: Likewise.
54900 * stdio-common/printf_fphex.c: Likewise.
54901 * stdio-common/vfprintf.c: Likewise.
54902 * string/_strerror.c: Likewise.
54903 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54904 * sysdeps/i386/i686/hp-timing.h: Likewise.
54905 * sysdeps/mach/_strerror.c: Likewise.
54906 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54907 * sysdeps/mach/hurd/sethostid.c: Likewise.
54908 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54909 * sysdeps/mach/xpg-strerror.c: Likewise.
54910 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54911 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54912 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54913 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54914 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54915 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54916 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54917 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54918 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54919 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54920 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54921 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54922 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54923 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54924 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54925 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54926 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54927 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54928 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54929 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54930 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54931
54932 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54933
54934 * stdio-common/_itoa.h: Moved to ...
54935 * sysdeps/generic/_itoa.h: Here.
54936
54937 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54938
54939 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54940 instead of "_itoa.h" and "_itowa.h".
54941 * stdio-common/vfprintf.: Likewise.
54942
54943 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54944
54945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54946 <bits/wordsize.h>.
54947 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54948 (__signbit): Likwise.
54949 (llrintf): Likwise.
54950 (llrint): Likwise.
54951
54952 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54953
54954 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54955 __WORDSIZE != 64.
54956
54957 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54958
54959 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54960 OVERFLOW_EXCEPTION_OK.
54961 * math/libm-test.inc ("Philosophy"): Update comment about
54962 exception testing.
54963 (OVERFLOW_EXCEPTION): Define.
54964 (OVERFLOW_EXCEPTION_OK): Likewise.
54965 (INVALID_EXCEPTION_OK): Renumber.
54966 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54967 (IGNORE_ZERO_INF_SIGN): Likewise.
54968 (test_exceptions): Handle FE_OVERFLOW.
54969 (exp10_test): Expect overflow exceptions.
54970 (exp2_test): Likewise.
54971 (expm1_test): Likewise.
54972 (nextafter_test): Likewise.
54973 (pow_test): Likewise.
54974 (scalbn_test): Likewise.
54975 (scalbln_test): Likewise.
54976
54977 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54978
54979 * sysdeps/x86_64/bits/atomic.h
54980 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54981 64bit integer.
54982 (atomic_exchange_acq): Likewise.
54983 (__arch_exchange_and_add_body): Likewise.
54984 (__arch_add_body): Likewise.
54985 (atomic_add_negative): Likewise.
54986 (atomic_add_zero): Likewise.
54987
54988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54989
54990 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54991 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54992
54993 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54994
54995 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54996 Check __x86_64__ instead of __WORDSIZE.
54997
54998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54999
55000 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55001
55002 2012-03-19 David S. Miller <davem@davemloft.net>
55003
55004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55005
55006 * sysdeps/sparc/fpu/fenv_private.h: New file.
55007 * sysdeps/sparc/fpu/math_private.h: Use it.
55008 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55009 Remove.
55010 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55011 (libc_feholdexcept_setroundl): Remove.
55012 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55013 Remove.
55014 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55015 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55016
55017 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55018
55019 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55020 int64_t instead of long int.
55021 (INSERT_WORDS64): Likwise.
55022
55023 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55024
55025 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55026 _Unwind_GetCFA return to _Unwind_Ptr first.
55027
55028 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55029
55030 [BZ #13629]
55031 * math/s_clog.c: Include <float.h>.
55032 (__clog): Scale large or subnormal inputs.
55033 * math/s_clogf.c: Likewise.
55034 * math/s_clogl.c: Likewise.
55035 * math/s_clog10.c: Include <float.h>.
55036 (M_LOG10_2): Define.
55037 (__clog10): Scale large or subnormal inputs.
55038 * math/s_clog10f.c: Likewise.
55039 * math/s_clog10l.c: Likewise.
55040 * math/libm-test.inc (clog_test): Add more tests.
55041 (clog10_test): Likewise.
55042 * sysdeps/i386/fpu/libm-test-ulps: Update.
55043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55044
55045 [BZ #11451]
55046 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55047 x and y.
55048 * math/libm-test.inc (atan2_test): Add another test.
55049
55050 * Makerules (common-objdir-compile): Remove.
55051 * sysdeps/unix/Makefile (config-generated): Do not add
55052 $(unix-generated) to variable.
55053 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55054 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55055 Remove rule.
55056 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55057 Likewise.
55058 [generic bits/local_lim.h] (before-compile): Do not append to
55059 variable.
55060 [generic bits/local_lim.h] (common-generated): Likewise.
55061 [generic sys/param.h] (before-compile): Do not append to variable.
55062 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55063 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55064 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55065 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55066 include.
55067 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55068 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55069 [generic sys/param.h] ($(addprefix
55070 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55071 [generic sys/param.h] (common-generated): Do not append to
55072 variable.
55073 [generic sys/param.h] (sysdep_headers): Likewise.
55074 [generic bits/errno.h] (before-compile): Do not append to
55075 variable.
55076 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55077 rule.
55078 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55079 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55080 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55081 [generic bits/errno.h] (common-generated): Do not append to
55082 variable.
55083 [generic bits/ioctls.h] (before-compile): Do not append to
55084 variable.
55085 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55086 rule.
55087 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55088 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55089 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55090 rule.
55091 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55092 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55093 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55094 [generic bits/ioctls.h] (common-generated): Do not append to
55095 variable.
55096 [generic sys/syscall.h] (syscall.h): Remove variable.
55097 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55098 rule.
55099 [generic sys/syscall.h] (before-compile): Do not append to
55100 variable.
55101 [generic sys/syscall.h] (common-generated): Likewise.
55102 * sysdeps/unix/errnos-tmpl.c: Remove file.
55103 * sysdeps/unix/errnos.awk: Likewise.
55104 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55105 * sysdeps/unix/ioctls.awk: Likewise.
55106 * sysdeps/unix/mk-local_lim.c: Likewise.
55107 * sysdeps/unix/snarf-ioctls: Likewise.
55108
55109 2012-03-19 Richard Henderson <rth@twiddle.net>
55110
55111 * sysdeps/i386/fpu/fenv_private.h: New file.
55112 * sysdeps/i386/fpu/math_private.h: Use it.
55113 (math_opt_barrier, math_force_eval): Remove.
55114 (libc_feholdexcept_setround_53bit): Remove.
55115 (libc_feupdateenv_53bit): Remove.
55116 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55117 (math_opt_barrier, math_force_eval): Remove.
55118 (libc_feholdexcept): Remove.
55119 (libc_feholdexcept_setround): Remove.
55120 (libc_fetestexcept, libc_fesetenv): Remove.
55121 (libc_feupdateenv_test): Remove.
55122 (libc_feupdateenv, libc_feholdsetround): Remove.
55123 (libc_feresetround): Remove.
55124
55125 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55126 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55127
55128 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55129 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55130 (libc_feupdateenv_testl): New.
55131 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55132 (libc_feupdateenv_testf): New.
55133 (libc_feupdateenv): Use libc_feupdateenv_test.
55134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55136
55137 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55138 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55139 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55140 (libc_feresetround_noex): New.
55141 (libc_feresetround_noexf): New.
55142 (libc_feresetround_noexl): New.
55143 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55144 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55145 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55146 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55147 SET_RESTORE_ROUND.
55148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55150 (__cos): Likewise.
55151 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55152 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55153 SET_RESTORE_ROUND_NOEX.
55154 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55155 SET_RESTORE_ROUND_NOEXF.
55156 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55157 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55158 (libc_feholdsetroundf): New.
55159 (libc_feresetround, libc_feresetroundf): New.
55160
55161 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55162 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55163 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55164
55165 * sysdeps/generic/math_private.h: Include <fenv.h>.
55166 (default_libc_feholdexcept): New.
55167 (default_libc_feholdexcept_setround): New.
55168 (default_libc_fesetenv, default_libc_feupdateenv): New.
55169 (libc_feholdexcept): Only define if undefined.
55170 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55171 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55172 (libc_feholdexcept_setroundl): Likewise.
55173 (libc_feholdexcept_setround_53bit): Likewise.
55174 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55175 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55176 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55177 (libc_feupdateenv_53bit): Likewise.
55178 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55179 (libc_feholdexcept): Convert from macro to inline function.
55180 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55181 (libc_fesetenv, libc_feupdateenv): Likewise.
55182
55183 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55184 not previously defined.
55185 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55186 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55187 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55188 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55189 * sysdeps/ieee754/flt-32/math_private.h: New file.
55190 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55191 math_private.h below SET_FLOAT_WORD.
55192 (__isnan, __isinf_ns, __finite): Remove.
55193 (__isnanf, __isinf_nsf, __finitef): Remove.
55194
55195 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55196
55197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55198
55199 2012-03-17 David S. Miller <davem@davemloft.net>
55200
55201 [BZ #6471]
55202 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55203 for 2.16.
55204
55205 2012-03-16 David S. Miller <davem@davemloft.net>
55206
55207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55208 warnings.
55209
55210 [BZ #6471]
55211 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55212 properly.
55213 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55214 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55215 sysdep_routines when subdir is sysvipc.
55216 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55217 __getshmlba helper.
55218
55219 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55220
55221 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55222
55223 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55224 [__LP64__].
55225
55226 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55227
55228 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55229 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55230 (__lround): Renamed to ...
55231 (__llround): This. Replace long int with long long int.
55232 Define lround functions as aliases of llround functions.
55233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55234
55235 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55236
55237 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55238 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55239 adresses to uintptr_t. Replace "long int" and "unsigned long
55240 int" with "greg_t" on va_arg.
55241
55242 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55243
55244 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55245 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55246
55247 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55248 Move e_machine check before EI_CLASS check. Handle x32
55249 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55250 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55251 SKIP_EM_IA_64 and include
55252 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55253
55254 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55255 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55256 (add_system_dir): New macro.
55257
55258 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55259 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55260
55261 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55262
55263 [BZ #2551]
55264 [BZ #2552]
55265 [BZ #2553]
55266 [BZ #2554]
55267 [BZ #2562]
55268 [BZ #2563]
55269 [BZ #2565]
55270 [BZ #2566]
55271 [BZ #2576]
55272 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55273 (y0): Likewise.
55274 * math/w_j0f.c (j0f): Likewise.
55275 (y0f): Likewise.
55276 * math/w_j0l.c (__j0l): Likewise.
55277 (__y0l): Likewise.
55278 * math/w_j1.c (j1): Likewise.
55279 (y1): Likewise.
55280 * math/w_j1f.c (j1f): Likewise.
55281 (y1f): Likewise.
55282 * math/w_j1l.c (__j1l): Likewise.
55283 (__y1l): Likewise.
55284 * math/w_jn.c (jn): Likewise.
55285 (yn): Likewise.
55286 * math/w_jnf.c (jnf): Likewise.
55287 (ynf): Likewise.
55288 * math/w_jnl.c (__jnl): Likewise.
55289 (__ynl): Likewise.
55290 * math/libm-test.inc (j0_test): Add more tests.
55291 (j1_test): Likewise.
55292 (jn_test): Likewise. Add trailing semicolon to existing test.
55293 (y0_test): Likewise.
55294 (y1_test): Likewise.
55295 * sysdeps/i386/fpu/libm-test-ulps: Update.
55296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55297
55298 [BZ #13851]
55299 [BZ #13854]
55300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55301 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55302 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55303 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55304 (__tanl): Set errno for infinite argument.
55305 * sysdeps/i386/fpu/mptan.c: Remove.
55306 * sysdeps/i386/fpu/s_tan.S: Likewise.
55307 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55308 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55309 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55310 * math/libm-test.inc (tan_test): Add more tests and enable more
55311 tests for double and long double.
55312 * sysdeps/i386/fpu/libm-test-ulps: Update.
55313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55314
55315 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55316
55317 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55318 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55319
55320 2012-03-16 Roland McGrath <roland@hack.frob.com>
55321
55322 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55323 * configure.in: Use it for both main tree and add-ons.
55324 * configure: Regenerated.
55325
55326 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55327
55328 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55329
55330 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55331
55332 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55333 in comment.
55334
55335 [BZ #13851]
55336 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55337 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55338 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55339 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55340 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55341 infinite argument.
55342 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55344 != 0 for prec == 2.
55345 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55346 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55347 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55348 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55349 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55350 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55351 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55352 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55353 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55354 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55355 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55356 * math/libm-test.inc (cos_test): Add more tests and enable more
55357 tests for long double.
55358 (sin_test): Likewise.
55359 (sincos_test): Likewise.
55360 * sysdeps/i386/fpu/libm-test-ulps: Update.
55361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55362
55363 2012-03-16 David S. Miller <davem@davemloft.net>
55364
55365 * sysdeps/sparc/fpu/math_private.h: New file.
55366
55367 2012-03-15 David S. Miller <davem@davemloft.net>
55368
55369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55370 file.
55371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55373 file.
55374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55380 sysdep routines.
55381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55382
55383 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55384 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55385
55386 * sysdeps/sparc/sparc-ifunc.h: New file.
55387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55388 sparc-ifunc.h
55389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55391 Likewise.
55392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55393 Likewise.
55394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55398 Likewise.
55399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55404 Likewise.
55405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55406 Likewise.
55407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55431
55432 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55433
55434 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55435 scaling.
55436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55437
55438 2012-03-15 Andreas Jaeger <aj@suse.de>
55439
55440 [BZ #13852]
55441 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55442 ieee754/flt-32 implementation for sin, cos and sincos.
55443 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55444 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55445 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55446 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55447 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55448 ieee754/flt-32 implementation for tan.
55449
55450 * math/libm-test.inc (cos_test): Enable some large input tests for
55451 float as well
55452 (sin_test): Likewise.
55453 (sincos_test): Likewise.
55454 (tan_test): Add tests for large input.
55455
55456 * sysdeps/i386/fpu/libm-test-ulps: Update.
55457
55458 2012-03-15 Andreas Jaeger <aj@suse.de>
55459
55460 [BZ #13658]
55461 * math/libm-test.inc (cos_test): Add more test cases.
55462 (sin_test): Likewise.
55463 (sincos_test): Likewise.
55464
55465 2012-03-15 Andreas Jaeger <aj@suse.de>
55466
55467 [BZ #13837]
55468 * math/libm-test.inc (cos_test): Add a test case for large input
55469 value.
55470 (sin_test): Likewise.
55471 (sincos_test): Likewise.
55472
55473 2012-03-15 Andreas Jaeger <aj@suse.de>
55474 Joseph Myers <joseph@codesourcery.com>
55475
55476 [BZ #13658]
55477 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55478 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55479 * sysdeps/i386/fpu/branred.c: Likewise.
55480 * sysdeps/i386/fpu/dosincos.c: Likewise.
55481 * sysdeps/i386/fpu/mpa.c: Likewise.
55482 * sysdeps/i386/fpu/s_cos.S: Likewise.
55483 * sysdeps/i386/fpu/s_sin.S: Likewise.
55484 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55485 * sysdeps/i386/fpu/sincos32.c: Likewise.
55486
55487 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55488 Define.
55489 (libc_feupdateenv_53bit): Define.
55490 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55491 Define.
55492 (libc_feupdateenv_53bit): Define.
55493
55494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55495 53 bit (without extend i386 double precision).
55496
55497 * math/libm-test.inc (sincos_test): Add tests for large input.
55498 (sin): Likewise.
55499 (cos): Likewise.
55500
55501 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55502
55503 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55504
55505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55506
55507 2012-03-15 David S. Miller <davem@davemloft.net>
55508
55509 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55510 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55511 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55512 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55525 file.
55526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55528 file.
55529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55531 file.
55532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55534 file.
55535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55537 fmin/fmax sysdep routines.
55538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55539
55540 2012-03-14 David S. Miller <davem@davemloft.net>
55541
55542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55571 routines.
55572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55573 file.
55574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55576 file.
55577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55579 file.
55580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55582 file.
55583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55585 file.
55586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55588 file.
55589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55590 file.
55591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55592 file.
55593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55594 file.
55595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55596 New file.
55597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55598 file.
55599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55600 file.
55601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55603 file.
55604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55606 file.
55607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55609 file.
55610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55612 VIS3 routines.
55613
55614 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55615 New file.
55616
55617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55618
55619 * sysdeps/sparc/configure.in: New file.
55620 * sysdeps/sparc/configure: Generate.
55621 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55622 * configure: Regenerate.
55623 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55624 * config.make.in (have-as-vis3): New.
55625 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55626 available use -Av9d instead of -Av9a.
55627 * sysdeps/sparc/sparc64/Makefile: Likewise.
55628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55630 New file.
55631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55632 file.
55633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55634 New file.
55635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55636 file.
55637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55642
55643 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55644 fzeros/fnegs to load 0x80000000 into a float register instead of
55645 using the stack.
55646 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55647
55648 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55649
55650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55651 bits/syscall.h.
55652 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55653 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55654 ($(inst_includedir)/bits/syscall.h): Remove rule.
55655 ($(objpfx)bits/syscall.d): Include instead of
55656 $(objpfx)syscall-list.d.
55657 (generated): Change syscall-list.h and syscall-list.d to
55658 bits/syscall.h and bits/syscall.d.
55659
55660 2012-03-14 Roland McGrath <roland@hack.frob.com>
55661
55662 [BZ #13846]
55663 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55664
55665 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55666
55667 [BZ #13841]
55668 * math/s_csqrt.c: Include <float.h>.
55669 (__csqrt): Scale large or subnormal inputs.
55670 * math/s_csqrtf.c: Likewise.
55671 * math/s_csqrtl.c: Likewise.
55672 * math/libm-test.inc (csqrt_test): Add more tests.
55673 * sysdeps/i386/fpu/libm-test-ulps: Update.
55674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55675
55676 [BZ #13840]
55677 * math/libm-test.inc (hypot_test): Add more tests.
55678
55679 2012-03-13 David S. Miller <davem@davemloft.net>
55680
55681 [BZ #13840]
55682 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55683 double-precision for the calculation instead of scaling.
55684
55685 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55686
55687 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55688 manipulate bits before adding and subtracting TWO52[sx].
55689 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55690 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55691 Likewise.
55692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55693
55694 2012-03-13 David S. Miller <davem@davemloft.net>
55695
55696 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55697 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55699 rtld-global-offsets.h
55700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55701
55702 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55703 large parameters.
55704
55705 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55706
55707 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55708 'err' in the ifdef scope in which it is actually used.
55709
55710 * nss/nss_db/db-init.c: Include string.h
55711
55712 2012-03-12 David S. Miller <davem@davemloft.net>
55713
55714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55715 masking out of the most significant byte of random value used.
55716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55717 Fix coding style in previous change.
55718
55719 * sysdeps/unix/sysv/linux/kernel-features.h
55720 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55721 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55722 expression.
55723 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55724 later.
55725
55726 2012-03-11 David S. Miller <davem@davemloft.net>
55727
55728 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55729 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55731 for 'resultvar' otherwise things get truncated on 64-bit.
55732
55733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55734 Fix masking out of the most significant byte of random value used.
55735
55736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55737
55738 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55739
55740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55741
55742 2012-03-09 David S. Miller <davem@davemloft.net>
55743
55744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55745 variables with appropriate CPP guards.
55746 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55747 from the frame pointer, not the stack pointer. Correct layout
55748 comments. Fix test on resulting framesize and the management of
55749 the outregs buffer for pltexit. Preserve floating point return
55750 values across _dl_call_pltexit call.
55751 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55752 framesize and the management of the outregs buffer for pltexit.
55753 Preserve floating point return values across _dl_call_pltexit
55754 call.
55755 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55756 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55757 (la_sparc64_gnu_pltexit): New functions.
55758 (print_exit): Fix format string for return register value.
55759
55760 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55761
55762 * sunrpc/Makefile (others): Add rpcgen.
55763 ($(objpfx)rpcgen): Remove special build rule and dependency on
55764 libc.
55765 * sunrpc/rpcgen.c: New file.
55766
55767 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55768
55769 [BZ #13673]
55770 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55771 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55772 * sysdeps/i386/crti.S: Likewise.
55773 * sysdeps/i386/crtn.S: Likewise.
55774 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55775 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55776 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55777 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55778 * sysdeps/sh/crti.S: Likewise.
55779 * sysdeps/sh/crtn.S: Likewise.
55780 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55781
55782 [BZ #13673]
55783 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55784 with URL.
55785 * locale/programs/locfile-kw.gperf: Likewise.
55786 * locale/programs/charmap-kw.h: Regenerated.
55787 * locale/programs/locfile-kw.h: Likewise.
55788
55789 [BZ #13673]
55790 * intl/plural.y: Replace FSF snail mail address with URL.
55791 * intl/plural.c: Regenerated.
55792
55793 2012-03-09 Richard Henderson <rth@twiddle.net>
55794
55795 * include/math_private.h: Remove file.
55796 * math/math_private.h: Move file ...
55797 * sysdeps/generic/math_private.h: ... here.
55798
55799 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55800 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55801 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55802
55803 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55804 and <math_private.h>.
55805 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55806 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55807 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55808 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55809 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55810 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55811 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55813 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55814 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55816 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55817 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55818 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55819 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55820 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55821 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55822 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55823 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55824 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55826 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55827 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55829 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55830 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55831 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55832 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55835 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55837 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55838 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55839 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55840 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55842 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55843 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55845 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55846 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55847 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55848 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55849 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55850 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55851 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55852 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55854 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55855 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55856 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55857 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55858 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55859 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55860 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55861 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55863 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55864 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55865 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55866 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55867 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55869 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55870 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55871 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55872 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55873 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55874 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55875 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55876 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55879 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55880 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55884 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55886 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55887 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55888 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55889 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55890 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55892 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55893 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55894 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55895 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55896 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55898 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55899 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55900 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55901 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55902 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55903 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55904 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55905 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55906 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55907 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55908 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55909 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55910 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55911 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55912 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55913 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55914 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55915 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55916 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55917 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55918 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55919 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55920 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55921 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55922 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55923 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55924 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55925 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55926 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55927 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55928 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55929 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55930 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55931 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55932 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55933 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55934 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55935 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55936 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55937 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55938 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55939 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55940 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55941 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55942 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55943 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55944 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55945 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55946 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55947 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55948 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55949 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55950 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55951 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55952 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55953 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55954 * sysdeps/ieee754/k_standard.c: Likewise.
55955 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55956 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55957 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55959 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55960 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55961 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55962 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55963 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55964 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55965 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55966 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55967 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55968 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55969 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55970 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55971 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55972 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55973 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55974 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55975 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55976 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55977 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55978 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55979 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55980 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55981 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55982 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55983 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55984 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55985 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55986 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55987 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55988 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55989 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55990 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55991 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55993 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55994 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55995 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55996 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55997 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55998 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55999 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56000 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56001 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56003 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56004 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56005 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56006 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56007 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56008 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56009 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56010 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56011 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56012 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56016 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56017 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56024 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56025 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56027 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56028 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56031 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56032 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56034 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56036 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56037 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56039 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56040 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56041 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56043 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56045 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56046 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56047 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56048 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56049 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56050 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56051 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56052 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56053 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56054 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56056 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56059 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56061 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56062 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56063 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56064 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56065 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56066 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56068 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56069 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56070 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56071 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56072 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56073 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56074 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56075 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56076 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56077 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56078 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56079 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56080 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56081 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56082 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56083 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56084 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56085 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56086 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56087 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56088 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56089 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56090 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56091 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56092 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56093 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56094 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56095 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56096 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56097 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56098 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56099 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56101 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56102 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56103 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56104 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56105 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56106 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56107 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56108 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56109 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56110 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56111 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56112 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56113 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56114 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56115 * sysdeps/ieee754/s_lib_version.c: Likewise.
56116 * sysdeps/ieee754/s_matherr.c: Likewise.
56117 * sysdeps/ieee754/s_signgam.c: Likewise.
56118 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56119 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56120 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56121 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56122 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56123 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56124 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56125 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56126 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56127 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56128 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56129 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56130 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56131 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56132 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56133 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56134 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56135 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56136 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56139
56140 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56141
56142 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56143 * sunrpc/rpc_main.c: Likewise.
56144 * sunrpc/rpc_svcout.c: Likewise.
56145
56146 2012-03-09 David S. Miller <davem@davemloft.net>
56147
56148 * include/math_private.h: New file.
56149
56150 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56151
56152 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56153 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56154 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56155 from <bits/socket_type.h>.
56156 (enum __socket_type): Don't define here.
56157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56159 bits/socket_type.h.
56160
56161 [BZ #13566]
56162 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56163 checking __USE_GNU.
56164
56165 * Makerules ($(inst_includedir)/%.h): New rule.
56166 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56167 (install-others): Remove variable setting.
56168 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56169
56170 2012-03-08 Richard Henderson <rth@twiddle.net>
56171
56172 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56173 from macro to inline function; merge with the
56174 !__LIBC_INTERNAL_MATH_INLINES version.
56175 (__ieee754_sqrtf): Likewise.
56176
56177 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56178 to inline function.
56179 (__rintf, __floor, __floorf): Likewise.
56180
56181 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56182 macro to inline function.
56183 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56184
56185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56186 not <math/math_private.h>.
56187
56188 2012-03-08 David S. Miller <davem@davemloft.net>
56189
56190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56191 copyright year.
56192 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56193
56194 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56195
56196 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56197 normalization.
56198 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56199 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56200
56201 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56202
56203 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56204 be defined individually, they must be defined as a block. Define
56205 S for printing a string instead of hidint the different by using a
56206 macro for adding the 'l'.
56207 * stdio-common/tst-fphex-wide.c: Adjust.
56208
56209 2012-03-07 Marek Polacek <polacek@redhat.com>
56210
56211 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56212
56213 2012-03-08 Marek Polacek <polacek@redhat.com>
56214
56215 [BZ #13806]
56216 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56217 * stdio-common/tst-fphex.c: Define a few macros to make the
56218 test reusable. Use them.
56219 * stdio-common/tst-fphex-wide.c: New file.
56220
56221 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56222
56223 [BZ #6911]
56224 * manual/macros.texi (gnusystems): New macro.
56225 (nongnusystems): Likewise.
56226 (gnulinuxhurdsystems): Likewise.
56227 (gnuhurdsystems): Likewise..
56228 (gnulinuxsystems): Likewise.
56229 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56230 variants of the GNU system, not "GNU system".
56231 * manual/conf.texi: Likewise.
56232 * manual/errno.texi: Likewise. Update example of errno macro
56233 expansion.
56234 * manual/filesys.texi: Likewise.
56235 (getumask): Document as specific to GNU/Hurd.
56236 * manual/install.texi: Likewise. Reword some references to
56237 GNU/Linux.
56238 * manual/intro.texi: Likewise.
56239 * manual/io.texi: Likewise.
56240 (File Name Portability): Detail which constraints are inapplicable
56241 to all GNU systems and which are only inapplicable to GNU/Hurd.
56242 * manual/job.texi: Likewise.
56243 * manual/llio.texi: Likewise.
56244 (O_NOCTTY): Document as present on GNU/Linux.
56245 * manual/maint.texi: Likewise.
56246 * manual/memory.texi: Likewise.
56247 * manual/pattern.texi: Likewise.
56248 * manual/pipe.texi: Likewise.
56249 * manual/process.texi: Likewise.
56250 * manual/resource.texi: Likewise.
56251 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56252 child on GNU/Hurd.
56253 * manual/setjmp.texi: Likewise.
56254 * manual/signal.texi: Likewise.
56255 * manual/startup.texi: Likewise.
56256 * manual/stdio.texi: Likewise.
56257 * manual/terminal.texi: Likewise.
56258 (ONLCR): Document as POSIX.
56259 (OXTABS): Document availability on GNU/Linux as XTABS.
56260 (ONOEOT): Document availability separately from other bits.
56261 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56262 * manual/time.texi: Likewise.
56263 * manual/users.texi: Likewise.
56264 * INSTALL: Regenerated.
56265 * sysdeps/gnu/errlist.c: Regenerated.
56266
56267 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56268 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56269 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56270 puts.
56271 * configure: Regenerated.
56272
56273 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56274
56275 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56276 default includes instead of AC_HEADER_CHECK.
56277 * sysdeps/i386/configure: Regenerated.
56278
56279 [BZ #10716]
56280 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56281 * math/s_cacoshf.c (__cacoshf): Likewise.
56282 * math/s_cacoshl.c (__cacoshl): Likewise.
56283 * math/s_casinh.c (__casinh): Set signs of result from argument.
56284 * math/s_casinhf.c (__casinhf): Likewise.
56285 * math/s_casinhl.c (__casinhl): Likewise.
56286 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56287 (casinh_test): Add more tests.
56288 * sysdeps/i386/fpu/libm-test-ulps: Update.
56289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56290
56291 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56292
56293 * po/zh_TW.po: Update from translation team.
56294
56295 * login/Makefile (distribute): Remove variable.
56296 * catgets/Makefile: Likewise.
56297 * mach/Makefile: Likewise.
56298 * malloc/Makefile: Likewise.
56299 * misc/Makefile: Likewise.
56300 * iconv/Makefile: Likewise.
56301 * nscd/Makefile: Likewise.
56302 * hurd/Makefile: Likewise.
56303 * manual/Makefile: Likewise.
56304 * locale/Makefile: Likewise.
56305 * intl/Makefile: Likewise.
56306 * conform/Makefile: Likewise.
56307 * nss/Makefile: Likewise.
56308 * time/Makefile: Likewise.
56309 * soft-fp/Makefile: Likewise.
56310 * dirent/Makefile: Likewise.
56311 * gmon/Makefile: Likewise.
56312 * po/Makefile: Likewise.
56313 * rt/Makefile: Likewise.
56314 * socket/Makefile: Likewise.
56315 * math/Makefile: Likewise.
56316 * signal/Makefile: Likewise.
56317 * debug/Makefile: Likewise.
56318 * elf/Makefile: Likewise.
56319 * timezone/Makefile: Likewise.
56320 * stdlib/Makefile: Likewise.
56321 * iconvdata/Makefile: Likewise.
56322 * sunrpc/Makefile: Likewise.
56323 * io/Makefile: Likewise.
56324 * argp/Makefile: Likewise.
56325 * inet/Makefile: Likewise.
56326 * hesiod/Makefile: Likewise.
56327 * grp/Makefile: Likewise.
56328 * csu/Makefile: Likewise.
56329 * wctype/Makefile: Likewise.
56330 * crypt/Makefile: Likewise.
56331 * libio/Makefile: Likewise.
56332 * string/Makefile: Likewise.
56333 * nis/Makefile: Likewise.
56334 * resolv/Makefile: Likewise.
56335 * stdio-common/Makefile: Likewise.
56336 * wcsmbs/Makefile: Likewise.
56337 * dlfcn/Makefile: Likewise.
56338 * posix/Makefile: Likewise.
56339
56340 [BZ #6959]
56341 * timezone/Makefile: Don't install timezone files, just the programs
56342 and scripts.
56343
56344 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56345
56346 * nss/databases.def: Add missing gshadow entry.
56347
56348 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56349
56350 2012-03-06 Marek Polacek <polacek@redhat.com>
56351
56352 [BZ #13726]
56353 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56354 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56355 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56356 * stdio-common/tst-long-dbl-fphex.c: New file.
56357
56358 2012-03-06 David S. Miller <davem@davemloft.net>
56359
56360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56361 (set_obp_int): New function.
56362 (get_obp_int): New function.
56363 (__get_clockfreq_via_dev_openprom): Likewise.
56364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56365 Avoid unused variable warnings on 'val' and use builtin_expect.
56366 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56367 __builtin_expect.
56368 (INLINE_CLONE_SYSCALL): Likewise.
56369
56370 2012-03-05 David S. Miller <davem@davemloft.net>
56371
56372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56373
56374 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56375
56376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56377
56378 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56379 only for |x| >= 40.
56380 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56381
56382 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56383
56384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56385 Replace gettimeofday with __vdso_gettimeofday.
56386
56387 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56388 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56389 __vdso_clock_gettime and __vdso_getcpu.
56390
56391 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56392 time with __vdso_time.
56393
56394 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56395
56396 * manual/lang.texi (size_t): Note types to which size_t may be
56397 equivalent with the GNU C Library, but do not describe when
56398 differences between them are significant.
56399
56400 2012-03-05 Andreas Jaeger <aj@suse.de>
56401
56402 * sysdeps/i386/fpu/libm-test-ulps: Update.
56403
56404 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56405
56406 [BZ #3976]
56407 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56408 (__ieee754_pow): Save and restore rounding mode and use
56409 round-to-nearest for main computations.
56410 * math/libm-test.inc (pow_test_tonearest): New function.
56411 (pow_test_towardzero): Likewise.
56412 (pow_test_downward): Likewise.
56413 (pow_test_upward): Likewise.
56414 (main): Call the new functions.
56415 * sysdeps/i386/fpu/libm-test-ulps: Update.
56416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56417
56418 [BZ #3976]
56419 * math/libm-test.inc (cosh_test_tonearest): New function.
56420 (cosh_test_towardzero): Likewise.
56421 (cosh_test_downward): Likewise.
56422 (cosh_test_upward): Likewise.
56423 (sinh_test_tonearest): Likewise.
56424 (sinh_test_towardzero): Likewise.
56425 (sinh_test_downward): Likewise.
56426 (sinh_test_upward): Likewise.
56427 (main): Call the new functions.
56428 * sysdeps/i386/fpu/libm-test-ulps: Update.
56429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56430
56431 2012-03-05 Tom de Vries <tom@codesourcery.com>
56432
56433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56434 default stack guard is set in last bytes.
56435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56436
56437 2012-03-05 Kees Cook <keescook@chromium.org>
56438
56439 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56440
56441 [BZ #13656]
56442 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56443 possibly allocate from heap instead of stack.
56444 * stdio-common/bug-vfprintf-nargs.c: New file.
56445 * stdio-common/Makefile (tests): Add nargs overflow test.
56446
56447 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56448
56449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56450
56451 2012-03-03 Marek Polacek <polacek@redhat.com>
56452
56453 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56454 * math/math_private.h: Likewise.
56455 * stdlib/tst-strtod.c: Likewise.
56456 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56457 * sysdeps/x86_64/bits/atomic.h: Likewise.
56458
56459 2012-03-02 David S. Miller <davem@davemloft.net>
56460
56461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56465 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56466 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56467 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56468 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56469
56470 2012-03-02 Roland McGrath <roland@hack.frob.com>
56471
56472 [BZ #13792]
56473 * manual/examples/README: New file, says the example source files
56474 can be used under GPL>=2.
56475 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56476 line containing just "*/".
56477 * manual/examples/add.c: Add copyright header (GPL>=2).
56478 * manual/examples/argp-ex1.c: Likewise.
56479 * manual/examples/argp-ex2.c: Likewise.
56480 * manual/examples/argp-ex3.c: Likewise.
56481 * manual/examples/argp-ex4.c: Likewise.
56482 * manual/examples/atexit.c: Likewise.
56483 * manual/examples/db.c: Likewise.
56484 * manual/examples/dir.c: Likewise.
56485 * manual/examples/dir2.c: Likewise.
56486 * manual/examples/execinfo.c: Likewise.
56487 * manual/examples/filecli.c: Likewise.
56488 * manual/examples/filesrv.c: Likewise.
56489 * manual/examples/fmtmsgexpl.c: Likewise.
56490 * manual/examples/genpass.c: Likewise.
56491 * manual/examples/inetcli.c: Likewise.
56492 * manual/examples/inetsrv.c: Likewise.
56493 * manual/examples/isockad.c: Likewise.
56494 * manual/examples/longopt.c: Likewise.
56495 * manual/examples/memopen.c: Likewise.
56496 * manual/examples/memstrm.c: Likewise.
56497 * manual/examples/mkfsock.c: Likewise.
56498 * manual/examples/mkisock.c: Likewise.
56499 * manual/examples/mygetpass.c: Likewise.
56500 * manual/examples/pipe.c: Likewise.
56501 * manual/examples/popen.c: Likewise.
56502 * manual/examples/rprintf.c: Likewise.
56503 * manual/examples/search.c: Likewise.
56504 * manual/examples/select.c: Likewise.
56505 * manual/examples/setjmp.c: Likewise.
56506 * manual/examples/sigh1.c: Likewise.
56507 * manual/examples/sigusr.c: Likewise.
56508 * manual/examples/stpcpy.c: Likewise.
56509 * manual/examples/strdupa.c: Likewise.
56510 * manual/examples/strftim.c: Likewise.
56511 * manual/examples/strncat.c: Likewise.
56512 * manual/examples/subopt.c: Likewise.
56513 * manual/examples/swapcontext.c: Likewise.
56514 * manual/examples/termios.c: Likewise.
56515 * manual/examples/testopt.c: Likewise.
56516 * manual/examples/testpass.c: Likewise.
56517 * manual/examples/timeval_subtract.c: Likewise.
56518
56519 [BZ #13792]
56520 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56521 function to ...
56522 * manual/timeval_subtract.c.texi: ... here, new file.
56523
56524 2012-03-02 David S. Miller <davem@davemloft.net>
56525
56526 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56527
56528 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56529
56530 [BZ #3976]
56531 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56532 (__sin): Save and restore rounding mode and use round-to-nearest
56533 for all computations.
56534 (__cos): Save and restore rounding mode and use round-to-nearest
56535 for all computations.
56536 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56537 <fenv.h>.
56538 (tan): Save and restore rounding mode and use round-to-nearest for
56539 all computations.
56540 * math/libm-test.inc (cos_test_tonearest): New function.
56541 (cos_test_towardzero): Likewise.
56542 (cos_test_downward): Likewise.
56543 (cos_test_upward): Likewise.
56544 (sin_test_tonearest): Likewise.
56545 (sin_test_towardzero): Likewise.
56546 (sin_test_downward): Likewise.
56547 (sin_test_upward): Likewise.
56548 (tan_test_tonearest): Likewise.
56549 (tan_test_towardzero): Likewise.
56550 (tan_test_downward): Likewise.
56551 (tan_test_upward): Likewise.
56552 (main): Call the new functions.
56553 * sysdeps/i386/fpu/libm-test-ulps: Update.
56554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56555
56556 [BZ #10135]
56557 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56558 small n, then large n, before computing and testing k+n.
56559 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56561 Likewise.
56562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56563 Likewise.
56564 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56565 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56566 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56567 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56570 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56571 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56572 * math/libm-test.inc (scalbn_test): Add more tests.
56573 (scalbln_test): Likewise.
56574
56575 * manual/filesys.texi (mode_t): Describe constraints on size and
56576 signedness, not exact equivalence to a particular type.
56577 (ino_t): Likewise.
56578 (ino64_t): Likewise.
56579 (dev_t): Likewise.
56580 (nlink_t): Likewise.
56581 (blkcnt_t): Likewise.
56582 (blkcnt64_t): Likewise.
56583 * manual/llio.texi (off_t): Likewise.
56584
56585 [BZ #3976]
56586 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56587 (__ieee754_exp): Save and restore rounding mode and use
56588 round-to-nearest for all computations.
56589 * math/libm-test.inc (exp_test_tonearest): New function.
56590 (exp_test_towardzero): Likewise.
56591 (exp_test_downward): Likewise.
56592 (exp_test_upward): Likewise.
56593 (main): Call the new functions.
56594 * sysdeps/i386/fpu/libm-test-ulps: Update.
56595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56596
56597 2012-03-01 Chris Demetriou <cgd@google.com>
56598
56599 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56600 have predictable order.
56601
56602 2012-03-01 David S. Miller <davem@davemloft.net>
56603
56604 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56605
56606 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56607 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56608 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56609 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56610
56611 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56612 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56613 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56615 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56616 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56617 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56618 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56619 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56620
56621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56622
56623 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56624 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56625 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56626
56627 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56628 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56629 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56630 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56631 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56632 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56634 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56635 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56636 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56637 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56638 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56640 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56641 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56643 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56644 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56645 * sysdeps/sparc/elf/configure: Regenerated.
56646
56647 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56648
56649 * configure.in (AS, LD): Require binutils 2.20 or later.
56650 * configure: Regenerated.
56651 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56652 as required minimum version.
56653 * INSTALL: Regenerated.
56654
56655 [BZ #2541]
56656 [BZ #4108]
56657 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56658 before squaring exponent.
56659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56660 bottom long double and 27 bits of top long double before squaring
56661 exponent.
56662 * math/libm-test.inc (erfc_test): Add more tests.
56663 * sysdeps/i386/fpu/libm-test-ulps: Update.
56664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56666
56667 2012-03-01 Kai Tietz <ktietz@redhat.com>
56668
56669 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56670 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56671 containing bit-fields.
56672 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56673 * soft-fp/single.h (_FP_UNION_S): Likewise.
56674 * soft-fp/double.h (_FP_UNION_D): Likewise.
56675
56676 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56677
56678 [BZ #13786]
56679 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56680 not include ../strcmp.S.
56681 [USE_AS_STRNCASECMP_L]: Likewise.
56682 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56683 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56684 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56685 (__strncasecmp_l_ia32): Define as alias to
56686 __strncasecmp_l_nonascii.
56687
56688 [BZ #5794]
56689 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56690 * sysdeps/i386/fpu/libm-test-ulps: Update.
56691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56692
56693 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56695
56696 2012-02-29 Jeff Law <law@redhat.com>
56697
56698 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56699 out of bounds read.
56700
56701 2012-02-29 Marek Polacek <polacek@redhat.com>
56702
56703 [BZ #13706]
56704 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56705 * elf/Makefile: Add rules to run tst-unused-dep.out.
56706
56707 2012-02-28 David S. Miller <davem@davemloft.net>
56708
56709 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56710 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56711 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56713 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56714 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56715
56716 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56717
56718 * math/libm-test.inc (llround_test): Move one test from
56719 lround_test. Use TEST_f_L in moved test.
56720 (lround_test): Move misplaced test to llround_test. Add testcase
56721 from bug 2561.
56722
56723 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56724
56725 * sysdeps/x86_64/fpu/e_expf.S: New file.
56726 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56727
56728 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56729
56730 [BZ #13637]
56731 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56732 of remain_len that may cause incomplete multi-byte character and
56733 false match.
56734 * posix/bug-regex33.c: New file.
56735 * posix/Makefile (tests): Add bug-regex33.
56736
56737 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56738
56739 * manual/macros.texi: New file.
56740 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56741 * manual/libc.texinfo: Include macros.texi.
56742 * manual/creatute.texi: Likewise.
56743 * manual/install.texi: Likewise.
56744 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56745 @glibcadj{} in references to the GNU C Library.
56746 * manual/charset.texi: Likewise.
56747 * manual/conf.texi: Likewise.
56748 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56749 when not using those macros.
56750 * manual/creature.texi: Likewise.
56751 * manual/crypt.texi: Likewise.
56752 * manual/errno.texi: Likewise.
56753 * manual/filesys.texi: Likewise.
56754 * manual/header.texi: Likewise.
56755 * manual/install.texi: Likewise.
56756 * manual/intro.texi: Likewise.
56757 * manual/io.texi: Likewise.
56758 * manual/job.texi: Likewise.
56759 * manual/lang.texi: Likewise.
56760 * manual/libc.texiinfo: Likewise.
56761 * manual/llio.texi: Likewise.
56762 * manual/locale.texi: Likewise.
56763 * manual/maint.texi: Likewise.
56764 * manual/math.texi: Likewise.
56765 * manual/memory.texi: Likewise.
56766 * manual/message.texi: Likewise.
56767 * manual/nss.texi: Likewise.
56768 * manual/pattern.texi: Likewise.
56769 * manual/process.texi: Likewise.
56770 * manual/resource.texi: Likewise.
56771 * manual/search.texi: Likewise.
56772 * manual/setjmp.texi: Likewise.
56773 * manual/signal.texi: Likewise.
56774 * manual/socket.texi: Likewise.
56775 * manual/startup.texi: Likewise.
56776 * manual/stdio.texi: Likewise.
56777 * manual/string.texi: Likewise.
56778 * manual/sysinfo.texi: Likewise.
56779 * manual/syslog.texi: Likewise.
56780 * manual/terminal.texi: Likewise.
56781 * manual/time.texi: Likewise.
56782 * manual/users.texi: Likewise.
56783 * INSTALL: Regenerated.
56784 * NOTES: Regenerated.
56785 * sysdeps/gnu/errlist.c: Regenerated.
56786
56787 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56788
56789 * include/dirent.h: Include <dirstream.h> before
56790 <dirent/dirent.h>.
56791
56792 2012-02-28 David S. Miller <davem@davemloft.net>
56793
56794 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56795 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56796 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56797 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56798
56799 2012-02-27 David S. Miller <davem@davemloft.net>
56800
56801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56803 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56804 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56805
56806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56807 frame pointer instead of stack pointer relative arg slot.
56808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56809 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56810 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56811
56812 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56813
56814 [BZ #3992]
56815 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56816
56817 2012-02-27 David S. Miller <davem@davemloft.net>
56818
56819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56825 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56827
56828 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56829
56830 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56831 later. Allow versions 5-9.
56832 * configure: Regenerated.
56833 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56834 required minimum version and 4.6 as recommended version. Do not
56835 mention bugs in GCC 2.7 and 2.8.
56836 * INSTALL: Regenerated.
56837
56838 2012-02-27 David S. Miller <davem@davemloft.net>
56839
56840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56844 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56845 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56846 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56847 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56848
56849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56850 manipulate bits before adding and subtracting TWO112[sx].
56851 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56852
56853 2012-02-27 Roland McGrath <roland@hack.frob.com>
56854
56855 [BZ #13775]
56856 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56857 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56858 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56859 being in POSIX, because they are in 1003.1-2008.
56860
56861 * rt/tst-aio.c: Include <fcntl.h>.
56862 * rt/tst-aio7.c: Likewise.
56863 * rt/tst-aio64.c: Likewise.
56864
56865 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56866
56867 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56868
56869 * manual/install.texi (--with-headers): Describe headers as
56870 interface headers, not private headers.
56871 (Specific advice for GNU/Linux systems): Describe use of headers
56872 from "make headers_install", not private headers from older
56873 kernels.
56874 * INSTALL: Regenerated.
56875 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56876 Change to 2.6.19.
56877 * sysdeps/unix/sysv/linux/configure: Regenerated.
56878
56879 * manual/llio.texi (fclean): Remove documentation.
56880
56881 * manual/Makefile (libc-texi-generated): New variable. Include
56882 version.texi.
56883 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56884 $(libc-texi-generated), not duplicated list of files.
56885 (version.texi, stamp-version): New rules.
56886 (realclean): Remove $(libc-texi-generated), not individual files
56887 from that list. Do not remove dir-add.texinfo.
56888 * manual/libc.texinfo: Comment out uses of edition numbers and
56889 references to printed manual. Remove last-updated dates.
56890 (EDITION): Comment out.
56891 (ISBN): Likewise.
56892 (VERSION, UPDATED): Remove.
56893 (version.texi): Include.
56894
56895 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56896
56897 * sysdeps/posix/spawni.c: Include <signal.h>.
56898 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56899 * sysdeps/pthread/aio_fsync.c: Likewise.
56900
56901 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56902
56903 * conform/Makefile (tests): Run only when not cross-compiling and
56904 when fast-check is not defined.
56905
56906 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56907 * conform/data/limits.h-data: Fixes for POSIX2008.
56908 * conform/run-conformtest.sh: Run all tests.
56909 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56910 headers.
56911 * include/bits/dlfcn.h: Likewise.
56912 * include/langinfo.h: Likewise.
56913 * include/monetary.h: Likewise.
56914 * include/sys/poll.h: Likewise.
56915
56916 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56917 for __USE_GNU.
56918 * posix/spawn.h: Define __need_sigset_t.
56919 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56920 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56921 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56922 to get sigevent_t only.
56923 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56924 only for __USE_GNU.
56925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56926 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56927 process_vm_writev only for __USE_GNU.
56928 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56929
56930 * conform/Makefile: For now ignore errors from run-conformtest.
56931 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56932 POSIX to avoid namespace pollution. Don't prepend headers.
56933 * conform/data/aio.h-data: Fixes for POSIX testing.
56934 * conform/data/fcntl.h-data: Likewise.
56935 * conform/data/glob.h-data: Likewise.
56936 * conform/data/grp.h-data: Likewise.
56937 * conform/data/pthread.h-data: Likewise.
56938 * conform/data/pwd.h-data: Likewise.
56939 * conform/data/signal.h-data: Likewise.
56940 * conform/data/spawn.h-data: Likewise.
56941 * conform/data/stdio.h-data: Likewise.
56942 * conform/data/stdlib.h-data: Likewise.
56943 * conform/data/stropts.h-data: Likewise.
56944 * conform/data/sys/mman.h-data: Likewise.
56945 * conform/data/sys/stat.h-data: Likewise.
56946 * conform/data/sys/types.h-data: Likewise.
56947 * conform/data/sys/wait.h-data: Likewise.
56948 * conform/data/time.h-data: Likewise.
56949 * conform/data/unistd.h-data: Likewise.
56950 * conform/data/utime.h-data: Likewise.
56951
56952 * io/sys/stat.h: fchmod was always in POSIX.
56953 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56954 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56955 * rt/aio.h: Define __need_timespec before including <time.h>.
56956 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56957 struct. Add forward declaration of pthread_attr_t and use it in
56958 sigevent.
56959 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56961 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56962 always remove CLK_TCK definition.
56963
56964 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56965
56966 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56967
56968 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56969
56970 * conform/run-conformtest.sh: New file.
56971 * conform/Makefile: Run run-conformtest for tests.
56972 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56973 support.
56974
56975 * conform/data/uchar.h-data: New file.
56976 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56977 * conform/data/arpa/inet.h-data: Likewise.
56978 * conform/data/assert.h-data: Likewise.
56979 * conform/data/complex.h-data: Likewise.
56980 * conform/data/cpio.h-data: Likewise.
56981 * conform/data/ctype.h-data: Likewise.
56982 * conform/data/dirent.h-data: Likewise.
56983 * conform/data/dlfcn.h-data: Likewise.
56984 * conform/data/errno.h-data: Likewise.
56985 * conform/data/fcntl.h-data: Likewise.
56986 * conform/data/float.h-data: Likewise.
56987 * conform/data/fmtmsg.h-data: Likewise.
56988 * conform/data/fnmatch.h-data: Likewise.
56989 * conform/data/ftw.h-data: Likewise.
56990 * conform/data/glob.h-data: Likewise.
56991 * conform/data/grp.h-data: Likewise.
56992 * conform/data/iconv.h-data: Likewise.
56993 * conform/data/inttypes.h-data: Likewise.
56994 * conform/data/langinfo.h-data: Likewise.
56995 * conform/data/libgen.h-data: Likewise.
56996 * conform/data/limits.h-data: Likewise.
56997 * conform/data/locale.h-data: Likewise.
56998 * conform/data/math.h-data: Likewise.
56999 * conform/data/monetary.h-data: Likewise.
57000 * conform/data/mqueue.h-data: Likewise.
57001 * conform/data/ndbm.h-data: Likewise.
57002 * conform/data/net/if.h-data: Likewise.
57003 * conform/data/netdb.h-data: Likewise.
57004 * conform/data/netinet/in.h-data: Likewise.
57005 * conform/data/nl_types.h-data: Likewise.
57006 * conform/data/poll.h-data: Likewise.
57007 * conform/data/pthread.h-data: Likewise.
57008 * conform/data/pwd.h-data: Likewise.
57009 * conform/data/regex.h-data: Likewise.
57010 * conform/data/sched.h-data: Likewise.
57011 * conform/data/search.h-data: Likewise.
57012 * conform/data/semaphore.h-data: Likewise.
57013 * conform/data/setjmp.h-data: Likewise.
57014 * conform/data/signal.h-data: Likewise.
57015 * conform/data/spawn.h-data: Likewise.
57016 * conform/data/stdarg.h-data: Likewise.
57017 * conform/data/stdio.h-data: Likewise.
57018 * conform/data/stdlib.h-data: Likewise.
57019 * conform/data/string.h-data: Likewise.
57020 * conform/data/strings.h-data: Likewise.
57021 * conform/data/stropts.h-data: Likewise.
57022 * conform/data/sys/ipc.h-data: Likewise.
57023 * conform/data/sys/mman.h-data: Likewise.
57024 * conform/data/sys/msg.h-data: Likewise.
57025 * conform/data/sys/resource.h-data: Likewise.
57026 * conform/data/sys/select.h-data: Likewise.
57027 * conform/data/sys/sem.h-data: Likewise.
57028 * conform/data/sys/shm.h-data: Likewise.
57029 * conform/data/sys/socket.h-data: Likewise.
57030 * conform/data/sys/stat.h-data: Likewise.
57031 * conform/data/sys/statvfs.h-data: Likewise.
57032 * conform/data/sys/time.h-data: Likewise.
57033 * conform/data/sys/timeb.h-data: Likewise.
57034 * conform/data/sys/times.h-data: Likewise.
57035 * conform/data/sys/types.h-data: Likewise.
57036 * conform/data/sys/uio.h-data: Likewise.
57037 * conform/data/sys/un.h-data: Likewise.
57038 * conform/data/sys/utsname.h-data: Likewise.
57039 * conform/data/sys/wait.h-data: Likewise.
57040 * conform/data/syslog.h-data: Likewise.
57041 * conform/data/tar.h-data: Likewise.
57042 * conform/data/termios.h-data: Likewise.
57043 * conform/data/utime.h-data: Likewise.
57044 * conform/data/utmpx.h-data: Likewise.
57045 * conform/data/varargs.h-data: Likewise.
57046 * conform/data/wchar.h-data: Likewise.
57047 * conform/data/wctype.h-data: Likewise.
57048 * conform/data/wordexp.h-data: Likewise.
57049
57050 * include/stropts.h: New file.
57051 * include/uchar.h: New file.
57052 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57053 * include/assert.h: Likewise.
57054 * include/ctype.h: Likewise.
57055 * include/dirent.h: Likewise.
57056 * include/dlfcn.h: Likewise.
57057 * include/fcntl.h: Likewise.
57058 * include/fnmatch.h: Likewise.
57059 * include/glob.h: Likewise.
57060 * include/grp.h: Likewise.
57061 * include/libio.h: Likewise.
57062 * include/locale.h: Likewise.
57063 * include/math.h: Likewise.
57064 * include/net/if.h: Likewise.
57065 * include/netdb.h: Likewise.
57066 * include/netinet/in.h: Likewise.
57067 * include/pthread.h: Likewise.
57068 * include/pwd.h: Likewise.
57069 * include/regex.h: Likewise.
57070 * include/sched.h: Likewise.
57071 * include/search.h: Likewise.
57072 * include/setjmp.h: Likewise.
57073 * include/signal.h: Likewise.
57074 * include/stdio.h: Likewise.
57075 * include/stdlib.h: Likewise.
57076 * include/string.h: Likewise.
57077 * include/sys/cdefs.h: Likewise.
57078 * include/sys/mman.h: Likewise.
57079 * include/sys/msg.h: Likewise.
57080 * include/sys/resource.h: Likewise.
57081 * include/sys/select.h: Likewise.
57082 * include/sys/socket.h: Likewise.
57083 * include/sys/stat.h: Likewise.
57084 * include/sys/statvfs.h: Likewise.
57085 * include/sys/time.h: Likewise.
57086 * include/sys/times.h: Likewise.
57087 * include/sys/uio.h: Likewise.
57088 * include/sys/utsname.h: Likewise.
57089 * include/sys/wait.h: Likewise.
57090 * include/termios.h: Likewise.
57091 * include/time.h: Likewise.
57092 * include/ulimit.h: Likewise.
57093 * include/unistd.h: Likewise.
57094 * include/utime.h: Likewise.
57095 * include/wchar.h: Likewise.
57096 * include/wctype.h: Likewise.
57097 * include/wordexp.h: Likewise.
57098
57099 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57100
57101 * time/time.h: TIME_UTC must be a macro.
57102 Make timespec_get available for ISO C11 only as well.
57103
57104 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57105
57106 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57107 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57108
57109 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57110
57111 * configure.in: Use -o not -a in test for unsupported multi-arch.
57112
57113 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57114
57115 * manual/texinfo.tex: Update to version 2012-01-19.16.
57116
57117 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57118
57119 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57120
57121 2012-02-24 Roland McGrath <roland@hack.frob.com>
57122
57123 [BZ #13738]
57124 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57125 * manual/fdl-1.3.texi: New file.
57126 * manual/fdl-1.1.texi: File removed.
57127
57128 [BZ #13738]
57129 * manual/libc.texinfo (FDL_VERSION): New @set.
57130 Use it for mention of FDL in cover text.
57131 (Documentation License): Use it in @include file name.
57132
57133 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57134 Roland McGrath <roland@hack.frob.com>
57135
57136 [BZ #5461]
57137 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57138 (not LONG_LONG_MAX and LONG_LONG_MIN.
57139 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57140 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57141 name.
57142 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57143
57144 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57145
57146 [BZ #2547]
57147 [BZ #11365]
57148 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57149 manipulate bits before adding and subtracting TWO23[sx].
57150 * math/libm-test.inc (nearbyint_test): Add more tests.
57151
57152 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57153
57154 [BZ #2548]
57155 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57156 bits before adding and subtracting TWO23[sx].
57157 * math/libm-test.inc (rint_test): Add more tests.
57158 (rint_test_tonearest): Likewise.
57159 (rint_test_towardzero): Likewise.
57160 (rint_test_downward): Likewise.
57161 (rint_test_upward: Likewise.
57162
57163 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57164
57165 [BZ #10110]
57166 * include/stdc-predef.h: New file. Extracted from features.h.
57167 * include/features.h: Include stdc-predef.h.
57168 * Makefile (headers): Add stdc-predef.h.
57169 * CONFORMANCE (Compiler limitations): Update.
57170
57171 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57172
57173 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57174
57175 2012-02-21 David S. Miller <davem@davemloft.net>
57176
57177 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57178 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57179
57180 2012-02-20 David S. Miller <davem@davemloft.net>
57181
57182 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57183 using a normal save/restore sequence, rather than allocating a
57184 dummy stack frame just to store a frame pointer and restore.
57185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57186
57187 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57188
57189 * manual/install.texi: Fix stray word in line-wrapped comment.
57190
57191 2012-02-20 David S. Miller <davem@davemloft.net>
57192
57193 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57194 both binutils and gcc support GOTDATA.
57195
57196 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57197 "rd %pc" in the PIC register setup sequences.
57198
57199 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57200 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57201 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57202 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57203 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57208 (SYSCALL_ERROR_HANDLER): Likewise.
57209 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57210 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57212 (SYSCALL_ERROR_HANDLER): Likewise.
57213
57214 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57215 (HAVE_GCC_GOTDATA): New.
57216 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57217 relocation support in both binutils and gcc.
57218 * sysdeps/sparc/elf/configure: Regenerate.
57219
57220 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57221 * sysdeps/sparc/sparc32/elf/configure: Delete.
57222 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57223 * sysdeps/sparc/sparc64/elf/configure: Delete.
57224 * sysdeps/sparc/elf/configure.in: New file.
57225 * sysdeps/sparc/elf/configure: Generate.
57226
57227 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57228 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57229 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57230 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57231 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57232
57233 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57234
57235 * manual/install.texi: Do not mention specific glibc version
57236 numbers.
57237 * manual/libc.texinfo (VERSION, UPDATED): Update.
57238 (@copying): Use @copyright{} and range of years.
57239
57240 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57241
57242 [BZ #13695]
57243 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57244 [crti.S not in sysdirs] (generated): Do not append.
57245 [crti.S not in sysdirs] (omit-deps): Likewise.
57246 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57247 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57248 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57249 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57250 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57251 Likewise.
57252 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57253 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57254 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57255 * csu/defs.awk: Remove file.
57256 * sysdeps/generic/initfini.c: Likewise.
57257 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57258 variable.
57259 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57260 Likewise.
57261
57262 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57263
57264 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57265 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57266 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57267 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57268 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57269 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57270 <bits/epoll.h>.
57271 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57272 (__EPOLL_PACKED): Define to empty if not defined by
57273 <bits/epoll.h>.
57274 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57276 bits/epoll.h.
57277
57278 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57279
57280 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57281 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57282 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57284 <bits/timerfd.h>.
57285 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57287 bits/timerfd.h.
57288
57289 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57290
57291 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57292 in C locale.
57293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57294 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57295 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57297
57298 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57299
57300 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57301 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57302
57303 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57304
57305 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57306 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57307 defined.
57308 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57309 Likewise.
57310 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57311 entry for 2.16.
57312
57313 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57314
57315 * math/w_acos.c: Use non-signaling floating-point comparisons.
57316 * math/w_acosf.c: Likewise.
57317 * math/w_acosh.c: Likewise.
57318 * math/w_acoshf.c: Likewise.
57319 * math/w_acoshl.c: Likewise.
57320 * math/w_acosl.c: Likewise.
57321 * math/w_asin.c: Likewise.
57322 * math/w_asinf.c: Likewise.
57323 * math/w_asinl.c: Likewise.
57324 * math/w_atanh.c: Likewise.
57325 * math/w_atanhf.c: Likewise.
57326 * math/w_atanhl.c: Likewise.
57327 * math/w_exp2.c: Likewise.
57328 * math/w_exp2f.c: Likewise.
57329 * math/w_exp2l.c: Likewise.
57330 * math/w_j0.c: Likewise.
57331 * math/w_j0f.c: Likewise.
57332 * math/w_j0l.c: Likewise.
57333 * math/w_j1.c: Likewise.
57334 * math/w_j1f.c: Likewise.
57335 * math/w_j1l.c: Likewise.
57336 * math/w_jn.c: Likewise.
57337 * math/w_jnf.c: Likewise.
57338 * math/w_log.c: Likewise.
57339 * math/w_log10.c: Likewise.
57340 * math/w_log10f.c: Likewise.
57341 * math/w_log10l.c: Likewise.
57342 * math/w_log2.c: Likewise.
57343 * math/w_log2f.c: Likewise.
57344 * math/w_log2l.c: Likewise.
57345 * math/w_logf.c: Likewise.
57346 * math/w_logl.c: Likewise.
57347 * math/w_sqrt.c: Likewise.
57348 * math/w_sqrtf.c: Likewise.
57349 * math/w_sqrtl.c: Likewise.
57350 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57351 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57353 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57354 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57355
57356 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57357
57358 [BZ #9739]
57359 * manual/string.texi (strnlen): Use correct parameter name in
57360 equivalent expression.
57361
57362 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57363
57364 [BZ #11174]
57365 * manual/users.texi (seteuid): Consistently use neweuid for
57366 argument name.
57367
57368 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57369
57370 [BZ #13704]
57371 * manual/nss.texi (Services in the NSS configuration): Correct
57372 list of services in example configuration file.
57373
57374 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57375
57376 [BZ #11322]
57377 * manual/arith.texi: Remove statements about negative zero
57378 behaving identically to zero.
57379
57380 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57381
57382 [BZ #5993]
57383 * manual/install.texi: Do not document upgrading from libc5.
57384
57385 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57386
57387 [BZ #4596]
57388 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57389
57390 2012-02-18 David S. Miller <davem@davemloft.net>
57391
57392 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57393 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57394 %o7 across the call.
57395 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57396 instead.
57397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57398 SETUP_PIC_REG_LEAF.
57399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57400 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57401 * sysdeps/sparc/crtn.S: Likewise.
57402
57403 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57404
57405 * aout/Makefile: Remove.
57406
57407 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57408
57409 [BZ #13058]
57410 * manual/examples/argp-ex1.c (main): Format definition in GNU
57411 style.
57412 * manual/examples/argp-ex2.c (main): Likewise.
57413 * manual/examples/argp-ex3.c (main): Likewise.
57414 * manual/examples/argp-ex4.c (main): Likewise.
57415 * manual/examples/longopt.c (main): Use new-style prototype
57416 definition.
57417 * manual/examples/strncat.c (main): Specify return type and use
57418 (void) for arguments.
57419 * manual/examples/subopt.c (main): Use char **argv argument.
57420
57421 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57422
57423 [BZ #5077]
57424 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57425 rounding modes.
57426
57427 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57428
57429 [BZ #6907]
57430 * manual/string.texi (strchr): Change when strchrnul is
57431 recommended.
57432
57433 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57434
57435 [BZ #174]
57436 * manual/locale.texi (setlocale): Document LOCPATH.
57437
57438 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57439
57440 [BZ #10210]
57441 * manual/process.texi (execle): Move @dots{} before last argument.
57442
57443 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57444
57445 [BZ #12047]
57446 * manual/charset.texi (Generic Charset Conversion): Fix typo
57447 (LC_TYPE -> LC_CTYPE).
57448
57449 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57450
57451 [BZ #5805]
57452 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57453 (scalbnf): Likewise.
57454 (scalbnl): Likewise.
57455 (scalbln): Likewise.
57456 (scalblnf): Likewise.
57457 (scalblnl): Likewise.
57458 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57459 (vwarnx): Likewise.
57460 (verr): Likewise.
57461 (verrx): Likewise.
57462 * manual/filesys.texi (telldir): Use braces around return type.
57463 * manual/llio.texi (mmap): Add space after comma.
57464 (mmap64): Likewise.
57465 * manual/math.texi (jn): Use @var{} on parameter names.
57466 (jnf): Likewise.
57467 (jnl): Likewise.
57468 (yn): Likewise.
57469 (ynf): Likewise.
57470 (ynl): Likewise.
57471 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57472 line.
57473 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57474 "...".
57475 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57476 (sched_get_priority_max): Likewise.
57477 * manual/signal.texi (sigvec): Add space after comma.
57478 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57479 names.
57480 (if_indextoname): Likewise.
57481 (if_freenameindex): Likewise.
57482 (sendto): Use ',' instead of '.' in prototype.
57483 * manual/startup.texi (syscall): Use @dots{} instead of literal
57484 "...".
57485 * manual/stdio.texi (__fpending): Separate initial words of
57486 paragraph from @deftypefun line.
57487 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57488 "...".
57489 (vsyslog): Use @var{} on parameter names.
57490 * manual/terminal.texi (stty): Use @var{} on parameter names.
57491 * manual/users.texi (getutmp): Use @var{} on parameter names.
57492 (getutmpx): Likewise.
57493
57494 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57495
57496 [BZ #6884]
57497 * manual/stdio.texi (fopen): Fix typos in description of
57498 ",ccs=STRING".
57499
57500 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57501
57502 [BZ #4026]
57503 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57504 get clock_id definition.
57505
57506 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57507
57508 [BZ #4822]
57509 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57510 (madvise): Cast every argument to void on its own.
57511
57512 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57513
57514 [BZ #9902]
57515 * manual/startup.texi (Exit Status): Fix typo.
57516
57517 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57518
57519 [BZ #10140]
57520 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57521 * manual/examples/argp-ex2.c: Likewise.
57522 * manual/examples/argp-ex3.c: Likewise.
57523
57524 2012-02-16 Richard Henderson <rth@redhat.com>
57525
57526 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57527 * sysdeps/s390/s390-32/initfini.c: Remove.
57528 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57529 * sysdeps/s390/s390-64/initfini.c: Remove.
57530
57531 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57532
57533 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57534 compiler output for sysdeps/generic/initfini.c.
57535 * sysdeps/sh/elf/initfini.c: Remove file.
57536
57537 2012-02-16 David S. Miller <davem@davemloft.net>
57538
57539 [BZ #11494]
57540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57541
57542 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57543 * sysdeps/sparc/crti.S: New file.
57544 * sysdeps/sparc/crtn.S: New file.
57545 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57546 * sysdeps/sparc/sparc64/Makefile: Likewise.
57547
57548 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57549
57550 [BZ #3335]
57551 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57552
57553 2012-02-15 Roland McGrath <roland@hack.frob.com>
57554
57555 [BZ #4822]
57556 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57557
57558 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57559 (write, read, close): Likewise.
57560 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57561
57562 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57563
57564 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57565 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57566 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57567 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57568 <bits/signalfd.h>.
57569 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57571 bits/signalfd.h.
57572
57573 2012-02-14 Marek Polacek <polacek@redhat.com>
57574
57575 * sysdeps/x86_64/crti.S: New file.
57576 * sysdeps/x86_64/crtn.S: New file.
57577 * sysdeps/x86_64/elf/initfini.c: Remove file.
57578
57579 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57580
57581 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57582 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57583 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57584 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57585 <bits/inotify.h>.
57586 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57588 bits/inotify.h.
57589
57590 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57591
57592 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57593 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57594 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57595 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57596 <bits/eventfd.h>.
57597 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57599 bits/eventfd.h.
57600
57601 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57602
57603 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57604 __feraiseexcept instead of feraiseexcept.
57605
57606 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57607 nanosleep invocations.
57608 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57609 strings, and add error checking for a nanosleep invocations.
57610
57611 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57612
57613 Replace FSF snail mail address with URLs, as per GNU coding standards.
57614 Most of the snail mail addresses were wrong anyway, and omitting
57615 them makes the source code easier to maintain. Almost all of the
57616 changes are to license notices and to locale LC_IDENTIFICATION
57617 addresses, except for this one:
57618 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57619 not its snail mail address.
57620
57621 2012-02-09 Richard Henderson <rth@twiddle.net>
57622
57623 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57624 of kernel-features.h.
57625
57626 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57627
57628 2012-02-08 Marek Polacek <polacek@redhat.com>
57629
57630 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57631 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57632 * sysdeps/gnu/_G_config.h: Likewise.
57633 * sysdeps/generic/_G_config.h: Likewise.
57634
57635 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57636
57637 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57638 tests.
57639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57640
57641 * sysdeps/powerpc/powerpc32/crti.S: New file.
57642 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57643 * sysdeps/powerpc/powerpc64/crti.S: New file.
57644 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57645
57646 * Makeconfig (have-initfini): Don't set.
57647 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57648 * configure.in (nopic_initfini): Don't substitute.
57649 * config.h.in (HAVE_INITFINI): Don't #undef.
57650 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57651 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57652
57653 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57654
57655 Support crti.S and crtn.S provided directly by architectures.
57656 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57657 [crti.S in sysdirs] (omit-deps): Likewise.
57658 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57659 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57660 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57661 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57662 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57663 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57664 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57665 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57666 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57667 compiler output for sysdeps/generic/initfini.c.
57668 * sysdeps/i386/elf/Makefile: Remove file.
57669 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57670
57671 2012-02-07 Marek Polacek <polacek@redhat.com>
57672
57673 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57674 * sysdeps/gnu/_G_config.h: Likewise.
57675 * sysdeps/mach/hurd/_G_config.h: Likewise.
57676
57677 2012-02-07 Marek Polacek <polacek@redhat.com>
57678
57679 * math/Makefile (tests): Add tst-CMPLX2.
57680 * math/tst-CMPLX2.c: New file.
57681
57682 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57683
57684 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57685
57686 * math/libm-test.inc (jn_test): Add missing L suffix.
57687
57688 2012-02-06 Marek Polacek <polacek@redhat.com>
57689
57690 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57691 * sysdeps/i386/fpu/e_powf.S: Likewise.
57692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57693 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57694 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57695 * sysdeps/i386/fpu/e_pow.S: Likewise.
57696 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57697 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57698 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57699 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57700 * sysdeps/i386/fpu/e_log2.S: Likewise.
57701 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57703 * sysdeps/i386/fpu/e_powl.S: Likewise.
57704 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57705 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57706 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57707 * sysdeps/i386/fpu/e_logl.S: Likewise.
57708 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57709 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57710 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57711 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57712 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57713 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57714 * sysdeps/i386/fpu/e_log.S: Likewise.
57715 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57716 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57717 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57718 * sysdeps/i386/fpu/e_logf.S: Likewise.
57719 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57720 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57721 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57722 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57723 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57724 * sysdeps/i386/fpu/e_log10.S: Likewise.
57725 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57726 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57727 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57728 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57729 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57730 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57731 * sysdeps/i386/asm-syntax.h: Likewise.
57732 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57733 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57734 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57735 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57736 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57737 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57738 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57739 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57740 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57741 * sysdeps/powerpc/sysdep.h: Likewise.
57742 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57743 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57744
57745 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57746
57747 [BZ #411]
57748 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57749
57750 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57751
57752 * sysdeps/i386/sysdep.h: Include <features.h>.
57753 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57754 version.
57755
57756 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57757
57758 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57759 Define.
57760 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57761 LOAD_PIC_REG_STR.
57762
57763 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57764
57765 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57766 (SETUP_PIC_REG): Use GET_PC_THUNK.
57767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57768 macro.
57769
57770 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57771
57772 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57773 for non-PIC compilation.
57774 (SETUP_PIC_REG): Add .p2align directive.
57775 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57776 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57777 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57778 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57779 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57780 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57781 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57782 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57783 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57784 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57785 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57786 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57787 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57788 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57789 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57790 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57791 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57792 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57793 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57794 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57795 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57796 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57797 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57798 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57801 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57803 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57804 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57805 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57806 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57807 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57808 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57809 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57810 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57811 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57812 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57813 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57814 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57815 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57816
57817 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57818
57819 * math/tst-CMPLX.c: Include <stdio.h>.
57820
57821 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57822
57823 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57824 float.
57825 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57826 * sysdeps/sparc/bits/mathdef.h: Likewise.
57827
57828 2012-01-31 Marek Polacek <polacek@redhat.com>
57829
57830 * libio/libio.h: Don't define _PARAMS.
57831 * locale/programs/config.h: Don't define PARAMS.
57832 * stdlib/strtol_l.c: Likewise.
57833 (__strtol_l): Remove PARAMS from the prototype.
57834
57835 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57836
57837 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57838 names. Just use the correct names. Remove unnecessary wrapper
57839 functions.
57840 * malloc/arena.c: Likewise.
57841 * malloc/hooks.c: Likewise.
57842
57843 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57844 ARENA_TEST says not to. Simplify test for creation of a new arena.
57845 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57846
57847 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57848
57849 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57850 into tail calls.
57851 (update_get_addr): New function.
57852 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57853 GET_ADDR_MODULE parameter.
57854
57855 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57856
57857 * crypt/cert.c: Remove __STDC__ conditionals.
57858 * crypt/crypt-entry.c: Likewise.
57859 * crypt/crypt_util.c: Likewise.
57860 * libio/filedoalloc.c: Likewise.
57861 * libio/fileops.c: Likewise.
57862 * libio/genops.c: Likewise.
57863 * libio/iofclose.c: Likewise.
57864 * libio/iofdopen.c: Likewise.
57865 * libio/iofopen.c: Likewise.
57866 * libio/iofopen64.c: Likewise.
57867 * libio/iogetdelim.c: Likewise.
57868 * libio/iopopen.c: Likewise.
57869 * libio/obprintf.c: Likewise.
57870 * libio/oldfileops.c: Likewise.
57871 * libio/oldiofclose.c: Likewise.
57872 * libio/oldiofdopen.c: Likewise.
57873 * libio/oldiofopen.c: Likewise.
57874 * libio/oldiopopen.c: Likewise.
57875 * libio/wfiledoalloc.c: Likewise.
57876 * libio/wgenops.c: Likewise.
57877 * locale/programs/xmalloc.c: Likewise.
57878 * misc/syslog.c: Likewise.
57879 * stdio-common/xbug.c: Likewise.
57880 * string/memchr.c: Likewise.
57881 * string/memcmp.c: Likewise.
57882 * string/memrchr.c: Likewise.
57883 * string/rawmemchr.c: Likewise.
57884 * sysdeps/posix/getcwd.c: Likewise.
57885 * time/strftime_l.c: Likewise.
57886
57887 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57888
57889 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57890 * config.make.in (config-cflags-sse2avx): Define.
57891 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57892 Fix typo.
57893
57894 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57895
57896 * scripts/config.guess: Update from upstream config git repository.
57897 * scripts/config.sub: Likewise.
57898
57899 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57900
57901 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57902 (EM_NUM): Update.
57903 (R_TILEPRO_*, R_TILEGX_*): New macros.
57904
57905 * scripts/firstversions.awk: Fix bug in version range handling.
57906
57907 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57908
57909 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57910
57911 * include/sys/epoll.h: New file.
57912 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57913 libc_hidden_def.
57914
57915 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57916
57917 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57918 Avoid unnecessary __WORDSIZE == 64 test.
57919 (fmaxf): Use VEX format if possible.
57920 (fmax): Likewise.
57921 (fminf): Likewise.
57922 (fmin): Likewise.
57923
57924 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57925 * math/math_private.h: Remove libc_fegetround* and
57926 libc_fesetround*.
57927 * sysdeps/i386/configure.in: Check for -msse2avx.
57928 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57929 also if SSE2AVX is defined.
57930 Remove libc_fegetround* and libc_fesetround*.
57931 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57932 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57933 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57934 of HAS_YMM_USABLE.
57935 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57936 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57940
57941 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57942
57943 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57944
57945 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57946 size is not set.
57947 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57948
57949 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57950
57951 [BZ #13618]
57952 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57953 relocation.
57954 * Makeconfig (libm): Define.
57955 * elf/Makefile: Add rules to build and run tst-relsort1.
57956 * elf/tst-relsort1.c: New file.
57957 * elf/tst-relsort1mod1.c: New file.
57958 * elf/tst-relsort1mod2.c: New file.
57959
57960 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57961
57962 * math/s_ldexp.c: Remove __STDC__ conditionals.
57963 * math/s_ldexpf.c: Likewise.
57964 * math/s_ldexpl.c: Likewise.
57965 * math/s_nextafter.c: Likewise.
57966 * math/s_nexttowardf.c: Likewise.
57967 * math/s_significand.c: Likewise.
57968 * math/s_significandf.c: Likewise.
57969 * math/s_significandl.c: Likewise.
57970 * math/w_jnl.c: Likewise.
57971 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57972 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57973 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57974 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57975 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57977 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57980 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57981 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57982 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57983 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57984 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57985 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57986 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57987 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57988 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57990 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57991 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57992 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57993 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57995 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57996 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57997 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57998 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57999 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58000 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58001 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58002 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58003 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58004 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58006 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58007 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58008 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58009 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58010 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58011 * sysdeps/ieee754/k_standard.c: Likewise.
58012 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58013 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58014 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58015 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58017 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58018 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58019 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58020 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58021 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58022 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58023 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58024 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58025 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58026 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58027 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58028 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58029 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58030 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58031 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58032 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58033 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58034 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58035 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58036 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58037 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58041 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58042 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58043 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58044 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58045 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58046 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58047 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58048 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58049 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58050 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58051 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58052 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58054 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58055 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58056 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58057 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58058 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58059 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58060 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58061 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58062 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58063 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58064 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58065 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58067 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58068 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58069 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58070 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58071 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58072 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58073 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58074 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58075 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58076 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58077 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58078 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58079 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58080 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58081 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58082 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58086 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58087 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58088 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58089 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58090 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58091 * sysdeps/ieee754/s_matherr.c: Likewise.
58092 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58093 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58096
58097 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58098
58099 * crypt/md5.h: Remove __STDC__ conditionals.
58100 * libio/libioP.h: Likewise.
58101 * locale/programs/config.h: Likewise.
58102 * sysdeps/generic/sysdep.h: Likewise.
58103 * sysdeps/i386/asm-syntax.h: Likewise.
58104 * sysdeps/s390/asm-syntax.h: Likewise.
58105 * sysdeps/unix/sysdep.h: Likewise.
58106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58108
58109 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58110
58111 * libio/libio.h: Remove __STDC__ conditionals.
58112 * malloc/obstack.h: Likewise.
58113 * math/complex.h: Likewise.
58114 * math/math.h: Likewise.
58115 * sysdeps/generic/_G_config.h: Likewise.
58116 * sysdeps/gnu/_G_config.h: Likewise.
58117 * sysdeps/mach/hurd/_G_config.h: Likewise.
58118 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58119 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58120 * sysdeps/sparc/bits/mathdef.h: Likewise.
58121
58122 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58123
58124 [BZ #13583]
58125 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58126 Clean up HAS_* macros.
58127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58128 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58129 possible.
58130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58131 HAS_AVX.
58132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58133 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58136 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58137
58138 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58139
58140 * elf/tst-unique3.cc (gets): Remove declaration.
58141 * elf/tst-unique3lib.cc (gets): Likewise.
58142 * elf/tst-unique3lib2.cc (gets): Likewise.
58143 * elf/tst-unique4.cc (gets): Likewise.
58144
58145 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58146
58147 * include/stdio.h: Add C++ protection. Add gets declarations and
58148 definitions.
58149 * debug/tst-chk1.c: Don't declare gets here.
58150 * stdio-common/tst-gets.c: Likewise.
58151
58152 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58153
58154 * posix/glob: Remove directory.
58155
58156 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58157
58158 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58159
58160 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58161
58162 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58163 of the non-standard EPFNOSUPPORT.
58164
58165 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58166
58167 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58168 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58169 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58170
58171 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58172
58173 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58174
58175 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58176
58177 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58178 transient errors.
58179 * nscd/grpcache.c (cache_addgr): Likewise.
58180 * nscd/hstcache.c (cache_addhst): Likewise.
58181 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58182 * nscd/pwdcache.c (cache_addpw): Likewise.
58183 * nscd/servicescache.c (cache_addserv): Likewise.
58184
58185 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58186
58187 * malloc/malloc.c: Various cleanups.
58188 * malloc/hooks.c: Likewise.
58189
58190 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58191 * stdlib/bug-fmtmsg1.c: New file.
58192
58193 * stdlib/fmtmsg.c (init): Add missing unlock.
58194 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58195
58196 2012-01-12 Marek Polacek <polacek@redhat.com>
58197
58198 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58199 and _GNU_SOURCE.
58200
58201 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58202
58203 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58204 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58205 macro to ensure uniqueness of label name.
58206 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58207 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58208
58209 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58210
58211 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58212
58213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58214 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58215 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58217
58218 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58219
58220 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58221
58222 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58223 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58224 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58225
58226 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58227
58228 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58229 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58230 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58231 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58232
58233 * math/bits/math-finite.h: Add ldexp support.
58234
58235 2012-01-10 Marek Polacek <polacek@redhat.com>
58236
58237 * locale/programs/localedef.h (show_archive_content): Add noreturn
58238 attribute.
58239
58240 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58241
58242 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58243
58244 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58245
58246 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58247
58248 * io/Makefile (headers): Add bits/poll2.h.
58249
58250 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58251
58252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58253 typo #include statement.
58254
58255 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58256
58257 * include/sys/cdefs.h: Define __attribute_alloc_size.
58258 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58259 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58260 * elf/pldd.c: Likewise.
58261 * iconv/iconv_charmap.c: Likewise.
58262 * iconv/iconvconfig.c: Likewise.
58263 * iconv/strtab.c: Likewise.
58264 * locale/programs/locale.c: Likewise.
58265 * locale/programs/localedef.h: Likewise.
58266 * locale/programs/simple-hash.c: Likewise.
58267 * nscd/nscd.h: Likewise.
58268 * nss/makedb.c: Likewise.
58269 * sysdeps/generic/ldconfig.h: Likewise.
58270 * locale/programs/localedef.c: Remove xmalloc prototype.
58271 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58272
58273 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58274
58275 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58276 appropriate.
58277
58278 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58279
58280 * math/Makefile (tests): Add tst-CMPLX.
58281 * math/tst-CMPLX.c: New file.
58282
58283 * math/complex.h (CMPLXL): Fix typo.
58284
58285 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58286 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58287 GLIBC_2.16.
58288 * debug/tst-chk1.c: Add poll and ppoll tests.
58289 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58290 * include/sys/poll.h: Add hidden proto for ppoll.
58291 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58292 * sysdeps/mach/hurd/ppoll.c: Likewise.
58293 * io/ppoll.c: Likewise.
58294 * debug/poll_chk.c: New file.
58295 * debug/ppoll_chk.c: New file.
58296 * include/bits/poll2.h: New file.
58297 * io/bits/poll2.h: New file.
58298
58299 [BZ #1350]
58300 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58301
58302 * configure.in: static is always set to yes. Remove.
58303 * config.make.in: Don't set build-static.
58304 * Makeconfig: Remove use of build-static.
58305 * dlfcn/Makefile: Likewise.
58306 * elf/Makefile: Likewise.
58307 * math/Makefile: Likewise.
58308 * misc/Makefile: Likewise.
58309 * nptl/Makefile: Likewise.
58310 * sysdeps/mach/hurd/Makefile: Likewise.
58311
58312 * configure.in: PWD_P is not used anymore.
58313 * config.make.in: Remove PWD_P entry.
58314
58315 * configure.in: Remove last remnants of RANLIB.
58316 No need to check for signed size_t anymore.
58317 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58318 and IA-64.
58319 Remove __builtin_expect test because we require at least gcc 3.4.
58320 * aclocal.m4: Likewise.
58321
58322 * wcsmbs/mbrtoc16.c: Implement using towc function.
58323 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58324 * wcsmbs/wcsmbsload.c: Likewise.
58325 * iconv/gconv_simple.c: Likewise.
58326 * iconv/gconv_int.h: Likewise.
58327 * iconv/gconv_builtin.h: Likewise.
58328 * iconv/iconv_prog.c: Remove CHAR16 handling.
58329
58330 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58331
58332 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58333
58334 * configure.in: Remove --with-elf and --enable-bounded options.
58335 Dont set base_machine for ia64. More non-ELF conditions removed.
58336 Remove testing and setting of leading underscore information.
58337 * config.make.in (build-bounded): Set to no.
58338 * config.h.in: Remove NO_UNDERSCORES entry.
58339 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58340 them.
58341 * csu/start.c: Remove !NO_UNDERSCORE code.
58342 * locale/localeinfo.h: Likewise.
58343 * sysdeps/generic/machine-gmon.h: Likewise.
58344 * sysdeps/generic/sysdep.h: Likewise.
58345 * sysdeps/i386/sysdep.h: Likewise.
58346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58347 * sysdeps/mach/sysdep.h: Likewise.
58348 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58350 * sysdeps/sh/sysdep.h: Likewise.
58351 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58352 * sysdeps/unix/i386/sysdep.S: Likewise.
58353 * sysdeps/unix/sparc/start.c: Likewise.
58354 * sysdeps/unix/sparc/sysdep.S: Likewise.
58355 * sysdeps/unix/sparc/sysdep.h: Likewise.
58356 * sysdeps/unix/start.c: Likewise.
58357 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58358 * sysdeps/x86_64/sysdep.h: Likewise.
58359
58360 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58361
58362 [BZ #13553]
58363 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58364 for non-gcc.
58365 * argp/argp-fmtstream.h: Use const instead __const.
58366 * argp/argp.h: Likewise.
58367 * assert/assert.h: Likewise.
58368 * bits/fenv.h: Likewise.
58369 * bits/sched.h: Likewise.
58370 * bits/sigset.h: Likewise.
58371 * bits/sigthread.h: Likewise.
58372 * catgets/nl_types.h: Likewise.
58373 * conform/data/pthread.h-data: Likewise.
58374 * crypt/crypt-private.h: Likewise.
58375 * crypt/crypt.h: Likewise.
58376 * crypt/crypt_util.c: Likewise.
58377 * ctype/ctype.h: Likewise.
58378 * debug/execinfo.h: Likewise.
58379 * debug/mbsnrtowcs_chk.c: Likewise.
58380 * debug/mbsrtowcs_chk.c: Likewise.
58381 * debug/wcsnrtombs_chk.c: Likewise.
58382 * debug/wcsrtombs_chk.c: Likewise.
58383 * debug/wcstombs_chk.c: Likewise.
58384 * dirent/dirent.h: Likewise.
58385 * dlfcn/dlfcn.h: Likewise.
58386 * elf/neededtest4.c: Likewise.
58387 * grp/grp.h: Likewise.
58388 * gshadow/gshadow.h: Likewise.
58389 * iconv/gconv.h: Likewise.
58390 * iconv/gconv_int.h: Likewise.
58391 * iconv/gconv_simple.c: Likewise.
58392 * iconv/iconv.h: Likewise.
58393 * iconv/loop.c: Likewise.
58394 * iconv/skeleton.c: Likewise.
58395 * include/aio.h: Likewise.
58396 * include/aliases.h: Likewise.
58397 * include/argz.h: Likewise.
58398 * include/arpa/inet.h: Likewise.
58399 * include/assert.h: Likewise.
58400 * include/dirent.h: Likewise.
58401 * include/dlfcn.h: Likewise.
58402 * include/execinfo.h: Likewise.
58403 * include/fcntl.h: Likewise.
58404 * include/fenv.h: Likewise.
58405 * include/glob.h: Likewise.
58406 * include/grp.h: Likewise.
58407 * include/libintl.h: Likewise.
58408 * include/mntent.h: Likewise.
58409 * include/netdb.h: Likewise.
58410 * include/pwd.h: Likewise.
58411 * include/rpc/netdb.h: Likewise.
58412 * include/sched.h: Likewise.
58413 * include/search.h: Likewise.
58414 * include/shadow.h: Likewise.
58415 * include/signal.h: Likewise.
58416 * include/stdio.h: Likewise.
58417 * include/stdlib.h: Likewise.
58418 * include/string.h: Likewise.
58419 * include/sys/socket.h: Likewise.
58420 * include/sys/stat.h: Likewise.
58421 * include/sys/statfs.h: Likewise.
58422 * include/sys/statvfs.h: Likewise.
58423 * include/sys/syslog.h: Likewise.
58424 * include/sys/time.h: Likewise.
58425 * include/sys/uio.h: Likewise.
58426 * include/time.h: Likewise.
58427 * include/unistd.h: Likewise.
58428 * include/utmp.h: Likewise.
58429 * include/wchar.h: Likewise.
58430 * include/wctype.h: Likewise.
58431 * inet/aliases.h: Likewise.
58432 * inet/arpa/inet.h: Likewise.
58433 * inet/netinet/ether.h: Likewise.
58434 * inet/netinet/in.h: Likewise.
58435 * intl/libintl.h: Likewise.
58436 * io/bits/fcntl2.h: Likewise.
58437 * io/fcntl.h: Likewise.
58438 * io/ftw.h: Likewise.
58439 * io/sys/poll.h: Likewise.
58440 * io/sys/stat.h: Likewise.
58441 * io/sys/statfs.h: Likewise.
58442 * io/sys/statvfs.h: Likewise.
58443 * io/utime.h: Likewise.
58444 * libio/bits/stdio.h: Likewise.
58445 * libio/bits/stdio2.h: Likewise.
58446 * libio/libio.h: Likewise.
58447 * libio/libioP.h: Likewise.
58448 * libio/stdio.h: Likewise.
58449 * locale/lc-ctype.c: Likewise.
58450 * locale/locale.h: Likewise.
58451 * login/utmp.h: Likewise.
58452 * malloc/arena.c: Likewise.
58453 * malloc/malloc.c: Likewise.
58454 * malloc/malloc.h: Likewise.
58455 * malloc/mcheck.c: Likewise.
58456 * malloc/mtrace.c: Likewise.
58457 * math/bits/mathcalls.h: Likewise.
58458 * math/fenv.h: Likewise.
58459 * math/math_private.h: Likewise.
58460 * misc/bits/error.h: Likewise.
58461 * misc/bits/syslog.h: Likewise.
58462 * misc/err.h: Likewise.
58463 * misc/error.h: Likewise.
58464 * misc/fstab.h: Likewise.
58465 * misc/mntent.h: Likewise.
58466 * misc/regexp.h: Likewise.
58467 * misc/search.h: Likewise.
58468 * misc/sgtty.h: Likewise.
58469 * misc/sys/mman.h: Likewise.
58470 * misc/sys/syslog.h: Likewise.
58471 * misc/sys/uio.h: Likewise.
58472 * misc/sys/xattr.h: Likewise.
58473 * misc/ttyent.h: Likewise.
58474 * nis/rpcsvc/ypclnt.h: Likewise.
58475 * nss/nss.h: Likewise.
58476 * posix/bits/unistd.h: Likewise.
58477 * posix/fnmatch.h: Likewise.
58478 * posix/glob.h: Likewise.
58479 * posix/sched.h: Likewise.
58480 * posix/spawn.h: Likewise.
58481 * posix/sys/wait.h: Likewise.
58482 * posix/unistd.h: Likewise.
58483 * posix/wordexp.h: Likewise.
58484 * pwd/pwd.h: Likewise.
58485 * resolv/netdb.h: Likewise.
58486 * resource/sys/resource.h: Likewise.
58487 * rt/aio.h: Likewise.
58488 * rt/bits/mqueue2.h: Likewise.
58489 * rt/mqueue.h: Likewise.
58490 * shadow/shadow.h: Likewise.
58491 * signal/signal.h: Likewise.
58492 * socket/send.c: Likewise.
58493 * socket/sendto.c: Likewise.
58494 * socket/sys/socket.h: Likewise.
58495 * stdio-common/printf.h: Likewise.
58496 * stdlib/bits/stdlib.h: Likewise.
58497 * stdlib/fmtmsg.h: Likewise.
58498 * stdlib/monetary.h: Likewise.
58499 * stdlib/stdlib.h: Likewise.
58500 * stdlib/ucontext.h: Likewise.
58501 * streams/stropts.h: Likewise.
58502 * string/argz.h: Likewise.
58503 * string/bits/string2.h: Likewise.
58504 * string/string.h: Likewise.
58505 * string/strings.h: Likewise.
58506 * sunrpc/rpc/auth.h: Likewise.
58507 * sunrpc/rpc/auth_des.h: Likewise.
58508 * sunrpc/rpc/clnt.h: Likewise.
58509 * sunrpc/rpc/netdb.h: Likewise.
58510 * sunrpc/rpc/pmap_clnt.h: Likewise.
58511 * sunrpc/rpc/xdr.h: Likewise.
58512 * sysdeps/generic/inttypes.h: Likewise.
58513 * sysdeps/generic/net/if.h: Likewise.
58514 * sysdeps/generic/sys/swap.h: Likewise.
58515 * sysdeps/gnu/net/if.h: Likewise.
58516 * sysdeps/gnu/utmpx.h: Likewise.
58517 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58518 * sysdeps/i386/i486/bits/string.h: Likewise.
58519 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58520 * sysdeps/s390/bits/string.h: Likewise.
58521 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58522 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58523 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58524 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58525 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58526 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58527 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58528 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58529 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58530 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58531 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58532 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58533 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58534 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58535 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58536 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58537 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58539 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58540 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58541 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58542 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58543 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58544 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58545 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58546 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58547 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58548 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58549 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58550 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58551 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58552 * sysvipc/sys/ipc.h: Likewise.
58553 * sysvipc/sys/msg.h: Likewise.
58554 * sysvipc/sys/sem.h: Likewise.
58555 * sysvipc/sys/shm.h: Likewise.
58556 * termios/termios.h: Likewise.
58557 * time/sys/time.h: Likewise.
58558 * time/time.h: Likewise.
58559 * wcsmbs/bits/wchar2.h: Likewise.
58560 * wcsmbs/uchar.h: Likewise.
58561 * wcsmbs/wchar.h: Likewise.
58562 * wctype/wctype.h: Likewise.
58563
58564 [BZ #13551]
58565 * Makeconfig: Remove all but ELF support including AIX support.
58566 * Makerules: Likewise.
58567 * config.h.in: Likewise.
58568 * config.make.in: Likewise.
58569 * configure: Likewise.
58570 * configure.in: Likewise.
58571 * csu/Makefile: Likewise.
58572 * csu/version.c: Likewise.
58573 * debug/Makefile: Likewise.
58574 * dlfcn/Makefile: Likewise.
58575 * elf/Makefile: Likewise.
58576 * extra-lib.mk: Likewise.
58577 * iconv/Makefile: Likewise.
58578 * include/libc-symbols.h: Likewise.
58579 * include/shlib-compat.h: Likewise.
58580 * resolv/Makefile: Likewise.
58581 * resolv/res_libc.c: Likewise.
58582 * rt/Makefile: Likewise.
58583 * sysdeps/i386/asm-syntax.h: Likewise.
58584 * sysdeps/i386/sysdep.h: Likewise.
58585 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58586 * sysdeps/mach/sysdep.h: Likewise.
58587 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58588 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58589 * sysdeps/s390/asm-syntax.h: Likewise.
58590 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58591 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58592 * sysdeps/sh/sysdep.h: Likewise.
58593 * sysdeps/unix/sparc/sysdep.h: Likewise.
58594 * sysdeps/wordsize-32/divdi3.c: Likewise.
58595 * sysdeps/x86_64/sysdep.h: Likewise.
58596
58597 * argp/Versions: Remove _argp_unlock_xxx.
58598
58599 [BZ #13559]
58600 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58601 * abilist/libBrokenLocale.abilist: Likewise.
58602 * abilist/libanl.abilist: Likewise.
58603 * abilist/libc.abilist: Likewise.
58604 * abilist/libcrypt.abilist: Likewise.
58605 * abilist/libdl.abilist: Likewise.
58606 * abilist/libm.abilist: Likewise.
58607 * abilist/libnsl.abilist: Likewise.
58608 * abilist/libpthread.abilist: Likewise.
58609 * abilist/libresolv.abilist: Likewise.
58610 * abilist/librt.abilist: Likewise.
58611 * abilist/libthread_db.abilist: Likewise.
58612 * abilist/libutil.abilist: Likewise.
58613 * abilist/libnss_db.abilist: New file.
58614
58615 * scripts/abilist.awk: Add support for indirect functions.
58616
58617 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58618
58619 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58620
58621 * shlib-versions: Remove entries for ports architectures.
58622
58623 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58624 files in ports.
58625 * elf/stackguard-macros.h: Remove support for IA-64.
58626 * elf/tst-auditmod1.c: Likewise.
58627 * sysdeps/generic/ldsodefs.h: Likewise.
58628
58629 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58630 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58631 configure files.
58632
58633 [BZ #13552]
58634 * configure.in: Remove --enable-omitfp support.
58635 * FAQ.in: Adjust.
58636 * config.make.in: Likewise.
58637 * Makeconfig: Likewise.
58638 * manual/install.texi: Likewise.
58639
58640 In case anyone cares, the IA-64 architecture could move to ports.
58641 * sysdeps/ia64/*: Removed.
58642 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58643 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58644
58645 [BZ #13555]
58646 * configure.in: Remove entries for unsupported architectures.
58647
58648 [BZ #13533]
58649 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58650 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58651 routines.
58652 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58653 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58654 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58655 fall back to using wcrtomb.
58656 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58657 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58658 renaming.
58659 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58660 * wcsmbs/tst-c16c32-1.c: New file.
58661
58662 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58663 local variable.
58664
58665 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58666
58667 * elf/tst-unique3.cc: Add explicit declaration of gets.
58668 * elf/tst-unique3lib.cc: Likewise.
58669 * elf/tst-unique3lib2.cc: Likewise.
58670 * elf/tst-unique4.cc: Likewise.
58671
58672 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58673
58674 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58675
58676 [BZ #13566]
58677 * assert/assert.h (static_assert): Don't define for C++.
58678 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58679 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58680
58681 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58682
58683 * iconv/loop.c (single loop): Fix assertion in storing of
58684 remaining bytes.
58685
58686 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58687
58688 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58689
58690 * posix/getconf.c: Update copyright year.
58691 * nss/getent.c: Likewise.
58692 * nss/makedb.c: Likewise.
58693 * iconv/iconvconfig.c: Likewise.
58694 * iconv/iconv_prog.c: Likewise.
58695 * elf/ldconfig.c: Likewise.
58696 * elf/pldd.c: Likewise.
58697 * elf/sotruss.ksh: Likewise.
58698 * catgets/gencat.c: Likewise.
58699 * csu/version.c: Likewise.
58700 * elf/ldd.bash.in: Likewise.
58701 * elf/sprof.c (print_version): Likewise.
58702 * locale/programs/locale.c: Likewise.
58703 * locale/programs/localedef.c: Likewise.
58704 * login/programs/pt_chown.c: Likewise.
58705 * nscd/nscd.c (print_version): Likewise.
58706 * debug/xtrace.sh: Likewise.
58707 * malloc/memusage.sh: Likewise.
58708 * malloc/mtrace.pl: Likewise.
58709 * debug/catchsegv.sh: Likewise.
58710
58711 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58712
58713 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58714 pure attribute.
58715
58716 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58717
58718 [BZ #13533]
58719 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58720 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58721 transformations.
58722 * iconv/gconv_int.h: Likewise.
58723 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58724 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58725 from libc for GLIBC_2.16.
58726 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58727 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58728 * wcsmbs/uchar.h: Really define mbstate_t.
58729 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58730 * wcsmbs/c16rtomb.c: New file.
58731 * wcsmbs/mbrtoc16.c: New file.
58732 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58733 for C/POSIX locale.
58734 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58735 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58736
58737 * wcsmbs/wchar.h: Add missing __restrict.
58738
58739 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58740
58741 [BZ #13532]
58742 * time/Makefile (routines): Add timespec_get.
58743 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58744 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58745 timespec for ISO C11.
58746 * time/timespec_get.c: New file.
58747 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58748 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58749
58750 [BZ #13531]
58751 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58752 * stdlib/stdlib.h: Declare aligned_alloc.
58753 * Versions.def: Add GLIBC_2.16 for libc.
58754 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58755
58756 [BZ 13527]
58757 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58758 ISO C11.
58759
58760 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58761 code.
58762
58763 [BZ #13528]
58764 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58765
58766 [BZ #13529]
58767 * assert/assert.h (static_assert): Define.
58768
58769 * version.h: Update for 2.16 development version.
58770
58771 [BZ #13526]
58772 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58773 _ISOC11_SOURCE.
58774
58775 * version.h (RELEASE): Bump for 2.15 release.
58776 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58777
58778 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58779 Patch by Marek Polacek <mpolacek@redhat.com>.
58780
58781 * bits/byteswap.h: Protect long long constants with __extension__.
58782 * sysdeps/i386/bits/byteswap.h: Likewise.
58783 * sysdeps/ia64/bits/byteswap.h: Likewise.
58784 * sysdeps/s390/bits/byteswap.h: Likewise.
58785 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58786
58787 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58788
58789 [BZ #13540]
58790 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58791 destination buffer.
58792 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58793
58794 2011-12-23 Marek Polacek <polacek@redhat.com>
58795
58796 * elf/dl-addr.c (determine_info): Add inline keyword.
58797 * elf/tst-auditmod4b.c (check_avx): Likewise.
58798 * elf/tst-auditmod6b.c (check_avx): Likewise.
58799 * elf/tst-auditmod6c.c (check_avx): Likewise.
58800 * elf/tst-auditmod7b.c (check_avx): Likewise.
58801
58802 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58803
58804 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58805 !__SSE_MATH__.
58806
58807 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58808
58809 [BZ #13540]
58810 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58811 processing for last bytes.
58812
58813 2011-08-06 Bruno Haible <bruno@clisp.org>
58814
58815 [BZ #13061]
58816 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58817 U+0385, not to U+1FEE.
58818
58819 [BZ #13062]
58820 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58821 entry for U+00A5 U+0301.
58822
58823 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58824
58825 [BZ #13166]
58826 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58827 buffer for the output is too small.
58828
58829 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58830 optimization.
58831
58832 [BZ #13185]
58833 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58834 SSE flags if possible.
58835
58836 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58837
58838 [BZ #13540]
58839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58840 processing for last bytes.
58841
58842 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58843
58844 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58845 (syscall-list-default-options, syscall-list-default-condition)
58846 (syscall-list-includes): Define.
58847 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58848 list of ABIs and options and #if conditions for each ABI. Do not
58849 handle common syscalls between ABIs specially.
58850 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58851 Remove.
58852 (syscall-list-variants, syscall-list-32bit-options)
58853 (syscall-list-32bit-condition, syscall-list-64bit-options)
58854 (syscall-list-64bit-condition): Define.
58855 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58856 (syscall-list-variants, syscall-list-32bit-options)
58857 (syscall-list-32bit-condition, syscall-list-64bit-options)
58858 (syscall-list-64bit-condition): Define.
58859 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58860 Remove.
58861 (syscall-list-variants, syscall-list-32bit-options)
58862 (syscall-list-32bit-condition, syscall-list-64bit-options)
58863 (syscall-list-64bit-condition): Define.
58864 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58865 Remove.
58866 (syscall-list-variants, syscall-list-32bit-options)
58867 (syscall-list-32bit-condition, syscall-list-64bit-options)
58868 (syscall-list-64bit-condition): Define.
58869
58870 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58871
58872 * locale/iso-639.def: Add brx entry.
58873
58874 [BZ #13328]
58875 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58876 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58877
58878 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58879 __feraiseexcept_renamed.
58880
58881 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58882
58883 [BZ #13538]
58884 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58885 EPOLLET with unsigned values.
58886 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58888
58889 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58890 to large cancellation.
58891 * math/s_cacoshf.c: Likewise.
58892 * math/s_cacoshl.c: Likewise.
58893
58894 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58895
58896 [BZ #13305]
58897 [BZ #12786]
58898 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58899 * math/s_cacoshf.c: Likewise.
58900 * math/s_cacoshl.c: Likewise.
58901
58902 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58903
58904 [BZ #13439]
58905 * iconv/gconv.h: Define __GCONV_SWAP.
58906 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58907 * iconvdata/utf-16.c: Likewise.
58908 * iconvdata/utf-32.c: Likewise.
58909
58910 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58911
58912 [BZ #13524]
58913 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58914 numerator after shifting it by one limb.
58915
58916 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58917
58918 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58919 under [__USE_EXTERN_INLINES].
58920
58921 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58922
58923 [BZ #13446]
58924 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58925
58926 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58927
58928 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58929 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58930 optimized code.
58931 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58932 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58933 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58934 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58935 for strncasecmp/strncasecmp_l compilation.
58936 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58937 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58938
58939 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58940
58941 [BZ #13484]
58942 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58943 of __asm__.
58944
58945 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58946
58947 [BZ #13506]
58948 * time/tzfile.c (__tzfile_read): Check values from file header.
58949
58950 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58951
58952 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58953 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58954 * powerpc/powerpc32/dl-start.S: Likewise.
58955 * powerpc/powerpc32/elf/start.S: Likewise.
58956 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58957 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58958 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58959 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58960 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58961 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58962 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58963 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58964 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58965 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58966 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58967 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58968 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58969 * powerpc/powerpc32/memset.S: Likewise.
58970 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58971 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58972 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58973 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58974 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58975 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58976 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58977 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58978 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58979 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58980 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58981 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58982 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58983
58984 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58985
58986 * math/libm-test.inc: Added more nearbyint tests.
58987 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58988 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58991
58992 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58993
58994 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58995 FD_CLOEXEC.
58996
58997 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58998
58999 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59000 Add wcscpy-ssse3 wcscpy-c.
59001 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59002 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59003 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59004 * sysdeps/x86_64/wcschr.S: New file.
59005 * sysdeps/x86_64/wcsrchr.S: New file.
59006 * string/test-strcmp.c: Remove checking of wcscmp function for
59007 wrong alignments.
59008 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59009 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59010 wcsrchr-sse2 wcsrchr-c.
59011 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59012 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59013 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59014 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59015 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59016 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59017 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59018 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59019 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59020 * wcsmbc/wcschr.c (WCSCHR): New macro.
59021
59022 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59023
59024 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59025 * wcsmbs/test-wcsrchr.c: New file.
59026 * string/test-strrchr.c: Add wcsrchr support.
59027 (WIDE): New macro.
59028 * wcsmbs/test-wcscpy.c: New file.
59029 * string/test-strcpy.c: Add wcscpy support.
59030 (WIDE): New macro.
59031
59032 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59033
59034 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59035 the inner loop.
59036
59037 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59038
59039 [BZ #13472]
59040 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59041
59042 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59043
59044 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59045 Minor optimizations.
59046
59047 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59048 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59049 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59050
59051 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59052
59053 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59054 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59055 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59056 for gcc to avoid warnings.
59057 * inet/Makefile (tests): Add tst-checks.
59058 * inet/tst-checks.c: New file.
59059
59060 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59061 warning.
59062
59063 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59064 __wmemcmp_sse2.
59065
59066 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59067 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59068
59069 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59070
59071 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59072
59073 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59074 problem.
59075
59076 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59077
59078 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59079
59080 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59081 conditional on GCC version.
59082 (__arch_compare_and_exchange_val_8_acq)
59083 (__arch_compare_and_exchange_val_16_acq)
59084 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59085 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59086 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59087
59088 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59089
59090 * sysdeps/sh/backtrace.c: New file.
59091
59092 2011-12-02 Andreas Schwab <schwab@redhat.com>
59093
59094 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59095 parenthesis.
59096
59097 2011-12-01 Andreas Schwab <schwab@redhat.com>
59098
59099 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59100 falling back to utime.
59101
59102 2011-11-30 Andreas Schwab <schwab@redhat.com>
59103
59104 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59105 expectations for float.
59106
59107 2011-11-29 Andreas Schwab <schwab@redhat.com>
59108
59109 * locale/weight.h (findidx): Add parameter len.
59110 * locale/weightwc.h (findidx): Likewise.
59111 * posix/fnmatch_loop.c (FCT): Adjust caller.
59112 * posix/regcomp.c (build_equiv_class): Likewise.
59113 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59114 * posix/regexec.c (check_node_accept_bytes): Likewise.
59115 * string/strcoll_l.c (STRCOLL): Likewise.
59116 * string/strxfrm_l.c (STRXFRM): Likewise.
59117
59118 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59119
59120 * Makefile.in: Remove CVSOPT handling.
59121 * configure.in: Remove use of AC_REVISION.
59122 * iconvdata/Makefile (distribute): No need to filter out CVS.
59123 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59124 handling.
59125
59126 2011-11-16 Andreas Schwab <schwab@redhat.com>
59127
59128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59129 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59130 [USE_AS_STRNCASECMP_L]: Likewise.
59131 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59132 NO_TLS_DIRECT_SEG_REFS.
59133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59134 Fix argument offsets for non-PIC.
59135 [USE_AS_STRNCASECMP_L]: Likewise.
59136 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59137 NO_TLS_DIRECT_SEG_REFS.
59138
59139 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59140
59141 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59142 O_CLOEXEC.
59143 * locale/loadlocale.c (_nl_load_locale): Likewise.
59144
59145 2011-11-15 Andreas Schwab <schwab@redhat.com>
59146
59147 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59148 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59150 (SYSCALL_GETTIME): Set errno on error.
59151
59152 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59153 count references to noai6ai_cached.
59154
59155 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59156
59157 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59158
59159 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59160 FD_CLOEXEC for /proc/self/maps.
59161
59162 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59163 FD_CLOEXEC for /proc/meminfo.
59164
59165 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59166 gai.conf.
59167
59168 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59169 FD_CLOEXEC for given file.
59170
59171 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59172
59173 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59174 FD_CLOEXEC for /etc/hosts.
59175 (_gethtent): Likewise.
59176
59177 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59178
59179 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59180 cancellation and set FD_CLOEXEC for /etc/netgroup.
59181
59182 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59183 reading /etc/publickey.
59184
59185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59186 allow cancellation when reading /etc/group.
59187
59188 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59189 cancellation.
59190 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59191
59192 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59193 when using data file.
59194
59195 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59196
59197 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59198 (write_nis_obj): Use "c" and "e" in fopen.
59199
59200 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59201
59202 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59203
59204 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59205
59206 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59207
59208 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59209 locale.alias.
59210
59211 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59212
59213 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59214
59215 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59216
59217 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59218 file parsing and set FD_CLOEXEC.
59219
59220 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59221
59222 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59223
59224 2011-11-14 Andreas Schwab <schwab@redhat.com>
59225
59226 * malloc/arena.c (arena_get2): Don't call reused_arena when
59227 _int_new_arena failed.
59228
59229 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59230
59231 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59232 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59234 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59235 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59237 to compile strcasecmp and strncasecmp.
59238 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59239 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59240
59241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59242
59243 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59244
59245 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59246 locale-defines.sym to gen-as-const-headers.
59247 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59248 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59250 to compile strcasecmp and strncasecmp.
59251 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59252 strcasecmp_l and strncasecmp_l.
59253 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59254 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59255 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59256 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59257 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59258 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59259 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59260 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59261 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59262 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59263 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59264
59265 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59266
59267 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59268 result of SYSDEP_GETTIME_CPU to retval.
59269 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59270 parameter list to macro. Remove trailing semicolon. Adjust users.
59271
59272 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59273 variable.
59274
59275 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59276 mantissa words.
59277 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59278
59279 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59280 from unused variable.
59281
59282 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59283 DWARF definitions.
59284 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59285 for assembling.
59286
59287 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59288 over namespaces.
59289
59290 * sunrpc/rpc_prot.c (rejected): Fix case value.
59291
59292 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59293 unsigned long long int to avoid warnings in shift.
59294
59295 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59296 of use of trans.
59297 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59298 variable tmp.
59299
59300 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59301 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59302 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59303
59304 * nis/nis_table.c (nis_list): Use variable of correct type for
59305 result of __follow_path call.
59306
59307 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59308
59309 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59310 of math functions ceil, trunc, floor, round, and sqrt, when
59311 avaliable on the platform.
59312 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59313 name clash.
59314 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59315 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59316 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59317
59318 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59319
59320 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59321 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59322
59323 2011-11-11 Roland McGrath <roland@hack.frob.com>
59324
59325 * include/unistd.h: Fix __readlink return type.
59326 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59327
59328 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59329
59330 * stdlib/ucontext.h: Undo last change for makecontext.
59331
59332 2011-11-11 Andreas Schwab <schwab@redhat.com>
59333
59334 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59335
59336 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59337 * setjmp/setjmp.h: Mark functions as non-leaf.
59338 * setjmp/bits/setjmp2.h: Likewise.
59339 * stdlib/ucontext.h: Likewise.
59340
59341 2011-11-10 Andreas Schwab <schwab@redhat.com>
59342
59343 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59344 (reused_arena): Don't check arena limit.
59345 (arena_get2): Atomically check arena limit.
59346
59347 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59348
59349 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59350 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59351
59352 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59353 instructions.
59354
59355 2011-11-07 Andreas Schwab <schwab@redhat.com>
59356
59357 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59358 handler when locking.
59359
59360 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59361 Fix size of allocated buffer.
59362
59363 2011-11-04 Andreas Schwab <schwab@redhat.com>
59364
59365 [BZ #10103]
59366 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59367 declarations for long double functions.
59368 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59369
59370 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59371
59372 2011-11-03 Andreas Schwab <schwab@redhat.com>
59373
59374 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59375 installed.
59376
59377 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59378 is disabled.
59379
59380 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59381
59382 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59383
59384 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59385
59386 * include/alloca.h (stackinfo_alloca_round): Define.
59387 (extend_alloca): Use it.
59388 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59389 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59390 here.
59391
59392 * scripts/check-local-headers.sh: Ignore libaudit.h.
59393
59394 * nscd/Makefile (extra-objs): Make recursively expanded.
59395
59396 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59397
59398 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59399 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59400
59401 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59402 * posix/tst-rfc3484-2.c: Likewise.
59403 * posix/tst-rfc3484-3.c: Likewise.
59404
59405 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59406 process_vm_writev.
59407 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59408 process_vm_writev.
59409 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59410 process_vm_writev from libc using GLIBC_2.15 version.
59411
59412 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59413
59414 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59415
59416 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59417 stack usage.
59418
59419 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59420
59421 [BZ #13367]
59422 * nss/getent.c (initgroups_keys): Show error message in case no group
59423 names are given.
59424
59425 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59426 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59427 __bump_nl_timestamp.
59428 * nscd/connections (nscd_init): When host database is served open
59429 netlink socket and request notification about configuration changes.
59430 (main_loop_poll): Track netlink file descriptor and bump timestamp
59431 in case data becomes available.
59432 (main_loop_epoll): Likewise.
59433 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59434 (database_pers_head): Add extra_data fileds.
59435 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59436 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59437 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59438 Adjust caller.
59439 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59440 in6ai data, call __free_in6ai.
59441 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59442 Add -DHAVE_NETLINK.
59443 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59444 interface information. Reuse previous data if netlink timestamp
59445 is not changed.
59446 (__bump_nl_timestamp): New function.
59447 (__free_in6ai): New function.
59448
59449 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59450
59451 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59452 close_not_cancel_no_status here.
59453 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59454
59455 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59456
59457 [BZ #13276]
59458 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59459 return value.
59460
59461 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59462 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59463 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59464
59465 2011-07-03 Andreas Jaeger <aj@suse.de>
59466
59467 [BZ #10709]
59468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59469 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59470 * math/libm-test.inc (sin_test): Add test case.
59471
59472 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59473
59474 [BZ #13337]
59475 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59476 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59477
59478 * elf/chroot_canon.c (chroot_canon): Cleanups.
59479
59480 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59481
59482 [BZ #13335]
59483 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59484 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59485
59486 * string/test-strchr.c: Make usable for strchrnul testing.
59487 * string/test-strchrnul.c: New file.
59488 * string/Makefile (strop-tests): Add strchrnul.
59489
59490 * po/it.po: Update from translation team.
59491 * po/es.po: Likewise.
59492
59493 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59494
59495 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59496 the three constants needed as parameters. Drop the others.
59497 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59498 __m128i_strloadu_tolower.
59499 Create and initialize variable zero and use it in all the places
59500 where _mm_setzero_si128 was used.
59501
59502 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59503 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59504 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59505 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59506 anymore.
59507 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59508 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59509 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59510 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59511 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59512 __mpranred, __mptan.
59513 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59514 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59515 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59516 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59517 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59518 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59520 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59521 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59522
59523 2011-10-28 Andreas Schwab <schwab@redhat.com>
59524
59525 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59526 redefine if SHARED.
59527 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59528
59529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59530 wide char related routines to wcsmbs subdir.
59531
59532 2011-10-27 Andreas Schwab <schwab@redhat.com>
59533
59534 [BZ #13344]
59535 * misc/sys/cdefs.h (__THROWNL): Define.
59536 * posix/unistd.h: Use __THREADNL instead of __THREAD
59537 for memory synchronization functions.
59538
59539 2011-10-26 Roland McGrath <roland@hack.frob.com>
59540
59541 [BZ #13349]
59542 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59543 doesn't exist.
59544 * manual/stdio.texi (Obstack Streams): Node removed.
59545
59546 2011-10-26 Andreas Schwab <schwab@redhat.com>
59547
59548 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59549 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59550 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59551
59552 * math/math_private.h (math_force_eval): Allow non-addressable
59553 arguments.
59554 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59555
59556 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59557
59558 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59559 file is not needed.
59560
59561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59563 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59564 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59565 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59566 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59567 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59568 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59569 Add AVX variants.
59570 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59571 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59572 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59573 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59574 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59575 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59576 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59577 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59578 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59579 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59580 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59581 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59582 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59583 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59584 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59585 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59586 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59587 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59588 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59589
59590 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59591 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59592
59593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59594 place. Use VEX encoding when compiling for AVX.
59595
59596 2011-10-25 Andreas Schwab <schwab@redhat.com>
59597
59598 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59599 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59600
59601 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59602
59603 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59604
59605 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59606 useless if() expression.
59607 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59609 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59610 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59612 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59613 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59615 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59616 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59617 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59618 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59619 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59620 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59621 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59622 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59623 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59624 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59625 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59626
59627 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59628
59629 2011-10-25 Andreas Schwab <schwab@redhat.com>
59630
59631 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59632 condition.
59633 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59634
59635 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59636
59637 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59638 .text section. Avoid duplicate constants.
59639 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59641 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59643 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59647 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59648 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59649 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59650 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59651 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59652 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59653 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59654 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59655 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59656 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59657 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59659 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59660 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59661 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59662 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59663 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59664 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59665 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59666 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59667 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59668 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59669 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59670 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59671 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59672 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59673 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59674 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59675 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59676 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59677 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59678 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59679 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59680 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59681 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59682 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59683 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59684
59685 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59686
59687 * sysdeps/x86_64/dla.h: Move to ...
59688 * sysdeps/x86_64/fpu/dla.h: ...here.
59689 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59690 situations. Use __builtin_fma only for gcc 4.6 and up.
59691
59692 * config.make.in: Add have-mfma4 entry.
59693 * configure.in: Substitute libc_cv_cc_fma4.
59694 * math/Makefile (dbl-only-routines): Add sincostab.
59695 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59696 Use __sincostab not sincos.
59697 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59698 name is a macro.
59699 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59702 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59703 using __copysign.
59704 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59705 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59706 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59707 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59708 and __inv.
59709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59710 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59711 __copysign.
59712 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59713 define aliases when function name is a macro.
59714 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59715 sysdeps/ieee754/dbl-64/sincos.tbl.
59716 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59717 fma4-enabled routines.
59718 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59719 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59720 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59721 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59723 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59725 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59726 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59727 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59728 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59729 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59730 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59731 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59733 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59734 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59735 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59736 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59738 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59739 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59740 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59741 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59742 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59743 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59744 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59745 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59746 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59747 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59748
59749 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59750 rename.
59751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59756 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59757 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59759
59760 2011-10-24 Andreas Schwab <schwab@redhat.com>
59761
59762 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59763
59764 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59765
59766 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59767
59768 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59769 prediction.
59770 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59771
59772 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59773 Remove unused variable magic_bits.
59774 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59775
59776 * string/strnlen.c: Define and use STRNLEN macro.
59777 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59778 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59780 * wcsmbs/wcslen.c: Define and use WCSLEN.
59781 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59782 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59783 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59784 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59785 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59786 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59787 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59788
59789 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59790
59791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59792 strnlen-sse2-no-bsf.
59793 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59795 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59796 Add strnlen support.
59797 (USE_AS_STRNLEN): New macro.
59798 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59799 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59800 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59801 * sysdeps/x86_64/wcslen.S: New file.
59802
59803 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59804
59805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59806 XMM-moves are used for copying on small sizes.
59807
59808 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59809
59810 * wcsmbs/Makefile (strop-tests): Add wcschr.
59811 * wcsmbs/test-wcschr.c: New file.
59812 * string/test-strchr.c: Update.
59813 Add wcschr support.
59814 (WIDE): New macro.
59815
59816 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59817
59818 * wcsmbs/Makefile (strop-tests): Add wcslen.
59819 * wcsmbs/test-wcslen.c: New file.
59820 * string/test-strlen.c: Update.
59821 Add wcslen support.
59822 (WIDE): New macro.
59823
59824 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59825
59826 * po/it.po: Update from translation team.
59827
59828 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59829
59830 * sysdeps/x86_64/wcscmp.S: Update.
59831 Fix wrong comparison semantics.
59832 wcscmp shall use signed comparison not unsigned.
59833 Don't use substraction to avoid overflow bug.
59834 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59835 * wcsmbc/wcscmp.c: Likewise.
59836 * string/test-strcmp.c: Likewise.
59837 Add new tests to check cases with negative values.
59838
59839 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59840
59841 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59842 * sysdeps/x86_64/dla.h: ...here. New file.
59843 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59848 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59851 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59852
59853 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59854
59855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59856 __ynl_finite aliases.
59857
59858 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59859
59860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59861
59862 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59863 define DLA_FMA.
59864 [DLA_FMA] (EMULV): Use DLA_FMA.
59865 [DLA_FMA] (MUL12): Use EMULV.
59866 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59867 that are not needed.
59868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59875
59876 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59877
59878 * math/s_nan.c: Undef __nan.
59879 * math/s_nanf.c: Undef __nanf.
59880 * math/s_nanl.c: Undef __nanl.
59881 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59882 "math_private.h".
59883
59884 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59885
59886 * math/s_catan.c: Add branch predictions.
59887 * math/s_catanf.c: Likewise.
59888 * math/s_catanh.c: Likewise.
59889 * math/s_catanhf.c: Likewise.
59890 * math/s_catanhl.c: Likewise.
59891 * math/s_catanl.c: Likewise.
59892 * math/s_cexp.c: Likewise.
59893 * math/s_cexpf.c: Likewise.
59894 * math/s_cexpl.c: Likewise.
59895 * math/s_clog.c: Likewise.
59896 * math/s_clog10.c: Likewise.
59897 * math/s_clog10f.c: Likewise.
59898 * math/s_clog10l.c: Likewise.
59899 * math/s_clogf.c: Likewise.
59900 * math/s_clogl.c: Likewise.
59901 * math/s_csqrt.c: Likewise.
59902 * math/s_csqrtf.c: Likewise.
59903 * math/s_csqrtl.c: Likewise.
59904 * math/s_ctanf.c: Likewise.
59905 * math/s_ctanh.c: Likewise.
59906 * math/s_ctanhf.c: Likewise.
59907 * math/s_ctanhl.c: Likewise.
59908 * math/s_ctanl.c: Likewise.
59909
59910 * math/math_private.h: Define __nan, __nanf, __nanl.
59911 * math/s_cacosh.c: Include <math_private.h>.
59912 * math/s_cacoshl.c: Likewise.
59913 * math/s_casinh.c: Likewise.
59914 * math/s_casinhf.c: Likewise.
59915 * math/s_casinhl.c: Likewise.
59916 * math/s_ccos.c: Rely entire on ccosh.
59917 * math/s_ccosf.c: Rely entire on ccoshf.
59918 * math/s_ccosl.c: Rely entirely on ccoshl.
59919 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59920 Remove tests for FE_INVALID.
59921 * math/s_ccoshf.c: Likewise.
59922 * math/s_ccoshl.c: Likewise.
59923 * math/s_csin.c: Likewise.
59924 * math/s_csinf.c: Likewise.
59925 * math/s_csinh.c Likewise.
59926 * math/s_csinhf.c: Likewise.
59927 * math/s_csinhl.c: Likewise.
59928 * math/s_csinl.c: Likewise.
59929 * math/s_ctan.c: Likewise.
59930 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59931 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59932 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59933
59934 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59935
59936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59937 compilation problems.
59938
59939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59940 __builtin_expect.
59941
59942 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59943
59944 * sysdeps/i386/configure.in: Test for -mfma4 option.
59945 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59946 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59947 COMMON_CPUID_INDEX_80000001.
59948 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59949 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59950 use it if FMA3 is not supported.
59951 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59952
59953 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59954 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59955
59956 2011-10-20 Andreas Schwab <schwab@redhat.com>
59957
59958 [BZ #12892]
59959 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59960 it would create a cycle with a link time dependency.
59961
59962 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59963
59964 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59965 instruction.
59966 * string/Makefile (strop-tests): Add rawmemchr.
59967 * string/test-rawmemchr.c: New file.
59968
59969 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59970 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59971 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59972 when compiling str{,n}casecmp and when AVX is available. Hook up
59973 new optimized code in initializers.
59974
59975 2011-10-19 Andreas Schwab <schwab@redhat.com>
59976
59977 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59978 __feraiseexcept instead of feraiseexcept.
59979
59980 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59981
59982 * math/math_private.h: Define defaults for libc_fetestexcept and
59983 libc_feupdateenv.
59984 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59985 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59986 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59987 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59988 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59989 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59990 libc_fetestexcept and libc_feupdateenv.
59991
59992 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59993 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59994 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59995 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59996 libc_feholdexcept_setround.
59997
59998 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59999 Add s_nearbyint-c and s_nearbyintf-c.
60000 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60001 nearbyintf inlines.
60002 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60003 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60004 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60005 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60006
60007 * math/math_private.h: Define defaults for libc_fegetround,
60008 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60009 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60010 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60011 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60012 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60013 standard functions.
60014 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60015 Remove comments and hacks for old compiler versions.
60016 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60017 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60018 libc_feholdexceptl.
60019
60020 2011-10-18 Andreas Schwab <schwab@redhat.com>
60021
60022 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60023 (__feraiseexcept_renamed): Add __NTH.
60024 (feraiseexcept): Add __NTH. Rename local variables to fix
60025 namespace violations.
60026
60027 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60028
60029 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60030
60031 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60032
60033 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60034 recently added interfaces.
60035 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60036
60037 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60038 about macro parameter expansion.
60039
60040 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60041 __NO_MATH_INLINES is defined. Cleanups.
60042
60043 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60044 and __floorf is target has SSE4.1.
60045 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60046 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60047 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60048 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60049
60050 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60051 name.
60052 (floorf): Likewise.
60053
60054 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60055
60056 2011-10-17 Andreas Schwab <schwab@redhat.com>
60057
60058 * misc/sys/cdefs.h: Fix last change.
60059
60060 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60061 database lookup.
60062
60063 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60064
60065 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60066
60067 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60068 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60069 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60070 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60071 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60072 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60073 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60075 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60076 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60077 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60078 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60079 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60080 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60081 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60082 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60083 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60084 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60085 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60086 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60087 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60088 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60089
60090 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60091 ceil, ceilf, floor, floorf.
60092
60093 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60094 Perform IRELATIVE relocations last.
60095
60096 * elf/do-rel.h: Add another parameter nrelative, replacing the
60097 local variable with the same name. Change name of the function
60098 to end in Rel or Rela (uppercase).
60099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60100 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60101 elf_dynamic_do_##reloc function.
60102
60103 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60104
60105 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60106 is sufficient, at least on modern CPUs.
60107
60108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60109
60110 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60111 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60112
60113 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60114 __expl_finite.
60115 * math/bits/math-finite.h: Add entries for exp.
60116 * math/e_expl.c: Add __*_finite alias.
60117 * sysdeps/i386/fpu/e_exp.S: Likewise.
60118 * sysdeps/i386/fpu/e_expf.S: Likewise.
60119 * sysdeps/i386/fpu/e_expl.c: Likewise.
60120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60121 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60122 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60123 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60124 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60125 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60126 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60127
60128 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60129 is sufficient, at least on modern CPUs.
60130
60131 * ctype/ctype-info.c (__ctype_init): Define.
60132 * include/ctype.h (__ctype_init): Declare.
60133 (__ctype_b_loc): The variable is always initialized.
60134 (__ctype_toupper_loc): Likewise.
60135 (__ctype_tolower_loc): Likewise.
60136 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60137 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60138
60139 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60140
60141 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60142
60143 * configure.in: Also look in $cxxmachine/include for C++ system
60144 headers.
60145
60146 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60147
60148 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60149 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60150 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60151 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60152 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60153 (USE_AS_WMEMCMP): New macro.
60154 Fixing indents.
60155 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60156 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60157 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60158 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60160 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60161 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60162 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60163 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60164 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60165 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60166 (USE_AS_WMEMCMP): New macro.
60167 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60168 * sysdeps/string/test-memcmp.c: Update.
60169 Fix simple_wmemcmp.
60170 Add new tests.
60171 * wcsmbs/wmemcmp.c: Update.
60172 (WMEMCMP): New macro.
60173 Fix overflow bug.
60174
60175 2011-10-12 Andreas Jaeger <aj@suse.de>
60176
60177 [BZ #13268]
60178 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60179
60180 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60181
60182 * libio/iofwide.c (do_length): Avoid warning.
60183
60184 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60185
60186 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60187
60188 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60189
60190 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60191 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60192 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60193 * sysdeps/i386/i686/fpu/e_log.S: New file.
60194 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60195 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60196
60197 * ctype/ctype.h: Add support for inlined isXXX functions when
60198 compiling C++ code.
60199
60200 2011-10-14 Andreas Schwab <schwab@redhat.com>
60201
60202 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60203
60204 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60205
60206 2011-10-13 Roland McGrath <roland@hack.frob.com>
60207
60208 [BZ #13291]
60209 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60210
60211 2011-10-13 Andreas Schwab <schwab@redhat.com>
60212
60213 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60214 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60215 feraiseexcept.
60216
60217 * sysdeps/x86_64/memrchr.S: Check for zero size.
60218
60219 * string/stratcliff.c: Add memrchr tests.
60220
60221 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60222
60223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60224 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60225 rawmemchr-sse2 rawmemchr-sse2-bsf.
60226 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60227 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60228 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60229 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60230 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60231 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60232 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60233 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60234 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60235 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60236 * string/memrchr.c (MEMRCHR): New macro.
60237
60238 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60239
60240 Add integration with gcc's -ffinite-math-only and optimize wrapper
60241 functions in libm.
60242 * Versions.def: Define GLIBC_2.15 version for libm.
60243 * math/Makefile (headers): Add bits/math-finite.h.
60244 * math/bits/math-finite.h: New file.
60245 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60246 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60247 * math/e_acoshl.c: Add __*_finite alias.
60248 * math/e_acosl.c: Likewise.
60249 * math/e_asinl.c: Likewise.
60250 * math/e_atan2l.c: Likewise.
60251 * math/e_atanhl.c: Likewise.
60252 * math/e_coshl.c: Likewise.
60253 * math/e_exp10.c: Likewise.
60254 * math/e_exp10f.c: Likewise.
60255 * math/e_exp10l.c: Likewise.
60256 * math/e_exp2l.c: Likewise.
60257 * math/e_fmodl.c: Likewise.
60258 * math/e_gammal_r.c: Likewise.
60259 * math/e_hypotl.c: Likewise.
60260 * math/e_j0l.c: Likewise.
60261 * math/e_j1l.c: Likewise.
60262 * math/e_jnl.c: Likewise.
60263 * math/e_lgammal_r.c: Likewise.
60264 * math/e_log10l.c: Likewise.
60265 * math/e_log2l.c: Likewise.
60266 * math/e_logl.c: Likewise.
60267 * math/e_powl.c: Likewise.
60268 * math/e_sinhl.c: Likewise.
60269 * math/e_sqrtl.c: Likewise.
60270 * math/e_scalb.c: Completely rewritten and optimized.
60271 * math/e_scalbf.c: Likewise.
60272 * math/e_scalbl.c: Likewise.
60273 * math/w_acos.c: Likewise.
60274 * math/w_acosf.c: Likewise.
60275 * math/w_acosl.c: Likewise.
60276 * math/w_acosh.c: Likewise.
60277 * math/w_acoshf.c: Likewise.
60278 * math/w_acoshl.c: Likewise.
60279 * math/w_asin.c: Likewise.
60280 * math/w_asinf.c: Likewise.
60281 * math/w_asinl.c: Likewise.
60282 * math/w_atan2.c: Likewise.
60283 * math/w_atan2f.c: Likewise.
60284 * math/w_atan2l.c: Likewise.
60285 * math/w_atanh.c: Likewise.
60286 * math/w_atanhf.c: Likewise.
60287 * math/w_atanhl.c: Likewise.
60288 * math/w_exp10.c: Likewise.
60289 * math/w_exp10f.c: Likewise.
60290 * math/w_exp10l.c: Likewise.
60291 * math/w_fmod.c: Likewise.
60292 * math/w_fmodf.c: Likewise.
60293 * math/w_fmodl.c: Likewise.
60294 * math/w_j0.c: Likewise.
60295 * math/w_j0f.c: Likewise.
60296 * math/w_j0l.c: Likewise.
60297 * math/w_j1.c: Likewise.
60298 * math/w_j1f.c: Likewise.
60299 * math/w_j1l.c: Likewise.
60300 * math/w_jn.c: Likewise.
60301 * math/w_jnf.c: Likewise.
60302 * math/w_log.c: Likewise.
60303 * math/w_logf.c: Likewise.
60304 * math/w_logl.c: Likewise.
60305 * math/w_log10.c: Likewise.
60306 * math/w_log10f.c: Likewise.
60307 * math/w_log10l.c: Likewise.
60308 * math/w_log2.c: Likewise.
60309 * math/w_log2f.c: Likewise.
60310 * math/w_log2l.c: Likewise.
60311 * math/w_pow.c: Likewise.
60312 * math/w_powf.c: Likewise.
60313 * math/w_powl.c: Likewise.
60314 * math/w_remainder.c: Likewise.
60315 * math/w_remainderf.c: Likewise.
60316 * math/w_remainderl.c: Likewise.
60317 * math/w_scalb.c: Likewise.
60318 * math/w_scalbf.c: Likewise.
60319 * math/w_scalbl.c: Likewise.
60320 * math/w_sqrt.c: Likewise.
60321 * math/w_sqrtf.c: Likewise.
60322 * math/w_sqrtl.c: Likewise.
60323 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60324 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60325 used.
60326 * math/math_private.h: Declare __kernel_standard_f.
60327 * math/w_cosh.c: Remove cruft and optimize a bit.
60328 * math/w_coshf.c: Likewise.
60329 * math/w_coshl.c: Likewise.
60330 * math/w_exp2.c: Likewise.
60331 * math/w_exp2f.c: Likewise.
60332 * math/w_exp2l.c: Likewise.
60333 * math/w_hypot.c: Likewise.
60334 * math/w_hypotf.c: Likewise.
60335 * math/w_hypotl.c: Likewise.
60336 * math/w_lgamma.c: Likewise.
60337 * math/w_lgamma_r.c: Likewise.
60338 * math/w_lgammaf.c: Likewise.
60339 * math/w_lgammaf_r.c: Likewise.
60340 * math/w_lgammal.c: Likewise.
60341 * math/w_lgammal_r.c: Likewise.
60342 * math/w_sinh.c: Likewise.
60343 * math/w_sinhf.c: Likewise.
60344 * math/w_sinhl.c: Likewise.
60345 * math/w_tgamma.c: Likewise.
60346 * math/w_tgammaf.c: Likewise.
60347 * math/w_tgammal.c: Likewise.
60348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60349 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60350 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60351 Minor optimizations. Pretty printing. Remove cruft.
60352 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60354 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60356 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60357 * sysdeps/i386/fpu/e_asin.S: Likewise.
60358 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60359 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60360 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60361 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60362 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60363 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60364 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60365 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60366 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60367 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60368 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60369 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60370 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60371 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60372 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60373 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60374 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60375 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60376 * sysdeps/i386/fpu/e_log.S: Likewise.
60377 * sysdeps/i386/fpu/e_log10.S: Likewise.
60378 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60380 * sysdeps/i386/fpu/e_log2.S: Likewise.
60381 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60382 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60383 * sysdeps/i386/fpu/e_logf.S: Likewise.
60384 * sysdeps/i386/fpu/e_logl.S: Likewise.
60385 * sysdeps/i386/fpu/e_pow.S: Likewise.
60386 * sysdeps/i386/fpu/e_powf.S: Likewise.
60387 * sysdeps/i386/fpu/e_powl.S: Likewise.
60388 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60389 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60390 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60392 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60393 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60394 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60395 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60396 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60397 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60400 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60401 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60402 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60403 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60404 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60405 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60406 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60407 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60408 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60410 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60411 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60413 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60414 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60417 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60418 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60419 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60420 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60421 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60422 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60423 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60424 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60425 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60426 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60431 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60432 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60433 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60434 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60435 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60436 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60437 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60438 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60439 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60440 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60441 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60442 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60443 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60444 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60445 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60446 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60447 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60448 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60449 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60450 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60452 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60453 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60454 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60455 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60456 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60457 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60461 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60462 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60463 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60465 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60466 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60467 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60468 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60469 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60470 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60471 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60473 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60474 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60475 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60476 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60477 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60478 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60479 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60480 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60481 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60482 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60484 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60485 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60486 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60487 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60488 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60489 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60490 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60491 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60492 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60493 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60494 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60495 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60496 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60497 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60498 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60499 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60500 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60501 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60502 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60503 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60504 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60505 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60506 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60507 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60508 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60509 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60510 (__isnanf): Likewise.
60511 (__isinf_ns): Likewise.
60512 (__isinf_nsf): Likewise.
60513 (__finite): Likewise.
60514 (__finitef): Likewise.
60515 (__ieee754_sqrt): Define as macro.
60516 (__ieee754_sqrtf): Define as macro.
60517 (__ieee754_sqrtl): Define as macro.
60518 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60519 inlined copy.
60520 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60521 __FINITE_MATH_ONLY__ consistent.
60522 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60523
60524 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60525
60526 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60527 of rawmemchr.
60528
60529 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60530
60531 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60532
60533 * po/ja.po: Update from translation team.
60534
60535 2011-10-08 Roland McGrath <roland@hack.frob.com>
60536
60537 * locale/programs/locarchive.c (prepare_address_space): New function.
60538 (create_archive, enlarge_archive, open_archive): Use it.
60539
60540 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60541 inside [SHARED], where it is used.
60542
60543 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60544
60545 * nss/getent.c (netgroup_keys): Remove unused variable.
60546 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60547
60548 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60549
60550 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60551 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60553 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60554 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60555 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60556 * math/Makefile (libm-calls): Add s_isinf_ns.
60557 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60558 * math/multc3.c: Likewise.
60559 * math/s_casin.c: Likewise.
60560 * math/s_casinf.c: Likewise.
60561 * math/s_casinl.c: Likewise.
60562 * math/s_ccos.c: Likewise.
60563 * math/s_ccosf.c: Likewise.
60564 * math/s_ccosl.c: Likewise.
60565 * math/s_ctan.c: Likewise.
60566 * math/s_ctanf.c: Likewise.
60567 * math/s_ctanh.c: Likewise.
60568 * math/s_ctanhf.c: Likewise.
60569 * math/s_ctanhl.c: Likewise.
60570 * math/s_ctanl.c: Likewise.
60571 * math/w_fmod.c: Likewise.
60572 * math/w_fmodf.c: Likewise.
60573 * math/w_fmodl.c: Likewise.
60574 * math/w_remainder.c: Likewise.
60575 * math/w_remainderf.c: Likewise.
60576 * math/w_remainderl.c: Likewise.
60577 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60578 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60579 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60581 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60582 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60583 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60584 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60585
60586 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60587 of the number.
60588 * stdio-common/printf_fphex.c: Likewise.
60589 * stdio-common/printf_size.c: Likewise.
60590
60591 * math/e_exp10.c: Include math_private.h using <...> not "...".
60592 * math/e_exp10f.c: Likewise.
60593 * math/e_exp10l.c: Likewise.
60594 * math/e_exp2l.c: Likewise.
60595 * math/e_j0l.c: Likewise.
60596 * math/e_j1l.c: Likewise.
60597 * math/e_jnl.c: Likewise.
60598 * math/e_lgammal_r.c: Likewise.
60599 * math/e_rem_pio2l.c: Likewise.
60600 * math/e_scalb.c: Likewise.
60601 * math/e_scalbf.c: Likewise.
60602 * math/e_scalbl.c: Likewise.
60603 * math/k_cosl.c: Likewise.
60604 * math/k_sinl.c: Likewise.
60605 * math/k_tanl.c: Likewise.
60606 * math/s_cacoshf.c: Likewise.
60607 * math/s_catan.c: Likewise.
60608 * math/s_catanf.c: Likewise.
60609 * math/s_catanh.c: Likewise.
60610 * math/s_catanhf.c: Likewise.
60611 * math/s_catanhl.c: Likewise.
60612 * math/s_catanl.c: Likewise.
60613 * math/s_ccosh.c: Likewise.
60614 * math/s_ccoshf.c: Likewise.
60615 * math/s_ccoshl.c: Likewise.
60616 * math/s_cexp.c: Likewise.
60617 * math/s_cexpf.c: Likewise.
60618 * math/s_cexpl.c: Likewise.
60619 * math/s_clog.c: Likewise.
60620 * math/s_clog10.c: Likewise.
60621 * math/s_clog10f.c: Likewise.
60622 * math/s_clog10l.c: Likewise.
60623 * math/s_clogf.c: Likewise.
60624 * math/s_clogl.c: Likewise.
60625 * math/s_csin.c: Likewise.
60626 * math/s_csinf.c: Likewise.
60627 * math/s_csinh.c: Likewise.
60628 * math/s_csinhf.c: Likewise.
60629 * math/s_csinhl.c: Likewise.
60630 * math/s_csinl.c: Likewise.
60631 * math/s_csqrt.c: Likewise.
60632 * math/s_csqrtf.c: Likewise.
60633 * math/s_csqrtl.c: Likewise.
60634 * math/s_ctan.c: Likewise.
60635 * math/s_ctanf.c: Likewise.
60636 * math/s_ctanh.c: Likewise.
60637 * math/s_ctanhf.c: Likewise.
60638 * math/s_ctanhl.c: Likewise.
60639 * math/s_ctanl.c: Likewise.
60640 * math/s_ldexp.c: Likewise.
60641 * math/s_ldexpf.c: Likewise.
60642 * math/s_ldexpl.c: Likewise.
60643 * math/s_significand.c: Likewise.
60644 * math/s_significandf.c: Likewise.
60645 * math/s_significandl.c: Likewise.
60646 * math/w_acos.c: Likewise.
60647 * math/w_acosf.c: Likewise.
60648 * math/w_acosh.c: Likewise.
60649 * math/w_acoshf.c: Likewise.
60650 * math/w_acoshl.c: Likewise.
60651 * math/w_acosl.c: Likewise.
60652 * math/w_asin.c: Likewise.
60653 * math/w_asinf.c: Likewise.
60654 * math/w_asinl.c: Likewise.
60655 * math/w_atan2.c: Likewise.
60656 * math/w_atan2f.c: Likewise.
60657 * math/w_atan2l.c: Likewise.
60658 * math/w_atanh.c: Likewise.
60659 * math/w_atanhf.c: Likewise.
60660 * math/w_atanhl.c: Likewise.
60661 * math/w_cosh.c: Likewise.
60662 * math/w_coshf.c: Likewise.
60663 * math/w_coshl.c: Likewise.
60664 * math/w_dremf.c: Likewise.
60665 * math/w_exp10.c: Likewise.
60666 * math/w_exp10f.c: Likewise.
60667 * math/w_exp10l.c: Likewise.
60668 * math/w_exp2.c: Likewise.
60669 * math/w_exp2f.c: Likewise.
60670 * math/w_fmod.c: Likewise.
60671 * math/w_fmodf.c: Likewise.
60672 * math/w_fmodl.c: Likewise.
60673 * math/w_hypot.c: Likewise.
60674 * math/w_hypotf.c: Likewise.
60675 * math/w_hypotl.c: Likewise.
60676 * math/w_j0.c: Likewise.
60677 * math/w_j0f.c: Likewise.
60678 * math/w_j0l.c: Likewise.
60679 * math/w_j1.c: Likewise.
60680 * math/w_j1f.c: Likewise.
60681 * math/w_j1l.c: Likewise.
60682 * math/w_jn.c: Likewise.
60683 * math/w_jnf.c: Likewise.
60684 * math/w_jnl.c: Likewise.
60685 * math/w_lgamma.c: Likewise.
60686 * math/w_lgamma_r.c: Likewise.
60687 * math/w_lgammaf.c: Likewise.
60688 * math/w_lgammaf_r.c: Likewise.
60689 * math/w_lgammal.c: Likewise.
60690 * math/w_lgammal_r.c: Likewise.
60691 * math/w_log.c: Likewise.
60692 * math/w_log10.c: Likewise.
60693 * math/w_log10f.c: Likewise.
60694 * math/w_log10l.c: Likewise.
60695 * math/w_log2.c: Likewise.
60696 * math/w_log2f.c: Likewise.
60697 * math/w_log2l.c: Likewise.
60698 * math/w_logf.c: Likewise.
60699 * math/w_logl.c: Likewise.
60700 * math/w_pow.c: Likewise.
60701 * math/w_powf.c: Likewise.
60702 * math/w_powl.c: Likewise.
60703 * math/w_remainder.c: Likewise.
60704 * math/w_remainderf.c: Likewise.
60705 * math/w_remainderl.c: Likewise.
60706 * math/w_scalb.c: Likewise.
60707 * math/w_scalbf.c: Likewise.
60708 * math/w_scalbl.c: Likewise.
60709 * math/w_sinh.c: Likewise.
60710 * math/w_sinhf.c: Likewise.
60711 * math/w_sinhl.c: Likewise.
60712 * math/w_sqrt.c: Likewise.
60713 * math/w_sqrtf.c: Likewise.
60714 * math/w_sqrtl.c: Likewise.
60715 * math/w_tgamma.c: Likewise.
60716 * math/w_tgammaf.c: Likewise.
60717 * math/w_tgammal.c: Likewise.
60718
60719 * po/ja.po: Update from translation team.
60720
60721 2011-09-29 Andreas Jaeger <aj@suse.de>
60722
60723 [BZ #13179]
60724 * sunrpc/netname.c (netname2host): Fix logic.
60725
60726 [BZ #6779]
60727 [BZ #6783]
60728 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60729 correctly.
60730 * math/w_remainder.c (__remainder): Likewise.
60731 * math/w_remainderf.c (__remainderf): Likewise.
60732 * math/libm-test.inc (remainder_test): Add test cases.
60733
60734 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60735
60736 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60737 sdiv_qrnnd.
60738
60739 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60740
60741 * string/test-memcmp.c: Avoid unncessary #defines.
60742 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60743
60744 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60745
60746 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60747 Use new sse2 version for core i3 - i7 as it's faster
60748 than sse42 version.
60749 (bit_Prefer_PMINUB_for_stringop): New.
60750 * sysdeps/x86_64/rawmemchr.S: Update.
60751 Replace with faster SSE2 version.
60752 * sysdeps/x86_64/memrchr.S: New file.
60753 * sysdeps/x86_64/memchr.S: Update.
60754 Replace with faster SSE2 version.
60755
60756 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60757
60758 * elf/dl-load.c (lose): Add cast to avoid warning.
60759
60760 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60761
60762 * po/ca.po: Update from translation team.
60763
60764 * inet/getnetgrent_r.c: Hook up nscd.
60765 * nscd/Makefile (routines): Add nscd_netgroup.
60766 (nscd-modules): Add netgroupcache.
60767 (CFLAGS-netgroupcache.c): Define.
60768 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60769 (cache_search): Add const to second parameter.
60770 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60771 INNETGR.
60772 (dbs): Add netgrdb entry.
60773 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60774 (verify_persistent_db): Handle netgrdb.
60775 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60776 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60777 GETFDNETGR.
60778 (netgroup_response_header): Define.
60779 (innetgroup_response_header): Define.
60780 (datahead): Add netgroup_response_header and innetgroup_response_header
60781 elements.
60782 * nscd/nscd.conf: Add entries for netgroup cache.
60783 * nscd/nscd.h (dbtype): Add netgrdb.
60784 (_PATH_NSCD_NETGROUP_DB): Define.
60785 (netgroup_iov_disabled): Declare.
60786 (xmalloc, xcalloc, xrealloc): Move declarations here.
60787 (cache_search): Adjust prototype.
60788 Add netgroup-related prototypes.
60789 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60790 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60791 (__nscd_innetgr): Declare.
60792 * nscd/selinux.c (perms): Use access_vector_t as element type and
60793 add netgroup-related initializers.
60794 * nscd/netgroupcache.c: New file.
60795 * nscd/nscd_netgroup.c: New file.
60796 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60797 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60798 For four parameters use innetgr.
60799 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60800 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60801 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60802 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60803
60804 * nscd/connections.c (register_traced_file): Don't register file
60805 for disabled databases.
60806
60807 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60808
60809 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60810
60811 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60812 from tree and freeing node.
60813
60814 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60815
60816 * nss/nsswitch.c (__nss_database_lookup): Handle
60817 nss_parse_service_list out of memory case.
60818
60819 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60820
60821 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60822 out of memory case.
60823
60824 2011-10-04 Andreas Schwab <schwab@redhat.com>
60825
60826 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60827 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60828 pass it down.
60829 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60830 elf_machine_rela, elf_machine_lazy_rel.
60831 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60832 (ELF_DYNAMIC_DO_REL): Likewise.
60833 (ELF_DYNAMIC_DO_RELA): Likewise.
60834 (ELF_DYNAMIC_RELOCATE): Likewise.
60835 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60836 to ELF_DYNAMIC_DO_REL.
60837 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60838 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60839 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60840 elf_machine_rela.
60841 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60842 skip_ifunc, don't call ifunc function if non-zero.
60843 (elf_machine_rela): Likewise.
60844 (elf_machine_lazy_rel): Likewise.
60845 (elf_machine_lazy_rela): Likewise.
60846 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60847 (elf_machine_lazy_rel): Likewise.
60848 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60849 Likewise.
60850 (elf_machine_lazy_rel): Likewise.
60851 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60852 Likewise.
60853 (elf_machine_lazy_rel): Likewise.
60854 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60855 (elf_machine_lazy_rel): Likewise.
60856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60857 (elf_machine_lazy_rel): Likewise.
60858 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60859 (elf_machine_lazy_rel): Likewise.
60860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60861 (elf_machine_lazy_rel): Likewise.
60862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60863 (elf_machine_lazy_rel): Likewise.
60864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60865 (elf_machine_lazy_rel): Likewise.
60866
60867 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60868
60869 * nss/nss_files/files-init.c (_nss_files_init): Use static
60870 initialization for all the *_traced_file variables.
60871
60872 2011-09-28 Andreas Schwab <schwab@redhat.com>
60873
60874 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60875
60876 2011-09-27 Roland McGrath <roland@hack.frob.com>
60877
60878 [BZ #13226]
60879 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60880
60881 2011-09-27 Andreas Schwab <schwab@redhat.com>
60882
60883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60884 Reread the line before reparsing it.
60885
60886 2011-09-26 Andreas Schwab <schwab@redhat.com>
60887
60888 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60889
60890 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60891 Maxim Kuvyrkov <maxim@codesourcery.com>
60892 Joseph Myers <joseph@codesourcery.com>
60893
60894 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60895 if needed for __stack_chk_guard.
60896
60897 2011-09-19 Roland McGrath <roland@hack.frob.com>
60898
60899 * sysdeps/posix/spawni.c (script_execute): Always define it.
60900 It will be optimized away if unused.
60901 (maybe_script_execute): New function.
60902 (__spawni): Call it.
60903
60904 * Makerules: Don't include tls.make.
60905 (config-tls): Always set to thread.
60906 * tls.make.c: File removed.
60907
60908 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60909
60910 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60911 * config.make.in (CPPFLAGS-config): New substituted variable.
60912
60913 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60914
60915 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60916
60917 [BZ #13192]
60918 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60919 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60920
60921 2011-09-15 Roland McGrath <roland@hack.frob.com>
60922
60923 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60924 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60925 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60926 (CALL_FAIL): Likewise.
60927 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60928 (CALL_FAIL): Macro removed.
60929 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60930
60931 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60932
60933 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60934 for __FINITE_MATH_ONLY__ == 1.
60935
60936 2011-09-15 Andreas Schwab <schwab@redhat.com>
60937
60938 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60939 __ieee754_sqrt instead of sqrt.
60940 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60941 __ieee754_sqrtf instead of sqrtf.
60942 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60943 __floorf instead of floorf.
60944 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60945 __floorf, __truncf instead of floorf, truncf.
60946
60947 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60948
60949 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60950
60951 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60952 __extern_always_inline.
60953 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60954 32-bit.
60955
60956 2011-09-14 Andreas Schwab <schwab@redhat.com>
60957
60958 * elf/rtld.c (dl_main): Also relocate in dependency order when
60959 doing symbol dependency testing.
60960
60961 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60962
60963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60964 Always define `refsym'.
60965
60966 2011-09-13 Andreas Schwab <schwab@redhat.com>
60967
60968 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60969 (__FD_ELT): Renamed from __FDELT.
60970 * misc/bits/select2.h (__FD_ELT): Likewise.
60971 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60972 __FD_MASK instead of __FDELT, __FDMASK.
60973 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60974 Likewise.
60975 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60976 Likewise.
60977
60978 * elf/Makefile (gen-ldd): Fix pattern.
60979
60980 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60981 (init_tls): Likewise.
60982
60983 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60984
60985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60986
60987 2011-09-12 Andreas Schwab <schwab@redhat.com>
60988
60989 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60990 `struct cmsghdr *' instead of `void *'.
60991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60992 Likewise.
60993
60994 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60995
60996 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60997 if non-absolute.
60998 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60999 ldd_rewrite_script.
61000
61001 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61002
61003 * configure.in: Remove --with-tls option.
61004 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61005 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61006 out in case it is missing.
61007 * sysdeps/ia64/elf/configure.in: Likewise.
61008 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61009 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61010 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61011 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61012 * sysdeps/sh/elf/configure.in: Likewise.
61013 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61014 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61015 * sysdeps/x86_64/elf/configure.in: Likewise.
61016 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61017 * sysdeps/mach/hurd/tls.h: Likewise.
61018
61019 [BZ #13067]
61020 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61021
61022 [BZ #13090]
61023 * configure.in: Fix use of AC_INIT.
61024
61025 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61026
61027 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61028
61029 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61030 __set_errno.
61031 * malloc/hooks.c: Likewise.
61032
61033 [BZ #11929]
61034 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61035 variables statically.
61036 (narenas): Initialize.
61037 (list_lock): Initialize.
61038 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61039 initializtion of main_arena and list_lock. Small cleanups.
61040 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61041 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61042 Add initializers to main_arena and mp_.
61043 (malloc_state): Remove pagesize member. Change all users to use
61044 GLRO(dl_pagesize).
61045
61046 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61047 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61048 is always initialized.
61049
61050 * malloc/malloc.c: Removed unused configurations and dead code.
61051 * malloc/arena.c: Likewise.
61052 * malloc/hooks.c: Likewise.
61053 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61054
61055 * include/tls.h: Removed. USE___THREAD must always be defined.
61056 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61057 * elf/dl-libc.c: Likewise.
61058 * elf/dl-tsd.c: Likewise.
61059 * include/errno.h: Likewise.
61060 * include/netdb.h: Likewise.
61061 * include/resolv.h: Likewise.
61062 * inet/herrno-loc.c: Likewise.
61063 * inet/herrno.c: Likewise.
61064 * malloc/arena.c: Likewise.
61065 * malloc/hooks.c: Likewise.
61066 * malloc/malloc.c: Likewise.
61067 * resolv/res-state.c: Likewise.
61068 * resolv/res_libc.c: Likewise.
61069 * sysdeps/i386/dl-machine.h: Likewise.
61070 * sysdeps/ia64/dl-machine.h: Likewise.
61071 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61072 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61073 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61074 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61075 * sysdeps/sh/dl-machine.h: Likewise.
61076 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61077 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61078 * sysdeps/unix/i386/sysdep.S: Likewise.
61079 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61080 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61081 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61085 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61089 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61090 * sysdeps/x86_64/dl-machine.h: Likewise.
61091 * tls.make.c: Likewise.
61092
61093 * configure.in: Remove --with-__thread option. Make tests for
61094 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61095 tls_model attribute fail if no support is available. Remove
61096 USE_IN_LIBIO.
61097 * Makeconfig: Adjust for dropped configure option. All features are
61098 now mandatory.
61099 * Makerules: Likewise.
61100 * Versions.def: Likewise.
61101 * argp/argp-fmtstream.c: Likewise.
61102 * argp/argp-fmtstream.h: Likewise.
61103 * argp/argp-help.c: Likewise.
61104 * assert/assert.c: Likewise.
61105 * config.h.in: Likewise.
61106 * config.make.in: Likewise.
61107 * configure: Likewise.
61108 * configure.in: Likewise.
61109 * csu/Versions: Likewise.
61110 * csu/init.c: Likewise.
61111 * elf/tst-audit2.c: Likewise.
61112 * elf/tst-tls10.c: Likewise.
61113 * elf/tst-tls10.h: Likewise.
61114 * elf/tst-tls11.c: Likewise.
61115 * elf/tst-tls12.c: Likewise.
61116 * elf/tst-tls14.c: Likewise.
61117 * elf/tst-tlsmod11.c: Likewise.
61118 * elf/tst-tlsmod12.c: Likewise.
61119 * elf/tst-tlsmod13.c: Likewise.
61120 * elf/tst-tlsmod13a.c: Likewise.
61121 * elf/tst-tlsmod14a.c: Likewise.
61122 * elf/tst-tlsmod15b.c: Likewise.
61123 * elf/tst-tlsmod16a.c: Likewise.
61124 * elf/tst-tlsmod16b.c: Likewise.
61125 * elf/tst-tlsmod7.c: Likewise.
61126 * elf/tst-tlsmod8.c: Likewise.
61127 * elf/tst-tlsmod9.c: Likewise.
61128 * gmon/gmon.c: Likewise.
61129 * grp/fgetgrent_r.c: Likewise.
61130 * grp/putgrent.c: Likewise.
61131 * hurd/fopenport.c: Likewise.
61132 * include/libc-symbols.h: Likewise.
61133 * include/tls.h: Likewise.
61134 * intl/gettextP.h: Likewise.
61135 * intl/loadinfo.h: Likewise.
61136 * locale/global-locale.c: Likewise.
61137 * locale/localeinfo.h: Likewise.
61138 * mach/devstream.c: Likewise.
61139 * malloc/arena.c: Likewise.
61140 * malloc/set-freeres.c: Likewise.
61141 * misc/err.c: Likewise.
61142 * misc/getttyent.c: Likewise.
61143 * misc/mntent_r.c: Likewise.
61144 * posix/getopt.c: Likewise.
61145 * posix/wordexp.c: Likewise.
61146 * pwd/fgetpwent_r.c: Likewise.
61147 * resolv/Versions: Likewise.
61148 * resolv/res_hconf.c: Likewise.
61149 * shadow/fgetspent_r.c: Likewise.
61150 * shadow/putspent.c: Likewise.
61151 * stdio-common/printf_fphex.c: Likewise.
61152 * stdio-common/tmpfile.c: Likewise.
61153 * stdlib/abort.c: Likewise.
61154 * stdlib/fmtmsg.c: Likewise.
61155 * sunrpc/auth_unix.c: Likewise.
61156 * sunrpc/clnt_perr.c: Likewise.
61157 * sunrpc/clnt_tcp.c: Likewise.
61158 * sunrpc/clnt_udp.c: Likewise.
61159 * sunrpc/clnt_unix.c: Likewise.
61160 * sunrpc/openchild.c: Likewise.
61161 * sunrpc/svc_simple.c: Likewise.
61162 * sunrpc/svc_tcp.c: Likewise.
61163 * sunrpc/svc_udp.c: Likewise.
61164 * sunrpc/svc_unix.c: Likewise.
61165 * sunrpc/xdr.c: Likewise.
61166 * sunrpc/xdr_array.c: Likewise.
61167 * sunrpc/xdr_rec.c: Likewise.
61168 * sunrpc/xdr_ref.c: Likewise.
61169 * sunrpc/xdr_stdio.c: Likewise.
61170
61171 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61172
61173 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61174
61175 2011-07-03 Andreas Jaeger <aj@suse.de>
61176
61177 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61178 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61179 regenerate with gen-libm-tests.pl.
61180
61181 2010-05-12 Petr Baudis <pasky@suse.cz>
61182
61183 [BZ #11589]
61184 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61185 around j0() zero points by switching to j1().
61186 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61189 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61190
61191 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61192
61193 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61194 instead of 0.
61195 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61196 instead of 0.
61197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61198 Patch in part by Pavel Roskin <proski@gnu.org>.
61199
61200 [BZ #13138]
61201 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61202 realloc.
61203 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61204 Free memory block if necessary.
61205
61206 [BZ #12847]
61207 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61208 be NULL. Don't lock in this case.
61209
61210 2011-09-09 Roland McGrath <roland@hack.frob.com>
61211
61212 * elf/elf.h (ELFOSABI_GNU): New macro.
61213 (ELFOSABI_LINUX): Define to that.
61214
61215 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61216
61217 * string/strncat.c (strncat): Undef the symbol in case it has been
61218 defined in bits/string.h.
61219
61220 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61221
61222 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61223
61224 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61225 link map.
61226
61227 2011-08-17 Andreas Jaeger <aj@suse.de>
61228
61229 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61230
61231 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61232 Ian Lance Taylor <iant@google.com>
61233
61234 * math/libm-test.inc (lround_test): New testcase.
61235 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61236
61237 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61238
61239 * Makefile: Remove support for automatic cvs check-ins.
61240 * Makerules: Likewise.
61241 * config.make.in: Likewise.
61242 * configure.in: Likewise.
61243 * intl/Makefile: Likewise.
61244 * locale/Makefile: Likewise.
61245 * po/Makefile: Likewise.
61246 * posix/Makefile: Likewise.
61247 * sysdeps/gnu/Makefile: Likewise.
61248 * sysdeps/mach/hurd/Makefile: Likewise.
61249 * sysdeps/sparc/sparc32/Makefile: Likewise.
61250
61251 [BZ #13118]
61252 * posix/Makefile (bug-regex32-ENV): Define.
61253 Patch by John Stanley <jpsinthemix@verizon.net>.
61254
61255 * misc/Makefile (headers): Add bits/select2.h.
61256 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61257 * misc/bits/select2.h: New file.
61258 * include/bits/select2.h: New file.
61259 * debug/Makefile (routines): Add fdelt_chk.
61260 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61261 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61262 FD_ISSET.
61263 * debug/fdelt_chk.c: New file.
61264
61265 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61266 * wcsmbs/test-wmemcmp.c: Likewise.
61267 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61268 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61269
61270 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61271
61272 * string/Makefile (strop-tests): Add memcmp.
61273 * string/test-wmemcmp.c: New file.
61274 * string/test-memcmp.c: Add wmemcmp support.
61275
61276 2011-09-08 Roland McGrath <roland@hack.frob.com>
61277
61278 [BZ #13153]
61279 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61280 2011-07-19 change.
61281
61282 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61283 garbage value in a __mach_port_mod_refs call in the cases of the
61284 task-self and thread-self ports.
61285
61286 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61287
61288 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61289
61290 2011-09-08 Andreas Schwab <schwab@redhat.com>
61291
61292 * elf/dl-load.c (lose): Check for non-null L.
61293
61294 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61295
61296 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61297
61298 * elf/dl-libc.c (dlerror_run): Pass back error code from
61299 dl_catch_error.
61300
61301 [BZ #13123]
61302 * elf/dl-load.c (lose): Free l_origin if it is valid.
61303
61304 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61305 names.
61306 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61307 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61308 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61309 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61310 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61311 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61312
61313 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61314
61315 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61316 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61317 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61318 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61319 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61320 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61321 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61322 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61323 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61324 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61325
61326 2011-08-15 Alan Modra <amodra@gmail.com>
61327
61328 [BZ #13092]
61329 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61330 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61331 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61332 ppc_mcount to static-only-routines.
61333 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61334 __mcount_internal.
61335 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61336 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61337
61338 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61339
61340 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61341 for finite and infinity parameters.
61342
61343 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61344
61345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61346 and add nop instructions for throughput optimization.
61347 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61348
61349 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61350
61351 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61352 aligned copy for power7 with vector-scalar instructions.
61353 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61354
61355 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61356
61357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61358 AVX check.
61359
61360 2011-09-07 Andreas Schwab <schwab@redhat.com>
61361
61362 [BZ #13144]
61363 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61364 last change.
61365
61366 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61367
61368 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61369 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61370 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61371 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61372 clock_gettime.
61373
61374 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61375
61376 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61377 Forgot to demangle the pointer.
61378
61379 * sysdeps/i386/sysdep.h: Define atom_text_section.
61380 * sysdeps/x86_64/sysdep.h: Likewise.
61381 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61382 section with atom_text_section.
61383 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61384 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61385 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61386 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61387 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61388
61389 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61390 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61391 already be defined. Change to take two parameters and don't assign
61392 result to variable. Adjust all users.
61393 Define INTERNAL_GETTIME if not already defined.
61394 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61395 call.
61396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61397 HAVE_CLOCK_GETTIME_VSYSCALL.
61398 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61399
61400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61401 gettimeofday vsyscall, just use time.
61402
61403 2011-09-06 Andreas Schwab <schwab@redhat.com>
61404
61405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61406 <errno.h>.
61407
61408 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61409
61410 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61411 syscall on x86-64.
61412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61413 syscall.
61414 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61415 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61416 syscall if possible.
61417
61418 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61419
61420 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61421 e_ident. Don't pass to find_mapsXX.
61422 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61423
61424 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61425
61426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61427 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61428 * sysdeps/x86_64/multiarch/strchr.S: Update.
61429 Check bit_slow_BSF bit.
61430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61431 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61432 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61433
61434 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61435
61436 [BZ #13134]
61437 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61438 before glibc 2.15.
61439 (tryshell): Define.
61440 (__spawni): Change last parameter to be flag. Test
61441 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61442 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61443 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61444 * posix/spawni.c: Likewise.
61445 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61446 * posix/spawnp.c: Likewise. Change normal version to use
61447 SPAWN_XFLAGS_USE_PATH.
61448 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61449 SPAWN_XFLAGS_TRY_SHELL.
61450
61451 [BZ #13150]
61452 * posix/glob.h: Remove gcc 1.x support.
61453
61454 [BZ #13068]
61455 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61456
61457 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61458
61459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61460 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61461 strrchr-sse2-bsf
61462 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61463 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61464 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61466 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61467 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61468
61469 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61470
61471 * sysdeps/x86_64/wcscmp.S: New file.
61472
61473 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61474 wcscmp-c wcscmp-sse2
61475 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61476 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61477 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61478 * wcsmbs/wcscmp.c: Allow renaming.
61479
61480 2011-09-05 David S. Miller <davem@davemloft.net>
61481
61482 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61483 stack slot, rather than the struct return pointer slot.
61484 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61485 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61487 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61488
61489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61490
61491 * po/ja.po: Update from translation team.
61492
61493 [BZ #13144]
61494 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61495 kernel in 64-bit binaries.
61496
61497 2011-09-01 David S. Miller <davem@davemloft.net>
61498
61499 * elf/elf.h (HWCAP_SPARC_*): Move to..
61500 * sysdeps/sparc/sysdep.h: this new file and add new values.
61501 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61502 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61503 _DL_HWCAP_COUNT to 24.
61504 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61505 entries.
61506 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61507 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61508 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61510 instead of magic constants.
61511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61512
61513 2011-08-31 David S. Miller <davem@davemloft.net>
61514
61515 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61517 Reimplement to do errno handling inline.
61518 (SYSCALL_ERROR_HANDLER): New macro.
61519 (__SYSCALL_STRING): Do not do errno handling in asm.
61520 (__CLONE_SYSCALL_STRING): Delete.
61521 (__INTERNAL_SYSCALL_STRING): Delete.
61522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61523 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61524 (PSEUDO): Reimplement to do errno handling inline.
61525 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61526 (SYSCALL_ERROR_HANDLER): New macro.
61527 (__SYSCALL_STRING): Do not do errno handling in asm.
61528 (__CLONE_SYSCALL_STRING): Delete.
61529 (__INTERNAL_SYSCALL_STRING): Delete.
61530 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61531 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61532 i386.
61533 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61534 (inline_syscall*): Add 'err' argument.
61535 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61536 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61537 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61538 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61539
61540 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61541 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61542
61543 2011-08-30 Andreas Schwab <schwab@redhat.com>
61544
61545 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61546
61547 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61548
61549 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61550 directive.
61551
61552 2011-08-24 David S. Miller <davem@davemloft.net>
61553
61554 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61555
61556 2011-08-24 Andreas Schwab <schwab@redhat.com>
61557
61558 * elf/Makefile: Add rules to build and run unload8 test.
61559 * elf/unload8.c: New file.
61560 * elf/unload8mod1.c: New file.
61561 * elf/unload8mod1x.c: New file.
61562 * elf/unload8mod2.c: New file.
61563 * elf/unload8mod3.c: New file.
61564
61565 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61566 it wasn't used.
61567
61568 2011-08-23 David S. Miller <davem@davemloft.net>
61569
61570 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61571 subtract stack bias.
61572 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61573 %sp not %fp in calculations.
61574 (_JMPBUF_UNWINDS_ADJ): Likewise.
61575
61576 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61577 (aio_suspend): Call it to force an exception region around the
61578 AIO_MISC_WAIT() invocation.
61579
61580 2011-08-23 Andreas Schwab <schwab@redhat.com>
61581
61582 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61583 backslash.
61584
61585 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61586
61587 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61588 protection macro.
61589 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61590 and <dl-machine.h>.
61591 (Elf64_FuncDesc): Remove.
61592
61593 2011-08-22 David S. Miller <davem@davemloft.net>
61594
61595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61596 sigaltstack check, add missing cfi directives.
61597 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61598 missing cfi directives, and sigaltstack handling.
61599
61600 2011-08-16 Andreas Schwab <schwab@redhat.com>
61601
61602 [BZ #11724]
61603 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61604 object is seen twice.
61605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61606
61607 * elf/Makefile (distribute): Add tst-initorder2.c.
61608 (tests): Add tst-initorder2.
61609 (modules-names): Add tst-initorder2a tst-initorder2b
61610 tst-initorder2c tst-initorder2d. Add rules to build them.
61611 ($(objpfx)tst-initorder2.out): New rule.
61612 * elf/tst-initorder2.c: New file.
61613 * elf/tst-initorder2.exp: New file.
61614
61615 2011-08-22 Andreas Schwab <schwab@redhat.com>
61616
61617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61618
61619 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61620 dependencies back to end of function.
61621
61622 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61623 $(elfobjdir)/ld.so.
61624
61625 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61626
61627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61628 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61629 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61630 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61631 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61632 of __vdso_gettimeofday.
61633 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61634 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61635 attribute_hidden.
61636 (_libc_vdso_platform_setup): Remove initialization of
61637 __vdso_gettimeofday and __vdso_time.
61638
61639 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61640
61641 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61642 and fgetc_unlocked.
61643 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61644 getc_unlocked.
61645
61646 * elf/dl-open.c (add_to_global): Report additions to the global scope
61647 for LD_DEBUG=scopes.
61648 (dl_open_worker): Also print scope of newly loaded dependencies.
61649 (_dl_show_scope): Indicate if there is no scope.
61650
61651 [BZ #13114]
61652 * stdio-common/Makefile (tests): Add bug24.
61653 * stdio-common/bug24.c: New file.
61654
61655 2011-08-19 Andreas Jaeger <aj@suse.de>
61656
61657 [BZ #13114]
61658 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61659 non-existant file when using close-on-exec mode.
61660
61661 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61662
61663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61664 the very first instruction.
61665
61666 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61667 the CFI state in the end.
61668 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61669 inclusion of dl-trampoline.h.
61670 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61671
61672 2011-08-19 Andreas Schwab <schwab@redhat.com>
61673
61674 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61675 expectations for long double.
61676
61677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61678 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61679
61680 2011-08-14 David S. Miller <davem@davemloft.net>
61681
61682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61683 artificual limit depends upon the system page size.
61684
61685 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61686
61687 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61688 * resolv/Makefile: Define CFLAGS-libresolv.
61689
61690 2011-08-17 Andreas Schwab <schwab@redhat.com>
61691
61692 * nss/makedb.c (compute_tables): Make variables used in nested
61693 function static.
61694
61695 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61696
61697 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61698 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61699 if buffer was too small.
61700
61701 * elf/pldd.c (main): Attach to all threads in the process.
61702 Rewrite /proc handling to use *at functions.
61703
61704 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61705
61706 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61707 specifies first scope to show.
61708 (dl_open_worker): Update callers. Move printing scope of new
61709 object to before the relocation.
61710 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61711 * sysdeps/generic/ldsodefs.h: Update declaration.
61712
61713 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61714 string for the scope number.
61715
61716 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61717
61718 * nscd/servicescache.c (cache_addserv): Make sure written is always
61719 initialized.
61720
61721 2011-08-14 Roland McGrath <roland@hack.frob.com>
61722
61723 * sysdeps/i386/i486/bits/atomic.h
61724 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61725 statement expression, so as to suppress "set but not used" warning.
61726 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61727
61728 * string/strncat.c (STRNCAT): Use prototype definition.
61729
61730 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61731 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61732 -Iprograms here.
61733 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61734 (localedef-modules): Add localedef.
61735 (locale-modules): Add locale.
61736
61737 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61738 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61739 to avoid a warning.
61740
61741 2011-08-14 David S. Miller <davem@davemloft.net>
61742
61743 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61744 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61745
61746 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61747
61748 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61749 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61750 * elf/rtld.c (dl_main): Set l_name of vDSO.
61751 Call _dl_show_scope when DL_DEBUG_SCOPES.
61752 (process_dl_debug): Recognize scopes flag and also set it for all.
61753 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61754 Declare _dl_show_scope.
61755
61756 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61757 (do_dlopen): Pass caller_dlopen to dl_open.
61758 (__libc_dlopen_mode): Initialize caller_dlopen.
61759
61760 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61761 of libc. Make tolower call locale-independent. Optimize a bit by
61762 using isdigit instead of isalnum.
61763 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61764
61765 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61766
61767 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61768 was a dependency or dynamically loaded.
61769
61770 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61771
61772 * intl/l10nflist.c: Allow architecture-specific pop function.
61773 * sysdeps/x86_64/l10nflist.c: New file.
61774
61775 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61776 classification.
61777
61778 2011-08-10 Andreas Schwab <schwab@redhat.com>
61779
61780 * include/dirent.h: Add libc_hidden_proto for scandirat and
61781 scandirat64. Don't declare __scandirat64.
61782 * dirent/scandirat.c: Add libc_hidden_def.
61783 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61784 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61785
61786 2011-08-10 David S. Miller <davem@davemloft.net>
61787
61788 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61789 enum.
61790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61791 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61792 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61793
61794 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61795
61796 * Versions.def [libc]: Add GLIBC_2.15.
61797 * dirent/Makefile (routines): Add scandirat and scandirat64.
61798 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61799 GLIBC_2.15.
61800 * dirent/dirent.h: Declare scandirat and scandirat64.
61801 * dirent/scandirat.c: New file.
61802 * dirent/scandirat64.c: New file.
61803 * sysdeps/wordsize-64/scandirat.c: New file.
61804 * sysdeps/wordsize-64/scandirat64.c: New file.
61805 * dirent/opendir.c: Define opendirat.
61806 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61807 using scandirat.
61808 * dirent/scandir64.c: Adjust for scandir.c change.
61809 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61810 __scandirat64, and __scandir_cancel_handler.
61811 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61812 additional parameter and use openat instead of open (outside of ld.so).
61813 Add new __opendir as wrapper around __opendirat.
61814 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61815 here without requiring old scandirat implementation.
61816
61817 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61818
61819 * dirent/scandir.c (cancel_handler): Renamed to
61820 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61821 defined. Adjust users.
61822 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61823 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61824
61825 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61826
61827 * string/test-string.h (IMPL): Use __STRING to expand name and then
61828 stringify it.
61829
61830 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61831 of cleanups.
61832
61833 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61834
61835 * string/Makefile: Update.
61836 (strop-tests): Append strncat.
61837 * string/test-wcscmp.c: New file.
61838 New comprehensive test for wcscmp.
61839 * string/test-strcmp.c: Update.
61840 (WIDE): New define.
61841
61842 2011-07-22 Andreas Schwab <schwab@redhat.com>
61843
61844 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61845 line.
61846
61847 2011-07-26 Andreas Schwab <schwab@redhat.com>
61848
61849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61850 encoding to ACE if AI_IDN.
61851
61852 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61853
61854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61855 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61856
61857 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61858
61859 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61860 Fix overflow bug in strncat.
61861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61862
61863 * string/test-strncat.c: Update.
61864 Add new tests for checking overflow bugs.
61865
61866 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61867
61868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61869 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61870 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61871 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61872 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61873 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61874 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61875 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61876 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61877
61878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61879 (USE_AS_STRCAT): Define.
61880 Add strcat and strncat support.
61881 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61882
61883 2011-07-25 Andreas Schwab <schwab@redhat.com>
61884
61885 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61886 __n bigger than INT_MAX+1.
61887 (__strncmp_g): Likewise.
61888
61889 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61890
61891 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61892 * libio/stido.h: Likewise.
61893
61894 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61895 (AF_NFC): Define.
61896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61897 (AF_NFC): Define.
61898
61899 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61900 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61901 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61902 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61904
61905 [BZ #13021]
61906 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61907 installed.
61908
61909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61910 typo.
61911 (_dl_x86_64_save_sse): Likewise.
61912
61913 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61914
61915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61916 OSXSAVE.
61917 (_dl_x86_64_save_sse): Likewise.
61918
61919 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61920
61921 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61922
61923 2011-07-21 Andreas Schwab <schwab@redhat.com>
61924
61925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61926 change.
61927 (_dl_x86_64_save_sse): Use correct AVX check.
61928
61929 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61930
61931 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61932 bug in strncpy/strncat.
61933 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61934
61935 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61936
61937 * string/tester.c (test_strcat): Add tests for different alignments
61938 of source and destination.
61939 (test_strncat): Likewise.
61940
61941 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61942
61943 [BZ #12852]
61944 * posix/glob.c (glob): Check passed in values before using them in
61945 expressions to avoid some overflows.
61946 (glob_in_dir): Likewise.
61947
61948 [BZ #13007]
61949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61950 check for AVX enablement so that we don't crash with old kernels and
61951 new hardware.
61952 * elf/tst-audit4.c: Add same checks here.
61953 * elf/tst-audit6.c: Likewise.
61954
61955 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61956
61957 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61958
61959 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61960
61961 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61962
61963 * po/cs.po: Update from translation team.
61964 * po/bg.po: Likewise.
61965
61966 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61967
61968 * misc/sys/cdefs.h: Add support for const attribute.
61969 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61970 to gnu_dev_{major,minor,makedev} functions.
61971
61972 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61973
61974 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61975
61976 2011-07-20 Andreas Schwab <schwab@redhat.com>
61977
61978 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61979 strlen results.
61980
61981 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61982
61983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61984 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61985 register in order to avoid conflicts with the soft frame pointer
61986 being held in r11 when necessary.
61987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61988 (INTERNAL_VSYSCALL_NCS): Likewise.
61989
61990 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61991
61992 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61993 * elf/dl-fini.c (_dl_fini): Adjust caller.
61994 * elf/dl-close.c (_dl_close_worker): Likewise.
61995 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61996
61997 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61998
61999 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62000 "aux_cache->nlibs < 0".
62001
62002 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62003 in the reload-count case.
62004
62005 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62006
62007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62008 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62009 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62010 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62011 * sysdeps/x86_64/multiarch/strcat.S: New file.
62012 * sysdeps/x86_64/multiarch/strncat.S: New file.
62013 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62014 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62015 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62016 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62017 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62018 (USE_AS_STRCAT): Define.
62019 Add strcat and strncat support.
62020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62021 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62022 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62023 * string/strncat.c: Update.
62024 (USE_AS_STRNCAT): Define.
62025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62026 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62027 and i7.
62028 * sysdeps/x86_64/multiarch/init-arch.h
62029 (bit_Prefer_PMINUB_for_stringop): New.
62030 (index_Prefer_PMINUB_for_stringop): Likewise.
62031 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62032 bit_Prefer_PMINUB_for_stringop.
62033
62034 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62035
62036 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62037 buffer64.
62038 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62039 of casting of buffer.
62040 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62041 buffer32 and buffer64.
62042 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62043 writes instead of casting of buffer.
62044 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62045 buffer32.
62046 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62047 casting of buffer.
62048
62049 2011-07-19 Andreas Schwab <schwab@redhat.com>
62050
62051 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62052
62053 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62054
62055 * nscd/nscd.c (termination_handler): Don't do anything for a database
62056 if it has not yet been initialized.
62057
62058 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62059
62060 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62061
62062 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62063
62064 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62065
62066 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62067
62068 * po/nl.po: Update from translation team.
62069 * po/sv.po: Likewise.
62070
62071 2011-07-16 Roland McGrath <roland@hack.frob.com>
62072
62073 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62074 now disallowed by GCC.
62075
62076 * configure.in (use-default-link): Default to yes if a test -shared
62077 link meets our qualifications.
62078 * configure: Regenerated.
62079
62080 * config.make.in (output-format): New variable.
62081 * configure.in: Check for ld --print-output-format support.
62082 * configure: Regenerated.
62083 * Makerules ($(common-objpfx)format.lds)
62084 [$(output-format) != unknown]: Just use $(output-format),
62085 instead of the linker-script munging.
62086
62087 2011-07-14 Roland McGrath <roland@hack.frob.com>
62088
62089 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62090 of $(common-objpfx)shlib.lds.
62091 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62092
62093 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62094 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62095
62096 * configure.in (-z relro check): Adjust test code to add a large
62097 writable data section after it.
62098 * configure: Regenerated.
62099
62100 2011-07-11 Roland McGrath <roland@hack.frob.com>
62101
62102 * configure.in (-z relro check): Fix test code to make the variable
62103 truly const.
62104 * configure: Regenerated.
62105
62106 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62107
62108 * nscd/nscd.h (struct traced_file): Define.
62109 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62110 elements. Add traced_files.
62111 (inotify_fd): Declare.
62112 (register_traced_file): Declare.
62113 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62114 (inotify_fd): Export.
62115 (resolv_conf_descr): Remove.
62116 (nscd_init): Move inotify descriptor creation to main.
62117 Don't register files for notification here.
62118 (register_traced_file): New function.
62119 (invalidate_cache): Don't use reset_res to determine whether to call
62120 res_init, go through the list of registered files.
62121 (main_loop_poll): The inotify descriptors are now stored in the
62122 structures for the traced files.
62123 (main_loop_epoll): Likewise
62124 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62125 to __nss_disable_nscd.
62126 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62127 for a database anymore. Check the records for all the registered
62128 files instead.
62129 * nss/Makefile (libnss_files-routines): Add files-init.
62130 (libnss_db-routines): Add db-init.
62131 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62132 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62133 * nss/nss_db/db-init.c: New file.
62134 * nss/nss_files/files-init.c: New file.
62135 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62136 __nss_lookup_function.
62137 (__nss_lookup_function): Call nss_load_library.
62138 (nss_load_all_libraries): New function.
62139 (__nss_disable_nscd): Take parameter with callback function for files
62140 to register. Set is_nscd. Load all the DSOs for the NSS modules
62141 used for the cached services.
62142 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62143 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62144 options for features to all the files in nscd.
62145
62146 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62147
62148 2011-07-10 Roland McGrath <roland@hack.frob.com>
62149
62150 * csu/elf-init.c (__libc_csu_init): Comment typo.
62151
62152 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62153
62154 * po/pl.po: Update from translation team.
62155 * po/ja.po: Likewise.
62156 * po/ru.po: Likewise.
62157 * po/ko.po: Likewise.
62158 * po/fr.po: Likewise.
62159
62160 2011-07-09 Roland McGrath <roland@hack.frob.com>
62161
62162 * configure.in (.ctors/.dtors header and trailer check):
62163 Use an empirical test on a built program.
62164 * configure: Regenerated.
62165
62166 * configure.in (-z relro check): Use an empirical test on a built DSO.
62167 Detect, but do not require, on ia64.
62168 * configure: Regenerated.
62169
62170 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62171 Update tests that use readelf to use $READELF instead.
62172 * configure: Regenerated.
62173
62174 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62175
62176 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62177 if the result is not used.
62178
62179 2011-07-05 Andreas Jaeger <aj@suse.de>
62180
62181 [BZ#9696]
62182 * stdlib/tst-strtod.c: Add testcase.
62183
62184 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62185
62186 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62187 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62188 The latter has a higher limit. Take additional parameter to pass to
62189 the new function.
62190 (__pathconf): Pass file to __statfs_link_max.
62191 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62192 __statfs_link_max.
62193 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62194 __statfs_link_max.
62195
62196 [BZ #12868]
62197 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62199 Handle Lustre.
62200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62201 (__statfs_filesize_max): Likewise.
62202 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62203
62204 2011-07-05 Andreas Jaeger <aj@suse.de>
62205
62206 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62207
62208 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62209
62210 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62211 `status' variable.
62212 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62213 Likewise.
62214
62215 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62216
62217 * Makefile (strop-tests): Add strncat.
62218 * string/test-strncat.c: New file.
62219
62220 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62221
62222 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62223
62224 2011-06-21 Andreas Jaeger <aj@suse.de>
62225
62226 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62227 Copy rule from iconvdata/Makefile.
62228
62229 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62230
62231 [BZ #12922]
62232 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62233 but no long options are defined, just return 'W'.
62234
62235 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62236
62237 [BZ #9696]
62238 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62239
62240 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62241
62242 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62243 netgroups to read.
62244 (innetgr): Likewise.
62245
62246 2011-07-05 Roland McGrath <roland@hack.frob.com>
62247
62248 * config.make.in (install_root): Default to $(DESTDIR).
62249
62250 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62251
62252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62253
62254 2011-07-02 Roland McGrath <roland@hack.frob.com>
62255
62256 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62257
62258 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62259 containing directory rather than embedding absolute directory names.
62260
62261 * scripts/check-local-headers.sh: Rewritten using awk.
62262 Match by word, not by line. Print error messages for matches.
62263 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62264
62265 * Makerules [shlib-lds-flags empty]:
62266 ($(common-objpfx)libc_pic.opts): New target.
62267 ($(common-objpfx)libc_pic.os.clean): New target.
62268 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62269
62270 * config.make.in (OBJCOPY): New variable.
62271 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62272 * configure: Regenerated.
62273
62274 * config.make.in (use-default-link): New variable.
62275 * configure.in (use_default_link): Grok --with-default-link to set it.
62276 * configure: Regenerated.
62277 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62278 (shlib-lds, shlib-lds-flags): Define to empty.
62279
62280 * Makerules (shlib-lds): New variable.
62281 (shlib-lds-flags): New variable.
62282 (build-shlib, build-moduile, build-module-asneeded): Use it.
62283 ($(common-objpfx)libc.so): Use $(shlib-lds).
62284 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62285 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62286
62287 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62288 DT_FLAGS/DT_FLAGS_1 with zero flags.
62289
62290 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62291 linker script munging.
62292
62293 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62294
62295 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62296 as 128-bit value.
62297 * crypt/sha512.c (sha512_process_block): Perform total addition using
62298 128-bit if possible.
62299 (__sha512_finish_ctx): Likewise.
62300 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62301 as 64-bit value.
62302 * crypt/sha256.c (SWAP64): Define.
62303 (sha256_process_block): Perform total addition using 64-bit if
62304 possible.
62305 (__sha256_finish_ctx): Likewise.
62306
62307 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62308
62309 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62311 * nscd/hstcache.c (cache_addhst): Likewise.
62312 * nscd/grpcache.c (cache_addgr): Likewise.
62313 * nscd/aicache.c (addhstaiX): Likewise
62314 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62315
62316 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62317
62318 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62319 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62320 * nscd/hstcache.c (cache_addhst): Likewise.
62321 * nscd/grpcache.c (cache_addgr): Likewise.
62322 * nscd/aicache.c (addhstaiX): Likewise
62323
62324 2011-07-01 Andreas Schwab <schwab@redhat.com>
62325
62326 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62327 domain only when needed.
62328
62329 2011-06-30 Andreas Schwab <schwab@redhat.com>
62330
62331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62332 is always restored.
62333
62334 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62335
62336 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62337 are re-adding the entry.
62338 * nscd/servicescache.c (cache_addserv): Likewise.
62339
62340 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62341
62342 * sysdeps/generic/dl-irel.h: fix protection against multiple
62343 inclusions.
62344 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62345
62346 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62347
62348 [BZ #12935]
62349 * malloc/memusage.sh: Fix quoting in message.
62350 * debug/xtrace.sh: Likewise.
62351
62352 * configure.in: Remove support for --experimental-malloc option, make
62353 it the default.
62354 * config.make.in: Likewise.
62355 * malloc/Makefile: Likewise.
62356
62357 2011-06-27 Andreas Schwab <schwab@redhat.com>
62358
62359 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62360 two-byte characters.
62361
62362 2011-06-27 Roland McGrath <roland@hack.frob.com>
62363
62364 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62365 AC_CACHE_CHECK invocation.
62366 * configure: Regenerated.
62367
62368 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62369
62370 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62371
62372 [BZ #12350]
62373 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62374 bit from old_res_options.
62375
62376 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62377
62378 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62379 value type for setfct.
62380
62381 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62382
62383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62384 __gettimeofday instead of gettimeofday.
62385
62386 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62387
62388 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62389
62390 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62391
62392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62393
62394 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62395 info.
62396
62397 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62398
62399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62400 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62401 strcpy-sse2-unaligned strncpy-sse2-unaligned
62402 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62403 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62404 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62405 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62406 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62407 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62408 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62409 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62410 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62411 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62412 (STRCPY): Support SSE2 and SSSE3 versions.
62413
62414 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62415
62416 [BZ #12874]
62417 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62418 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62419 kernels which artificially limit size of requests.
62420
62421 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62422
62423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62424 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62425 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62426 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62427 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62428 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62429 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62430 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62432 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62433 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62434 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62435 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62436 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62437 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62439 Enable unaligned load optimization for Intel Core i3, i5 and i7
62440 processors.
62441 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62442 Define.
62443 (index_Fast_Unaligned_Load): Define.
62444 (HAS_FAST_UNALIGNED_LOAD): Define.
62445
62446 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62447
62448 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62449
62450 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62451
62452 [BZ #12907]
62453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62454 until it is clear that the information is realy needed.
62455 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62456
62457 2011-06-22 Andreas Schwab <schwab@redhat.com>
62458
62459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62460
62461 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62462
62463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62464 /sys/devices/system/cpu/online if it is usable.
62465
62466 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62467 reading the information from the /proc filesystem to once a second.
62468
62469 2011-06-21 Andreas Jaeger <aj@suse.de>
62470
62471 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62472 NULL after inclusion of kernel headers.
62473
62474 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62475
62476 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62477 calls to internal_setent.
62478
62479 [BZ #12885]
62480 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62481 addresses using gethostbyname4_r ignore IPv4 addresses.
62482
62483 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62484 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62485
62486 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62487
62488 2011-06-20 David S. Miller <davem@davemloft.net>
62489
62490 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62491 inclusions.
62492 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62493
62494 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62495 (elf_irel): Use it.
62496 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62497 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62498 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62499 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62500 * sysdeps/x86_64/dl-irel.h: Likewise.
62501
62502 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62503 * elf/dl-sym.c: Likewise.
62504
62505 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62506
62507 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62508 need to dereference resplen2.
62509
62510 2011-06-14 Andreas Schwab <schwab@redhat.com>
62511
62512 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62513
62514 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62515
62516 * Makeconfig: Define vardbdir and inst_vardbdir.
62517 * nss/Makefile: Add rules to install db-Makefile.
62518
62519 * nss/nss_db/db-XXX.c: Cleanup.
62520
62521 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62522 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62523 GLIBC_PRIVATE.
62524 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62525 * nss/makedb.c: Implement -g option to specify that value strings
62526 are generated and should not be added to table iterated over for
62527 get*ent calls.
62528 * nss/nss_db/db-initgroups.c: New file.
62529
62530 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62531 interface.
62532
62533 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62534 (internal_getgrouplist): Adjust to name change.
62535 Update use_initgroups_entry if this is not the first call.
62536 * nss/databases.def: Add initgroups entry.
62537
62538 * nss/makedb.c (compute_tables): Check result of multiple hash table
62539 sizes to minimize maximum chain length.
62540
62541 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62542
62543 * Versions.def: Add entry for libnss_db.
62544 * shlib-versions: Likewise.
62545 * nss/Makefile: Add rules to build libnss_db.
62546 * nss/Versions: Add libnss_db information. Organize libnss_files
62547 entries better.
62548 * nss/db-Makefile: Add gshadow support. Change rules for the new
62549 makedb progra. Some minor improvements to generate smaller files.
62550 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62551 here from...
62552 * nss/makedb.c: ...here.
62553 Improve database format to be smaller and require less memory at
62554 runtime.
62555 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62556 db anymore.
62557 * nss/nss_db/db-netgrp.c: Likewise.
62558 * nss/nss_db/db-open.c: Likewise.
62559 * nss/nss_files/flies-XXX.x: Adjust comments.
62560 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62561 * nss/nss_files/files-grp.c: Likewise.
62562 * nss/nss_files/files-hosts.c: Likewise.
62563 * nss/nss_files/files-network.c: Likewise.
62564 * nss/nss_files/files-proto.c: Likewise.
62565 * nss/nss_files/files-pwd.c: Likewise.
62566 * nss/nss_files/files-rpc.c: Likewise.
62567 * nss/nss_files/files-service.c: Likewise.
62568 * nss/nss_files/files-sgrp.c: Likewise.
62569 * nss/nss_files/files-spwd.c: Likewise.
62570 * nss/nss_db/db-alias.c: Removed.
62571 * nss/nss_db/dummy-db.h: Removed.
62572
62573 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62574
62575 * nss/makedb.c: Rewritten to not use database library.
62576 * nss/Makefile: Update to build new makedb program.
62577
62578 2011-06-14 Andreas Jaeger <aj@suse.de>
62579
62580 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62581 memset declaration.
62582
62583 2011-06-10 Andreas Schwab <schwab@redhat.com>
62584
62585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62586 tmpbuf.
62587
62588 2011-06-10 Roland McGrath <roland@hack.frob.com>
62589
62590 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62591 * elf/Makefile ($(objpfx)ld.so): Likewise.
62592
62593 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62594 Don't list ld.so twice in dependencies.
62595
62596 * posix/bug-regex31.c: Include <stdlib.h>.
62597
62598 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62599
62600 * nis/nss_compat/compat-spwd.c
62601 (getspent_next_nss_netgr): Remove unused variable.
62602 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62603
62604 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62605 nonmembers" output to use the right array.
62606
62607 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62608
62609 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62610
62611 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62612 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62613 * catgets/gencat.c (read_input_file): Likewise.
62614 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62615
62616 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62617 variable definition inside #if's controlling its use.
62618
62619 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62620
62621 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62622
62623 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62624
62625 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62626 unreachable code.
62627
62628 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62629
62630 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62631 * configure: Regenerated.
62632
62633 * Makerules: Revert last change.
62634 * elf/Makefile: Likewise.
62635
62636 2011-06-09 Roland McGrath <roland@hack.frob.com>
62637
62638 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62639 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62640 (reloc-link): Likewise.
62641
62642 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62643
62644 * elf/Makefile: Add rules to build pldd.
62645 * elf/pldd.c: New file.
62646 * elf/pldd-xx.c: New file.
62647
62648 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62649
62650 * version.h: Update for 2.15 development version.
62651
62652 2011-06-07 David S. Miller <davem@davemloft.net>
62653
62654 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62655 ifuncs.
62656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62657 elf_machine_lazy_rel): Likewise.
62658 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62660 elf_machine_lazy_rel): Likewise.
62661 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62662 dl_hwcap via passed in argument.
62663 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62664 Likewise.
62665
62666 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62667
62668 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62669
62670 2011-06-06 Roland McGrath <roland@hack.frob.com>
62671
62672 [BZ #12849]
62673 * manual/fdl-1.1.texi: New file, verbatim from:
62674 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62675 * manual/lgpl-2.1.texi: New file, verbatim from:
62676 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62677 * manual/Makefile (licenses): New variable, list those new file names.
62678 (texis): Use it.
62679 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62680
62681 * manual/fdl.texi: File removed.
62682 * manual/lesser.texi: File removed.
62683 * manual/libc.texinfo (Copying, Documentation License):
62684 Use new @include file names, put @appendix directive before @include.
62685
62686 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62687
62688 [BZ #12841]
62689 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62690 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62691 (mq_open): Add __NTH.
62692
62693 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62694
62695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62696 Assume Intel Core i3/i5/i7 processor if AVX is available.
62697
62698 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62699
62700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62701 typo.
62702
62703 2011-05-31 Andreas Schwab <schwab@redhat.com>
62704
62705 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62706 memory. Use alloca_account. Fix memory leak when retrying.
62707
62708 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62709
62710 * version.h (RELEASE): Bump for 2.14 release.
62711 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62712
62713 * config.make.in (RANLIB): Remove entry.
62714
62715 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62716
62717 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62718 (libc.pot): Work around missing support for .ksh extension in xgettext.
62719
62720 [BZ #12684]
62721 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62722 if both request failed.
62723 (send_dg): In case of server errors clear resplen or *resplen2.
62724
62725 [BZ #12454]
62726 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62727 when there are multiple maps.
62728 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62729 (_dl_fini): Remove test here.
62730
62731 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62732
62733 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62734
62735 [BZ #12350]
62736 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62737 bit from old_res_options.
62738 (gaih_inet): Likewise.
62739
62740 [BZ #11099]
62741 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62742 as signed.
62743
62744 * resolv/res_init.c (res_setoptions): Make the code more compact.
62745
62746 [BZ #11558]
62747 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62748 set RES_USEVC.
62749
62750 [BZ #11634]
62751 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62752
62753 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62754
62755 [BZ #11781]
62756 * malloc/malloc.h: Declare malloc hook variables as volatile.
62757
62758 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62759 in last patch.
62760
62761 [BZ #11799]
62762 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62763 raise in the comment.
62764 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62765 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62766 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62767
62768 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62769
62770 [BZ #12811]
62771 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62772 grow the buffers more if it already has to be sufficient.
62773 (build_wcs_upper_buffer): Likewise.
62774 * posix/regexec.c (check_matching): Likewise.
62775 (clean_state_log_if_needed): Likewise.
62776 (extend_buffers): Don't enlarge buffers beyond size of the input
62777 buffer.
62778 Patches mostly by Emil Wojak <emil@wojak.eu>.
62779 * posix/bug-regex32.c: New file.
62780 * posix/Makefile (tests): Add bug-regex32.
62781
62782 * locale/findlocale.c (_nl_find_locale): Return right away if
62783 _nl_explode_name failed.
62784 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62785
62786 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62787
62788 * debug/xtrace.sh: Unify messages.
62789 * malloc/memusage.sh: Likewise.
62790
62791 [BZ #12813]
62792 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62793 time symbol from vDSO. Substitute with vsyscall if not available.
62794 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62795 __vdso_time.
62796
62797 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62798 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62799 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62800 Add sendmmsg and internal_sendmmsg.
62801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62802 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62803 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62804
62805 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62806 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62807 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62808
62809 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62810
62811 [BZ #12813]
62812 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62813 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62814 available.
62815 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62816 __vdso_getcpu.
62817
62818 [BZ #12814]
62819 * iconvdata/Makefile (tests): Add bug-iconv9.
62820 * iconvdata/bug-iconv9.c: New file.
62821
62822 2011-05-27 Andreas Schwab <schwab@redhat.com>
62823
62824 [BZ #12814]
62825 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62826
62827 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62828
62829 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62830 (struct user_regs_struct): Change intcs field back to cs.
62831
62832 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62833
62834 * po/ja.po: Update from translation team.
62835
62836 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62837
62838 [BZ #12795]
62839 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62840 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62841
62842 2011-05-20 Andreas Schwab <schwab@redhat.com>
62843
62844 * stdlib/longlong.h: Update from GCC.
62845
62846 2011-05-23 Andreas Schwab <schwab@redhat.com>
62847
62848 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62849 parameter name.
62850 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62851 Add parameter name.
62852 (__sysconf): Pass it down.
62853
62854 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62855
62856 [BZ #12671]
62857 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62858 some situations.
62859 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62860 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62861 add in in __libc_use_alloca calls. Adjust callers.
62862 (glob): Use malloc in some situations.
62863
62864 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62865 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62866 pltexit.
62867
62868 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62869
62870 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62871 and CLOCK_BOOTTIME_ALARM.
62872
62873 [BZ #12782]
62874 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62875 is returned.
62876
62877 * string/_strerror.c (__strerror_r): Print negative errors as signed
62878 numbers.
62879
62880 [BZ #12777]
62881 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62882 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62883 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62884
62885 * configure.in: Fix typo in redirection and correct removal of test
62886 files in two cases.
62887
62888 [BZ #12788]
62889 * locale/setlocale.c (new_composite_name): Fix test to check for
62890 identical name of all categories.
62891
62892 [BZ #12792]
62893 * libio/filedoalloc.c (local_isatty): New function.
62894 (_IO_file_doallocate): Use local_isatty.
62895 * stdio-common/perror.c (perror): In case a new stream is used
62896 forward the stream error.
62897 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62898 error flag.
62899
62900 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62901
62902 [BZ #11869]
62903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62904 alloca.
62905 * include/alloca.h (extend_alloca_account): Define.
62906
62907 [BZ #11857]
62908 * posix/regex.h: Fix comments with documentation of user-accessible
62909 fields after compilation and describe correct free'ing of pattern
62910 after re_compile_pattern.
62911 Patch by Reuben Thomas <rrt@sc3d.org>.
62912
62913 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62914
62915 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62916 and -mno-altivec to prevent the compiler from using Altivec and/or
62917 VSX instructions when the corresponding registers are not available.
62918
62919 2011-05-19 Andreas Schwab <schwab@redhat.com>
62920
62921 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62922
62923 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62924
62925 * libio/freopen.c (freopen): Use __dup2, not dup2.
62926 * libio/freopen64.c (freopen64): Likewise.
62927
62928 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62929
62930 [BZ #12775]
62931 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62932 * math/Makefile (tests): Add test-powl.
62933 (CFLAGS-test-powl.c): Define.
62934 * math/test-powl.c: New file.
62935
62936 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62937
62938 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62939
62940 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62941
62942 [BZ #11837]
62943 * iconvdata/gb18030.c: Update to GB18020-2005.
62944
62945 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62946
62947 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62948 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62949 Patch by Aharon Robbins <arnold@skeeve.com>.
62950
62951 [BZ #11892]
62952 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62953 on the stack.
62954
62955 [BZ #11895]
62956 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62957 through underflows.
62958
62959 [BZ #12766]
62960 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62961 point to strings before performing equality test for error_one_per_line
62962 mode.
62963
62964 [BZ #11697]
62965 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62966
62967 [BZ #11820]
62968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62969 (struct user_fpregs_struct): Avoid __uint*_t types.
62970
62971 [BZ #6420]
62972 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62973 symbol info. Use it instead of calling _dl_addr locally.
62974 (lock_and_info): New function.
62975 (tr_freehook): Call lock_and_info and pass symbol info as additional
62976 parameter to tr_where.
62977 (tr_mallochook): Likewise.
62978 (tr_reallochook): Likewise.
62979 (tr_memalignhook): Likewise.
62980
62981 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62982 used and couldn't be at all thread-safe.
62983
62984 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62985
62986 * libio/freopen.c (freopen): Don't close old file descriptor
62987 before the new one is opened. Instead dup the new file descriptor
62988 to the old one after the new stream is created.
62989 * libio/freopen64.c (freopen64): Likewise.
62990 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62991 * libio/fileops.c (_IO_new_file_close_it): Handle new
62992 _IO_FLAGS2_NOCLOSE flag.
62993 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62994 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62995 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62996 _IO_FLAGS2_NOCLOSE flag.
62997 * include/unistd.h: Add hidden_proto for dup3.
62998 Define __have_dup3.
62999 * io/dup3.c: Define hidden symbol.
63000 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63001
63002 [BZ #7101]
63003 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63004 when an incomplete long option is used.
63005 * posix/tst-getopt_long1.c: New file.
63006 * posix/Makefile (tests): Add tst-getopt_long1.
63007
63008 [BZ #10138]
63009 * scripts/config.guess: Update from autoconf-2.68.
63010 * scripts/config.sub: Likewise.
63011
63012 [BZ #10157]
63013 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63014 tests into ...
63015 (has_cpuclock): ...this. New function.
63016 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63017 macro here based on has_cpuclock code.
63018
63019 [BZ #10149]
63020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63021 First byte (not low byte) is now always NUL.
63022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63023
63024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63025 Use non-cancelable interfaces.
63026
63027 [BZ #9809]
63028 * locale/iso-639.def: Add entry for Sorani.
63029
63030 [BZ #11901]
63031 * include/stdlib.h: Move include protection to the right place.
63032 Define abort_msg_s. Declare __abort_msg with it.
63033 * stdlib/abort.c (__abort_msg): Adjust type.
63034 * assert/assert.c (__assert_fail_base): New function. Majority
63035 of code from __assert_fail. Allocate memory for __abort_msg with
63036 mmap.
63037 (__assert_fail): Now call __assert_fail_base.
63038 * assert/assert-perr.c: Remove bulk of implementation. Use
63039 __assert_fail_base.
63040 * include/assert.hL Declare __assert_fail_base.
63041 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63042 mmap.
63043 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63044
63045 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63046
63047 [BZ #11952]
63048 [BZ #12453]
63049 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63050 until all modules are registered in the DTV.
63051 * elf/Makefile: Add rules to build and run tst-tls19.
63052 * elf/tst-tls19.c: New file.
63053 * elf/tst-tls19mod1.c: New file.
63054 * elf/tst-tls19mod2.c: New file.
63055 * elf/tst-tls19mod3.c: New file.
63056 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63057
63058 [BZ #12083]
63059 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63060 correctly.
63061
63062 [BZ #12601]
63063 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63064 two-byte sequence errors.
63065 * iconvdata/Makefile (tests): Add bug-iconv8.
63066 * iconvdata/bug-iconv8.c: New file.
63067
63068 [BZ #12626]
63069 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63070 buf2 definition.
63071
63072 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63073
63074 [BZ #12432]
63075 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63076 (dummy_getcfa): New function.
63077 (init): Get _Unwind_GetCFA address, use dummy if not found.
63078 (backtrace_helper): In recursion check, also check whether CFA changes.
63079 (__backtrace): Completely initialize arg.
63080
63081 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63082 storing incomplete byte sequence in state object. Avoid testing for
63083 guaranteed too small input if we know there is enough data available.
63084
63085 2011-05-11 Andreas Schwab <schwab@redhat.com>
63086
63087 * Makeconfig (+link-pie): Indent.
63088 * Rules (binaries-pie): Define if $(have-fpie) and
63089 $(build-shared).
63090 (binaries-shared): Also filter out $(binaries-pie).
63091 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63092 * nscd/Makefile (others-pie): Add nscd.
63093 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63094 ($(objpfx)nscd): Remove command override.
63095 * login/Makefile (others-pie): Add pt_chown.
63096 ($(objpfx)pt_chown): Remove command override.
63097 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63098 remove command overrides.
63099
63100 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63101
63102 * libio/tst_putwc.c: Fix error messages.
63103
63104 [BZ #12724]
63105 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63106 currently writing and seek to current position when not.
63107 * libio/Makefile (tests): Add bug-fclose1.
63108 * libio/bug-fclose1.c: New file.
63109
63110 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63111
63112 [BZ #12511]
63113 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63114 don't set DF_1_NODELETE here.
63115 (do_lookup_x): When entering new entry test for copy relocation
63116 and if necessary set DF_1_NODELETE flag.
63117 * elf/tst-unique4.cc: New file.
63118 * elf/tst-unique4.h: New file.
63119 * elf/tst-unique4lib.cc: New file.
63120 * elf/Makefile: Add rules to build and run tst-unique4.
63121 Patch by Piotr Bury <pbury@goahead.com>.
63122
63123 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63124
63125 [BZ #12052]
63126 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63127
63128 [BZ #12625]
63129 * misc/mntent_r.c (addmntent): Flush the stream after the output
63130
63131 [BZ #12393]
63132 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63133 (is_trusted_path_normalize): Skip initial colon. Append slash
63134 to empty buffer. Duplicate is_trusted_path code but allow
63135 constructed patch to be prefix.
63136 (is_dst): Allow $ORIGIN followed by /.
63137 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63138 Correct testing of result of is_trusted_path_normalize
63139 (decompose_rpath): Fix warning.
63140
63141 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63142
63143 [BZ #11257]
63144 * grp/initgroups.c (internal_getgrouplist): When we found the service
63145 list through the initgroups entry in nsswitch.conf do not always
63146 continue on a successful lookup. Don't always use the
63147 __nss_group_database value if it is set.
63148 * nss/nsswitch.conf (initgroups): Change action for successful db
63149 lookup to continue for compatibility.
63150
63151 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63152
63153 [BZ #11532]
63154 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63155 and CP774 modules.
63156 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63157 and CP774 modules.
63158 * iconvdata/tst-tables.sh: Likewise.
63159 * iconvdata/cp770.c: New file.
63160 * iconvdata/cp771.c: New file.
63161 * iconvdata/cp772.c: New file.
63162 * iconvdata/cp773.c: New file.
63163 * iconvdata/cp774.c: New file.
63164 * iconvdata/testdata/CP770: New file.
63165 * iconvdata/testdata/CP770..UTF8: New file.
63166 * iconvdata/testdata/CP771: New file.
63167 * iconvdata/testdata/CP771..UTF8: New file.
63168 * iconvdata/testdata/CP772: New file.
63169 * iconvdata/testdata/CP772..UTF8: New file.
63170 * iconvdata/testdata/CP773: New file.
63171 * iconvdata/testdata/CP773..UTF8: New file.
63172 * iconvdata/testdata/CP774: New file.
63173 * iconvdata/testdata/CP774..UTF8: New file.
63174
63175 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63176 END CHARMAP line.
63177 * iconvdata/gen-8bit-gap.sh: Likewise.
63178 * iconvdata/gen-8bit.sh: Likewise.
63179
63180 * locale/iso-639.def: Add ary entry.
63181
63182 [BZ #11258]
63183 * locale/C-translit.h.in: Add U20A1 transliteration.
63184
63185 [BZ #12178]
63186 * locale/iso-639.def: Add wae entry.
63187 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63188
63189 [BZ #12545]
63190 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63191 for n.
63192
63193 [BZ #12711]
63194 * locale/C-translit.h.in: Add entry for U20B9.
63195 Patch by pravin.d.s@gmail.com.
63196
63197 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63198
63199 [BZ #12713]
63200 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63201 ENAMETOOLONG use generic getcwd.
63202 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63203 in rtld. Use *stat64.
63204 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63205 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63206 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63207 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63208 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63209 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63210 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63211 __fstatat64 macros.
63212 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63213 * dirent/rewinddir.c: Add libc_hidden_def.
63214 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63215 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63216
63217 * include/dirent.h (__alloc_dir): Add flags parameter.
63218 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63219 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63220 __alloc_dir.
63221 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63222 from fdopendir if O_CLOEXEC is already set.
63223
63224 2011-03-15 Alan Modra <amodra@gmail.com>
63225
63226 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63227 l_tls_firstbyte_offset non-zero. Save padding offset in
63228 l_tls_firstbyte_offset for later use.
63229 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63230 freeing static tls block.
63231
63232 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63233
63234 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63235 where #ifdef was intended. The intent is to prevent ARG_MAX from
63236 being defined by the kernel headers.
63237
63238 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63239
63240 [BZ #12734]
63241 * resolv/resolv.h: Define RES_NOTLDQUERY.
63242 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63243 no-tld-query and set RES_NOTLDQUERY.
63244 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63245 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63246 modern BIND to search name as TLD unless forbidden.
63247
63248 2011-05-07 Petr Baudis <pasky@suse.cz>
63249 Ulrich Drepper <drepper@gmail.com>
63250
63251 [BZ #12393]
63252 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63253 (is_trusted_path): ...to here.
63254 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63255 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63256 using is_trusted_path_normalize() in setuid scripts.
63257
63258 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63259
63260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63261 __BEGIN/__END_DECLS.
63262
63263 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63264
63265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63266 NSS_STATUS_NOTFOUND if no record was found.
63267
63268 2011-05-05 Andreas Schwab <schwab@redhat.com>
63269
63270 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63271 (headers-not-in-tirpc): Remove rpc/netdb.h
63272 * resolv/netdb.h: Revert last change.
63273
63274 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63275
63276 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63277 circular dependency between libgcc.a and libc.a.
63278
63279 2011-05-05 Andreas Schwab <schwab@redhat.com>
63280
63281 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63282 * nis/Makefile: Don't install rpcsvc/*.
63283 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63284 instead of <rpc/types.h>.
63285 (MAXHOSTNAMELEN): Define.
63286
63287 2011-05-03 Andreas Schwab <schwab@redhat.com>
63288
63289 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63290
63291 2011-04-28 Maciej Babinski <mbabinski@google.com>
63292
63293 [BZ #12714]
63294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63295 gethostbyname4_r when IPv6 results are possible.
63296
63297 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63298
63299 [BZ #12723]
63300 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63301 _PC_PIPE_BUF handling.
63302
63303 2011-04-30 Bruno Haible <bruno@clisp.org>
63304
63305 [BZ #12717]
63306 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63307 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63308 to 'int'.
63309 * inet/getnameinfo.c (getnameinfo): Likewise.
63310
63311 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63312
63313 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63314 to groups setting in database lookup.
63315 * nss/nsswitch.conf: Add initgroups entry.
63316
63317 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63318
63319 [BZ #12685]
63320 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63321 mode string.
63322 Patch by Eric Blake <eblake@redhat.com>.
63323
63324 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63325
63326 * sunrpc/Makefile (need-export-routines): Add svc_run.
63327 (routines): Remove svc_run.
63328 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63329 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63330 * sunrpc/svc_run.c (svc_run): Likewise.
63331 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63332
63333 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63334
63335 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63336 problem in reallocation in last patch.
63337
63338 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63339
63340 * sunrpc/Makefile: Move inclusion of Rules.
63341
63342 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63343
63344 * nss/nss_files/files-initgroups.c: New file.
63345 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63346 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63347 _nss_files_initgroups_dyn.
63348
63349 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63350
63351 * elf/elf.h (R_ARM_IRELATIVE): Define.
63352
63353 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63354
63355 * po/ru.po: Update from translation team.
63356
63357 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63358
63359 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63360 dependencies.
63361
63362 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63363
63364 [BZ #12653]
63365 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63366 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63369 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63370
63371 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63372
63373 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63374 differing bytes.
63375 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63378
63379 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63380
63381 [BZ #12420]
63382 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63383 storing it.
63384 * stdlib/bug-getcontext.c: New file.
63385 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63386
63387 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63388
63389 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63390 instructions into .machine "z9-109".
63391 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63392 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63393
63394 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63395
63396 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63397 between environment variables and auxiliary vector.
63398
63399 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63400
63401 * Makefile: Add rules to build linkobj/libc.so.
63402 * include/libc-symbols.h: Define libc_hidden_nolink.
63403 * include/rpc/auth.h: Mark functions which are to be hidden.
63404 * include/rpc/auth_des.h: Likewise.
63405 * include/rpc/auth_unix.h: Likewise.
63406 * include/rpc/clnt.h: Likewise.
63407 * include/rpc/des_crypt.h: Likewise.
63408 * include/rpc/key_prot.h: Likewise.
63409 * include/rpc/pmap_clnt.h: Likewise.
63410 * include/rpc/pmap_prot.h: Likewise.
63411 * include/rpc/pmap_rmt.h: Likewise.
63412 * include/rpc/rpc_msg.h: Likewise.
63413 * include/rpc/svc.h: Likewise.
63414 * include/rpc/svc_auth.h: Likewise.
63415 * include/rpc/xdr.h: Likewise.
63416 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63417 * nss/Makefile: Likewise.
63418 * sunrpc/Makefile: Don't install headers. Build library with normal
63419 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63420 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63421 for the compat linking library. Remove use of INTDEF/INTUSE.
63422 * sunrpc/auth_none.c: Likewise.
63423 * sunrpc/auth_unix.c: Likewise.
63424 * sunrpc/authdes_prot.c: Likewise.
63425 * sunrpc/authuxprot.c: Likewise.
63426 * sunrpc/clnt_gen.c: Likewise.
63427 * sunrpc/clnt_perr.c: Likewise.
63428 * sunrpc/clnt_raw.c: Likewise.
63429 * sunrpc/clnt_simp.c: Likewise.
63430 * sunrpc/clnt_tcp.c: Likewise.
63431 * sunrpc/clnt_udp.c: Likewise.
63432 * sunrpc/clnt_unix.c: Likewise.
63433 * sunrpc/des_crypt.c: Likewise.
63434 * sunrpc/des_soft.c: Likewise.
63435 * sunrpc/get_myaddr.c: Likewise.
63436 * sunrpc/key_call.c: Likewise.
63437 * sunrpc/key_prot.c: Likewise.
63438 * sunrpc/netname.c: Likewise.
63439 * sunrpc/pm_getmaps.c: Likewise.
63440 * sunrpc/pm_getport.c: Likewise.
63441 * sunrpc/pmap_clnt.c: Likewise.
63442 * sunrpc/pmap_prot.c: Likewise.
63443 * sunrpc/pmap_prot2.c: Likewise.
63444 * sunrpc/pmap_rmt.c: Likewise.
63445 * sunrpc/publickey.c: Likewise.
63446 * sunrpc/rpc_cmsg.c: Likewise.
63447 * sunrpc/rpc_common.c: Likewise.
63448 * sunrpc/rpc_dtable.c: Likewise.
63449 * sunrpc/rpc_prot.c: Likewise.
63450 * sunrpc/rpc_thread.c: Likewise.
63451 * sunrpc/rtime.c: Likewise.
63452 * sunrpc/svc.c: Likewise.
63453 * sunrpc/svc_auth.c: Likewise.
63454 * sunrpc/svc_authux.c: Likewise.
63455 * sunrpc/svc_raw.c: Likewise.
63456 * sunrpc/svc_run.c: Likewise.
63457 * sunrpc/svc_simple.c: Likewise.
63458 * sunrpc/svc_tcp.c: Likewise.
63459 * sunrpc/svc_udp.c: Likewise.
63460 * sunrpc/svc_unix.c: Likewise.
63461 * sunrpc/svcauth_des.c: Likewise.
63462 * sunrpc/xcrypt.c: Likewise.
63463 * sunrpc/xdr.c: Likewise.
63464 * sunrpc/xdr_array.c: Likewise.
63465 * sunrpc/xdr_float.c: Likewise.
63466 * sunrpc/xdr_intXX_t.c: Likewise.
63467 * sunrpc/xdr_mem.c: Likewise.
63468 * sunrpc/xdr_rec.c: Likewise.
63469 * sunrpc/xdr_ref.c: Likewise.
63470 * sunrpc/xdr_sizeof.c: Likewise.
63471 * sunrpc/xdr_stdio.c: Likewise.
63472
63473 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63474
63475 [BZ #12650]
63476 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63477 * sysdeps/ia64/dl-tls.h: Likewise.
63478 * sysdeps/powerpc/dl-tls.h: Likewise.
63479 * sysdeps/s390/dl-tls.h: Likewise.
63480 * sysdeps/sh/dl-tls.h: Likewise.
63481 * sysdeps/sparc/dl-tls.h: Likewise.
63482 * sysdeps/x86_64/dl-tls.h: Likewise.
63483 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63484
63485 2011-03-14 Andreas Schwab <schwab@redhat.com>
63486
63487 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63488 rpath element also skip the following colon.
63489 (expand_dynamic_string_token): Add is_path parameter and pass
63490 down to DL_DST_REQUIRED and _dl_dst_substitute.
63491 (decompose_rpath): Call expand_dynamic_string_token with
63492 non-zero is_path. Ignore empty rpaths.
63493 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63494 with zero is_path.
63495
63496 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63497
63498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63499 Make cancelable.
63500
63501 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63502
63503 [BZ #12655]
63504 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63505 Patch by Filipe David Manana <fdmanana@apache.org>.
63506
63507 2011-04-07 Andreas Schwab <schwab@redhat.com>
63508
63509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63510 Maintain aligned stack.
63511 (CHECK_RSP): Remove unused macro.
63512
63513 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63514
63515 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63516 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63517
63518 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63519
63520 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63521
63522 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63523
63524 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63525
63526 [BZ #12518]
63527 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63528 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63529 * sysdeps/x86_64/memmove.c: New file.
63530 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63531 (memcpy): Renamed to ...
63532 (__new_memcpy): This.
63533 (memcpy): Provide GLIBC_2_14 memcpy.
63534 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63535 (memcpy): Provide GLIBC_2_2_5 memcpy.
63536
63537 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63538
63539 [BZ #12631]
63540 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63541
63542 2011-03-30 Andreas Schwab <schwab@redhat.com>
63543
63544 * misc/syncfs.c: New file.
63545 * misc/Makefile (routines): Add syncfs.
63546 * posix/unistd.h: Declare syncfs.
63547 * sysdeps/unix/syscalls.list: Add syncfs.
63548
63549 2011-04-01 Andreas Schwab <schwab@redhat.com>
63550
63551 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63552 open_by_handle_at.
63553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63554 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63558 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63560
63561 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63562
63563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63565 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63570
63571 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63572 sync_file_range.c with -fexceptions.
63573 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63574 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63575 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63576 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63577 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63578 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63580 sync_file_range as cancellation point
63581 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63582 now a wrapper around __call_sync_file_range with cancellation handling.
63583 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63584 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63585 function name to __call_sync_file_range.
63586 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63587 Add call_sync_file_range.
63588
63589 2011-04-01 Andreas Schwab <schwab@redhat.com>
63590
63591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63592 bits/timex.h.
63593
63594 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63595
63596 * iconv/iconv.h: Fix typo in comment.
63597 * io/fcntl.h: Likewise.
63598 * libio/stdio.h: Likewise.
63599 * posix/spawn.h: Likewise.
63600 * posix/unistd.h: Likewise.
63601 * stdlib/stdlib.h: Likewise.
63602 * time/time.h: Likewise.
63603 * wcsmbs/wchar.h: Likewise.
63604
63605 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63606 open_by_handle): Add.
63607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63608 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63609 Augment a few comments.
63610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63615 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63616 open_by_handle.
63617
63618 * io/fcntl.h (AT_EMPTY_PATH): Define.
63619
63620 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63621
63622 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63623 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63624 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63625 to...
63626 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63627 * Versions.def: Add GLIBC_2.14.
63628 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63629 Export.
63630
63631 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63632
63633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63634 round counter.
63635 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63636
63637 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63638
63639 [BZ #12597]
63640 * string/test-strncmp.c (do_page_test): New function.
63641 (check2): Likewise.
63642 (test_main): Call check2.
63643 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63644
63645 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63646
63647 [BZ #12587]
63648 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63649 Handle cache information in CPU leaf 4.
63650 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63651
63652 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63653
63654 [BZ #12583]
63655 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63656 character representation.
63657 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63658
63659 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63660
63661 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63662 END(__isnan) to END(__isnanf) to match function entry point/label
63663 EALIGN(__isnanf,...).
63664
63665 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63666
63667 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63668
63669 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63670
63671 [BZ #12510]
63672 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63673 copy from the symbol referenced in the relocation to initialize the
63674 used variable.
63675 Patch by Piotr Bury <pbury@goahead.com>.
63676 * elf/Makefile: Add rules to build and tst-unique3.
63677 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63678 * elf/tst-unique3.cc: New file.
63679 * elf/tst-unique3.h: New file.
63680 * elf/tst-unique3lib.cc: New file.
63681 * elf/tst-unique3lib2.cc: New file.
63682
63683 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63684
63685 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63686
63687 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63688 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63689 to _start.
63690
63691 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63692
63693 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63694 to-be-loaded object along a path to loader is ld.so.
63695
63696 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63697 Ulrich Drepper <drepper@gmail.com>
63698
63699 * sysdeps/x86_64/memset.S: After aligning destination, code
63700 branches to different locations depending on the value of
63701 misalignment, when multiarch is enabled. Fix this.
63702
63703 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63704
63705 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63706 Set _x86_64_preferred_memory_instruction for AMD processsors.
63707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63708 Set bit_Prefer_SSE_for_memop for AMD processors.
63709
63710 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63711
63712 * libio/fmemopen.c (fmemopen): Optimize a bit.
63713
63714 2011-03-03 Andreas Schwab <schwab@redhat.com>
63715
63716 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63717
63718 2011-03-03 Roland McGrath <roland@redhat.com>
63719
63720 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63721
63722 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63723
63724 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63725 __bzero_ultra1 instead of __memset_ultra1.
63726
63727 2011-02-23 Andreas Schwab <schwab@redhat.com>
63728 Ulrich Drepper <drepper@gmail.com>
63729
63730 [BZ #12509]
63731 * include/link.h (struct link_map): Add l_orig_initfini.
63732 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63733 returning unsuccessfully.
63734 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63735 close of a file loaded at startup, restore the original l_initfini
63736 list.
63737 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63738 list, store the pointer.
63739 * elf/Makefile ($(objpfx)noload-mem): New rule.
63740 (noload-ENV): Define.
63741 (tests): Add $(objpfx)noload-mem.
63742 * elf/noload.c: Include <memcheck.h>.
63743 (main): Call mtrace. Close all opened handles.
63744
63745 2011-02-17 Andreas Schwab <schwab@redhat.com>
63746
63747 [BZ #12454]
63748 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63749 dependencies are missing.
63750
63751 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63752
63753 Fix __if_freereq crash: Unlike the generic version which uses free,
63754 Hurd needs munmap.
63755 * sysdeps/mach/hurd/ifreq.h: New file.
63756
63757 2011-01-27 Petr Baudis <pasky@suse.cz>
63758 Ulrich Drepper <drepper@gmail.com>
63759
63760 [BZ 12445]#
63761 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63762 to extend_alloca().
63763 * stdio-common/bug23.c: New file.
63764 * stdio-common/Makefile (tests): Add bug23.
63765
63766 2010-09-28 Andreas Schwab <schwab@redhat.com>
63767 Ulrich Drepper <drepper@gmail.com>
63768
63769 [BZ #12489]
63770 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63771 before performing relro protection. At old place add assertion
63772 to make sure nothing changed.
63773
63774 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63775 Glauber de Oliveira Costa <glommer@gmail.com>
63776
63777 * elf/elf.h: Add new ARM TLS relocs.
63778
63779 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63780
63781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63782 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63783 cast from r3.
63784 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63785 'tests' variable.
63786 * sysdeps/wordsize-64/tst-writev.c: New file.
63787
63788 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63789
63790 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63791 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63792 insns in _dl_start to prevent a TOC reference before relocs are
63793 resolved.
63794
63795 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63796
63797 [BZ #12469]
63798 * Makeconfig: Remove RANLIB definition.
63799 * Makerules: Don't use RANLIB.
63800 * aclocal.m4: Remove ranlib test.
63801 * configure.in: No need to check for ranlib.
63802 * elf/rtld-Rules: Don't use RANLIB.
63803
63804 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63805
63806 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63807 protection macro.
63808 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63809 inclusion protection macro.
63810
63811 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63812 SIGRTMIN and SIGRTMAX and print information in that case only when
63813 SIGRTMIN is defined.
63814
63815 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63816
63817 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63818 arginfo fn returning -1.
63819
63820 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63821 and thousands string is zero terminated.
63822
63823 2011-02-03 Andreas Schwab <schwab@redhat.com>
63824
63825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63826 sysdeps/unix/sysv/linux/bits/socket.h.
63827
63828 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63829
63830 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63831 (__CPU_COUNT): Remove old macros.
63832 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63833 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63834 (__CPU_ALLOC, __CPU_FREE): Add macros.
63835 (__sched_cpualloc, __sched_cpufree): Add declarations.
63836
63837 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63838
63839 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63840 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63841 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63842 (readdhstai): Return value of addhstaiX call.
63843 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63844 (addgrbyX): Return value returned by cache_addgr.
63845 (readdgrbyname): Return value returned by addgrbyX.
63846 (readdgrbygid): Likewise.
63847 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63848 (addpwbyX): Return value returned by cache_addpw.
63849 (readdpwbyname): Return value returned by addhstbyX.
63850 (readdpwbyuid): Likewise.
63851 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63852 (addservbyX): Return value returned by cache_addserv.
63853 (readdservbyname): Return value returned by addservbyX:
63854 (readdservbyport): Likewise.
63855 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63856 (addhstbyX): Return value returned by cache_addhst.
63857 (readdhstbyname): Return value returned by addhstbyX.
63858 (readdhstbyaddr): Likewise.
63859 (readdhstbynamev6): Likewise.
63860 (readdhstbyaddrv6): Likewise.
63861 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63862 (readdinitgroups): Return value returned by addinitgroupsX.
63863 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63864 (prune_cache): Keep track of timeout value of re-added entries.
63865 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63866 * nscd/nscd.h: Adjust prototypes of readd* functions.
63867
63868 2011-02-04 Roland McGrath <roland@redhat.com>
63869
63870 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63871 (nis_stats): Likewise.
63872 * nis/nis_modify.c (nis_modify): Likewise.
63873 * nis/nis_remove.c (nis_remove): Likewise.
63874 * nis/nis_add.c (nis_add): Likewise.
63875
63876 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63877
63878 * posix/fnmatch_loop.c: Add some consts.
63879
63880 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63881
63882 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63883
63884 [BZ #12460]
63885 * config.make.in (config-cflags-novzeroupper): Define.
63886 * configure.in: Substitute libc_cv_cc_novzeroupper.
63887 * elf/Makefile (AVX-CFLAGS): Define.
63888 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63889 (CFLAGS-tst-auditmod4a.c): Likewise.
63890 (CFLAGS-tst-auditmod4b.c): Likewise.
63891 (CFLAGS-tst-auditmod6b.c): Likewise.
63892 (CFLAGS-tst-auditmod6c.c): Likewise.
63893 (CFLAGS-tst-auditmod7b.c): Likewise.
63894 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63895
63896 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63897
63898 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63899 function to the callback.
63900 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63901
63902 2011-02-02 Andreas Schwab <schwab@redhat.com>
63903
63904 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63905 of errno.
63906
63907 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63908
63909 [BZ #11724]
63910 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63911 of constructors.
63912 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63913 of destructors.
63914 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63915
63916 [BZ #11724]
63917 * elf/Makefile: Add rules to build and run new test.
63918 * elf/tst-initorder.c: New file.
63919 * elf/tst-initorder.exp: New file.
63920 * elf/tst-initordera1.c: New file.
63921 * elf/tst-initordera2.c: New file.
63922 * elf/tst-initordera3.c: New file.
63923 * elf/tst-initordera4.c: New file.
63924 * elf/tst-initorderb1.c: New file.
63925 * elf/tst-initorderb2.c: New file.
63926 * elf/tst-order-a1.c: New file.
63927 * elf/tst-order-a2.c: New file.
63928 * elf/tst-order-a3.c: New file.
63929 * elf/tst-order-a4.c: New file.
63930 * elf/tst-order-b1.c: New file.
63931 * elf/tst-order-b2.c: New file.
63932 * elf/tst-order-main.c: New file.
63933 New test case by George Gensure <werkt0@gmail.com>.
63934
63935 2010-10-01 Andreas Schwab <schwab@redhat.com>
63936
63937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63938 decoding ACE if AI_CANONIDN.
63939
63940 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63941
63942 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63943
63944 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63945
63946 * version.h (RELEASE): Bump for 2.13 release.
63947 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63948
63949 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63950
63951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63952 MADV_NOHUGEPAGE.
63953 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63954 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63955 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63956 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63958 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63959
63960 * posix/getconf.c: Update copyright year.
63961 * catgets/gencat.c: Likewise.
63962 * csu/version.c: Likewise.
63963 * debug/catchsegv.sh: Likewise.
63964 * debug/xtrace.sh: Likewise.
63965 * elf/ldconfig.c: Likewise.
63966 * elf/ldd.bash.in: Likewise.
63967 * elf/sprof.c (print_version): Likewise.
63968 * iconv/iconv_prog.c: Likewise.
63969 * iconv/iconvconfig.c: Likewise.
63970 * locale/programs/locale.c: Likewise.
63971 * locale/programs/localedef.c: Likewise.
63972 * malloc/memusage.sh: Likewise.
63973 * malloc/mtrace.pl: Likewise.
63974 * nscd/nscd.c (print_version): Likewise.
63975 * nss/getent.c: Likewise.
63976
63977 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63978 PF_CAIF, and PF_ALG.
63979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63980
63981 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63982
63983 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63984 (modules-names): Use them.
63985 (ifunc-test-modules, ifunc-pie-tests): Define.
63986 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63987 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63988 (test-extras): Likewise.
63989 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63990 $(compile-command.c).
63991 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63992 (all-built-dso): Define.
63993 (check-textrel.out, check-execstack.out): Depend on it.
63994
63995 * configure.in: Don't override --enable-multi-arch.
63996
63997 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63998
63999 [BZ #6812]
64000 * nscd/hstcache.c (tryagain): Define.
64001 (cache_addhst): Return tryagain not notfound for temporary errors.
64002 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64003 failed.
64004
64005 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64006
64007 [BZ #10563]
64008 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64009 to make the syscall.
64010 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64011
64012 [BZ #12378]
64013 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64014 and fall back to matching as normal character if the string ends before
64015 the matching ']' is found. This is what POSIX requires.
64016 * posix/testfnm.c: Adjust test result.
64017 * posix/globtest.sh: Adjust test result. Add new test.
64018 * posix/tst-fnmatch.input: Likewise.
64019 * posix/tst-fnmatch2.c: Add new test.
64020
64021 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64022
64023 * elf/Makefile (check-execstack): Revert last change. Depend on
64024 check-execstack.h.
64025 (check-execstack.h): New target.
64026 (generated): Add check-execstack.h.
64027 * elf/check-execstack.c: Include "check-execstack.h".
64028 (main): Revert last change.
64029 (handle_file): Return zero if GNU_STACK is absent and
64030 DEFAULT_STACK_PERMS doesn't include PF_X.
64031
64032 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64033
64034 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64035 in child fails because the descriptor is already closed.
64036 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64037 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64038 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64039
64040 [BZ #12397]
64041 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64042 syscall.
64043
64044 [BZ #10484]
64045 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64046 temporary buffer used to handle multi lookups locally.
64047 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64048
64049 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64050
64051 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64052 loader is ld.so.
64053
64054 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64055
64056 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64057 alignment for SSE2.
64058
64059 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64060
64061 [BZ #12394]
64062 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64063 characters. When rounding increased number of integer digits recompute
64064 number of groups.
64065 * stdio-common/tst-grouping.c: New file.
64066 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64067
64068 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64069
64070 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64071 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64072
64073 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64074 void.
64075 * bits/select.h: Likewise.
64076
64077 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64078
64079 * po/ja.po: Update from translation team.
64080
64081 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64082
64083 [BZ #11155]
64084 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64085 implementation just like for lxstat, fxstatat, et al.
64086
64087 2010-12-27 Jim Meyering <meyering@redhat.com>
64088
64089 [BZ #12348]
64090 * posix/regexec.c (build_trtable): Return failure indication upon
64091 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64092
64093 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64094
64095 [BZ #12201]
64096 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64097 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64098 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64099 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64100
64101 [BZ #12207]
64102 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64103
64104 [BZ #12204]
64105 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64106 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64107
64108 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64109
64110 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64111 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64112 script has SORT_BY_INIT_PRIORITY.
64113 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64114 NO_CTORS_DTORS_SECTIONS is defined.
64115 * elf/soinit.c: Likewise.
64116 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64117 NO_CTORS_DTORS_SECTIONS is defined.
64118 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64119 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64120 * sysdeps/sh/init-first.c: Likewise.
64121 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64122
64123 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64124
64125 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64126 always use the slow path.
64127
64128 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64129
64130 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64131 similar rule which adds the sysdep directories to the header search in
64132 order to pick up the correct platform stackinfo.h.
64133 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64134 perform test if it is, otherwise return successfully without testing.
64135 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64136 DEFAULT_STACK_PERMS define in stackinfo.h.
64137 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64138 defined in stackinfo.h.
64139 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64140 DEFAULT_STACK_PERMS defined in stackinfo.h.
64141 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64142 * sysdeps/ia64/stackinfo.h: Likewise.
64143 * sysdeps/s390/stackinfo.h: Likewise.
64144 * sysdeps/sh/stackinfo.h: Likewise.
64145 * sysdeps/sparc/stackinfo.h: Likewise.
64146 * sysdeps/x86_64/stackinfo.h: Likewise.
64147 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64148 PF_X for powerpc64. Retain PF_X for powerpc32.
64149
64150 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64151
64152 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64153 accurately.
64154 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64155 GETDENTS_64BIT_ALIGNED.
64156
64157 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64158
64159 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64160
64161 2010-12-10 Andreas Schwab <schwab@redhat.com>
64162
64163 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64164 _GNU_SOURCE.
64165
64166 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64167 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64168 Remove __restrict.
64169 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64170 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64171
64172 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64173
64174 [BZ #11655]
64175 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64176 are initialized.
64177
64178 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64179
64180 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64181
64182 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64183
64184 * po/it.po: Update from translation team.
64185
64186 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64187
64188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64189 unused codes.
64190
64191 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64192
64193 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64194
64195 2010-11-24 Andreas Schwab <schwab@redhat.com>
64196
64197 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64198 specially.
64199 (gaih_getanswer_slice): Likewise.
64200
64201 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64202
64203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64204
64205 2010-05-31 Petr Baudis <pasky@suse.cz>
64206
64207 [BZ #11149]
64208 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64209 silently even in the chroot mode.
64210
64211 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64212
64213 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64214 last patch a bit. Pretty printing
64215
64216 2010-05-31 Petr Baudis <pasky@suse.cz>
64217
64218 [BZ #10085]
64219 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64220 initialization of skip_initgroups_dyn.
64221
64222 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64223
64224 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64225 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64226
64227 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64228
64229 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64230
64231 2010-11-11 Andreas Schwab <schwab@redhat.com>
64232
64233 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64234 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64235 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64236 ($(objpfx)tst-fnmatch-mem): New rule.
64237 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64238 * posix/tst-fnmatch.c (main): Call mtrace.
64239
64240 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64241
64242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64243 Support Intel processor model 6 and model 0x2c.
64244
64245 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64246
64247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64248 signed comparison.
64249
64250 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64251
64252 [BZ #12205]
64253 * string/test-strncasecmp.c (check_result): New function.
64254 (do_one_test): Use it.
64255 (check1): New function.
64256 (test_main): Use it.
64257 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64258 Support strcasecmp and strncasecmp.
64259
64260 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64261
64262 [BZ #12194]
64263 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64264 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64265
64266 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64267
64268 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64269 IFUNC support.
64270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64271 memset-x86-64.
64272 * sysdeps/x86_64/multiarch/bzero.S: New file.
64273 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64274 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64275 * sysdeps/x86_64/multiarch/memset.S: New file.
64276 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64278 Set bit_Prefer_SSE_for_memop for Intel processors.
64279 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64280 Define.
64281 (index_Prefer_SSE_for_memop): Define.
64282 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64283
64284 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64285
64286 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64287 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64288
64289 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64290
64291 [BZ #12191]
64292 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64293 (__x86_64_raw_data_cache_size_half): Likewise.
64294 (__x86_64_raw_shared_cache_size): Likewise.
64295 (__x86_64_raw_shared_cache_size_half): Likewise.
64296
64297 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64298 (__x86_64_raw_data_cache_size_half): Likewise.
64299 (__x86_64_raw_shared_cache_size): Likewise.
64300 (__x86_64_raw_shared_cache_size_half): Likewise.
64301 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64302 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64303 and __x86_64_raw_shared_cache_size_half. Round
64304 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64305 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64306 to multiple of 256 bytes.
64307
64308 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64309
64310 [BZ #12167]
64311 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64312 of inacessible symlinks. Verify result of symlink before returning it.
64313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64314 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64315
64316 2010-10-28 Erich Ritz <erichritz@gmail.com>
64317
64318 * math/math.h (isinf): Fix typo in comment.
64319
64320 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64321
64322 * po/da.po: Update from translation team.
64323
64324 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64325
64326 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64327 is added to the list.
64328
64329 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64330 Ulrich Drepper <drepper@gmail.com>
64331
64332 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64333 the global list here. Move code to...
64334 (_dl_add_to_namespace_list): ...here. New function.
64335 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64336 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64337 * elf/dl-load.c (lose): Don't remove the element from the list.
64338 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64339 (_dl_map_object): Likewise.
64340
64341 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64342
64343 [BZ #12159]
64344 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64345 into all bytes of SSE register.
64346 Patch by Richard Li <richardpku@gmail.com>.
64347
64348 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64349
64350 [BZ #12140]
64351 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64352 perturbing.
64353
64354 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64355
64356 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64357 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64358 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64359 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64361 submachine.
64362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64363
64364 2010-10-22 Andreas Schwab <schwab@redhat.com>
64365
64366 * include/dlfcn.h (__RTLD_SECURE): Define.
64367 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64368 mode & __RTLD_SECURE instead.
64369 (open_path): Rename preloaded parameter to secure.
64370 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64371 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64372 * elf/dl-deps.c (openaux): Likewise.
64373 * elf/rtld.c (struct map_args): Remove is_preloaded.
64374 (map_doit): Don't use it.
64375 (dl_main): Likewise.
64376 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64377 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64378
64379 2010-09-09 Andreas Schwab <schwab@redhat.com>
64380
64381 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64382 (sysd-rules-targets): Remove duplicates.
64383 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64384 rtld-%.$o dependency.
64385
64386 2010-10-18 Andreas Schwab <schwab@redhat.com>
64387
64388 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64389 _dl_map_object do it.
64390
64391 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64392
64393 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64394 fast fma builtins, define the macros in the C99 standard.
64395 (FP_FAST_FMAF): Likewise.
64396 (FP_FAST_FMAL): Likewise.
64397 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64398
64399 * bits/mathdef.h: Update copyright year.
64400 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64401
64402 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64403
64404 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64405 builtins, define the macros in the C99 standard.
64406 (FP_FAST_FMAF): Likewise.
64407 (FP_FAST_FMAL): Likewise.
64408 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64409 multiply/add.
64410 (FP_FAST_FMAF): Likewise.
64411
64412 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64413
64414 [BZ #3268]
64415 * math/libm-test.inc (fma_test): Some new testcases.
64416 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64417 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64418 y and infinite z. Do multiplication by C already in long double.
64419 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64421 y and infinite z. Do bitwise or of inexact bit into u.d.
64422 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64423 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64424 * sysdeps/i386/fpu/s_fma.S: Removed.
64425 * sysdeps/i386/fpu/s_fmal.S: Removed.
64426
64427 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64428
64429 [BZ #3268]
64430 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64431 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64432 computation is not scheduled after fetestexcept. Fix value
64433 of minimum denormal long double.
64434
64435 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64436
64437 [BZ #3268]
64438 * math/libm-test.inc (fma_test): Add some more tests.
64439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64440 correctly.
64441
64442 2010-10-15 Andreas Schwab <schwab@redhat.com>
64443
64444 * scripts/data/localplt-s390-linux-gnu.data: New file.
64445 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64446
64447 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64448
64449 [BZ #3268]
64450 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64451 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64452 instead of dbl-64.
64453 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64454 inlines.
64455 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64457 if one of x and y is very large and the other is subnormal.
64458 * sysdeps/s390/fpu/s_fmaf.c: New file.
64459 * sysdeps/s390/fpu/s_fma.c: New file.
64460 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64461 * sysdeps/powerpc/fpu/s_fma.S: New file.
64462 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64463 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64464 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64465
64466 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64467
64468 [BZ #3268]
64469 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64470 fma tests.
64471 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64472 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64473 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64474 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64475 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64476 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64477 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64478
64479 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64480
64481 [BZ #12078]
64482 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64483 * posix/bug-regex31.input: Add test case.
64484
64485 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64486
64487 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64488 * posix/bug-regex31.input: New file.
64489
64490 [BZ #12078]
64491 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64492 (parse_sub_exp): Fix last change, use postorder.
64493
64494 * posix/bug-regex31.c: New file.
64495 * posix/Makefile: Add rules to build and run bug-regex31.
64496
64497 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64498
64499 [BZ #12078]
64500 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64501
64502 [BZ #12108]
64503 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64504 to have entries in sys_siglist.
64505
64506 [BZ #12093]
64507 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64508 be NULL.
64509
64510 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64511
64512 [BZ #3268]
64513 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64514 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64515 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64516 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64517 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64518 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64519 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64520 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64521 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64522 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64523 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64524 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64525 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64526 * math/ftestexcept.c (fetestexcept): Likewise.
64527 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64528 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64529 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64530 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64531 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64532 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64533 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64534
64535 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64536
64537 [BZ #12107]
64538 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64539 newline.
64540
64541 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64542
64543 * string/bug-strstr1.c: New file.
64544 * string/Makefile: Add rules to build and run bug-strstr1.
64545
64546 2010-10-05 Eric Blake <eblake@redhat.com>
64547
64548 [BZ #12092]
64549 * string/str-two-way.h (two_way_long_needle): Always clear memory
64550 when skipping input due to the shift table.
64551
64552 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64553
64554 [BZ #12005]
64555 * malloc/mcheck.c: Handle large requests.
64556
64557 [BZ #12077]
64558 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64559 for strncmp and strncasecmp.
64560 * string/stratcliff.c: Add tests for strcmp and strncmp.
64561 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64562
64563 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64564
64565 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64566 __set_fpscr.
64567
64568 2010-09-30 Andreas Jaeger <aj@suse.de>
64569
64570 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64571 (CGROUP_SUPER_MAGIC): Define.
64572 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64573 Handle btrfs and cgroup file systems.
64574 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64575 Likewise.
64576
64577 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64578
64579 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64580 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64581
64582 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64583
64584 [BZ #12067]
64585 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64586 trying to locate the ELF header.
64587
64588 2010-09-27 Andreas Schwab <schwab@redhat.com>
64589
64590 [BZ #11611]
64591 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64592 Mask out sign-bit copies when constructing f_fsid.
64593
64594 2010-09-24 Petr Baudis <pasky@suse.cz>
64595
64596 * debug/stack_chk_fail_local.c: Add missing licence exception.
64597 * debug/warning-nop.c: Likewise.
64598
64599 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64600
64601 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64602 implementing getdents64 using getdents syscall, set d_type if
64603 __ASSUME_GETDENTS32_D_TYPE.
64604
64605 2010-09-16 Andreas Schwab <schwab@redhat.com>
64606
64607 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64608 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64609
64610 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64611
64612 [BZ #12037]
64613 * posix/unistd.h: Undo change of feature selection for ftruncate from
64614 2010-01-11.
64615
64616 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64617
64618 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64619 detection.
64620
64621 2010-09-20 Andreas Schwab <schwab@redhat.com>
64622
64623 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64624 fanotify_mark.
64625 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64626
64627 2010-09-14 Andreas Schwab <schwab@redhat.com>
64628
64629 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64630 variables after CHECK_SP call.
64631 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64632
64633 2010-09-13 Andreas Schwab <schwab@redhat.com>
64634 Ulrich Drepper <drepper@redhat.com>
64635
64636 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64637 re-relocationg ld.so.
64638 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64639 _dl_init_paths call.
64640 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64641 here anymore.
64642
64643 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64644
64645 * resolv/res_init.c (__res_vinit): Count the default server we added.
64646
64647 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64648 Ulrich Drepper <drepper@redhat.com>
64649
64650 [BZ #11968]
64651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64652 (____longjmp_chk): Use %ebx for saving value across system call.
64653 Add unwind info.
64654
64655 2010-09-06 Andreas Schwab <schwab@redhat.com>
64656
64657 * manual/Makefile: Don't mix pattern rules with normal rules.
64658
64659 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64660
64661 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64662 operation.
64663 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64664 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64665 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64666 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64668 Likewise.
64669
64670 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64671
64672 [BZ #11979]
64673 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64674 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64675
64676 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64677
64678 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64679 * sysdeps/x86_64/addmul_1.S: Likewise.
64680 * sysdeps/x86_64/lshift.S: Likewise.
64681 * sysdeps/x86_64/mul_1.S: Likewise.
64682 * sysdeps/x86_64/rshift.S: Likewise.
64683 * sysdeps/x86_64/sub_n.S: Likewise.
64684 * sysdeps/x86_64/submul_1.S: Likewise.
64685
64686 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64687
64688 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64689 Define __sched_param instead of SCHED_* and sched_param when
64690 <bits/sched.h> is included with __need_schedparam defined.
64691 * bits/sched.h [__need_schedparam]
64692 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64693 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64694 (__defined_schedparam): Define to 1.
64695 (__sched_param): New structure, identical to sched_param.
64696 (__need_schedparam): Undefine.
64697
64698 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64699
64700 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64701 (epoll_create1): Declare.
64702
64703 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64704
64705 2010-08-31 Andreas Schwab <schwab@redhat.com>
64706
64707 [BZ #7066]
64708 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64709 shifting retval into place.
64710
64711 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64712
64713 * nis/rpcsvc/nis.h: Update copyright notice.
64714 * nis/rpcsvc/nis.x: Likewise.
64715 * nis/rpcsvc/nis_callback.h: Likewise.
64716 * nis/rpcsvc/nis_callback.x: Likewise.
64717 * nis/rpcsvc/nis_object.x: Likewise.
64718 * nis/rpcsvc/nis_tags.h: Likewise.
64719 * nis/rpcsvc/yp.h: Likewise.
64720 * nis/rpcsvc/yp.x: Likewise.
64721 * nis/rpcsvc/ypupd.h: Likewise.
64722 * nis/yp_xdr.c: Likewise.
64723 * nis/ypupdate_xdr.c: Likewise.
64724
64725 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64726 mainly the body of pmap_getport. Add parameters to specify timeouts.
64727 (pmap_getport): Use __libc_rpc_getport.
64728 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64729 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64730 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64731
64732 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64733
64734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64735 fanotify_mark.
64736
64737 2010-08-27 Roland McGrath <roland@redhat.com>
64738
64739 * sysdeps/i386/i686/multiarch/Makefile
64740 (CFLAGS-varshift.c): New variable.
64741
64742 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64743
64744 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64745 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64746
64747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64748
64749 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64750
64751 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64752
64753 * sysdeps/x86_64/strlen.S: Unroll the loop.
64754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64755 strlen-sse2 strlen-sse2-bsf.
64756 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64757 __strlen_no_bsf if bit_Slow_BSF is set.
64758 (__strlen_sse42): Removed.
64759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64760 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64761
64762 2010-08-25 Roland McGrath <roland@redhat.com>
64763
64764 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64765 * sysdeps/x86_64/multiarch/varshift.c: New file.
64766 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64767 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64768 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64769 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64770
64771 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64772
64773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64774 strlen-sse2 strlen-sse2-bsf.
64775 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64776 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64777 (__strlen_sse2): Removed.
64778 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64781 bit_Slow_BSF for Atom.
64782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64783 (index_Slow_BSF): Define.
64784 (HAS_SLOW_BSF): Define.
64785
64786 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64787
64788 [BZ #10851]
64789 * resolv/res_init.c (__res_vinit): When no server address at all
64790 is given default to loopback.
64791
64792 2010-08-24 Roland McGrath <roland@redhat.com>
64793
64794 * configure.in: Remove config-name.h generation.
64795 * configure: Regenerated.
64796 * config-name.in: File removed.
64797 * scripts/config-uname.sh: New file.
64798 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64799 ($(objdir)config-name.h): New target.
64800
64801 * sunrpc/rpc_parse.h: Avoid nested comment.
64802
64803 2010-08-24 Richard Henderson <rth@redhat.com>
64804 Ulrich Drepper <drepper@redhat.com>
64805 H.J. Lu <hongjiu.lu@intel.com>
64806
64807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64809 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64810 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64811 _mm_alignr_epi8 with _mm_loadu_si128.
64812 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64813 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64814 (__m128i_shift_right): Removed.
64815 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64816 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64817 * sysdeps/x86_64/multiarch/varshift.h: New file.
64818 * sysdeps/x86_64/multiarch/varshift.S: New file.
64819
64820 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64821
64822 * configure.in: Move assembler checks to before sysdep dir checking.
64823
64824 2010-08-20 Petr Baudis <pasky@suse.cz>
64825
64826 * LICENSES: Sync the sunrpc license.
64827
64828 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64829
64830 * sunrpc/auth_des.c: Update copyright notice once again.
64831 * sunrpc/auth_none.c: Likewise.
64832 * sunrpc/auth_unix.c: Likewise.
64833 * sunrpc/authdes_prot.c: Likewise.
64834 * sunrpc/authuxprot.c: Likewise.
64835 * sunrpc/bindrsvprt.c: Likewise.
64836 * sunrpc/clnt_gen.c: Likewise.
64837 * sunrpc/clnt_perr.c: Likewise.
64838 * sunrpc/clnt_raw.c: Likewise.
64839 * sunrpc/clnt_simp.c: Likewise.
64840 * sunrpc/clnt_tcp.c: Likewise.
64841 * sunrpc/clnt_udp.c: Likewise.
64842 * sunrpc/clnt_unix.c: Likewise.
64843 * sunrpc/des_crypt.c: Likewise.
64844 * sunrpc/des_soft.c: Likewise.
64845 * sunrpc/get_myaddr.c: Likewise.
64846 * sunrpc/getrpcport.c: Likewise.
64847 * sunrpc/key_call.c: Likewise.
64848 * sunrpc/key_prot.c: Likewise.
64849 * sunrpc/openchild.c: Likewise.
64850 * sunrpc/pm_getmaps.c: Likewise.
64851 * sunrpc/pm_getport.c: Likewise.
64852 * sunrpc/pmap_clnt.c: Likewise.
64853 * sunrpc/pmap_prot.c: Likewise.
64854 * sunrpc/pmap_prot2.c: Likewise.
64855 * sunrpc/pmap_rmt.c: Likewise.
64856 * sunrpc/rpc/auth.h: Likewise.
64857 * sunrpc/rpc/auth_unix.h: Likewise.
64858 * sunrpc/rpc/clnt.h: Likewise.
64859 * sunrpc/rpc/des_crypt.h: Likewise.
64860 * sunrpc/rpc/key_prot.h: Likewise.
64861 * sunrpc/rpc/netdb.h: Likewise.
64862 * sunrpc/rpc/pmap_clnt.h: Likewise.
64863 * sunrpc/rpc/pmap_prot.h: Likewise.
64864 * sunrpc/rpc/pmap_rmt.h: Likewise.
64865 * sunrpc/rpc/rpc.h: Likewise.
64866 * sunrpc/rpc/rpc_des.h: Likewise.
64867 * sunrpc/rpc/rpc_msg.h: Likewise.
64868 * sunrpc/rpc/svc.h: Likewise.
64869 * sunrpc/rpc/svc_auth.h: Likewise.
64870 * sunrpc/rpc/types.h: Likewise.
64871 * sunrpc/rpc/xdr.h: Likewise.
64872 * sunrpc/rpc_clntout.c: Likewise.
64873 * sunrpc/rpc_cmsg.c: Likewise.
64874 * sunrpc/rpc_common.c: Likewise.
64875 * sunrpc/rpc_cout.c: Likewise.
64876 * sunrpc/rpc_dtable.c: Likewise.
64877 * sunrpc/rpc_hout.c: Likewise.
64878 * sunrpc/rpc_main.c: Likewise.
64879 * sunrpc/rpc_parse.c: Likewise.
64880 * sunrpc/rpc_parse.h: Likewise.
64881 * sunrpc/rpc_prot.c: Likewise.
64882 * sunrpc/rpc_sample.c: Likewise.
64883 * sunrpc/rpc_scan.c: Likewise.
64884 * sunrpc/rpc_scan.h: Likewise.
64885 * sunrpc/rpc_svcout.c: Likewise.
64886 * sunrpc/rpc_tblout.c: Likewise.
64887 * sunrpc/rpc_util.c: Likewise.
64888 * sunrpc/rpc_util.h: Likewise.
64889 * sunrpc/rpcinfo.c: Likewise.
64890 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64891 * sunrpc/rpcsvc/key_prot.x: Likewise.
64892 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64893 * sunrpc/rpcsvc/mount.x: Likewise.
64894 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64895 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64896 * sunrpc/rpcsvc/rex.x: Likewise.
64897 * sunrpc/rpcsvc/rstat.x: Likewise.
64898 * sunrpc/rpcsvc/rusers.x: Likewise.
64899 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64900 * sunrpc/rpcsvc/spray.x: Likewise.
64901 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64902 * sunrpc/rtime.c: Likewise.
64903 * sunrpc/svc.c: Likewise.
64904 * sunrpc/svc_auth.c: Likewise.
64905 * sunrpc/svc_authux.c: Likewise.
64906 * sunrpc/svc_raw.c: Likewise.
64907 * sunrpc/svc_run.c: Likewise.
64908 * sunrpc/svc_simple.c: Likewise.
64909 * sunrpc/svc_tcp.c: Likewise.
64910 * sunrpc/svc_udp.c: Likewise.
64911 * sunrpc/svc_unix.c: Likewise.
64912 * sunrpc/svcauth_des.c: Likewise.
64913 * sunrpc/xcrypt.c: Likewise.
64914 * sunrpc/xdr.c: Likewise.
64915 * sunrpc/xdr_array.c: Likewise.
64916 * sunrpc/xdr_float.c: Likewise.
64917 * sunrpc/xdr_mem.c: Likewise.
64918 * sunrpc/xdr_rec.c: Likewise.
64919 * sunrpc/xdr_ref.c: Likewise.
64920 * sunrpc/xdr_sizeof.c: Likewise.
64921 * sunrpc/xdr_stdio.c: Likewise.
64922
64923 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64924 handling.
64925
64926 2010-08-19 Andreas Schwab <schwab@redhat.com>
64927
64928 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64929
64930 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64931
64932 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64933 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64934 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64935 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64936 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64937 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64938 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64939 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64940 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64941 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64942 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64943 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64944 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64945 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64946
64947 2010-07-26 Anton Blanchard <anton@samba.org>
64948
64949 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64950 * malloc/arena.c (heap_trim): Likewise.
64951
64952 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64953
64954 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64955 here. Not...
64956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64957 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64958
64959 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64960
64961 * sysdeps/i386/elf/Makefile: New file.
64962
64963 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64964
64965 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64966 from fanotify_init.
64967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64969
64970 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64971
64972 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64973 of strncasecmp_l.
64974 * sysdeps/multiarch/strcmp.S: Likewise.
64975
64976 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64977
64978 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64979 strncase_l-nonascii.
64980 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64981 Add strncase_l-ssse3.
64982 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64983 * sysdeps/x86_64/strcmp.S: Likewise.
64984 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64985 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64986 * sysdeps/x86_64/strncase.S: New file.
64987 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64988 * sysdeps/x86_64/strncase_l.S: New file.
64989 * string/Makefile (strop-tests): Add strncasecmp.
64990 * string/test-strncasecmp.c: New file.
64991
64992 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64993 warning.
64994
64995 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64996 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64997
64998 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64999
65000 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65001
65002 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65003
65004 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65007
65008 2010-05-01 Alan Modra <amodra@gmail.com>
65009
65010 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65011 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65012 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65013 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65014 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65015 tidying. Don't tail-call __sigjmp_save for static lib.
65016 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65017 save location.
65018 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65019 (CALL_MCOUNT): Add eh info, and nop after bl.
65020 (TAIL_CALL_SYSCALL_ERROR): New macro.
65021 (PSEUDO_RET): Use it.
65022 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65023 Correct save location of integer regs and cr.
65024 (_dl_profile_resolve): Correct cr save location. Delete nops
65025 after bl when SHARED. Reduce cfi size a little by better
65026 placement of cfi directives.
65027 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65028 make a stack frame. Instead use parm save area as a temp.
65029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65030 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65032 Don't make a stack frame for parent, use parm save area.
65033 Increase child stack frame to 112 bytes. Don't save unused reg,
65034 and adjust reg usage. Set up cfi on error recovery and
65035 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65037 (__makecontext): Add dummy nop after jump to exit.
65038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65039 Use correct parm save area and cr save, reduce stack frame.
65040 Correct cfi for possible PSEUDO_RET frame setup.
65041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65042 Branch to local label emitted by PSEUDO_RET rather than
65043 __syscall_error.
65044
65045 2010-08-12 Andreas Schwab <schwab@redhat.com>
65046
65047 [BZ #11904]
65048 * locale/programs/locale.c (print_assignment): New function.
65049 (show_locale_vars): Use it.
65050
65051 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65052
65053 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65054 field.
65055 (struct statfs64): Likewise.
65056 (_STATFS_F_FLAGS): Define.
65057 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65058 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65059 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65060 (ST_VALID): Define locally.
65061 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65062 __statvfs_getflags, use the provided value.
65063 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65064 __ASSUME_STATFS_F_FLAGS.
65065
65066 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65067
65068 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65069 Add sys/fanotify.h.
65070 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65071 fanotify_mask for GLIBC_2.13.
65072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65073 fanotify_init and fanotify_mark.
65074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65075 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65076
65077 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65078 Add prlimit.
65079 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65080 prlimit64 for GLIBC_2.13.
65081 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65082 prlimit64.
65083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65084 syscall.
65085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65086 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65087 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65088 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65090 add prlimit alias.
65091 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65092
65093 [BZ #11903]
65094 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65095 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65096
65097 * nss/Makefile: Add rules to build and run tst-nss-test1.
65098 * shlib-versions: Add entry for libnss_test1.
65099 * nss/nss_test1.c: New file.
65100 * nss/tst-nss-test1.c: New file.
65101
65102 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65103 (__nss_configure_lookup): Set appropriate entry in
65104 __nss_configure_lookup to true.
65105 * nss/nsswitch.h: Define enum with indeces of databases in
65106 databases and __nss_database_custom arrays. Declare
65107 __nss_database_custom.
65108 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65109 to avoid using nscd when custom rules are installed.
65110 * nss/getXXbyYY_r.c: Likewise.
65111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65112
65113 * nss/nss_files/files-parse.c: Whitespace fixes.
65114
65115 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65116
65117 [BZ #11883]
65118 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65119 * posix/fnmatch_loop.c: Likewise.
65120
65121 2010-07-17 Andi Kleen <ak@linux.intel.com>
65122
65123 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65124 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65125 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65126 * Versions.def [GLIBC_2.13]: Add.
65127
65128 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65129
65130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65131 Also fail if tpwd after pwuid call is NULL.
65132
65133 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65134
65135 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65136 when converting to ms.
65137
65138 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65139
65140 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65141 EOPNOTSUPP errors with ENOTTY.
65142 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65143 EOPNOTSUPP errors with ENOTTY.
65144
65145 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65146
65147 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65148 Add strcasecmp_l-ssse3.
65149 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65150 strcasecmp.
65151 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65152 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65153 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65154
65155 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65156
65157 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65158
65159 * string/Makefile (strop-tests): Add strcasecmp.
65160 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65161 strcasecmp_l-nonascii.
65162 (gen-as-const-headers): Add locale-defines.sym.
65163 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65164 * sysdeps/x86_64/strcasecmp.S: New file.
65165 * sysdeps/x86_64/strcasecmp_l.S: New file.
65166 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65167 * sysdeps/x86_64/locale-defines.sym: New file.
65168 * string/test-strcasecmp.c: New file.
65169
65170 * string/test-strcasestr.c: Test both ends of the range of characters.
65171 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65172
65173 2010-07-29 Roland McGrath <roland@redhat.com>
65174
65175 [BZ #11856]
65176 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65177
65178 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65179
65180 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65181 for ld.so.
65182
65183 2010-07-27 Andreas Schwab <schwab@redhat.com>
65184
65185 * manual/memory.texi (Malloc Tunable Parameters): Document
65186 M_PERTURB.
65187
65188 2010-07-26 Roland McGrath <roland@redhat.com>
65189
65190 [BZ #11840]
65191 * configure.in (-fgnu89-inline check): Set and substitute
65192 gnu89_inline, not libc_cv_gnu89_inline.
65193 * configure: Regenerated.
65194 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65195
65196 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65197
65198 * string/test-strnlen.c: New file.
65199 * string/Makefile (strop-tests): Add strnlen.
65200 * string/tester.c (test_strnlen): Add a few more test cases.
65201 * string/tst-strlen.c: Better error reporting.
65202
65203 * sysdeps/x86_64/strnlen.S: New file.
65204
65205 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65206
65207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65208 lower-latency instructions.
65209
65210 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65211
65212 * string/test-strcasestr.c: New file.
65213 * string/test-strstr.c: New file.
65214 * string/Makefile (strop-tests): Add strstr and strcasestr.
65215 * string/str-two-way.h: Don't undefine MAX.
65216 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65217
65218 2010-07-21 Andreas Schwab <schwab@redhat.com>
65219
65220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65221 strcasestr-nonascii.
65222 (CFLAGS-strcasestr-nonascii.c): Define.
65223 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65225 Remove unused attribute.
65226
65227 2010-07-20 Roland McGrath <roland@redhat.com>
65228
65229 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65230 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65231 ld.so.cache was broken. With it, there is no way to disable dsocaps
65232 like LD_HWCAP_MASK can disable hwcaps.
65233
65234 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65235
65236 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65237
65238 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65239
65240 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65241 call in strcasestr.
65242 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65243 __strcasestr_sse42_nonascii.
65244 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65245 strcasestr-nonascii.c.
65246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65247
65248 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65249
65250 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65252 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65254
65255 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65256
65257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65258 fcntl.
65259
65260 2010-07-06 Andreas Schwab <schwab@redhat.com>
65261
65262 [BZ #11577]
65263 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65264 dl_signal_cerror.
65265
65266 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65267
65268 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65269 _PC_PIPE_BUF using F_GETPIPE_SZ.
65270
65271 2010-07-05 Roland McGrath <roland@redhat.com>
65272
65273 * manual/arith.texi (Rounding Functions): Fix rint description
65274 implicit in round description.
65275
65276 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65277
65278 * elf/Makefile: Fix linking for a few tests to make recent linker
65279 happy.
65280
65281 2010-06-30 Andreas Schwab <schwab@redhat.com>
65282
65283 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65284 $(common-objpfx)libc_nonshared.a.
65285
65286 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65287
65288 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65289 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65290 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65291 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65292 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65293 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65294 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65295 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65310 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65311 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65312 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65313 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65314 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65315 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65316 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65317 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65318 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65319 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65320 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65321 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65336
65337 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65338
65339 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65340 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65341 * string/memmove.c (memmove): Renamed to ...
65342 (MEMMOVE): ...this. Default to memmove.
65343 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65344 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65345 (END_CHK): Define.
65346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65347 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65348 mempcpy-ssse3-back memmove-ssse3-back.
65349 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65350 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65352 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65353 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65354 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65355 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65356 * sysdeps/x86_64/multiarch/memmove.c: New file.
65357 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65358 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65359 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65360 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65361 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65363 Define.
65364 (index_Fast_Copy_Backward): Define.
65365 (HAS_ARCH_FEATURE): Define.
65366 (HAS_FAST_REP_STRING): Define.
65367 (HAS_FAST_COPY_BACKWARD): Define.
65368
65369 2010-06-21 Andreas Schwab <schwab@redhat.com>
65370
65371 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65372 Restore proper fallback handling.
65373
65374 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65375
65376 [BZ #11701]
65377 * posix/group_member.c (__group_member): Correct checking loop.
65378
65379 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65380 OOM in getpwuid_r correctly. Return error number when the caller
65381 should return, otherwise -1.
65382 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65383 call returning > 0 value.
65384 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65385
65386 2010-06-07 Andreas Schwab <schwab@redhat.com>
65387
65388 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65389 libc_nonshared.a from targets in modules-names.
65390
65391 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65392
65393 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65394 requires it.
65395
65396 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65397
65398 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65399 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65401 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65402
65403 2010-06-02 Andreas Schwab <schwab@redhat.com>
65404
65405 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65406
65407 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65408
65409 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65410 and F_GETPIPE_SZ.
65411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65415 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65416 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65417
65418 2010-06-14 Roland McGrath <roland@redhat.com>
65419
65420 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65421
65422 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65423
65424 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65425 __REDIRECT followed by __THROW.
65426 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65427 * posix/getopt.h (getopt): Likewise.
65428
65429 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65430
65431 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65432 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65433 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65434 in AT_FLAGS.
65435 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65436 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65437
65438 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65439
65440 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65441
65442 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65443
65444 [BZ #11640]
65445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65446 Properly check family and model.
65447
65448 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65449
65450 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65451
65452 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65453
65454 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65455
65456 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65457
65458 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65459 symbol reference.
65460
65461 2010-05-19 Andreas Schwab <schwab@redhat.com>
65462
65463 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65464 symbol reference.
65465
65466 2010-05-21 Andreas Schwab <schwab@redhat.com>
65467
65468 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65469 and internal_recvmmsg.
65470 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65471 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65472 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65473 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65474
65475 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65476 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65477 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65478
65479 2010-05-20 Andreas Schwab <schwab@redhat.com>
65480
65481 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65482
65483 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65484
65485 POWER7 optimizations.
65486 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65487 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65488
65489 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65490
65491 * version.h: Update for 2.13 development version.
65492
65493 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65494
65495 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65496 exceptions. Return 0.
65497
65498 2010-05-07 Roland McGrath <roland@redhat.com>
65499
65500 * elf/ldconfig.c (main): Add a const.
65501
65502 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65503
65504 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65505 (args_options): Add no-idn option.
65506 (ahosts_keys_int): Add idn_flags to ai_flags.
65507 (parse_option): Handle 'i' option to clear idn_flags.
65508
65509 * malloc/malloc.c (_int_free): Possible race in the most recently
65510 added check. Only act on the data if no current modification
65511 happened.
65512
65513 See ChangeLog.17 for earlier changes.